@thi.ng/interceptors 3.0.7 → 3.1.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/CHANGELOG.md +195 -79
- package/README.md +1 -1
- package/event-bus.js +1 -1
- package/package.json +89 -84
package/CHANGELOG.md
CHANGED
|
@@ -1,161 +1,277 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
4
|
+
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
+
|
|
3
6
|
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
|
+
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
11
|
+
|
|
12
|
+
## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.1.0) (2021-11-17)
|
|
13
|
+
|
|
14
|
+
#### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
17
|
+
Improving the overall build ergonomics
|
|
18
|
+
- introduced a tools workspaces
|
|
19
|
+
- imported it in all needed packages/examples
|
|
20
|
+
- inclusive project root
|
|
21
|
+
|
|
22
|
+
#### ♻️ Refactoring
|
|
23
|
+
|
|
24
|
+
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
25
|
+
this commit reverts (partly) changes made in:
|
|
26
|
+
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
27
|
+
overall purpose is better testament ergonomics:
|
|
28
|
+
instead of having to pass NODE_OPTIONS with every invocation
|
|
29
|
+
having a binary to handle this for us.
|
|
30
|
+
|
|
31
|
+
### [3.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.8) (2021-11-10)
|
|
32
|
+
|
|
33
|
+
#### ♻️ Refactoring
|
|
34
|
+
|
|
35
|
+
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
|
|
36
|
+
|
|
37
|
+
### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.1) (2021-10-13)
|
|
38
|
+
|
|
39
|
+
#### ♻️ Refactoring
|
|
40
|
+
|
|
41
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
42
|
+
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
43
|
+
- add .js suffix for all relative imports
|
|
44
|
+
|
|
45
|
+
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.0) (2021-10-12)
|
|
46
|
+
|
|
47
|
+
#### 🛑 Breaking changes
|
|
5
48
|
|
|
6
|
-
|
|
49
|
+
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
50
|
+
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
51
|
+
- only ESM modules will be published from now on
|
|
52
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
53
|
+
- i.e. launch NodeJS via:
|
|
54
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
55
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
56
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
57
|
+
Also:
|
|
58
|
+
- normalize/restructure/reorg all package.json files
|
|
59
|
+
- cleanup all build scripts, remove obsolete
|
|
60
|
+
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
7
61
|
|
|
8
|
-
|
|
62
|
+
#### ♻️ Refactoring
|
|
9
63
|
|
|
64
|
+
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
65
|
+
- largely related to recent updates/restructuring of these packages:
|
|
66
|
+
- api
|
|
67
|
+
- defmulti
|
|
68
|
+
- errors
|
|
69
|
+
- logger
|
|
70
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
71
|
+
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
72
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
73
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
10
74
|
|
|
75
|
+
### [2.2.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.35) (2020-12-07)
|
|
11
76
|
|
|
77
|
+
#### ♻️ Refactoring
|
|
12
78
|
|
|
79
|
+
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
13
80
|
|
|
14
|
-
|
|
81
|
+
### [2.2.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.31) (2020-09-13)
|
|
15
82
|
|
|
83
|
+
#### ♻️ Refactoring
|
|
16
84
|
|
|
17
|
-
|
|
85
|
+
- update imports ([eebc4b4](https://github.com/thi-ng/umbrella/commit/eebc4b4))
|
|
18
86
|
|
|
19
|
-
|
|
87
|
+
### [2.2.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.10) (2020-03-28)
|
|
20
88
|
|
|
89
|
+
#### ♻️ Refactoring
|
|
21
90
|
|
|
22
|
-
|
|
91
|
+
- update to new [@thi.ng/paths](https://github.com/thi-ng/umbrella/tree/main/packages/paths) API ([4fce623](https://github.com/thi-ng/umbrella/commit/4fce623))
|
|
23
92
|
|
|
24
|
-
|
|
93
|
+
### [2.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.6) (2020-02-25)
|
|
25
94
|
|
|
26
|
-
|
|
27
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
28
|
-
- i.e. launch NodeJS via:
|
|
29
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
30
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
31
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
95
|
+
#### ♻️ Refactoring
|
|
32
96
|
|
|
33
|
-
|
|
34
|
-
- normalize/restructure/reorg all package.json files
|
|
35
|
-
- cleanup all build scripts, remove obsolete
|
|
36
|
-
- switch from mocha to @thi.ng/testament for all tests
|
|
97
|
+
- update imports ([04b054b](https://github.com/thi-ng/umbrella/commit/04b054b))
|
|
37
98
|
|
|
99
|
+
### [2.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.3) (2019-11-30)
|
|
38
100
|
|
|
101
|
+
#### ♻️ Refactoring
|
|
39
102
|
|
|
103
|
+
- re-use `Path` from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) ([9f66693](https://github.com/thi-ng/umbrella/commit/9f66693))
|
|
40
104
|
|
|
105
|
+
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.0) (2019-08-21)
|
|
41
106
|
|
|
107
|
+
#### 🚀 Features
|
|
42
108
|
|
|
43
|
-
|
|
109
|
+
- add module logger, setLogger() ([17f050d](https://github.com/thi-ng/umbrella/commit/17f050d))
|
|
44
110
|
|
|
45
|
-
|
|
111
|
+
#### ♻️ Refactoring
|
|
46
112
|
|
|
47
|
-
-
|
|
113
|
+
- update ensureStateXXX() iceps (re-use) ([80ea335](https://github.com/thi-ng/umbrella/commit/80ea335))
|
|
114
|
+
- simplify addHandler, split processXXX, add logger ([b7455ab](https://github.com/thi-ng/umbrella/commit/b7455ab))
|
|
48
115
|
|
|
49
|
-
|
|
116
|
+
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.1.0) (2019-07-07)
|
|
50
117
|
|
|
51
|
-
|
|
118
|
+
#### 🚀 Features
|
|
52
119
|
|
|
53
|
-
-
|
|
120
|
+
- enable TS strict compiler flags (refactor) ([13bea8f](https://github.com/thi-ng/umbrella/commit/13bea8f))
|
|
54
121
|
|
|
55
|
-
|
|
122
|
+
#### 🩹 Bug fixes
|
|
56
123
|
|
|
57
|
-
-
|
|
124
|
+
- update EventBus ctor args ([557a78f](https://github.com/thi-ng/umbrella/commit/557a78f))
|
|
58
125
|
|
|
59
|
-
|
|
126
|
+
#### ♻️ Refactoring
|
|
60
127
|
|
|
61
|
-
|
|
128
|
+
- address TS strictNullChecks flag, minor update types ([105b5e9](https://github.com/thi-ng/umbrella/commit/105b5e9))
|
|
129
|
+
|
|
130
|
+
### [2.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.0.5) (2019-03-10)
|
|
131
|
+
|
|
132
|
+
#### ♻️ Refactoring
|
|
133
|
+
|
|
134
|
+
- re-use Fn type aliases ([9ebe677](https://github.com/thi-ng/umbrella/commit/9ebe677))
|
|
135
|
+
- update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
|
|
136
|
+
|
|
137
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.0.0) (2019-01-21)
|
|
138
|
+
|
|
139
|
+
#### 🛑 Breaking changes
|
|
62
140
|
|
|
63
141
|
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
142
|
+
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
143
|
+
- build scripts now first build ES6 modules in package root, then call
|
|
144
|
+
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
145
|
+
- all imports MUST be updated to only refer to package level
|
|
146
|
+
(not individual files anymore). tree shaking in user land will get rid of
|
|
147
|
+
all unused imported symbols.
|
|
148
|
+
|
|
149
|
+
## [1.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.9.0) (2018-11-13)
|
|
150
|
+
|
|
151
|
+
#### 🚀 Features
|
|
152
|
+
|
|
153
|
+
- update forwardSideFx(), refactor iceps as arrow fns ([9334f83](https://github.com/thi-ng/umbrella/commit/9334f83))
|
|
154
|
+
- assign `true` to target side fx if no event body
|
|
155
|
+
|
|
156
|
+
### [1.8.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.9) (2018-08-01)
|
|
157
|
+
|
|
158
|
+
#### ♻️ Refactoring
|
|
159
|
+
|
|
160
|
+
- TS3.0 PropertyKey handling ([38372cc](https://github.com/thi-ng/umbrella/commit/38372cc))
|
|
161
|
+
|
|
162
|
+
### [1.8.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.7) (2018-07-11)
|
|
163
|
+
|
|
164
|
+
#### ⏱ Performance improvements
|
|
165
|
+
|
|
166
|
+
- update valueSetter()/valueUpdater() ([73c7b8a](https://github.com/thi-ng/umbrella/commit/73c7b8a))
|
|
167
|
+
- both functions now use pre-built setters/updaters
|
|
64
168
|
|
|
65
|
-
|
|
169
|
+
## [1.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.0) (2018-05-14)
|
|
66
170
|
|
|
67
|
-
|
|
68
|
-
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
69
|
-
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
|
|
171
|
+
#### 🚀 Features
|
|
70
172
|
|
|
71
|
-
|
|
173
|
+
- update dispatch() / dispatchNow() ([5e72970](https://github.com/thi-ng/umbrella/commit/5e72970))
|
|
174
|
+
- add support for mutliple events to be dispatched
|
|
175
|
+
- update doc strings
|
|
72
176
|
|
|
73
|
-
###
|
|
177
|
+
### [1.7.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.7.1) (2018-05-10)
|
|
74
178
|
|
|
75
|
-
|
|
179
|
+
#### ♻️ Refactoring
|
|
76
180
|
|
|
77
|
-
|
|
181
|
+
- update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
|
|
78
182
|
|
|
79
|
-
|
|
183
|
+
## [1.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.7.0) (2018-05-09)
|
|
80
184
|
|
|
81
|
-
|
|
185
|
+
#### 🚀 Features
|
|
82
186
|
|
|
83
|
-
|
|
187
|
+
- add dispatch/dispatchNow() helper interceptors ([6748515](https://github.com/thi-ng/umbrella/commit/6748515))
|
|
84
188
|
|
|
85
|
-
###
|
|
189
|
+
### [1.6.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.6.1) (2018-04-28)
|
|
86
190
|
|
|
87
|
-
|
|
191
|
+
#### 🩹 Bug fixes
|
|
88
192
|
|
|
89
|
-
|
|
193
|
+
- multiple sidefx value assignment ([c4d8851](https://github.com/thi-ng/umbrella/commit/c4d8851))
|
|
90
194
|
|
|
91
|
-
|
|
195
|
+
## [1.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.6.0) (2018-04-27)
|
|
92
196
|
|
|
93
|
-
|
|
197
|
+
#### 🚀 Features
|
|
94
198
|
|
|
95
|
-
|
|
199
|
+
- add dispatchLater() ([f4a095a](https://github.com/thi-ng/umbrella/commit/f4a095a))
|
|
96
200
|
|
|
97
|
-
|
|
201
|
+
## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.5.0) (2018-04-19)
|
|
98
202
|
|
|
99
|
-
|
|
203
|
+
#### 🚀 Features
|
|
100
204
|
|
|
101
|
-
|
|
205
|
+
- add EV_TOGGLE_VALUE handler, update EV_UNDO/REDO ([87e3b48](https://github.com/thi-ng/umbrella/commit/87e3b48))
|
|
206
|
+
- add EV_TOGGLE_VALUE handler for boolean switches
|
|
207
|
+
- extend EV_UNDO/REDO to trigger success/fail events post action
|
|
208
|
+
- extract undoHelper() as shared impl
|
|
102
209
|
|
|
103
|
-
|
|
210
|
+
## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.4.0) (2018-04-17)
|
|
104
211
|
|
|
105
|
-
|
|
212
|
+
#### 🚀 Features
|
|
106
213
|
|
|
107
|
-
|
|
214
|
+
- add event handler instrumentation ([1a6ac54](https://github.com/thi-ng/umbrella/commit/1a6ac54))
|
|
108
215
|
|
|
109
|
-
###
|
|
216
|
+
### [1.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.3) (2018-04-17)
|
|
110
217
|
|
|
111
|
-
|
|
218
|
+
#### 🩹 Bug fixes
|
|
112
219
|
|
|
113
|
-
|
|
220
|
+
- filter out undefined sidefx vals ([d7ff997](https://github.com/thi-ng/umbrella/commit/d7ff997))
|
|
221
|
+
- only when assigning array of multiple vals to a single side fx
|
|
114
222
|
|
|
115
|
-
###
|
|
223
|
+
### [1.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.1) (2018-04-16)
|
|
116
224
|
|
|
117
|
-
|
|
225
|
+
#### 🩹 Bug fixes
|
|
118
226
|
|
|
119
|
-
|
|
227
|
+
- update undo handling to support history cursors ([9a83d4e](https://github.com/thi-ng/umbrella/commit/9a83d4e))
|
|
120
228
|
|
|
121
|
-
|
|
229
|
+
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.0) (2018-04-15)
|
|
122
230
|
|
|
123
|
-
|
|
231
|
+
#### 🚀 Features
|
|
124
232
|
|
|
125
|
-
|
|
233
|
+
- add undo/redo handlers/fx & snapshot() interceptor ([3c92f7e](https://github.com/thi-ng/umbrella/commit/3c92f7e))
|
|
234
|
+
- add default FX_UNDO/REDO side fx ([a102eb7](https://github.com/thi-ng/umbrella/commit/a102eb7))
|
|
235
|
+
- update processQueue(), expose full ctx to handlers ([183af61](https://github.com/thi-ng/umbrella/commit/183af61))
|
|
236
|
+
- update InterceptorFn / InterceptorPredicate to pass ctx as opt last arg
|
|
126
237
|
|
|
127
|
-
|
|
238
|
+
#### ♻️ Refactoring
|
|
128
239
|
|
|
129
|
-
-
|
|
240
|
+
- refactor undo handling ([a1d9ae6](https://github.com/thi-ng/umbrella/commit/a1d9ae6))
|
|
241
|
+
- update EV_UNDO/REDO handlers & docs
|
|
242
|
+
- remove FX_UNDO/REDO
|
|
243
|
+
- also pass ctx to sidefx handlers ([ba0c876](https://github.com/thi-ng/umbrella/commit/ba0c876))
|
|
130
244
|
|
|
131
|
-
|
|
245
|
+
## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.2.0) (2018-04-13)
|
|
132
246
|
|
|
133
|
-
|
|
247
|
+
#### 🚀 Features
|
|
134
248
|
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
249
|
+
- add ensureStateRange() & ensureParamRange() iceps ([86883e3](https://github.com/thi-ng/umbrella/commit/86883e3))
|
|
250
|
+
- rename existing ensureXXX() interceptors:
|
|
251
|
+
- ensureLessThan => ensureStateLessThan
|
|
252
|
+
- ensureGreaterThan => ensureStateGreaterThan
|
|
138
253
|
|
|
139
|
-
|
|
254
|
+
### [1.1.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.1.4) (2018-04-08)
|
|
140
255
|
|
|
141
|
-
|
|
256
|
+
#### ♻️ Refactoring
|
|
142
257
|
|
|
143
|
-
-
|
|
258
|
+
- update Event id type (string => PropertyKey) ([c1c81bd](https://github.com/thi-ng/umbrella/commit/c1c81bd))
|
|
144
259
|
|
|
145
|
-
|
|
260
|
+
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.1.0) (2018-03-21)
|
|
146
261
|
|
|
147
|
-
|
|
262
|
+
#### 🚀 Features
|
|
148
263
|
|
|
149
|
-
-
|
|
264
|
+
- update error handling, add [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) dep ([501d56f](https://github.com/thi-ng/umbrella/commit/501d56f))
|
|
150
265
|
|
|
151
|
-
|
|
266
|
+
### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.0.5) (2018-03-19)
|
|
152
267
|
|
|
153
|
-
|
|
268
|
+
#### 🩹 Bug fixes
|
|
154
269
|
|
|
155
|
-
-
|
|
270
|
+
- InterceptorPredicate args ([76c5e0a](https://github.com/thi-ng/umbrella/commit/76c5e0a))
|
|
271
|
+
- last arg is bus, same as w/ InterceptorFn
|
|
156
272
|
|
|
157
|
-
|
|
273
|
+
### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.0.1) (2018-03-17)
|
|
158
274
|
|
|
159
|
-
|
|
275
|
+
#### 🚀 Features
|
|
160
276
|
|
|
161
|
-
-
|
|
277
|
+
- add/extract [@thi.ng/interceptors](https://github.com/thi-ng/umbrella/tree/main/packages/interceptors) package from [@thi.ng/atom](https://github.com/thi-ng/umbrella/tree/main/packages/atom) ([195a6ff](https://github.com/thi-ng/umbrella/commit/195a6ff))
|
package/README.md
CHANGED
package/event-bus.js
CHANGED
|
@@ -401,7 +401,7 @@ export class StatelessEventBus {
|
|
|
401
401
|
return hasPost;
|
|
402
402
|
}
|
|
403
403
|
processReverse(ctx, iceps, e) {
|
|
404
|
-
for (let i = iceps.length; --
|
|
404
|
+
for (let i = iceps.length; i-- > 0 && !ctx[FX_CANCEL];) {
|
|
405
405
|
const icep = iceps[i];
|
|
406
406
|
if (icep.post) {
|
|
407
407
|
this.mergeEffects(ctx, icep.post(ctx[FX_STATE], e, this, ctx));
|
package/package.json
CHANGED
|
@@ -1,90 +1,95 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/interceptors",
|
|
3
|
+
"version": "3.1.2",
|
|
4
|
+
"description": "Interceptor based event bus, side effect & immutable state handling",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/interceptors#readme",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
12
18
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"author": "Karsten Schmidt <k+npm@thi.ng>",
|
|
25
|
+
"license": "Apache-2.0",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && tsc --declaration",
|
|
28
|
+
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
29
|
+
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
30
|
+
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
31
|
+
"doc:readme": "yarn doc:stats && tools:readme",
|
|
32
|
+
"doc:stats": "tools:module-stats",
|
|
33
|
+
"pub": "yarn npm publish --access public",
|
|
34
|
+
"test": "testament test"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@thi.ng/api": "^8.3.2",
|
|
38
|
+
"@thi.ng/atom": "^5.1.2",
|
|
39
|
+
"@thi.ng/checks": "^3.1.2",
|
|
40
|
+
"@thi.ng/errors": "^2.1.2",
|
|
41
|
+
"@thi.ng/logger": "^1.1.2",
|
|
42
|
+
"@thi.ng/paths": "^5.1.2"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
46
|
+
"@thi.ng/testament": "^0.2.2",
|
|
47
|
+
"rimraf": "^3.0.2",
|
|
48
|
+
"tools": "^0.0.1",
|
|
49
|
+
"typedoc": "^0.22.9",
|
|
50
|
+
"typescript": "^4.5.2"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"async",
|
|
54
|
+
"browser",
|
|
55
|
+
"event",
|
|
56
|
+
"functional",
|
|
57
|
+
"queue",
|
|
58
|
+
"side-effect",
|
|
59
|
+
"typescript"
|
|
60
|
+
],
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=12.7"
|
|
66
|
+
},
|
|
67
|
+
"files": [
|
|
68
|
+
"*.js",
|
|
69
|
+
"*.d.ts"
|
|
70
|
+
],
|
|
71
|
+
"exports": {
|
|
72
|
+
".": {
|
|
73
|
+
"import": "./index.js"
|
|
46
74
|
},
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
"browser",
|
|
50
|
-
"event",
|
|
51
|
-
"functional",
|
|
52
|
-
"queue",
|
|
53
|
-
"side-effect",
|
|
54
|
-
"typescript"
|
|
55
|
-
],
|
|
56
|
-
"publishConfig": {
|
|
57
|
-
"access": "public"
|
|
75
|
+
"./api": {
|
|
76
|
+
"import": "./api.js"
|
|
58
77
|
},
|
|
59
|
-
"
|
|
60
|
-
|
|
78
|
+
"./event-bus": {
|
|
79
|
+
"import": "./event-bus.js"
|
|
61
80
|
},
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
81
|
+
"./interceptors": {
|
|
82
|
+
"import": "./interceptors.js"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"thi.ng": {
|
|
86
|
+
"related": [
|
|
87
|
+
"atom",
|
|
88
|
+
"hdom",
|
|
89
|
+
"rdom"
|
|
65
90
|
],
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"import": "./api.js"
|
|
72
|
-
},
|
|
73
|
-
"./event-bus": {
|
|
74
|
-
"import": "./event-bus.js"
|
|
75
|
-
},
|
|
76
|
-
"./interceptors": {
|
|
77
|
-
"import": "./interceptors.js"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"thi.ng": {
|
|
81
|
-
"related": [
|
|
82
|
-
"atom",
|
|
83
|
-
"hdom",
|
|
84
|
-
"rdom"
|
|
85
|
-
],
|
|
86
|
-
"status": "deprecated",
|
|
87
|
-
"year": 2016
|
|
88
|
-
},
|
|
89
|
-
"gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
|
|
90
|
-
}
|
|
91
|
+
"status": "deprecated",
|
|
92
|
+
"year": 2016
|
|
93
|
+
},
|
|
94
|
+
"gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
|
|
95
|
+
}
|