Fix code quality violations for publish

Progressive breadcrumb resolution with caching, fix double headers

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-16 04:43:47 +00:00
parent ba3268caca
commit 14dd2fd223
1456 changed files with 136243 additions and 7631 deletions

View File

@@ -77,7 +77,14 @@ class LifecycleManager {
// Skip entirely if component uses default stub to avoid unnecessary yield
if (component._has_on_load()) {
await component._load();
// Yield to microtask queue after on_load completes
// This ensures async queue tasks always run before the on_load process completes,
// even if on_load() itself completes instantly (deterministic behavior)
await Promise.resolve();
}
// Trigger 'loaded' event - fires after on_load completes (or would have completed)
// This happens before the render/on_render second step
component.trigger('loaded');
// Check if stopped during load
if (component._stopped)
return;
@@ -4845,7 +4852,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.23';
const version = '2.3.26';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

View File

@@ -73,7 +73,14 @@ class LifecycleManager {
// Skip entirely if component uses default stub to avoid unnecessary yield
if (component._has_on_load()) {
await component._load();
// Yield to microtask queue after on_load completes
// This ensures async queue tasks always run before the on_load process completes,
// even if on_load() itself completes instantly (deterministic behavior)
await Promise.resolve();
}
// Trigger 'loaded' event - fires after on_load completes (or would have completed)
// This happens before the render/on_render second step
component.trigger('loaded');
// Check if stopped during load
if (component._stopped)
return;
@@ -4841,7 +4848,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.23';
const version = '2.3.26';
// 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.23
* JQHTML Core v2.3.26
* (c) 2025 JQHTML Team
* Released under the MIT License
*/
@@ -78,7 +78,14 @@ class LifecycleManager {
// Skip entirely if component uses default stub to avoid unnecessary yield
if (component._has_on_load()) {
await component._load();
// Yield to microtask queue after on_load completes
// This ensures async queue tasks always run before the on_load process completes,
// even if on_load() itself completes instantly (deterministic behavior)
await Promise.resolve();
}
// Trigger 'loaded' event - fires after on_load completes (or would have completed)
// This happens before the render/on_render second step
component.trigger('loaded');
// Check if stopped during load
if (component._stopped)
return;
@@ -4846,7 +4853,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.23';
const version = '2.3.26';
// 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":"lifecycle-manager.d.ts","sourceRoot":"","sources":["../src/lifecycle-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAEpE,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAmB;IAC1C,OAAO,CAAC,iBAAiB,CAAoC;IAE7D,MAAM,CAAC,YAAY,IAAI,gBAAgB;;IAevC;;;;;;;;;OASG;IACG,cAAc,CAAC,SAAS,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IA+GhE;;OAEG;IACH,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI;IAIvD;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;CAetC"}
{"version":3,"file":"lifecycle-manager.d.ts","sourceRoot":"","sources":["../src/lifecycle-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAEpE,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAmB;IAC1C,OAAO,CAAC,iBAAiB,CAAoC;IAE7D,MAAM,CAAC,YAAY,IAAI,gBAAgB;;IAevC;;;;;;;;;OASG;IACG,cAAc,CAAC,SAAS,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAwHhE;;OAEG;IACH,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI;IAIvD;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;CAetC"}

View File

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