ultra11y 2.26.0 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/scripts/ultra11y.mjs +25 -5
- package/scripts/vendor/wcag-2.2-fr.json +1 -1
- package/scripts/vendor/wcag-2.2-sc-universe.json +1 -1
- package/skills/review-a11y/SKILL.md +1 -1
- package/skills/review-a11y/scripts/ultra11y.mjs +25 -5
- package/skills/ultra11y/SKILL.md +1 -1
- package/skills/ultra11y/scripts/ultra11y.mjs +25 -5
- package/src/data/wcag-universe.json +1 -1
- package/src/types.ts +1 -1
- package/src/vendor/codeindex-engine.d.mts +3 -3
- package/src/vendor/codeindex-engine.mjs +23 -3
- package/src/vendor/engine.meta.json +5 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"name": "ultra11y",
|
|
11
11
|
"source": "./",
|
|
12
12
|
"description": "Automatic accessibility review of the code under change before every commit, push and pull request, plus full WCAG 2.2 AA / RGAA audits and conformance deliverables on demand.",
|
|
13
|
-
"version": "2.
|
|
13
|
+
"version": "2.27.0",
|
|
14
14
|
"author": { "name": "maxgfr" },
|
|
15
15
|
"homepage": "https://github.com/maxgfr/ultra11y",
|
|
16
16
|
"repository": "https://github.com/maxgfr/ultra11y",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
3
|
"description": "Accessibility for WCAG 2.2 AA and country standards (RGAA…): an automatic review of the code under change before every commit, push and pull request, plus full audits and conformance deliverables on demand.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.27.0",
|
|
5
5
|
"author": { "name": "maxgfr" },
|
|
6
6
|
"homepage": "https://github.com/maxgfr/ultra11y",
|
|
7
7
|
"repository": "https://github.com/maxgfr/ultra11y",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "Audit HTML/CSS/JSX against WCAG 2.2 AA and produce a dated compliance report, or author/review accessible markup (native-HTML-first). A skills.sh agent skill: an install-free static engine (bundled, no npm install) plus the agent's judgment, with check/verify gates against hallucinated non-conformities, and pluggable in-repo standards packs (RGAA France first; Section 508 & EN 301 549 next).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.33.0",
|
package/scripts/ultra11y.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { join as join40, relative as relative3, sep as sep6, dirname as dirname1
|
|
|
6
6
|
import { fileURLToPath as fileURLToPath5, pathToFileURL as pathToFileURL3 } from "url";
|
|
7
7
|
|
|
8
8
|
// src/types.ts
|
|
9
|
-
var VERSION = "2.
|
|
9
|
+
var VERSION = "2.27.0";
|
|
10
10
|
var SCHEMA_VERSION = 2;
|
|
11
11
|
|
|
12
12
|
// src/audit.ts
|
|
@@ -1197,7 +1197,7 @@ var wcag_universe_default = {
|
|
|
1197
1197
|
wcagVersion: "2.2",
|
|
1198
1198
|
source: "https://www.w3.org/TR/WCAG22/",
|
|
1199
1199
|
criteriaSource: "https://github.com/w3c/wcag",
|
|
1200
|
-
provenance: "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-
|
|
1200
|
+
provenance: "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-08-01 via `node scripts/build-standards.mjs --refresh-universe`. Classification: core-AA = ships in src/data/wcag.json (the shipped WCAG 2.2 AA core); out-of-core = WCAG AAA; removed = obsolete (4.1.1).",
|
|
1201
1201
|
criteria: [
|
|
1202
1202
|
{
|
|
1203
1203
|
id: "1.1.1",
|
|
@@ -18887,9 +18887,9 @@ var EXTRACTOR_VERSION;
|
|
|
18887
18887
|
var init_types = __esm({
|
|
18888
18888
|
"src/types.ts"() {
|
|
18889
18889
|
"use strict";
|
|
18890
|
-
ENGINE_VERSION = "2.
|
|
18890
|
+
ENGINE_VERSION = "2.24.2";
|
|
18891
18891
|
SCHEMA_VERSION2 = 5;
|
|
18892
|
-
EXTRACTOR_VERSION =
|
|
18892
|
+
EXTRACTOR_VERSION = 12;
|
|
18893
18893
|
}
|
|
18894
18894
|
});
|
|
18895
18895
|
function sh(cmd, args2, opts = {}) {
|
|
@@ -19861,6 +19861,18 @@ var init_js_ts = __esm({
|
|
|
19861
19861
|
{ re: /^\s*module\.exports\.(?<name>[\w$]+)\s*=/, kind: "const", exported: true },
|
|
19862
19862
|
// top-level const arrow function (not exported)
|
|
19863
19863
|
{ re: /^\s*(?:const|let)\s+(?<name>[\w$]+)\s*=\s*(?:async\s*)?\([^)]*\)\s*(?::[^=]+)?=>/, kind: "const", exported: false },
|
|
19864
|
+
// A module constant bound to a VALUE, not exported: `const RE = /href=/g`.
|
|
19865
|
+
// The AST tier indexes these (a top-level binding is a declaration, only an
|
|
19866
|
+
// in-function one is a local), and a fallback tier that answers "no such
|
|
19867
|
+
// symbol" for every module constant diverges from the engine it stands in for.
|
|
19868
|
+
//
|
|
19869
|
+
// Anchored at column 0, unlike every rule above it: a line scanner cannot see
|
|
19870
|
+
// scope, so `^\s*` here would sweep in each `const x = 1` inside every function
|
|
19871
|
+
// body — the locals-flood the AST tier's inFunctionBody filter exists to
|
|
19872
|
+
// prevent, and the surplus this project criticises in a flat tags file. Column
|
|
19873
|
+
// 0 is the one module-scope proxy a line can carry. Must stay AFTER the arrow
|
|
19874
|
+
// and export rules: `scan()` keeps the first rule that matches a line.
|
|
19875
|
+
{ re: /^(?:const|let|var)\s+(?<name>[\w$]+)\s*[:=]/, kind: "const", exported: false },
|
|
19864
19876
|
// `export default Foo;` — a class/const declared above and exported by reference.
|
|
19865
19877
|
{ re: /^\s*export\s+default\s+(?<name>[A-Za-z_$][\w$]*)\s*;?\s*$/, kind: "default", exported: true }
|
|
19866
19878
|
];
|
|
@@ -24974,7 +24986,15 @@ var init_specs = __esm({
|
|
|
24974
24986
|
"arguments",
|
|
24975
24987
|
"arrow_function",
|
|
24976
24988
|
"function_expression",
|
|
24977
|
-
"function"
|
|
24989
|
+
"function",
|
|
24990
|
+
// The IIFE's own link: `(function () { … })()` parses as
|
|
24991
|
+
// expression_statement → call_expression → parenthesized_expression →
|
|
24992
|
+
// function_expression, and without the parens listed the descent stopped one
|
|
24993
|
+
// node short — the same break the statement containers above were added for.
|
|
24994
|
+
// Whole categories of file are written inside one (browser scripts, UMD and
|
|
24995
|
+
// loader bundles), so for those the index held no functions at all. Named by
|
|
24996
|
+
// the ctags differential on a real loader script.
|
|
24997
|
+
"parenthesized_expression"
|
|
24978
24998
|
]),
|
|
24979
24999
|
exported: neverExport,
|
|
24980
25000
|
// export is tracked structurally; see LangSpec.exportMarkers
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"wcagVersion": "2.2",
|
|
3
3
|
"source": "https://www.w3.org/TR/WCAG22/",
|
|
4
4
|
"criteriaSource": "https://github.com/w3c/wcag",
|
|
5
|
-
"provenance": "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-
|
|
5
|
+
"provenance": "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-08-01 via `node scripts/build-standards.mjs --refresh-universe`. Classification: core-AA = ships in src/data/wcag.json (the shipped WCAG 2.2 AA core); out-of-core = WCAG AAA; removed = obsolete (4.1.1).",
|
|
6
6
|
"principles": [
|
|
7
7
|
{
|
|
8
8
|
"number": 1,
|
|
@@ -5,7 +5,7 @@ when_to_use: "Invoke WITHOUT being asked whenever changed front-end code should
|
|
|
5
5
|
allowed-tools: Bash(node ${CLAUDE_SKILL_DIR}/scripts/ultra11y.mjs *), Read, Grep, Glob
|
|
6
6
|
license: MIT
|
|
7
7
|
metadata:
|
|
8
|
-
version: 2.
|
|
8
|
+
version: 2.27.0
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# review-a11y — accessibility review of changed code
|
|
@@ -6,7 +6,7 @@ import { join as join40, relative as relative3, sep as sep6, dirname as dirname1
|
|
|
6
6
|
import { fileURLToPath as fileURLToPath5, pathToFileURL as pathToFileURL3 } from "url";
|
|
7
7
|
|
|
8
8
|
// src/types.ts
|
|
9
|
-
var VERSION = "2.
|
|
9
|
+
var VERSION = "2.27.0";
|
|
10
10
|
var SCHEMA_VERSION = 2;
|
|
11
11
|
|
|
12
12
|
// src/audit.ts
|
|
@@ -1197,7 +1197,7 @@ var wcag_universe_default = {
|
|
|
1197
1197
|
wcagVersion: "2.2",
|
|
1198
1198
|
source: "https://www.w3.org/TR/WCAG22/",
|
|
1199
1199
|
criteriaSource: "https://github.com/w3c/wcag",
|
|
1200
|
-
provenance: "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-
|
|
1200
|
+
provenance: "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-08-01 via `node scripts/build-standards.mjs --refresh-universe`. Classification: core-AA = ships in src/data/wcag.json (the shipped WCAG 2.2 AA core); out-of-core = WCAG AAA; removed = obsolete (4.1.1).",
|
|
1201
1201
|
criteria: [
|
|
1202
1202
|
{
|
|
1203
1203
|
id: "1.1.1",
|
|
@@ -18887,9 +18887,9 @@ var EXTRACTOR_VERSION;
|
|
|
18887
18887
|
var init_types = __esm({
|
|
18888
18888
|
"src/types.ts"() {
|
|
18889
18889
|
"use strict";
|
|
18890
|
-
ENGINE_VERSION = "2.
|
|
18890
|
+
ENGINE_VERSION = "2.24.2";
|
|
18891
18891
|
SCHEMA_VERSION2 = 5;
|
|
18892
|
-
EXTRACTOR_VERSION =
|
|
18892
|
+
EXTRACTOR_VERSION = 12;
|
|
18893
18893
|
}
|
|
18894
18894
|
});
|
|
18895
18895
|
function sh(cmd, args2, opts = {}) {
|
|
@@ -19861,6 +19861,18 @@ var init_js_ts = __esm({
|
|
|
19861
19861
|
{ re: /^\s*module\.exports\.(?<name>[\w$]+)\s*=/, kind: "const", exported: true },
|
|
19862
19862
|
// top-level const arrow function (not exported)
|
|
19863
19863
|
{ re: /^\s*(?:const|let)\s+(?<name>[\w$]+)\s*=\s*(?:async\s*)?\([^)]*\)\s*(?::[^=]+)?=>/, kind: "const", exported: false },
|
|
19864
|
+
// A module constant bound to a VALUE, not exported: `const RE = /href=/g`.
|
|
19865
|
+
// The AST tier indexes these (a top-level binding is a declaration, only an
|
|
19866
|
+
// in-function one is a local), and a fallback tier that answers "no such
|
|
19867
|
+
// symbol" for every module constant diverges from the engine it stands in for.
|
|
19868
|
+
//
|
|
19869
|
+
// Anchored at column 0, unlike every rule above it: a line scanner cannot see
|
|
19870
|
+
// scope, so `^\s*` here would sweep in each `const x = 1` inside every function
|
|
19871
|
+
// body — the locals-flood the AST tier's inFunctionBody filter exists to
|
|
19872
|
+
// prevent, and the surplus this project criticises in a flat tags file. Column
|
|
19873
|
+
// 0 is the one module-scope proxy a line can carry. Must stay AFTER the arrow
|
|
19874
|
+
// and export rules: `scan()` keeps the first rule that matches a line.
|
|
19875
|
+
{ re: /^(?:const|let|var)\s+(?<name>[\w$]+)\s*[:=]/, kind: "const", exported: false },
|
|
19864
19876
|
// `export default Foo;` — a class/const declared above and exported by reference.
|
|
19865
19877
|
{ re: /^\s*export\s+default\s+(?<name>[A-Za-z_$][\w$]*)\s*;?\s*$/, kind: "default", exported: true }
|
|
19866
19878
|
];
|
|
@@ -24974,7 +24986,15 @@ var init_specs = __esm({
|
|
|
24974
24986
|
"arguments",
|
|
24975
24987
|
"arrow_function",
|
|
24976
24988
|
"function_expression",
|
|
24977
|
-
"function"
|
|
24989
|
+
"function",
|
|
24990
|
+
// The IIFE's own link: `(function () { … })()` parses as
|
|
24991
|
+
// expression_statement → call_expression → parenthesized_expression →
|
|
24992
|
+
// function_expression, and without the parens listed the descent stopped one
|
|
24993
|
+
// node short — the same break the statement containers above were added for.
|
|
24994
|
+
// Whole categories of file are written inside one (browser scripts, UMD and
|
|
24995
|
+
// loader bundles), so for those the index held no functions at all. Named by
|
|
24996
|
+
// the ctags differential on a real loader script.
|
|
24997
|
+
"parenthesized_expression"
|
|
24978
24998
|
]),
|
|
24979
24999
|
exported: neverExport,
|
|
24980
25000
|
// export is tracked structurally; see LangSpec.exportMarkers
|
package/skills/ultra11y/SKILL.md
CHANGED
|
@@ -4,7 +4,7 @@ description: "Use to AUDIT existing HTML/CSS/JSX against WCAG 2.2 AA accessibili
|
|
|
4
4
|
when_to_use: "Invoke when the user asks for an accessibility AUDIT or a formal deliverable: audit a repo, site or page against WCAG 2.2 AA or a country standard (RGAA, Section 508, EN 301 549); produce a dated conformance report, a criterion grid, a PRD remediation backlog or GitHub issues; author accessible markup from scratch; wire the repo gate (init --hook/--ci) or a rendered-DOM capture pipeline. For a review of the code UNDER CHANGE (diff, branch, PR), use the `review-a11y` skill instead."
|
|
5
5
|
license: MIT
|
|
6
6
|
metadata:
|
|
7
|
-
version: 2.
|
|
7
|
+
version: 2.27.0
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# ultra11y — audit WCAG 2.2 AA and write accessible markup
|
|
@@ -6,7 +6,7 @@ import { join as join40, relative as relative3, sep as sep6, dirname as dirname1
|
|
|
6
6
|
import { fileURLToPath as fileURLToPath5, pathToFileURL as pathToFileURL3 } from "url";
|
|
7
7
|
|
|
8
8
|
// src/types.ts
|
|
9
|
-
var VERSION = "2.
|
|
9
|
+
var VERSION = "2.27.0";
|
|
10
10
|
var SCHEMA_VERSION = 2;
|
|
11
11
|
|
|
12
12
|
// src/audit.ts
|
|
@@ -1197,7 +1197,7 @@ var wcag_universe_default = {
|
|
|
1197
1197
|
wcagVersion: "2.2",
|
|
1198
1198
|
source: "https://www.w3.org/TR/WCAG22/",
|
|
1199
1199
|
criteriaSource: "https://github.com/w3c/wcag",
|
|
1200
|
-
provenance: "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-
|
|
1200
|
+
provenance: "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-08-01 via `node scripts/build-standards.mjs --refresh-universe`. Classification: core-AA = ships in src/data/wcag.json (the shipped WCAG 2.2 AA core); out-of-core = WCAG AAA; removed = obsolete (4.1.1).",
|
|
1201
1201
|
criteria: [
|
|
1202
1202
|
{
|
|
1203
1203
|
id: "1.1.1",
|
|
@@ -18887,9 +18887,9 @@ var EXTRACTOR_VERSION;
|
|
|
18887
18887
|
var init_types = __esm({
|
|
18888
18888
|
"src/types.ts"() {
|
|
18889
18889
|
"use strict";
|
|
18890
|
-
ENGINE_VERSION = "2.
|
|
18890
|
+
ENGINE_VERSION = "2.24.2";
|
|
18891
18891
|
SCHEMA_VERSION2 = 5;
|
|
18892
|
-
EXTRACTOR_VERSION =
|
|
18892
|
+
EXTRACTOR_VERSION = 12;
|
|
18893
18893
|
}
|
|
18894
18894
|
});
|
|
18895
18895
|
function sh(cmd, args2, opts = {}) {
|
|
@@ -19861,6 +19861,18 @@ var init_js_ts = __esm({
|
|
|
19861
19861
|
{ re: /^\s*module\.exports\.(?<name>[\w$]+)\s*=/, kind: "const", exported: true },
|
|
19862
19862
|
// top-level const arrow function (not exported)
|
|
19863
19863
|
{ re: /^\s*(?:const|let)\s+(?<name>[\w$]+)\s*=\s*(?:async\s*)?\([^)]*\)\s*(?::[^=]+)?=>/, kind: "const", exported: false },
|
|
19864
|
+
// A module constant bound to a VALUE, not exported: `const RE = /href=/g`.
|
|
19865
|
+
// The AST tier indexes these (a top-level binding is a declaration, only an
|
|
19866
|
+
// in-function one is a local), and a fallback tier that answers "no such
|
|
19867
|
+
// symbol" for every module constant diverges from the engine it stands in for.
|
|
19868
|
+
//
|
|
19869
|
+
// Anchored at column 0, unlike every rule above it: a line scanner cannot see
|
|
19870
|
+
// scope, so `^\s*` here would sweep in each `const x = 1` inside every function
|
|
19871
|
+
// body — the locals-flood the AST tier's inFunctionBody filter exists to
|
|
19872
|
+
// prevent, and the surplus this project criticises in a flat tags file. Column
|
|
19873
|
+
// 0 is the one module-scope proxy a line can carry. Must stay AFTER the arrow
|
|
19874
|
+
// and export rules: `scan()` keeps the first rule that matches a line.
|
|
19875
|
+
{ re: /^(?:const|let|var)\s+(?<name>[\w$]+)\s*[:=]/, kind: "const", exported: false },
|
|
19864
19876
|
// `export default Foo;` — a class/const declared above and exported by reference.
|
|
19865
19877
|
{ re: /^\s*export\s+default\s+(?<name>[A-Za-z_$][\w$]*)\s*;?\s*$/, kind: "default", exported: true }
|
|
19866
19878
|
];
|
|
@@ -24974,7 +24986,15 @@ var init_specs = __esm({
|
|
|
24974
24986
|
"arguments",
|
|
24975
24987
|
"arrow_function",
|
|
24976
24988
|
"function_expression",
|
|
24977
|
-
"function"
|
|
24989
|
+
"function",
|
|
24990
|
+
// The IIFE's own link: `(function () { … })()` parses as
|
|
24991
|
+
// expression_statement → call_expression → parenthesized_expression →
|
|
24992
|
+
// function_expression, and without the parens listed the descent stopped one
|
|
24993
|
+
// node short — the same break the statement containers above were added for.
|
|
24994
|
+
// Whole categories of file are written inside one (browser scripts, UMD and
|
|
24995
|
+
// loader bundles), so for those the index held no functions at all. Named by
|
|
24996
|
+
// the ctags differential on a real loader script.
|
|
24997
|
+
"parenthesized_expression"
|
|
24978
24998
|
]),
|
|
24979
24999
|
exported: neverExport,
|
|
24980
25000
|
// export is tracked structurally; see LangSpec.exportMarkers
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"wcagVersion": "2.2",
|
|
3
3
|
"source": "https://www.w3.org/TR/WCAG22/",
|
|
4
4
|
"criteriaSource": "https://github.com/w3c/wcag",
|
|
5
|
-
"provenance": "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-
|
|
5
|
+
"provenance": "Full WCAG 2.x SC universe (all levels incl. AAA, and the removed 4.1.1 Parsing) fetched from raw.githubusercontent.com/w3c/wcag@main on 2026-08-01 via `node scripts/build-standards.mjs --refresh-universe`. Classification: core-AA = ships in src/data/wcag.json (the shipped WCAG 2.2 AA core); out-of-core = WCAG AAA; removed = obsolete (4.1.1).",
|
|
6
6
|
"criteria": [
|
|
7
7
|
{
|
|
8
8
|
"id": "1.1.1",
|
package/src/types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Single source of truth for shared types + the embedded version. sync-version.mjs
|
|
2
2
|
// rewrites VERSION at release time (kept in lockstep with package.json + SKILL.md).
|
|
3
|
-
export const VERSION = "2.
|
|
3
|
+
export const VERSION = "2.27.0";
|
|
4
4
|
export const SCHEMA_VERSION = 2;
|
|
5
5
|
|
|
6
6
|
// Lang = the UI FRAME's language — the `L` localization tables each module (report,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const ENGINE_VERSION = "2.
|
|
1
|
+
declare const ENGINE_VERSION = "2.24.2";
|
|
2
2
|
declare const SCHEMA_VERSION = 5;
|
|
3
|
-
declare const EXTRACTOR_VERSION =
|
|
3
|
+
declare const EXTRACTOR_VERSION = 12;
|
|
4
4
|
type FileKind = "code" | "doc" | "config" | "asset" | "other";
|
|
5
5
|
type EdgeKind = "contains" | "doc-link" | "import" | "call" | "extends" | "implements" | "use" | "mention";
|
|
6
6
|
type Tier = 0 | 1 | 2;
|
|
@@ -397,7 +397,7 @@ declare function tagsQueryStatus(key: string): TagsQueryStatus;
|
|
|
397
397
|
*/
|
|
398
398
|
declare function extractTags(ext: string, content: string): TagDefinition[];
|
|
399
399
|
|
|
400
|
-
declare const DEFAULT_GRAMMARS_URL = "https://github.com/maxgfr/codeindex/releases/download/v2.
|
|
400
|
+
declare const DEFAULT_GRAMMARS_URL = "https://github.com/maxgfr/codeindex/releases/download/v2.24.2/grammars-2.24.2.tar.gz";
|
|
401
401
|
interface GrammarsPullTarget {
|
|
402
402
|
url: string;
|
|
403
403
|
sha256Url?: string;
|
|
@@ -14,9 +14,9 @@ var ENGINE_VERSION, SCHEMA_VERSION, EXTRACTOR_VERSION;
|
|
|
14
14
|
var init_types = __esm({
|
|
15
15
|
"src/types.ts"() {
|
|
16
16
|
"use strict";
|
|
17
|
-
ENGINE_VERSION = "2.
|
|
17
|
+
ENGINE_VERSION = "2.24.2";
|
|
18
18
|
SCHEMA_VERSION = 5;
|
|
19
|
-
EXTRACTOR_VERSION =
|
|
19
|
+
EXTRACTOR_VERSION = 12;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -993,6 +993,18 @@ var init_js_ts = __esm({
|
|
|
993
993
|
{ re: /^\s*module\.exports\.(?<name>[\w$]+)\s*=/, kind: "const", exported: true },
|
|
994
994
|
// top-level const arrow function (not exported)
|
|
995
995
|
{ re: /^\s*(?:const|let)\s+(?<name>[\w$]+)\s*=\s*(?:async\s*)?\([^)]*\)\s*(?::[^=]+)?=>/, kind: "const", exported: false },
|
|
996
|
+
// A module constant bound to a VALUE, not exported: `const RE = /href=/g`.
|
|
997
|
+
// The AST tier indexes these (a top-level binding is a declaration, only an
|
|
998
|
+
// in-function one is a local), and a fallback tier that answers "no such
|
|
999
|
+
// symbol" for every module constant diverges from the engine it stands in for.
|
|
1000
|
+
//
|
|
1001
|
+
// Anchored at column 0, unlike every rule above it: a line scanner cannot see
|
|
1002
|
+
// scope, so `^\s*` here would sweep in each `const x = 1` inside every function
|
|
1003
|
+
// body — the locals-flood the AST tier's inFunctionBody filter exists to
|
|
1004
|
+
// prevent, and the surplus this project criticises in a flat tags file. Column
|
|
1005
|
+
// 0 is the one module-scope proxy a line can carry. Must stay AFTER the arrow
|
|
1006
|
+
// and export rules: `scan()` keeps the first rule that matches a line.
|
|
1007
|
+
{ re: /^(?:const|let|var)\s+(?<name>[\w$]+)\s*[:=]/, kind: "const", exported: false },
|
|
996
1008
|
// `export default Foo;` — a class/const declared above and exported by reference.
|
|
997
1009
|
{ re: /^\s*export\s+default\s+(?<name>[A-Za-z_$][\w$]*)\s*;?\s*$/, kind: "default", exported: true }
|
|
998
1010
|
];
|
|
@@ -6069,7 +6081,15 @@ var init_specs = __esm({
|
|
|
6069
6081
|
"arguments",
|
|
6070
6082
|
"arrow_function",
|
|
6071
6083
|
"function_expression",
|
|
6072
|
-
"function"
|
|
6084
|
+
"function",
|
|
6085
|
+
// The IIFE's own link: `(function () { … })()` parses as
|
|
6086
|
+
// expression_statement → call_expression → parenthesized_expression →
|
|
6087
|
+
// function_expression, and without the parens listed the descent stopped one
|
|
6088
|
+
// node short — the same break the statement containers above were added for.
|
|
6089
|
+
// Whole categories of file are written inside one (browser scripts, UMD and
|
|
6090
|
+
// loader bundles), so for those the index held no functions at all. Named by
|
|
6091
|
+
// the ctags differential on a real loader script.
|
|
6092
|
+
"parenthesized_expression"
|
|
6073
6093
|
]),
|
|
6074
6094
|
exported: neverExport,
|
|
6075
6095
|
// export is tracked structurally; see LangSpec.exportMarkers
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tag": "v2.
|
|
3
|
-
"engineVersion": "2.
|
|
2
|
+
"tag": "v2.24.2",
|
|
3
|
+
"engineVersion": "2.24.2",
|
|
4
4
|
"sha256": {
|
|
5
|
-
"codeindex-engine.mjs": "
|
|
6
|
-
"codeindex-engine.d.mts": "
|
|
5
|
+
"codeindex-engine.mjs": "209509d1e757d15cb0ac5c6b52a2e47c3f1cb17630c895a72140e0b3a8193ee6",
|
|
6
|
+
"codeindex-engine.d.mts": "0c744308646ec98c78afdbfcd9febf48532394101ace541a5c1f432549ad2397"
|
|
7
7
|
},
|
|
8
|
-
"syncedAt": "2026-
|
|
8
|
+
"syncedAt": "2026-08-01T08:55:39.105Z"
|
|
9
9
|
}
|