@plasius/react-state 1.2.23 → 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/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +18 -17
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"
|