@thi.ng/transducers-patch 0.4.41 → 0.4.43
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ const initialState: any = { x: 23 };
|
|
|
149
149
|
|
|
150
150
|
// create transformed stream mapping patch commands to states
|
|
151
151
|
// since `patchArray` is only a reducer, we need to wrap it w/ the `scan` transducer
|
|
152
|
-
// see: https://docs.thi.ng/umbrella/transducers/
|
|
152
|
+
// see: https://docs.thi.ng/umbrella/transducers/functions/scan.html
|
|
153
153
|
export const state = stream<PatchObjOp>().transform(
|
|
154
154
|
scan(patchObj(), initialState)
|
|
155
155
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/transducers-patch",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.43",
|
|
4
4
|
"description": "Reducers for patch-based, immutable-by-default array & object editing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
28
|
-
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
28
|
+
"clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
|
|
29
29
|
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
30
30
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
31
31
|
"doc:readme": "yarn doc:stats && tools:readme",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.7.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/paths": "^5.1.
|
|
41
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.7.4",
|
|
38
|
+
"@thi.ng/checks": "^3.3.10",
|
|
39
|
+
"@thi.ng/errors": "^2.2.13",
|
|
40
|
+
"@thi.ng/paths": "^5.1.33",
|
|
41
|
+
"@thi.ng/transducers": "^8.3.38"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.34.
|
|
45
|
-
"@thi.ng/testament": "^0.3.
|
|
46
|
-
"rimraf": "^4.
|
|
44
|
+
"@microsoft/api-extractor": "^7.34.4",
|
|
45
|
+
"@thi.ng/testament": "^0.3.13",
|
|
46
|
+
"rimraf": "^4.4.0",
|
|
47
47
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.23.
|
|
48
|
+
"typedoc": "^0.23.26",
|
|
49
49
|
"typescript": "^4.9.5"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"status": "alpha",
|
|
87
87
|
"year": 2020
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "cc46c097a3a173fb1ef41f57a858d03037063141\n"
|
|
90
90
|
}
|