@thi.ng/interceptors 3.2.6 → 3.2.8
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 +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ programming](https://en.wikipedia.org/wiki/Aspect-oriented_programming)).
|
|
|
45
45
|
You want to reuse some functionality across components within your app.
|
|
46
46
|
For example, if you have multiple actions which should be undoable, you
|
|
47
47
|
can compose your main event handlers with the
|
|
48
|
-
[`snapShot()`](https://docs.thi.ng/umbrella/interceptors/
|
|
48
|
+
[`snapShot()`](https://docs.thi.ng/umbrella/interceptors/functions/snapshot.html)
|
|
49
49
|
interceptor, which requires a
|
|
50
50
|
[@thi.ng/atom](https://github.com/thi-ng/umbrella/tree/develop/packages/atom)/History-like
|
|
51
51
|
instance and records a snapshot of the current app state, but else is
|
|
@@ -94,7 +94,7 @@ validation & logging post-update. I.e., interceptors commonly need `pre`
|
|
|
94
94
|
only.
|
|
95
95
|
|
|
96
96
|
Like with
|
|
97
|
-
[`trace()`](https://docs.thi.ng/umbrella/interceptors/
|
|
97
|
+
[`trace()`](https://docs.thi.ng/umbrella/interceptors/functions/trace.html) some
|
|
98
98
|
interceptors DO have side effects, but they're really the exception to the rule.
|
|
99
99
|
For example, `snapshot()` is idempotent since it only records a new snapshot if
|
|
100
100
|
it's different from the last and `trace()`, but is typically used during
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/interceptors",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "Interceptor based event bus, side effect & immutable state handling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"test": "testament test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@thi.ng/api": "^8.7.
|
|
41
|
-
"@thi.ng/atom": "^5.1.
|
|
40
|
+
"@thi.ng/api": "^8.7.3",
|
|
41
|
+
"@thi.ng/atom": "^5.1.32",
|
|
42
42
|
"@thi.ng/checks": "^3.3.9",
|
|
43
|
-
"@thi.ng/errors": "^2.2.
|
|
44
|
-
"@thi.ng/logger": "^1.4.
|
|
45
|
-
"@thi.ng/paths": "^5.1.
|
|
43
|
+
"@thi.ng/errors": "^2.2.12",
|
|
44
|
+
"@thi.ng/logger": "^1.4.10",
|
|
45
|
+
"@thi.ng/paths": "^5.1.32"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-extractor": "^7.34.2",
|
|
49
|
-
"@thi.ng/testament": "^0.3.
|
|
49
|
+
"@thi.ng/testament": "^0.3.12",
|
|
50
50
|
"rimraf": "^4.1.2",
|
|
51
51
|
"tools": "^0.0.1",
|
|
52
52
|
"typedoc": "^0.23.24",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"status": "completed",
|
|
95
95
|
"year": 2016
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "8ab2cbfe2f59b7ef672b6e1cf2a43368f8437ddf\n"
|
|
98
98
|
}
|