@mano8/astro-auth-m8 2.7.1 → 2.7.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.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,110 @@ this package's own surface: a backend contract repoint is always a major.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ### Fixed
12
+
13
+ - **The dependency compatibility gate runs `npm ls` without a shell.**
14
+ Outside `npm run`, `scripts/verify-dependency-compat.mjs` spawned `npm`
15
+ through a shell to find `npm.cmd` on Windows, which Codacy's Semgrep
16
+ (`spawn-shell-true`) flags. It now runs the npm that is running it, or the
17
+ npm bundled beside this Node, through `process.execPath`.
18
+ `tests/dependency-compat.test.ts` covers that path by running the gate
19
+ with `npm_execpath` removed. Neither file is in the published tarball, so
20
+ no release is owed. Byte-identical across the fleet's npm repositories.
21
+
22
+ ## 2.7.3
23
+
24
+ Tracks `fa-auth-m8` `2.2.5` and `@mano8/astro-ui-m8` `1.5.4`, and clears the
25
+ dependency advisories. A patch: the supported backend contract stays
26
+ `fa-auth-m8@2.0` (range `>=2.0.0 <3.0.0`), and no peer range changes.
27
+
28
+ ### Changed
29
+
30
+ - **Tested service version `2.2.3` → `2.2.5`**
31
+ (`FA_AUTH_M8_TESTED_SERVICE_VERSION`, `package.json`
32
+ `testedServiceVersion`, README). `fa-auth-m8` 2.2.4 and 2.2.5 change
33
+ dependencies only (`auth-sdk-m8` 3.2.2 / 3.2.3, lock CVE fixes, `redis` 8);
34
+ the `fa-auth-m8@2.0` contract and its `/meta` range are unchanged, so the
35
+ MIN, MAX and contract constants stay. 2.2.5 was published and read back
36
+ from Docker Hub on 2026-12-06 (`/meta` version `2.2.5`, contract `2.0`).
37
+ - **`@mano8/astro-ui-m8` dependency `^1.5.3` → `^1.5.4`**, the published
38
+ release that clears its own advisories and moves to the Node 26 baseline
39
+ (npm `latest` `1.5.4`, read back 2026-12-06). No block or export changes.
40
+
41
+ ### Security
42
+
43
+ - **`npm audit` clean.** The lock carried 19 advisories (1 critical, 6 high),
44
+ so `npm audit --audit-level=high` failed. `npm audit fix` (no `--force`)
45
+ moves them inside the existing ranges, lock only: among others `astro`
46
+ 7.4.14, `vite` 8.4.1, `undici` 8.14.1, `source-map-js` 1.3.0, `vitest`
47
+ 4.1.12 with `@vitest/coverage-v8` 4.1.12 (the pair pin each other
48
+ exactly), `zod` 4.6.7, `sharp` 0.35.6, `cross-spawn` 7.1.2. This includes
49
+ and supersedes Dependabot #36, #37, #38 and #39.
50
+
51
+ ### CI
52
+
53
+ - **Node 26.14.0 (Active LTS) is the baseline.** `astro` 7.4.6 and later
54
+ (the advisory fix) require Node `>=22.23.4`, and the lock's `jsdom` 30 and
55
+ `undici` 8 already declared engines above the old `22.13.0`. The Quality,
56
+ Security and coverage jobs and the npm publish run on 26.14.0; the test
57
+ matrix is `22.23.4` (Astro's floor), `24.x` and `26.14.0`, so consumers on
58
+ older supported Node lines stay covered.
59
+ - **jsdom tests on Node 25+.** Node 25+ defines a global `localStorage` /
60
+ `sessionStorage` whose getters return `undefined` without
61
+ `--localstorage-file`, and vitest's jsdom environment does not replace
62
+ names that already exist, so every `tests/react.test.tsx` case failed on
63
+ Node 26 (on `main` too). `tests/setup/web-storage.ts` points both names at
64
+ the jsdom window's storage in jsdom files only. The runtime already guards
65
+ with `typeof localStorage === "undefined"`, so the package is unaffected.
66
+
67
+ ## 2.7.2
68
+
69
+ Admits `@astrojs/react` 7 and Starlight 0.42 as peers, tracks the published
70
+ `@mano8/astro-ui-m8` `1.5.3`, and adds the fleet's dependency compatibility
71
+ gate. A patch: peer ranges only widen, with both old lines still accepted,
72
+ and the one floor that rises is to a published release. The supported
73
+ backend contract stays `fa-auth-m8@2.0` (range `>=2.0.0 <3.0.0`), and the
74
+ tested service version stays `2.2.3`.
75
+
76
+ ### Changed
77
+
78
+ - **`@mano8/astro-ui-m8` floor `^1.5.2` → `^1.5.3`** in `dependencies`: the
79
+ newest published release, read back as npm `latest`, with tag `v1.5.3` =
80
+ `main` `6ec692b`. 1.5.3 is the release whose `lucide-react` peer accepts
81
+ `^1.28.0` rather than exactly `1.28.0`, so a host on a newer `1.x` no
82
+ longer breaks it. The lock moves that one entry; its `integrity` equals the
83
+ registry's `dist.integrity`.
84
+ - **Peer `@astrojs/react` `^6.0.1` → `^6.0.1 || ^7.0.0`.** A host on
85
+ `@astrojs/react` 7 (Dependabot's `fa-ui-m8` #40) failed this peer. The
86
+ package imports nothing from `@astrojs/react`. 7.0.0 keeps the same React
87
+ peer ranges and adds only an optional `oxc-transform-react` peer.
88
+ - **Peer `@astrojs/starlight` `^0.41.3` → `^0.41.3 || ^0.42.0`.** Starlight
89
+ 0.42 is the line built for `astro` 7.3. Under 0.41, `@astrojs/mdx` 7 pins
90
+ `@astrojs/markdown-remark` 7.2.x, which is outside the `^7.3.0` optional
91
+ peer that `astro` 7.3 declares. The 0.42 breaking changes (mobile-menu
92
+ markup, the `tagline` option, `astro` ≥ 7.2.10) touch nothing this package
93
+ overrides or configures.
94
+ - Dev dependencies now test the new lines: `@astrojs/react` `^7.0.0`,
95
+ `@astrojs/starlight` `^0.42.4`, `astro` `^7.3.4`, `react` / `react-dom` /
96
+ `@types/react` `^19.3.0`, `@typescript-eslint/*` `^8.70.1` and `globals`
97
+ `^17.12.0`, all matching `fa-ui-m8`. `@types/react-dom` `^19.3.0` is now
98
+ declared: it is a required peer of `@astrojs/react`, which npm used to
99
+ install on its own.
100
+
101
+ ### Added
102
+
103
+ - **A tree that breaks a declared range fails the build.**
104
+ `scripts/verify-dependency-compat.mjs` (`npm run verify:dependency-compat`)
105
+ and `tests/dependency-compat.test.ts`, byte-identical across the fleet's
106
+ six npm repositories and first shipped in `@mano8/astro-ui-m8` `1.5.3`.
107
+ The gate reads `npm ls --all --json --long` with peer edges forced on. It
108
+ names every installed package outside a range declared on it, and every
109
+ missing required dependency or peer outside an optional platform binary.
110
+ CI runs it after `npm ci`.
111
+ - **`.npmrc` with `legacy-peer-deps=true`**, byte-identical fleet-wide. npm
112
+ and Dependabot never refuse to resolve on a peer conflict, and the gate
113
+ above enforces the ranges instead.
114
+
11
115
  ## 2.7.1
12
116
 
13
117
  Tracks the published `@mano8/astro-ui-m8` `1.5.2` (`B39-astro-ui-changelog-release`,
package/README.md CHANGED
@@ -18,7 +18,7 @@ Use it with a `fa-auth-m8` backend that satisfies the `fa-auth-m8@2.0` contract.
18
18
 
19
19
  ## Backend contract
20
20
 
21
- This package targets the `fa-auth-m8@2.0` API contract and tracks `fa-auth-m8` service version `2.2.3`. Supported backend service versions are `>=2.0.0 <3.0.0` - the contract is unchanged across the 2.x line, so older 2.x backends remain supported.
21
+ This package targets the `fa-auth-m8@2.0` API contract and tracks `fa-auth-m8` service version `2.2.5`. Supported backend service versions are `>=2.0.0 <3.0.0` - the contract is unchanged across the 2.x line, so older 2.x backends remain supported.
22
22
 
23
23
  Compatibility helpers are exported from `@mano8/astro-auth-m8/compatibility`. `fa-auth-m8` (>= 1.0.0) exposes a public `GET {API_PREFIX}/meta` route returning a `ServiceMeta` payload - pass it straight to the assert:
24
24
 
@@ -1,7 +1,7 @@
1
1
  export declare const FA_AUTH_M8_CONTRACT_ID = "fa-auth-m8";
2
2
  export declare const FA_AUTH_M8_CONTRACT_VERSION = "2.0";
3
3
  export declare const FA_AUTH_M8_CONTRACT: "fa-auth-m8@2.0";
4
- export declare const FA_AUTH_M8_TESTED_SERVICE_VERSION = "2.2.3";
4
+ export declare const FA_AUTH_M8_TESTED_SERVICE_VERSION = "2.2.5";
5
5
  export declare const FA_AUTH_M8_MIN_SERVICE_VERSION = "2.0.0";
6
6
  export declare const FA_AUTH_M8_MAX_SERVICE_VERSION_EXCLUSIVE = "3.0.0";
7
7
  export declare const FA_AUTH_M8_SERVICE_VERSION_RANGE = ">=2.0.0 <3.0.0";
@@ -1 +1 @@
1
- {"version":3,"file":"compatibility.d.ts","sourceRoot":"","sources":["../../../src/runtime/compatibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBA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,GAAE,uBAA4B,GAAG,qBAAqB,CAiEtG;AAED,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,uBAAuB,EAAE,YAAY,UAAO,GAAG,qBAAqB,CAMzH"}
@@ -1,15 +1,16 @@
1
1
  export const FA_AUTH_M8_CONTRACT_ID = "fa-auth-m8";
2
2
  export const FA_AUTH_M8_CONTRACT_VERSION = "2.0";
3
3
  export const FA_AUTH_M8_CONTRACT = `${FA_AUTH_M8_CONTRACT_ID}@${FA_AUTH_M8_CONTRACT_VERSION}`;
4
- // 2.2.3 is the fa-auth-m8 release this plugin currently targets. The MIN
4
+ // 2.2.5 is the fa-auth-m8 release this plugin currently targets. The MIN
5
5
  // stays at 2.0.0: the `fa-auth-m8@2.0` API contract is unchanged by 2.1.0
6
6
  // (JWKS kid/key binding, audit J1-J4), 2.2.0 (auth-sdk-m8 3.2.0 floor),
7
7
  // 2.2.1 (init-keys.sh verifies the kid binding on rerun -- provisioning
8
- // only), 2.2.2 (Debian patch layer) and 2.2.3 (UTC session clock and
8
+ // only), 2.2.2 (Debian patch layer), 2.2.3 (UTC session clock and
9
9
  // timestamptz columns; list routes validate each row explicitly -- same
10
- // payloads), so raising the floor would reject backends this plugin still
11
- // speaks to.
12
- export const FA_AUTH_M8_TESTED_SERVICE_VERSION = "2.2.3";
10
+ // payloads), 2.2.4 (auth-sdk-m8 3.2.2, lock CVE fixes) and 2.2.5
11
+ // (auth-sdk-m8 3.2.3, redis 8 -- dependencies only), so raising the floor
12
+ // would reject backends this plugin still speaks to.
13
+ export const FA_AUTH_M8_TESTED_SERVICE_VERSION = "2.2.5";
13
14
  export const FA_AUTH_M8_MIN_SERVICE_VERSION = "2.0.0";
14
15
  export const FA_AUTH_M8_MAX_SERVICE_VERSION_EXCLUSIVE = "3.0.0";
15
16
  export const FA_AUTH_M8_SERVICE_VERSION_RANGE = `>=${FA_AUTH_M8_MIN_SERVICE_VERSION} <${FA_AUTH_M8_MAX_SERVICE_VERSION_EXCLUSIVE}`;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Ae,IAAI,cAAc,EAAE,CAAC;QACtC,OAAO;YACL,MAAM,EAAE,YAAY;YACpB,gBAAgB,EAAE,mBAAmB;YACrC,2BAA2B,EAAE,gCAAgC;YAC7D,eAAe;YACf,cAAc;SACf,CAAC;IACJ,CAAC;IAED,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,gBAAgB,EAAE,mBAAmB;QACrC,2BAA2B,EAAE,gCAAgC;QAC7D,MAAM,EAAE,iEAAiE;KAC1E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,QAAiC,EAAE,YAAY,GAAG,IAAI;IAChG,MAAM,aAAa,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;IACzD,IAAI,aAAa,CAAC,MAAM,KAAK,cAAc,IAAI,CAAC,YAAY,IAAI,aAAa,CAAC,MAAM,KAAK,SAAS,CAAC,EAAE,CAAC;QACpG,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mano8/astro-auth-m8",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "description": "Astro integration and headless client for fa-auth-m8.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -57,6 +57,7 @@
57
57
  "build:registry": "node scripts/build-registry.mjs",
58
58
  "preview:dev": "vite --config fixtures/preview/vite.config.ts",
59
59
  "preview:build": "tsc -p fixtures/preview/tsconfig.json --noEmit && vite build --config fixtures/preview/vite.config.ts",
60
+ "verify:dependency-compat": "node scripts/verify-dependency-compat.mjs",
60
61
  "verify:fleet-gates": "node scripts/verify-fleet-gates.mjs",
61
62
  "verify:lock-integrity": "node scripts/verify-lock-integrity.mjs",
62
63
  "verify:registry-consumer": "node scripts/verify-registry-consumer.mjs",
@@ -69,11 +70,11 @@
69
70
  "test:unit": "vitest run"
70
71
  },
71
72
  "dependencies": {
72
- "@mano8/astro-ui-m8": "^1.5.2"
73
+ "@mano8/astro-ui-m8": "^1.5.4"
73
74
  },
74
75
  "peerDependencies": {
75
- "@astrojs/react": "^6.0.1",
76
- "@astrojs/starlight": "^0.41.3",
76
+ "@astrojs/react": "^6.0.1 || ^7.0.0",
77
+ "@astrojs/starlight": "^0.41.3 || ^0.42.0",
77
78
  "@tanstack/react-query": "^5.102.8",
78
79
  "astro": "^7.0.9",
79
80
  "react": "^18.0.0 || ^19.0.0",
@@ -81,24 +82,25 @@
81
82
  "zod": "^4.0.0"
82
83
  },
83
84
  "devDependencies": {
84
- "@astrojs/react": "^6.0.4",
85
- "@astrojs/starlight": "^0.41.10",
85
+ "@astrojs/react": "^7.0.0",
86
+ "@astrojs/starlight": "^0.42.4",
86
87
  "@eslint-react/eslint-plugin": "^5.18.6",
87
88
  "@eslint/js": "^10.0.1",
88
89
  "@tanstack/react-query": "^5.102.8",
89
90
  "@tanstack/react-table": "^8.21.3",
90
91
  "@types/node": "^26.4.0",
91
- "@types/react": "^19.2.18",
92
- "@typescript-eslint/eslint-plugin": "^8.68.0",
93
- "@typescript-eslint/parser": "^8.68.0",
92
+ "@types/react": "^19.3.0",
93
+ "@types/react-dom": "^19.3.0",
94
+ "@typescript-eslint/eslint-plugin": "^8.70.1",
95
+ "@typescript-eslint/parser": "^8.70.1",
94
96
  "@vitest/coverage-v8": "^4.1.11",
95
- "astro": "^7.2.9",
97
+ "astro": "^7.3.4",
96
98
  "eslint": "^10.9.1",
97
99
  "eslint-plugin-security": "^4.0.1",
98
- "globals": "^17.11.0",
100
+ "globals": "^17.12.0",
99
101
  "jsdom": "^30.0.1",
100
- "react": "^19.2.8",
101
- "react-dom": "^19.2.8",
102
+ "react": "^19.3.0",
103
+ "react-dom": "^19.3.0",
102
104
  "typescript": "^5.9.3",
103
105
  "vitest": "^4.1.11"
104
106
  },
@@ -107,7 +109,7 @@
107
109
  },
108
110
  "faAuthM8": {
109
111
  "contract": "fa-auth-m8@2.0",
110
- "testedServiceVersion": "2.2.3",
112
+ "testedServiceVersion": "2.2.5",
111
113
  "serviceVersionRange": ">=2.0.0 <3.0.0"
112
114
  }
113
115
  }