@slimlib/store 1.3.4 → 1.3.6
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 +1 -1
- package/package.json +29 -31
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ Store factory created with `notifyAfterCreation` === `true`.
|
|
|
140
140
|
|
|
141
141
|
Mixing proxied values and values from an underlying object can fail for cases where code needs checking for equality.
|
|
142
142
|
|
|
143
|
-
For example searching for an array element from the underlying object in a
|
|
143
|
+
For example searching for an array element from the underlying object in a proxied array will fail.
|
|
144
144
|
|
|
145
145
|
## Similar projects
|
|
146
146
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"type": "module",
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"name": "@slimlib/store",
|
|
5
|
+
"description": "Simple Proxy-based store for SPA",
|
|
6
|
+
"license": "MIT",
|
|
5
7
|
"author": "Konstantin Shutkin",
|
|
6
|
-
"
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.mjs",
|
|
10
|
+
"unpkg": "./dist/index.umd.js",
|
|
7
11
|
"exports": {
|
|
8
12
|
".": {
|
|
9
13
|
"require": "./dist/index.cjs",
|
|
@@ -27,38 +31,26 @@
|
|
|
27
31
|
},
|
|
28
32
|
"./package.json": "./package.json"
|
|
29
33
|
},
|
|
30
|
-
"
|
|
31
|
-
"module": "./dist/index.mjs",
|
|
32
|
-
"typings": "./dist/index.d.ts",
|
|
33
|
-
"unpkg": "./dist/index.umd.js",
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
34
35
|
"files": [
|
|
35
36
|
"dist",
|
|
36
37
|
"react",
|
|
37
38
|
"preact",
|
|
38
39
|
"core",
|
|
39
|
-
"svelte"
|
|
40
|
-
"LICENSE"
|
|
40
|
+
"svelte"
|
|
41
41
|
],
|
|
42
42
|
"repository": {
|
|
43
43
|
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/kshutkin/slimlib.git"
|
|
45
|
-
|
|
46
|
-
"bugs": {
|
|
47
|
-
"url": "https://github.com/kshutkin/slimlib/issues"
|
|
44
|
+
"url": "git+https://github.com/kshutkin/slimlib.git",
|
|
45
|
+
"directory": "store"
|
|
48
46
|
},
|
|
47
|
+
"bugs": "https://github.com/kshutkin/slimlib/issues",
|
|
49
48
|
"homepage": "https://github.com/kshutkin/slimlib/blob/main/store/README.md",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"react": {
|
|
56
|
-
"optional": true
|
|
57
|
-
},
|
|
58
|
-
"preact": {
|
|
59
|
-
"optional": true
|
|
60
|
-
}
|
|
61
|
-
},
|
|
49
|
+
"keywords": [
|
|
50
|
+
"@slimlib",
|
|
51
|
+
"store",
|
|
52
|
+
"proxy"
|
|
53
|
+
],
|
|
62
54
|
"devDependencies": {
|
|
63
55
|
"@types/react": "^18.0.0",
|
|
64
56
|
"preact": ">=10.0.0",
|
|
@@ -72,12 +64,18 @@
|
|
|
72
64
|
"svelte-jester": "^2.3.2",
|
|
73
65
|
"tslib": "^2.5.0"
|
|
74
66
|
},
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"preact": ">=10.0.0",
|
|
69
|
+
"react": ">=17.0.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"react": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"preact": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
81
79
|
"scripts": {
|
|
82
80
|
"build": "pkgbld-internal --umd=index,preact,react,svelte",
|
|
83
81
|
"test": "jest --collectCoverage",
|