@plasius/error 1.0.22 → 1.0.24
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 +45 -1
- package/README.md +12 -0
- package/docs/adrs/adr-0004-hosted-oidc-package-publication.md +28 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +17 -14
- package/legal/CLA-REGISTRY.csv +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,47 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
20
20
|
- **Security**
|
|
21
21
|
- (placeholder)
|
|
22
22
|
|
|
23
|
+
## [1.0.24] - 2026-10-04
|
|
24
|
+
|
|
25
|
+
- Refresh npm dependency lockfile to current supported stable versions (weekly maintenance, 2026-10-04). Refresh published Plasius package baselines after upstream releases.
|
|
26
|
+
|
|
27
|
+
- **Added**
|
|
28
|
+
- (placeholder)
|
|
29
|
+
|
|
30
|
+
- **Changed**
|
|
31
|
+
- (placeholder)
|
|
32
|
+
|
|
33
|
+
- **Fixed**
|
|
34
|
+
- (placeholder)
|
|
35
|
+
|
|
36
|
+
- **Security**
|
|
37
|
+
- (placeholder)
|
|
38
|
+
|
|
39
|
+
## [1.0.23] - 2026-09-28
|
|
40
|
+
|
|
41
|
+
- Refresh npm dependency lockfile to current supported stable versions (weekly maintenance, 2026-09-28). Refresh published Plasius package baselines after upstream releases.
|
|
42
|
+
|
|
43
|
+
- **Added**
|
|
44
|
+
- (placeholder)
|
|
45
|
+
|
|
46
|
+
- **Changed**
|
|
47
|
+
- Routed reviewed CI through the organisation's quarantined public runner group while retaining explicit platform labels.
|
|
48
|
+
- Removed the unused React Router development dependency and refreshed transitive resolutions to clear the current npm audit findings.
|
|
49
|
+
- Bound npm publication to the exact prepared `main` commit after successful push-triggered CI.
|
|
50
|
+
- Enabled exact-head manual CI dispatch for reviewed release validation.
|
|
51
|
+
|
|
52
|
+
- **Fixed**
|
|
53
|
+
- Kept the React and React DOM development runtimes on the same `19.2.8` baseline so component tests cannot resolve a mismatched renderer pair.
|
|
54
|
+
- Disabled package-manager caching on self-hosted CI to prevent cache-save
|
|
55
|
+
cleanup stalls from blocking the validation queue.
|
|
56
|
+
- (placeholder)
|
|
57
|
+
|
|
58
|
+
- **Security**
|
|
59
|
+
- Pinned patched transitive npm dependencies to clear the current audit baseline.
|
|
60
|
+
- Added fail-closed source and npm-package admission for the administrative contributor registry and pinned the CI/CD runtime to Node.js 24.18.0 LTS.
|
|
61
|
+
- Removed the npm write-token path, added a fail-closed npm 11.5.1-or-newer OIDC guard, and denied fork PR code access to self-hosted CI.
|
|
62
|
+
- (placeholder)
|
|
63
|
+
|
|
23
64
|
## [1.0.22] - 2026-07-13
|
|
24
65
|
|
|
25
66
|
- **Added**
|
|
@@ -33,6 +74,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
33
74
|
- (placeholder)
|
|
34
75
|
|
|
35
76
|
- **Security**
|
|
77
|
+
- Raised the `fast-uri` override to the patched 3.1.x line to clear the four high-severity host-confusion and SSRF advisories.
|
|
36
78
|
- (placeholder)
|
|
37
79
|
|
|
38
80
|
## [1.0.21] - 2026-06-28
|
|
@@ -270,7 +312,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
270
312
|
|
|
271
313
|
---
|
|
272
314
|
|
|
273
|
-
[Unreleased]: https://github.com/Plasius-LTD/error/compare/v1.0.
|
|
315
|
+
[Unreleased]: https://github.com/Plasius-LTD/error/compare/v1.0.24...HEAD
|
|
274
316
|
[1.0.17]: https://github.com/Plasius-LTD/error/compare/v1.0.15...v1.0.17
|
|
275
317
|
|
|
276
318
|
## [1.0.0] - 2026-02-11
|
|
@@ -301,3 +343,5 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
301
343
|
[1.0.20]: https://github.com/Plasius-LTD/error/releases/tag/v1.0.20
|
|
302
344
|
[1.0.21]: https://github.com/Plasius-LTD/error/releases/tag/v1.0.21
|
|
303
345
|
[1.0.22]: https://github.com/Plasius-LTD/error/releases/tag/v1.0.22
|
|
346
|
+
[1.0.23]: https://github.com/Plasius-LTD/error/releases/tag/v1.0.23
|
|
347
|
+
[1.0.24]: https://github.com/Plasius-LTD/error/releases/tag/v1.0.24
|
package/README.md
CHANGED
|
@@ -116,3 +116,15 @@ npm test
|
|
|
116
116
|
## License
|
|
117
117
|
|
|
118
118
|
MIT
|
|
119
|
+
|
|
120
|
+
<!-- BEGIN PLASIUS RELEASE INTEGRITY -->
|
|
121
|
+
## Release integrity
|
|
122
|
+
|
|
123
|
+
CI keeps the administrative contributor registry outside Git and npm package
|
|
124
|
+
artifacts using exact, case-normalised path checks. CI runs on approved
|
|
125
|
+
self-hosted runners for same-repository pull requests and `main`; fork PR code
|
|
126
|
+
is denied. Publication uses the GitHub-hosted `production` job with Node 24 and
|
|
127
|
+
npm 11.5.1 or newer. It is token-free and proceeds only while the prepared SHA
|
|
128
|
+
is the exact `main` head after successful push-triggered CI. Do not dispatch CD
|
|
129
|
+
until the npm trusted-publisher binding is verified.
|
|
130
|
+
<!-- END PLASIUS RELEASE INTEGRITY -->
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ADR-0004: Hosted OIDC Package Publication
|
|
2
|
+
|
|
3
|
+
- Status: Accepted
|
|
4
|
+
- Date: 2026-08-11
|
|
5
|
+
|
|
6
|
+
## Context
|
|
7
|
+
|
|
8
|
+
`@plasius/error` must publish without a long-lived npm write token and without
|
|
9
|
+
accepting CI evidence for another source snapshot.
|
|
10
|
+
|
|
11
|
+
## Decision
|
|
12
|
+
|
|
13
|
+
Publication is phase-isolated: dependency installation, package validation, SBOM generation, and immutable tarball packing run in `validate_and_pack` without the `production` environment or OIDC permission. The final hosted `publish` job downloads only that sealed artifact, explicitly installs npm 11.6.2, runs no repository dependency code, and publishes the tarball with lifecycle scripts disabled. It re-fetches current `main` immediately before the first release mutation and again immediately before npm publication. `.npmrc` contains no registry-auth placeholder, and release preparation returns the reviewed current `main` HEAD rather than package-file history.
|
|
14
|
+
|
|
15
|
+
Publish only from the GitHub-hosted `production` job using npm trusted
|
|
16
|
+
publishing. Prove the prepared SHA is still the exact remote `main` head and
|
|
17
|
+
that push-triggered `ci.yml` succeeded for it. Require Node 24 and npm 11.5.1 or
|
|
18
|
+
newer, request provenance, and prohibit npm write-token fallbacks. Same-repo PR
|
|
19
|
+
CI may use explicit self-hosted runners; fork PR code is denied.
|
|
20
|
+
|
|
21
|
+
## Consequences
|
|
22
|
+
|
|
23
|
+
Missing trust configuration, moved `main`, absent CI, unsupported runtime, or
|
|
24
|
+
missing OIDC identity fails closed before publication.
|
|
25
|
+
|
|
26
|
+
## Test implications
|
|
27
|
+
|
|
28
|
+
Workflow tests enforce source, CI, runtime, identity, runner, and token rules.
|
package/docs/adrs/index.md
CHANGED
|
@@ -3,3 +3,4 @@
|
|
|
3
3
|
- [ADR-0001: Standalone @plasius/error Package Scope](./adr-0001-error-package-scope.md)
|
|
4
4
|
- [ADR-0002: Public Repository Governance Baseline](./adr-0002-public-repo-governance.md)
|
|
5
5
|
- [ADR-0003: Dual ESM and CJS Runtime Compatibility](./adr-0003-dual-esm-cjs-runtime-compatibility.md)
|
|
6
|
+
- [ADR-0004: Hosted OIDC Package Publication](./adr-0004-hosted-oidc-package-publication.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/error",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"react": "^19"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@plasius/translations": "^1.0.
|
|
36
|
+
"@plasius/translations": "^1.0.25"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/js": "^10.0.1",
|
|
40
|
-
"@testing-library/react": "^16.3.
|
|
41
|
-
"@types/react": "^19.2.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
43
|
-
"@typescript-eslint/parser": "^8.
|
|
44
|
-
"@vitest/coverage-v8": "^4.1.
|
|
40
|
+
"@testing-library/react": "^16.3.3",
|
|
41
|
+
"@types/react": "^19.2.18",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
43
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
44
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
45
45
|
"ajv": "^8.20.0",
|
|
46
|
-
"eslint": "^10.
|
|
47
|
-
"globals": "^17.
|
|
46
|
+
"eslint": "^10.9.1",
|
|
47
|
+
"globals": "^17.11.0",
|
|
48
48
|
"npm-run-all": "^4.1.5",
|
|
49
|
-
"react": "^19.2.
|
|
50
|
-
"react-
|
|
49
|
+
"react": "^19.2.8",
|
|
50
|
+
"react-dom": "^19.2.8",
|
|
51
51
|
"rimraf": "^6.1.3",
|
|
52
|
-
"tsx": "^4.
|
|
52
|
+
"tsx": "^4.23.13",
|
|
53
53
|
"typescript": "^6.0.3",
|
|
54
|
-
"vitest": "^4.1.
|
|
55
|
-
"zod": "^4.4
|
|
54
|
+
"vitest": "^4.1.11",
|
|
55
|
+
"zod": "^4.5.4"
|
|
56
56
|
},
|
|
57
57
|
"exports": {
|
|
58
58
|
".": {
|
|
@@ -101,6 +101,9 @@
|
|
|
101
101
|
"node": ">=24"
|
|
102
102
|
},
|
|
103
103
|
"overrides": {
|
|
104
|
+
"brace-expansion": "5.0.12",
|
|
105
|
+
"nanoid": "3.3.18",
|
|
106
|
+
"fast-uri": "^3.1.6",
|
|
104
107
|
"minimatch": "^10.2.1"
|
|
105
108
|
}
|
|
106
109
|
}
|
package/legal/CLA-REGISTRY.csv
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
type,github_handle,full_name,company,email,date,approver
|