@terpjs/eslint-boundaries 0.39.0 → 0.40.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terpjs/eslint-boundaries",
3
- "version": "0.39.0",
3
+ "version": "0.40.0",
4
4
  "type": "module",
5
5
  "description": "Terp frontend boundary rules (as data) + the ESLint adapter, over all app source under src/: no cross-module imports, no package internals, design-token-only styling (no style/className/stylesheets; the bootstrap alone loads the token pipeline), token-styled components for raw HTML tags, router-only in-app links, generated-client-only, and browser XSS/navigation sink bans. Strict-only (no modes); governed opt-outs via terp-allow markers + the escape-hatch budget ratchet (terp-boundaries-budget).",
6
6
  "main": "./src/index.js",
@@ -30,7 +30,7 @@
30
30
  "typescript-eslint": "^8.72.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@terpjs/spec": "0.43.0",
33
+ "@terpjs/spec": "0.45.0",
34
34
  "eslint": "^10.14.0",
35
35
  "vitest": "^5.0.5"
36
36
  },
package/src/findings.js CHANGED
@@ -62,11 +62,13 @@ const PACKAGE_VERSION = JSON.parse(
62
62
  /**
63
63
  * Render a findings envelope as the Terp Standard **check report**
64
64
  * (`app-check-report.schema.json`, printed by `--format check-report`): the same
65
- * inventory and findings, self-described with the spec version the rule ids resolve
66
- * against, the checker identity, and the run verdict — so a consumer joins per-rule
67
- * verdicts to the catalog without knowing this toolchain. `unattributed.reported_as`
68
- * is omitted (never null) per the schema; `ok` covers the standard's own findings
69
- * (the process exit code stays the combined verdict, unattributed errors included).
65
+ * inventory and findings, self-described with the release of the report format, the
66
+ * checker identity (whose version names the catalog release the rule ids resolve
67
+ * against: the catalog ships with this package, ADR 0203), and the run verdict — so a
68
+ * consumer joins per-rule verdicts to the catalog without knowing this toolchain.
69
+ * `unattributed.reported_as` is omitted (never null) per the schema; `ok` covers the
70
+ * standard's own findings (the process exit code stays the combined verdict,
71
+ * unattributed errors included).
70
72
  */
71
73
  export function asCheckReport(envelope) {
72
74
  return {
@@ -314,10 +314,9 @@ describe("the check report (--format check-report, app-check-report.schema.json)
314
314
  const { envelope } = renderEnvelope(results, path.resolve("."), { layoutContract: true });
315
315
  const report = asCheckReport(envelope);
316
316
  expect(report.terp_check_report).toBe(1);
317
- // The certified spec version rides every report. Shape only here — the
317
+ // The report format's release rides every report. Shape only here: the
318
318
  // equality lock against the pinned @terpjs/spec lives in the framework gate
319
- // (test_check_json.py), because certification runs THIS suite against
320
- // candidate spec releases whose version is allowed to be newer.
319
+ // (test_check_json.py), beside the lock on terp.arch.SPEC_VERSION.
321
320
  expect(report.spec_version).toMatch(/^\d+\.\d+\.\d+$/);
322
321
  expect(report.checker.tool).toBe("@terpjs/eslint-boundaries");
323
322
  expect(report.checker.version).toMatch(/^\d+\.\d+\.\d+$/);
package/src/spec.js CHANGED
@@ -20,7 +20,7 @@
20
20
  * of the toolchain build. Held equal to the pinned release by the framework gate
21
21
  * (test_check_json.py).
22
22
  */
23
- export const SPEC_VERSION = "0.43.0";
23
+ export const SPEC_VERSION = "0.45.0";
24
24
 
25
25
  /** Every script extension the bundler loads as app source (see `appFiles`). */
26
26
  const SOURCE_EXTENSIONS = ["ts", "tsx", "mts", "cts", "js", "jsx", "mjs", "cjs"];