@plasius/react-state 1.2.22 → 1.2.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/README.md +14 -4
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +18 -17
package/README.md
CHANGED
|
@@ -168,11 +168,21 @@ This project is licensed under the terms of the [Apache 2.0 license](./LICENSE).
|
|
|
168
168
|
## Release integrity
|
|
169
169
|
|
|
170
170
|
CI keeps the administrative contributor registry outside Git and npm package
|
|
171
|
-
artifacts using exact, case-normalised path checks. CI
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
artifacts using exact, case-normalised path checks. CI accepts trusted repository
|
|
172
|
+
pushes only and explicitly selects `Public CI - Quarantined` with
|
|
173
|
+
`[self-hosted, Linux, X64]`. PR/manual/caller-selected runners and hosted fallback
|
|
174
|
+
are not accepted. Checkout credentials are not persisted, npm installs are strict,
|
|
175
|
+
package-manager cache finalization is disabled, and both jobs have timeouts.
|
|
176
|
+
Pre-merge CI requires a reviewed branch locked against all updates, including
|
|
177
|
+
administrators and fork synchronization, before temporary exact-ref/SHA admission.
|
|
178
|
+
Remove that admission before any branch change and after qualification; preserve
|
|
179
|
+
other group entries and repository access. See [ADR-0004](./docs/adrs/adr-0004-trusted-self-hosted-ci.md).
|
|
174
180
|
Publication uses the GitHub-hosted `production` job with Node 24 and a pinned
|
|
175
181
|
npm 11.6.2 client. It is token-free and proceeds only while the prepared SHA
|
|
176
182
|
is the exact `main` head after successful push-triggered CI. Do not dispatch CD
|
|
177
|
-
until the npm trusted-publisher binding is verified.
|
|
183
|
+
until the npm trusted-publisher binding is verified. The inherited stored flag
|
|
184
|
+
`platform.public-artifact-integrity.enabled` governs restoration and cannot bypass
|
|
185
|
+
artifact or release gates. Missing/disabled flag state retains containment.
|
|
186
|
+
Rollback disables the affected workflow/channel and retains a known clean release;
|
|
187
|
+
it never restores hosted CI, private records, token publication or a removed version.
|
|
178
188
|
<!-- END PLASIUS RELEASE INTEGRITY -->
|
package/dist/index.d.cts
CHANGED
|
@@ -56,4 +56,5 @@ declare class MetadataStore<T extends object, Meta extends object> {
|
|
|
56
56
|
has(target: T): boolean;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { MetadataStore, StoreProvider, __noop, createScopedStoreContext, createStore, useDispatch, useStore };
|
|
60
|
+
export type { IAction, IState, Listener, Reducer, Store, Unsubscribe };
|
package/dist/index.d.ts
CHANGED
|
@@ -56,4 +56,5 @@ declare class MetadataStore<T extends object, Meta extends object> {
|
|
|
56
56
|
has(target: T): boolean;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { MetadataStore, StoreProvider, __noop, createScopedStoreContext, createStore, useDispatch, useStore };
|
|
60
|
+
export type { IAction, IState, Listener, Reducer, Store, Unsubscribe };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/react-state",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
4
4
|
"description": "Tiny, testable, typesafe React Scoped Store helper.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -63,23 +63,24 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@eslint/js": "^10.0.1",
|
|
66
|
-
"@testing-library/dom": "^10.4.
|
|
67
|
-
"@testing-library/jest-dom": "^
|
|
66
|
+
"@testing-library/dom": "^10.4.2",
|
|
67
|
+
"@testing-library/jest-dom": "^8.0.0",
|
|
68
68
|
"@testing-library/react": "^16.3.3",
|
|
69
|
-
"@types/node": "^26.
|
|
70
|
-
"@types/react": "^19.
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
72
|
-
"@typescript-eslint/parser": "^8.
|
|
73
|
-
"@vitest/coverage-v8": "^
|
|
74
|
-
"eslint": "^10.
|
|
75
|
-
"globals": "^17.
|
|
76
|
-
"jsdom": "^
|
|
77
|
-
"react": "^19.
|
|
78
|
-
"react-dom": "^19.
|
|
79
|
-
"tsup": "^
|
|
80
|
-
"tsx": "^4.23.
|
|
69
|
+
"@types/node": "^26.6.6",
|
|
70
|
+
"@types/react": "^19.3.0",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^8.73.0",
|
|
72
|
+
"@typescript-eslint/parser": "^8.73.0",
|
|
73
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
74
|
+
"eslint": "^10.15.0",
|
|
75
|
+
"globals": "^17.14.0",
|
|
76
|
+
"jsdom": "^31.0.1",
|
|
77
|
+
"react": "^19.3.1",
|
|
78
|
+
"react-dom": "^19.3.1",
|
|
79
|
+
"tsup": "^9.0.0",
|
|
80
|
+
"tsx": "^4.23.15",
|
|
81
81
|
"typescript": "^6.0.3",
|
|
82
|
-
"vitest": "^
|
|
82
|
+
"vitest": "^5.1.1",
|
|
83
|
+
"vite": "^8.3.8"
|
|
83
84
|
},
|
|
84
85
|
"publishConfig": {
|
|
85
86
|
"access": "public"
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
"brace-expansion": "5.0.12",
|
|
105
106
|
"nanoid": "3.3.18",
|
|
106
107
|
"esbuild": "^0.28.1",
|
|
107
|
-
"minimatch": "^
|
|
108
|
+
"minimatch": "^11.0.9"
|
|
108
109
|
},
|
|
109
110
|
"engines": {
|
|
110
111
|
"node": ">=24"
|