@dr.pogodin/react-global-state 0.9.0 → 0.9.1
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/build/module/GlobalState.js +107 -166
- package/build/module/GlobalState.js.map +1 -1
- package/build/module/GlobalStateProvider.js +17 -20
- package/build/module/GlobalStateProvider.js.map +1 -1
- package/build/module/index.js +1 -8
- package/build/module/index.js.map +1 -1
- package/build/module/useAsyncCollection.js +5 -6
- package/build/module/useAsyncCollection.js.map +1 -1
- package/build/module/useAsyncData.js +67 -106
- package/build/module/useAsyncData.js.map +1 -1
- package/build/module/useGlobalState.js +23 -32
- package/build/module/useGlobalState.js.map +1 -1
- package/build/module/utils.js.map +1 -1
- package/build/node/GlobalState.js +7 -28
- package/build/node/GlobalState.js.map +1 -1
- package/build/node/GlobalStateProvider.js +4 -16
- package/build/node/GlobalStateProvider.js.map +1 -1
- package/build/node/index.js +0 -8
- package/build/node/index.js.map +1 -1
- package/build/node/useAsyncCollection.js +0 -3
- package/build/node/useAsyncCollection.js.map +1 -1
- package/build/node/useAsyncData.js +14 -22
- package/build/node/useAsyncData.js.map +1 -1
- package/build/node/useGlobalState.js +0 -9
- package/build/node/useGlobalState.js.map +1 -1
- package/build/node/utils.js +0 -2
- package/build/node/utils.js.map +1 -1
- package/package.json +18 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dr.pogodin/react-global-state",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Hook-based global state for React",
|
|
5
5
|
"main": "./build/node/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -35,31 +35,31 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://dr.pogodin.studio/docs/react-global-state/index.html",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@babel/runtime": "^7.
|
|
38
|
+
"@babel/runtime": "^7.19.4",
|
|
39
39
|
"lodash": "^4.17.21",
|
|
40
|
-
"uuid": "^
|
|
40
|
+
"uuid": "^9.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@babel/cli": "^7.
|
|
44
|
-
"@babel/core": "^7.
|
|
45
|
-
"@babel/eslint-parser": "^7.
|
|
46
|
-
"@babel/eslint-plugin": "^7.
|
|
47
|
-
"@babel/node": "^7.
|
|
48
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
49
|
-
"@babel/preset-env": "^7.
|
|
50
|
-
"@babel/preset-react": "^7.
|
|
51
|
-
"babel-jest": "^
|
|
43
|
+
"@babel/cli": "^7.19.3",
|
|
44
|
+
"@babel/core": "^7.19.6",
|
|
45
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
46
|
+
"@babel/eslint-plugin": "^7.19.1",
|
|
47
|
+
"@babel/node": "^7.19.1",
|
|
48
|
+
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
49
|
+
"@babel/preset-env": "^7.19.4",
|
|
50
|
+
"@babel/preset-react": "^7.18.6",
|
|
51
|
+
"babel-jest": "^29.2.1",
|
|
52
52
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
53
|
-
"eslint": "^8.
|
|
53
|
+
"eslint": "^8.25.0",
|
|
54
54
|
"eslint-config-airbnb": "^19.0.4",
|
|
55
55
|
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
56
56
|
"eslint-plugin-import": "^2.26.0",
|
|
57
|
-
"eslint-plugin-jest": "^
|
|
58
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
59
|
-
"eslint-plugin-react": "^7.
|
|
57
|
+
"eslint-plugin-jest": "^27.1.3",
|
|
58
|
+
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
59
|
+
"eslint-plugin-react": "^7.31.10",
|
|
60
60
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
61
|
-
"jest": "^
|
|
62
|
-
"jest-environment-jsdom": "^
|
|
61
|
+
"jest": "^29.2.1",
|
|
62
|
+
"jest-environment-jsdom": "^29.2.1",
|
|
63
63
|
"mockdate": "^3.0.5",
|
|
64
64
|
"pretty": "^2.0.0",
|
|
65
65
|
"rimraf": "^3.0.2"
|