Update jqhtml packages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-12 03:57:51 +00:00
parent 5d5bd85e42
commit 798d0321f5
50 changed files with 49 additions and 49 deletions

18
node_modules/.package-lock.json generated vendored
View File

@@ -2211,9 +2211,9 @@
}
},
"node_modules/@jqhtml/core": {
"version": "2.3.17",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/core/-/core-2.3.17.tgz",
"integrity": "sha512-v4M9kX1Z/NH5BNiMO9FrqdhYYT3zWehCYz7AVIZVfcOL0PHJskmoa2e+yUplgyexQ7ufQ31XzVefocdmSX3DHA==",
"version": "2.3.18",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/core/-/core-2.3.18.tgz",
"integrity": "sha512-LTSphtSKrl0999nNfOWntplRKYbczGpdBiKzQSmJTF8O2zqlxLAK3p9uQb+VFfPGqD8R3dWW5/wvYETmHYHe/A==",
"license": "MIT",
"dependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
@@ -2237,9 +2237,9 @@
}
},
"node_modules/@jqhtml/parser": {
"version": "2.3.17",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/parser/-/parser-2.3.17.tgz",
"integrity": "sha512-Jr7vKjqmL/JIyGa6ojmnG3xcvWLaprLqG5BLPnZHXH8hC1AG3ReVuNZs1P3dT6GCp6dYjQ3ly30sl+PbZ32IQQ==",
"version": "2.3.18",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/parser/-/parser-2.3.18.tgz",
"integrity": "sha512-SQDCd3QI289VG+99H+AVEHwgHuZK8xoTVATfheisuCb1BvKkVUdc+8hJW0ua6aOt9ezhc1TwFFcjhuQe1+uNjQ==",
"license": "MIT",
"dependencies": {
"@types/jest": "^29.5.11",
@@ -2277,9 +2277,9 @@
}
},
"node_modules/@jqhtml/vscode-extension": {
"version": "2.3.17",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/vscode-extension/-/vscode-extension-2.3.17.tgz",
"integrity": "sha512-6pyOuM5G3hlJx45fRwrTZZfyE/t7IvWK3P/+lsqOIk2uoQcNn8SZjGMnSJyYEdCaPJmA5rHZRok5izGStiEUNg==",
"version": "2.3.18",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/vscode-extension/-/vscode-extension-2.3.18.tgz",
"integrity": "sha512-+1NE7ikp2sg8JtAG2Fyjg0IYt1pTqxteFIyWAtdsSWvZCPJeNAcMxj4wde3d4lP5KY2tPC46QUdUwLAq0vkNYg==",
"license": "MIT",
"engines": {
"vscode": "^1.74.0"

View File

@@ -1 +1 @@
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAcH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,YAAY,CAAC,EAAE;YACb,GAAG,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;YACjF,UAAU,EAAE,MAAM,IAAI,CAAC;SACxB,CAAC;KACH;CACF;AAED,qBAAa,gBAAgB;IAE3B,MAAM,CAAC,kBAAkB,UAAQ;IACjC,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC;IAGtB,CAAC,EAAE,GAAG,CAAC;IACP,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAK;IAGzB,OAAO,CAAC,kBAAkB,CAAmB;IAC7C,OAAO,CAAC,aAAa,CAAiC;IACtD,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,aAAa,CAAoC;IAC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G;IACH,YAAY,IAAI,gBAAgB,GAAG,IAAI;IAIvC;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,gBAAgB,EAAE;IAa1C;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,gBAAgB,GAAG,IAAI;IAoBlD;;OAEG;IACH,MAAM,CAAC,mBAAmB,IAAI,MAAM,EAAE;IA0CtC,OAAO,CAAC,aAAa;IAIrB;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAkB7B,OAAO,CAAC,kBAAkB;IA4B1B,OAAO,CAAC,yBAAyB;IAuHjC,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,gBAAgB;IAcxB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA+BzB,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,UAAU;IAUlB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,0BAA0B;CAqEnC"}

View File

@@ -1185,7 +1185,7 @@ class Jqhtml_Component {
this._booted = false; // Guard to prevent double boot() calls
this._data_before_render = null; // Store data state before initial render
this._lifecycle_callbacks = new Map();
this._lifecycle_states = new Set(); // Track which lifecycle events have occurred
this._lifecycle_states = new Map(); // Track which lifecycle events have occurred and their data
this.__loading = false; // Flag to prevent render() calls during on_load()
this._did_first_render = false; // Track if component has rendered at least once
this._render_count = 0; // Incremented each time _render() is called, used to detect stale renders
@@ -2657,11 +2657,11 @@ class Jqhtml_Component {
// Add callback to queue
this._lifecycle_callbacks.get(event_name).push(callback);
// If this lifecycle event has already occurred, fire the callback immediately
// (only for lifecycle events - custom events don't have this behavior)
// Note: For already-occurred events, data is undefined since we don't store it
// with the stored data from when trigger() was called
if (this._lifecycle_states.has(event_name)) {
try {
callback(this, undefined);
const stored_data = this._lifecycle_states.get(event_name);
callback(this, stored_data);
}
catch (error) {
console.error(`[JQHTML] Error in ${event_name} callback:`, error);
@@ -2677,8 +2677,8 @@ class Jqhtml_Component {
* @param data - Optional data to pass to callbacks as second parameter
*/
trigger(event_name, data) {
// Mark this event as occurred
this._lifecycle_states.add(event_name);
// Mark this event as occurred and store the data for late subscribers
this._lifecycle_states.set(event_name, data);
// Fire all registered callbacks for this event
const callbacks = this._lifecycle_callbacks.get(event_name);
if (callbacks) {
@@ -4784,7 +4784,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.17';
const version = '2.3.18';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

View File

@@ -1181,7 +1181,7 @@ class Jqhtml_Component {
this._booted = false; // Guard to prevent double boot() calls
this._data_before_render = null; // Store data state before initial render
this._lifecycle_callbacks = new Map();
this._lifecycle_states = new Set(); // Track which lifecycle events have occurred
this._lifecycle_states = new Map(); // Track which lifecycle events have occurred and their data
this.__loading = false; // Flag to prevent render() calls during on_load()
this._did_first_render = false; // Track if component has rendered at least once
this._render_count = 0; // Incremented each time _render() is called, used to detect stale renders
@@ -2653,11 +2653,11 @@ class Jqhtml_Component {
// Add callback to queue
this._lifecycle_callbacks.get(event_name).push(callback);
// If this lifecycle event has already occurred, fire the callback immediately
// (only for lifecycle events - custom events don't have this behavior)
// Note: For already-occurred events, data is undefined since we don't store it
// with the stored data from when trigger() was called
if (this._lifecycle_states.has(event_name)) {
try {
callback(this, undefined);
const stored_data = this._lifecycle_states.get(event_name);
callback(this, stored_data);
}
catch (error) {
console.error(`[JQHTML] Error in ${event_name} callback:`, error);
@@ -2673,8 +2673,8 @@ class Jqhtml_Component {
* @param data - Optional data to pass to callbacks as second parameter
*/
trigger(event_name, data) {
// Mark this event as occurred
this._lifecycle_states.add(event_name);
// Mark this event as occurred and store the data for late subscribers
this._lifecycle_states.set(event_name, data);
// Fire all registered callbacks for this event
const callbacks = this._lifecycle_callbacks.get(event_name);
if (callbacks) {
@@ -4780,7 +4780,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.17';
const version = '2.3.18';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
/**
* JQHTML Core v2.3.17
* JQHTML Core v2.3.18
* (c) 2025 JQHTML Team
* Released under the MIT License
*/
@@ -1186,7 +1186,7 @@ class Jqhtml_Component {
this._booted = false; // Guard to prevent double boot() calls
this._data_before_render = null; // Store data state before initial render
this._lifecycle_callbacks = new Map();
this._lifecycle_states = new Set(); // Track which lifecycle events have occurred
this._lifecycle_states = new Map(); // Track which lifecycle events have occurred and their data
this.__loading = false; // Flag to prevent render() calls during on_load()
this._did_first_render = false; // Track if component has rendered at least once
this._render_count = 0; // Incremented each time _render() is called, used to detect stale renders
@@ -2658,11 +2658,11 @@ class Jqhtml_Component {
// Add callback to queue
this._lifecycle_callbacks.get(event_name).push(callback);
// If this lifecycle event has already occurred, fire the callback immediately
// (only for lifecycle events - custom events don't have this behavior)
// Note: For already-occurred events, data is undefined since we don't store it
// with the stored data from when trigger() was called
if (this._lifecycle_states.has(event_name)) {
try {
callback(this, undefined);
const stored_data = this._lifecycle_states.get(event_name);
callback(this, stored_data);
}
catch (error) {
console.error(`[JQHTML] Error in ${event_name} callback:`, error);
@@ -2678,8 +2678,8 @@ class Jqhtml_Component {
* @param data - Optional data to pass to callbacks as second parameter
*/
trigger(event_name, data) {
// Mark this event as occurred
this._lifecycle_states.add(event_name);
// Mark this event as occurred and store the data for late subscribers
this._lifecycle_states.set(event_name, data);
// Fire all registered callbacks for this event
const callbacks = this._lifecycle_callbacks.get(event_name);
if (callbacks) {
@@ -4785,7 +4785,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.17';
const version = '2.3.18';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "@jqhtml/core",
"version": "2.3.17",
"version": "2.3.18",
"description": "Core runtime library for JQHTML",
"type": "module",
"main": "./dist/index.js",

0
node_modules/@jqhtml/parser/dist/ast.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/ast.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/ast.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/ast.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/codegen.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/codegen.d.ts.map generated vendored Normal file → Executable file
View File

2
node_modules/@jqhtml/parser/dist/codegen.js generated vendored Normal file → Executable file
View File

@@ -1377,7 +1377,7 @@ export class CodeGenerator {
for (const [name, component] of this.components) {
code += `// Component: ${name}\n`;
code += `jqhtml_components.set('${name}', {\n`;
code += ` _jqhtml_version: '2.3.17',\n`; // Version will be replaced during build
code += ` _jqhtml_version: '2.3.18',\n`; // Version will be replaced during build
code += ` name: '${name}',\n`;
code += ` tag: '${component.tagName}',\n`;
code += ` defaultAttributes: ${this.serializeAttributeObject(component.defaultAttributes)},\n`;

0
node_modules/@jqhtml/parser/dist/codegen.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/compiler.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/compiler.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/compiler.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/compiler.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/errors.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/errors.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/errors.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/errors.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/index.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/index.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/index.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/index.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/integration.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/integration.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/integration.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/integration.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/lexer.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/lexer.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/lexer.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/lexer.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/parser.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/parser.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/parser.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/parser.js.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/runtime.d.ts generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/runtime.d.ts.map generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/runtime.js generated vendored Normal file → Executable file
View File

0
node_modules/@jqhtml/parser/dist/runtime.js.map generated vendored Normal file → Executable file
View File

2
node_modules/@jqhtml/parser/package.json generated vendored Normal file → Executable file
View File

@@ -1,6 +1,6 @@
{
"name": "@jqhtml/parser",
"version": "2.3.17",
"version": "2.3.18",
"description": "JQHTML template parser - converts templates to JavaScript",
"type": "module",
"main": "dist/index.js",

View File

@@ -1 +1 @@
2.3.17
2.3.18

View File

@@ -2,7 +2,7 @@
"name": "@jqhtml/vscode-extension",
"displayName": "JQHTML",
"description": "Syntax highlighting and language support for JQHTML template files",
"version": "2.3.17",
"version": "2.3.18",
"publisher": "jqhtml",
"license": "MIT",
"publishConfig": {