@accesslint/core 0.2.2 → 0.2.3

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.
@@ -23,6 +23,7 @@ export declare function getActiveRules(): Rule[];
23
23
  * Call processChunk() repeatedly (e.g. via setTimeout) to avoid long tasks.
24
24
  */
25
25
  export declare function createChunkedAudit(doc: Document): ChunkedAudit;
26
+ export declare function clearAllCaches(): void;
26
27
  export declare function runAudit(doc: Document): AuditResult;
27
28
  export declare function getRuleById(id: string): Rule | undefined;
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA+F5D,eAAO,MAAM,KAAK,EAAE,IAAI,EA4GvB,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,2EAA2E;IAC3E,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,8CAA8C;IAC9C,aAAa,IAAI,SAAS,EAAE,CAAC;CAC9B;AAOD,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,eAAe,CAAC,EAAE,IAAI,EAAE,CAAC;IACzB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAO9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,IAAI,EAAE,CAGvC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,GAAG,YAAY,CA6B9D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,WAAW,CAwBnD;AAID,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAIxD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA+F5D,eAAO,MAAM,KAAK,EAAE,IAAI,EA4GvB,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,2EAA2E;IAC3E,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,8CAA8C;IAC9C,aAAa,IAAI,SAAS,EAAE,CAAC;CAC9B;AAOD,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,eAAe,CAAC,EAAE,IAAI,EAAE,CAAC;IACzB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAO9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,IAAI,EAAE,CAGvC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,GAAG,YAAY,CAuB9D;AAED,wBAAgB,cAAc,IAAI,IAAI,CAOrC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,WAAW,CAkBnD;AAID,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAIxD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accesslint/core",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Pure accessibility rule engine — WCAG audit with zero browser dependencies",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -21,6 +21,9 @@
21
21
  "build": "vite build --config vite.lib.config.ts && tsc -p tsconfig.lib.json",
22
22
  "test": "vitest run",
23
23
  "bench": "vitest bench",
24
+ "test:memory": "vitest run --config vite.memory.config.ts",
25
+ "act:download": "npx tsx src/act/download-fixtures.ts",
26
+ "test:act": "vitest run src/act/act.test.ts",
24
27
  "prepublishOnly": "npm run build"
25
28
  },
26
29
  "repository": {