@dr.pogodin/react-global-state 0.9.0 → 0.9.2
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 +2 -0
- 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 +22 -24
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.2",
|
|
4
4
|
"description": "Hook-based global state for React",
|
|
5
5
|
"main": "./build/node/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -17,49 +17,47 @@
|
|
|
17
17
|
"lint": "eslint --ext .js,.jsx .",
|
|
18
18
|
"test": "npm run lint && npm run jest"
|
|
19
19
|
},
|
|
20
|
-
"repository":
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/birdofpreyru/react-global-state.git"
|
|
23
|
-
},
|
|
20
|
+
"repository": "github:birdofpreyru/react-global-state",
|
|
24
21
|
"keywords": [
|
|
25
|
-
"
|
|
22
|
+
"react",
|
|
23
|
+
"reactjs",
|
|
26
24
|
"state",
|
|
27
25
|
"hooks",
|
|
28
26
|
"hook",
|
|
29
27
|
"global"
|
|
30
28
|
],
|
|
31
|
-
"author": "Dr. Sergey Pogodin",
|
|
29
|
+
"author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)",
|
|
32
30
|
"license": "MIT",
|
|
33
31
|
"bugs": {
|
|
34
32
|
"url": "https://github.com/birdofpreyru/react-global-state.git/issues"
|
|
35
33
|
},
|
|
36
34
|
"homepage": "https://dr.pogodin.studio/docs/react-global-state/index.html",
|
|
37
35
|
"dependencies": {
|
|
38
|
-
"@babel/runtime": "^7.
|
|
36
|
+
"@babel/runtime": "^7.20.1",
|
|
39
37
|
"lodash": "^4.17.21",
|
|
40
|
-
"uuid": "^
|
|
38
|
+
"uuid": "^9.0.0"
|
|
41
39
|
},
|
|
42
40
|
"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": "^
|
|
41
|
+
"@babel/cli": "^7.19.3",
|
|
42
|
+
"@babel/core": "^7.20.2",
|
|
43
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
44
|
+
"@babel/eslint-plugin": "^7.19.1",
|
|
45
|
+
"@babel/node": "^7.20.2",
|
|
46
|
+
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
47
|
+
"@babel/preset-env": "^7.20.2",
|
|
48
|
+
"@babel/preset-react": "^7.18.6",
|
|
49
|
+
"babel-jest": "^29.2.2",
|
|
52
50
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
53
|
-
"eslint": "^8.
|
|
51
|
+
"eslint": "^8.26.0",
|
|
54
52
|
"eslint-config-airbnb": "^19.0.4",
|
|
55
53
|
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
56
54
|
"eslint-plugin-import": "^2.26.0",
|
|
57
|
-
"eslint-plugin-jest": "^
|
|
58
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
59
|
-
"eslint-plugin-react": "^7.
|
|
55
|
+
"eslint-plugin-jest": "^27.1.4",
|
|
56
|
+
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
57
|
+
"eslint-plugin-react": "^7.31.10",
|
|
60
58
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
61
|
-
"jest": "^
|
|
62
|
-
"jest-environment-jsdom": "^
|
|
59
|
+
"jest": "^29.2.2",
|
|
60
|
+
"jest-environment-jsdom": "^29.2.2",
|
|
63
61
|
"mockdate": "^3.0.5",
|
|
64
62
|
"pretty": "^2.0.0",
|
|
65
63
|
"rimraf": "^3.0.2"
|