Update jqhtml packages to latest versions

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-24 23:25:34 +00:00
parent 3834303c8a
commit 1f32bed10a
16 changed files with 83 additions and 38 deletions

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

@@ -2211,9 +2211,9 @@
}
},
"node_modules/@jqhtml/core": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/core/-/core-2.3.29.tgz",
"integrity": "sha512-uMqxheBuB5r0nSXSFZaU4ad8z9wKDbzN4fD+FUxJPeoGAfCPdyuGWHHwlS+WyC+J7V42qhL2H28VLGmVutHi/g==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/core/-/core-2.3.30.tgz",
"integrity": "sha512-6VuZCo4aCr9Qk5LhOnG0Fv6GE2Z/mUfXnSwE5iSk3v+i7bE4IgEMrQVGsndaJtHHLRRnB2n+Aed2W3H5eeV9Fg==",
"license": "MIT",
"dependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
@@ -2237,9 +2237,9 @@
}
},
"node_modules/@jqhtml/parser": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/parser/-/parser-2.3.29.tgz",
"integrity": "sha512-Ez0z11v8SCp6phJA2XAW+TBmGgYYDs88SeQd6YGX1ap8vCxF2MXe3A6ZlUHvOMiYNT1ONGR5zIcyIuNDJe5Mcg==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/parser/-/parser-2.3.30.tgz",
"integrity": "sha512-UHiGZ0bueaOGtSIQahitzc+1mJ/pibYZgYUOf6gc3a788Gq37lRA5IuyOKtoe7YYPQjJCyH43joF+Qv4bNBXDA==",
"license": "MIT",
"dependencies": {
"@types/jest": "^29.5.11",
@@ -2277,9 +2277,9 @@
}
},
"node_modules/@jqhtml/ssr": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/ssr/-/ssr-2.3.29.tgz",
"integrity": "sha512-IVuJNbwA9Ve/sw1KK+GBbK+4ahCkts+9ZLIdgOsYbU7owOIbxOJe1iZ2IBB4hV/I9M9c54Q8+rw4iD0E99P/nw==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/ssr/-/ssr-2.3.30.tgz",
"integrity": "sha512-gNpwsWkeqT8TEGzvi6vccjhtFvT28b3NOHiqNSpgGUHgkMupHU4oqEi/QDNhEeU87kNVvqEhTsEIqAXX07Wt3Q==",
"license": "MIT",
"dependencies": {
"jquery": "^3.7.1",
@@ -2373,9 +2373,9 @@
}
},
"node_modules/@jqhtml/vscode-extension": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/vscode-extension/-/vscode-extension-2.3.29.tgz",
"integrity": "sha512-4ULz3axCs4ytYgtf5QpyfMBA4jLDujBibJ7mpRoyqXpuS9NsoTCsvPKdIc5F/Y3mJBFhRpsbPtiRDiiunM7XtQ==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/vscode-extension/-/vscode-extension-2.3.30.tgz",
"integrity": "sha512-+l2kI1Uj/kSCeM1bzCHbEtsRE+X6VpxQpw7wfrExqMKYvrzRmU6yiQADHuc85CFg8F2HF+7d7XA9zvgj8cOXcg==",
"license": "MIT",
"engines": {
"vscode": "^1.74.0"

View File

@@ -4900,6 +4900,21 @@ function init_jquery_plugin(jQuery) {
jQuery.fn.on = function (...args) {
// Get event name (first argument)
const eventName = typeof args[0] === 'string' ? args[0].split('.')[0] : null; // Strip namespace
// Check for incorrect [data-sid usage in delegated selector (second argument)
// Pattern: .on('click', '[data-sid="btn"]', handler)
if (typeof args[1] === 'string' && args[1].includes('[data-sid')) {
throw new Error(`[JQHTML] Incorrect use of data-sid in .on() delegated selector: "${args[1]}"\n\n` +
`data-sid is a scoped ID system - the data-sid attribute exists only for debugging in DevTools ` +
`and may be disabled in production.\n\n` +
`CORRECT USAGE:\n` +
` • In templates: $sid="my_element"\n` +
` • In JavaScript: this.$sid('my_element').on('${args[0]}', handler)\n\n` +
`$sid creates a unique ID scoped to the parent component, accessible only from within that component.\n\n` +
`ALTERNATIVES for event delegation:\n` +
` • data-* attribute: <div data-role="btn"> → .on('${args[0]}', '[data-role="btn"]', handler)\n` +
` • BEM class name: <div class="MyComponent__btn"> → .on('${args[0]}', '.MyComponent__btn', handler)\n` +
` • Custom attribute: <div data-subelement="btn"> → .on('${args[0]}', '[data-subelement="btn"]', handler)`);
}
// Check first element for Component class and warn if needed
if (eventName && !COMMON_JQUERY_EVENTS.has(eventName) && this.length > 0) {
const firstEl = this.first();
@@ -4966,7 +4981,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.29';
const version = '2.3.30';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

View File

@@ -4896,6 +4896,21 @@ function init_jquery_plugin(jQuery) {
jQuery.fn.on = function (...args) {
// Get event name (first argument)
const eventName = typeof args[0] === 'string' ? args[0].split('.')[0] : null; // Strip namespace
// Check for incorrect [data-sid usage in delegated selector (second argument)
// Pattern: .on('click', '[data-sid="btn"]', handler)
if (typeof args[1] === 'string' && args[1].includes('[data-sid')) {
throw new Error(`[JQHTML] Incorrect use of data-sid in .on() delegated selector: "${args[1]}"\n\n` +
`data-sid is a scoped ID system - the data-sid attribute exists only for debugging in DevTools ` +
`and may be disabled in production.\n\n` +
`CORRECT USAGE:\n` +
` • In templates: $sid="my_element"\n` +
` • In JavaScript: this.$sid('my_element').on('${args[0]}', handler)\n\n` +
`$sid creates a unique ID scoped to the parent component, accessible only from within that component.\n\n` +
`ALTERNATIVES for event delegation:\n` +
` • data-* attribute: <div data-role="btn"> → .on('${args[0]}', '[data-role="btn"]', handler)\n` +
` • BEM class name: <div class="MyComponent__btn"> → .on('${args[0]}', '.MyComponent__btn', handler)\n` +
` • Custom attribute: <div data-subelement="btn"> → .on('${args[0]}', '[data-subelement="btn"]', handler)`);
}
// Check first element for Component class and warn if needed
if (eventName && !COMMON_JQUERY_EVENTS.has(eventName) && this.length > 0) {
const firstEl = this.first();
@@ -4962,7 +4977,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.29';
const version = '2.3.30';
// 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.29
* JQHTML Core v2.3.30
* (c) 2025 JQHTML Team
* Released under the MIT License
*/
@@ -4901,6 +4901,21 @@ function init_jquery_plugin(jQuery) {
jQuery.fn.on = function (...args) {
// Get event name (first argument)
const eventName = typeof args[0] === 'string' ? args[0].split('.')[0] : null; // Strip namespace
// Check for incorrect [data-sid usage in delegated selector (second argument)
// Pattern: .on('click', '[data-sid="btn"]', handler)
if (typeof args[1] === 'string' && args[1].includes('[data-sid')) {
throw new Error(`[JQHTML] Incorrect use of data-sid in .on() delegated selector: "${args[1]}"\n\n` +
`data-sid is a scoped ID system - the data-sid attribute exists only for debugging in DevTools ` +
`and may be disabled in production.\n\n` +
`CORRECT USAGE:\n` +
` • In templates: $sid="my_element"\n` +
` • In JavaScript: this.$sid('my_element').on('${args[0]}', handler)\n\n` +
`$sid creates a unique ID scoped to the parent component, accessible only from within that component.\n\n` +
`ALTERNATIVES for event delegation:\n` +
` • data-* attribute: <div data-role="btn"> → .on('${args[0]}', '[data-role="btn"]', handler)\n` +
` • BEM class name: <div class="MyComponent__btn"> → .on('${args[0]}', '.MyComponent__btn', handler)\n` +
` • Custom attribute: <div data-subelement="btn"> → .on('${args[0]}', '[data-subelement="btn"]', handler)`);
}
// Check first element for Component class and warn if needed
if (eventName && !COMMON_JQUERY_EVENTS.has(eventName) && this.length > 0) {
const firstEl = this.first();
@@ -4967,7 +4982,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.29';
const version = '2.3.30';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"jquery-plugin.d.ts","sourceRoot":"","sources":["../src/jquery-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAQpE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd;;WAEG;QACH,SAAS,IAAI,gBAAgB,GAAG,IAAI,CAAC;QACrC,SAAS,CAAC,cAAc,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAC9F,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAE/E;;;;;;;WAOG;QACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KACvC;CACF;AAGD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CAwZpD"}
{"version":3,"file":"jquery-plugin.d.ts","sourceRoot":"","sources":["../src/jquery-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAQpE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd;;WAEG;QACH,SAAS,IAAI,gBAAgB,GAAG,IAAI,CAAC;QACrC,SAAS,CAAC,cAAc,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAC9F,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAE/E;;;;;;;WAOG;QACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KACvC;CACF;AAGD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CA0apD"}

View File

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

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.29',\n`; // Version will be replaced during build
code += ` _jqhtml_version: '2.3.30',\n`; // Version will be replaced during build
code += ` name: '${name}',\n`;
code += ` tag: '${component.tagName}',\n`;
code += ` defaultAttributes: ${this.serializeAttributeObject(component.defaultAttributes)},\n`;

View File

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

View File

@@ -1,6 +1,6 @@
{
"name": "@jqhtml/ssr",
"version": "2.3.29",
"version": "2.3.30",
"description": "Server-Side Rendering for JQHTML components - renders components to HTML for SEO",
"main": "src/index.js",
"bin": {

View File

@@ -1 +1 @@
2.3.29
2.3.30

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.29",
"version": "2.3.30",
"publisher": "jqhtml",
"license": "MIT",
"publishConfig": {

24
package-lock.json generated
View File

@@ -2659,9 +2659,9 @@
}
},
"node_modules/@jqhtml/core": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/core/-/core-2.3.29.tgz",
"integrity": "sha512-uMqxheBuB5r0nSXSFZaU4ad8z9wKDbzN4fD+FUxJPeoGAfCPdyuGWHHwlS+WyC+J7V42qhL2H28VLGmVutHi/g==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/core/-/core-2.3.30.tgz",
"integrity": "sha512-6VuZCo4aCr9Qk5LhOnG0Fv6GE2Z/mUfXnSwE5iSk3v+i7bE4IgEMrQVGsndaJtHHLRRnB2n+Aed2W3H5eeV9Fg==",
"license": "MIT",
"dependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
@@ -2685,9 +2685,9 @@
}
},
"node_modules/@jqhtml/parser": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/parser/-/parser-2.3.29.tgz",
"integrity": "sha512-Ez0z11v8SCp6phJA2XAW+TBmGgYYDs88SeQd6YGX1ap8vCxF2MXe3A6ZlUHvOMiYNT1ONGR5zIcyIuNDJe5Mcg==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/parser/-/parser-2.3.30.tgz",
"integrity": "sha512-UHiGZ0bueaOGtSIQahitzc+1mJ/pibYZgYUOf6gc3a788Gq37lRA5IuyOKtoe7YYPQjJCyH43joF+Qv4bNBXDA==",
"license": "MIT",
"dependencies": {
"@types/jest": "^29.5.11",
@@ -2725,9 +2725,9 @@
}
},
"node_modules/@jqhtml/ssr": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/ssr/-/ssr-2.3.29.tgz",
"integrity": "sha512-IVuJNbwA9Ve/sw1KK+GBbK+4ahCkts+9ZLIdgOsYbU7owOIbxOJe1iZ2IBB4hV/I9M9c54Q8+rw4iD0E99P/nw==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/ssr/-/ssr-2.3.30.tgz",
"integrity": "sha512-gNpwsWkeqT8TEGzvi6vccjhtFvT28b3NOHiqNSpgGUHgkMupHU4oqEi/QDNhEeU87kNVvqEhTsEIqAXX07Wt3Q==",
"license": "MIT",
"dependencies": {
"jquery": "^3.7.1",
@@ -2821,9 +2821,9 @@
}
},
"node_modules/@jqhtml/vscode-extension": {
"version": "2.3.29",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/vscode-extension/-/vscode-extension-2.3.29.tgz",
"integrity": "sha512-4ULz3axCs4ytYgtf5QpyfMBA4jLDujBibJ7mpRoyqXpuS9NsoTCsvPKdIc5F/Y3mJBFhRpsbPtiRDiiunM7XtQ==",
"version": "2.3.30",
"resolved": "http://privatenpm.hanson.xyz/@jqhtml/vscode-extension/-/vscode-extension-2.3.30.tgz",
"integrity": "sha512-+l2kI1Uj/kSCeM1bzCHbEtsRE+X6VpxQpw7wfrExqMKYvrzRmU6yiQADHuc85CFg8F2HF+7d7XA9zvgj8cOXcg==",
"license": "MIT",
"engines": {
"vscode": "^1.74.0"