@thi.ng/interceptors 3.0.8 → 3.1.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +189 -81
  2. package/package.json +89 -84
package/CHANGELOG.md CHANGED
@@ -1,169 +1,277 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-12-13T10:26:00Z
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
5
40
 
6
- ## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@3.0.7...@thi.ng/interceptors@3.0.8) (2021-11-10)
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
7
44
 
8
- **Note:** Version bump only for package @thi.ng/interceptors
45
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.0) (2021-10-12)
9
46
 
47
+ #### 🛑 Breaking changes
10
48
 
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
11
61
 
62
+ #### ♻️ Refactoring
12
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)
13
74
 
14
- ## [3.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@3.0.6...@thi.ng/interceptors@3.0.7) (2021-11-03)
75
+ ### [2.2.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.35) (2020-12-07)
15
76
 
16
- **Note:** Version bump only for package @thi.ng/interceptors
77
+ #### ♻️ Refactoring
17
78
 
79
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
18
80
 
81
+ ### [2.2.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.31) (2020-09-13)
19
82
 
83
+ #### ♻️ Refactoring
20
84
 
85
+ - update imports ([eebc4b4](https://github.com/thi-ng/umbrella/commit/eebc4b4))
21
86
 
22
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.2.53...@thi.ng/interceptors@3.0.0) (2021-10-12)
87
+ ### [2.2.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.10) (2020-03-28)
23
88
 
89
+ #### ♻️ Refactoring
24
90
 
25
- ### Build System
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))
26
92
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
93
+ ### [2.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.6) (2020-02-25)
28
94
 
95
+ #### ♻️ Refactoring
29
96
 
30
- ### BREAKING CHANGES
97
+ - update imports ([04b054b](https://github.com/thi-ng/umbrella/commit/04b054b))
31
98
 
32
- * discontinue CommonJS & UMD versions
99
+ ### [2.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.3) (2019-11-30)
33
100
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
101
+ #### ♻️ Refactoring
40
102
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
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))
45
104
 
105
+ ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.0) (2019-08-21)
46
106
 
107
+ #### 🚀 Features
47
108
 
109
+ - add module logger, setLogger() ([17f050d](https://github.com/thi-ng/umbrella/commit/17f050d))
48
110
 
111
+ #### ♻️ Refactoring
49
112
 
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))
50
115
 
51
- # [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.1.3...@thi.ng/interceptors@2.2.0) (2019-08-21)
116
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.1.0) (2019-07-07)
52
117
 
53
- ### Features
118
+ #### 🚀 Features
54
119
 
55
- - **interceptors:** add module logger, setLogger() ([17f050d](https://github.com/thi-ng/umbrella/commit/17f050d))
120
+ - enable TS strict compiler flags (refactor) ([13bea8f](https://github.com/thi-ng/umbrella/commit/13bea8f))
56
121
 
57
- # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.0.12...@thi.ng/interceptors@2.1.0) (2019-07-07)
122
+ #### 🩹 Bug fixes
58
123
 
59
- ### Bug Fixes
124
+ - update EventBus ctor args ([557a78f](https://github.com/thi-ng/umbrella/commit/557a78f))
60
125
 
61
- - **interceptors:** update EventBus ctor args ([557a78f](https://github.com/thi-ng/umbrella/commit/557a78f))
126
+ #### ♻️ Refactoring
62
127
 
63
- ### Features
128
+ - address TS strictNullChecks flag, minor update types ([105b5e9](https://github.com/thi-ng/umbrella/commit/105b5e9))
64
129
 
65
- - **interceptors:** enable TS strict compiler flags (refactor) ([13bea8f](https://github.com/thi-ng/umbrella/commit/13bea8f))
130
+ ### [2.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.0.5) (2019-03-10)
66
131
 
67
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.9.2...@thi.ng/interceptors@2.0.0) (2019-01-21)
132
+ #### ♻️ Refactoring
68
133
 
69
- ### Build System
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
70
140
 
71
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
72
168
 
73
- ### BREAKING CHANGES
169
+ ## [1.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.0) (2018-05-14)
74
170
 
75
- - enabled multi-outputs (ES6 modules, CJS, UMD)
76
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
77
- - 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
78
172
 
79
- # [1.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.8.17...@thi.ng/interceptors@1.9.0) (2018-11-13)
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
80
176
 
81
- ### Features
177
+ ### [1.7.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.7.1) (2018-05-10)
82
178
 
83
- - **interceptors:** update forwardSideFx(), refactor iceps as arrow fns ([9334f83](https://github.com/thi-ng/umbrella/commit/9334f83))
179
+ #### ♻️ Refactoring
84
180
 
85
- ## [1.8.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.8.6...@thi.ng/interceptors@1.8.7) (2018-07-11)
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))
86
182
 
87
- ### Performance Improvements
183
+ ## [1.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.7.0) (2018-05-09)
88
184
 
89
- - **interceptors:** update valueSetter()/valueUpdater() ([73c7b8a](https://github.com/thi-ng/umbrella/commit/73c7b8a))
185
+ #### 🚀 Features
90
186
 
91
- # [1.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.7.4...@thi.ng/interceptors@1.8.0) (2018-05-14)
187
+ - add dispatch/dispatchNow() helper interceptors ([6748515](https://github.com/thi-ng/umbrella/commit/6748515))
92
188
 
93
- ### Features
189
+ ### [1.6.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.6.1) (2018-04-28)
94
190
 
95
- - **interceptors:** update dispatch() / dispatchNow() ([5e72970](https://github.com/thi-ng/umbrella/commit/5e72970))
191
+ #### 🩹 Bug fixes
96
192
 
97
- # [1.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.6.2...@thi.ng/interceptors@1.7.0) (2018-05-09)
193
+ - multiple sidefx value assignment ([c4d8851](https://github.com/thi-ng/umbrella/commit/c4d8851))
98
194
 
99
- ### Features
195
+ ## [1.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.6.0) (2018-04-27)
100
196
 
101
- - **interceptors:** add dispatch/dispatchNow() helper interceptors ([6748515](https://github.com/thi-ng/umbrella/commit/6748515))
197
+ #### 🚀 Features
102
198
 
103
- ## [1.6.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.6.0...@thi.ng/interceptors@1.6.1) (2018-04-28)
199
+ - add dispatchLater() ([f4a095a](https://github.com/thi-ng/umbrella/commit/f4a095a))
104
200
 
105
- ### Bug Fixes
201
+ ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.5.0) (2018-04-19)
106
202
 
107
- - **interceptors:** multiple sidefx value assignment ([c4d8851](https://github.com/thi-ng/umbrella/commit/c4d8851))
203
+ #### 🚀 Features
108
204
 
109
- # [1.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.5.3...@thi.ng/interceptors@1.6.0) (2018-04-27)
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
110
209
 
111
- ### Features
210
+ ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.4.0) (2018-04-17)
112
211
 
113
- - **interceptors:** add dispatchLater() ([f4a095a](https://github.com/thi-ng/umbrella/commit/f4a095a))
212
+ #### 🚀 Features
114
213
 
115
- # [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.4.1...@thi.ng/interceptors@1.5.0) (2018-04-19)
214
+ - add event handler instrumentation ([1a6ac54](https://github.com/thi-ng/umbrella/commit/1a6ac54))
116
215
 
117
- ### Features
216
+ ### [1.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.3) (2018-04-17)
118
217
 
119
- - **interceptors:** add EV_TOGGLE_VALUE handler, update EV_UNDO/REDO ([87e3b48](https://github.com/thi-ng/umbrella/commit/87e3b48))
218
+ #### 🩹 Bug fixes
120
219
 
121
- # [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.3.3...@thi.ng/interceptors@1.4.0) (2018-04-17)
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
122
222
 
123
- ### Features
223
+ ### [1.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.1) (2018-04-16)
124
224
 
125
- - **interceptors:** add event handler instrumentation ([1a6ac54](https://github.com/thi-ng/umbrella/commit/1a6ac54))
225
+ #### 🩹 Bug fixes
126
226
 
127
- ## [1.3.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.3.2...@thi.ng/interceptors@1.3.3) (2018-04-17)
227
+ - update undo handling to support history cursors ([9a83d4e](https://github.com/thi-ng/umbrella/commit/9a83d4e))
128
228
 
129
- ### Bug Fixes
229
+ ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.0) (2018-04-15)
130
230
 
131
- - **interceptors:** filter out undefined sidefx vals ([d7ff997](https://github.com/thi-ng/umbrella/commit/d7ff997))
231
+ #### 🚀 Features
132
232
 
133
- ## [1.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.3.0...@thi.ng/interceptors@1.3.1) (2018-04-16)
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
134
237
 
135
- ### Bug Fixes
238
+ #### ♻️ Refactoring
136
239
 
137
- - **interceptors:** update undo handling to support history cursors ([9a83d4e](https://github.com/thi-ng/umbrella/commit/9a83d4e))
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))
138
244
 
139
- # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.2.0...@thi.ng/interceptors@1.3.0) (2018-04-15)
245
+ ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.2.0) (2018-04-13)
140
246
 
141
- ### Features
247
+ #### 🚀 Features
142
248
 
143
- - **interceptors:** add default FX_UNDO/REDO side fx ([a102eb7](https://github.com/thi-ng/umbrella/commit/a102eb7))
144
- - **interceptors:** add undo/redo handlers/fx & snapshot() interceptor ([3c92f7e](https://github.com/thi-ng/umbrella/commit/3c92f7e))
145
- - **interceptors:** update processQueue(), expose full ctx to handlers ([183af61](https://github.com/thi-ng/umbrella/commit/183af61))
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
146
253
 
147
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.1.5...@thi.ng/interceptors@1.2.0) (2018-04-13)
254
+ ### [1.1.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.1.4) (2018-04-08)
148
255
 
149
- ### Features
256
+ #### ♻️ Refactoring
150
257
 
151
- - **interceptors:** add ensureStateRange() & ensureParamRange() iceps ([86883e3](https://github.com/thi-ng/umbrella/commit/86883e3))
258
+ - update Event id type (string => PropertyKey) ([c1c81bd](https://github.com/thi-ng/umbrella/commit/c1c81bd))
152
259
 
153
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.0.5...@thi.ng/interceptors@1.1.0) (2018-03-21)
260
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.1.0) (2018-03-21)
154
261
 
155
- ### Features
262
+ #### 🚀 Features
156
263
 
157
- - **interceptors:** update error handling, add [@thi](https://github.com/thi).ng/api dep ([501d56f](https://github.com/thi-ng/umbrella/commit/501d56f))
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))
158
265
 
159
- ## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@1.0.4...@thi.ng/interceptors@1.0.5) (2018-03-19)
266
+ ### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.0.5) (2018-03-19)
160
267
 
161
- ### Bug Fixes
268
+ #### 🩹 Bug fixes
162
269
 
163
- - **interceptors:** InterceptorPredicate args ([76c5e0a](https://github.com/thi-ng/umbrella/commit/76c5e0a))
270
+ - InterceptorPredicate args ([76c5e0a](https://github.com/thi-ng/umbrella/commit/76c5e0a))
271
+ - last arg is bus, same as w/ InterceptorFn
164
272
 
165
- # 1.0.0 (2018-03-17)
273
+ ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.0.1) (2018-03-17)
166
274
 
167
- ### Documentation
275
+ #### 🚀 Features
168
276
 
169
- - **interceptors:** add/extract @thi.ng/interceptors package from @th.ng/atom ([195a6ff](https://github.com/thi-ng/umbrella/commit/195a6ff))
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/package.json CHANGED
@@ -1,90 +1,95 @@
1
1
  {
2
- "name": "@thi.ng/interceptors",
3
- "version": "3.0.8",
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"
2
+ "name": "@thi.ng/interceptors",
3
+ "version": "3.1.3",
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
- "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"
18
- },
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 && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.2.0",
38
- "@thi.ng/atom": "^5.0.8",
39
- "@thi.ng/checks": "^3.0.7",
40
- "@thi.ng/errors": "^2.0.6",
41
- "@thi.ng/logger": "^1.0.6",
42
- "@thi.ng/paths": "^5.0.8"
43
- },
44
- "devDependencies": {
45
- "@thi.ng/testament": "^0.1.6"
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.3",
38
+ "@thi.ng/atom": "^5.1.3",
39
+ "@thi.ng/checks": "^3.1.3",
40
+ "@thi.ng/errors": "^2.1.3",
41
+ "@thi.ng/logger": "^1.1.3",
42
+ "@thi.ng/paths": "^5.1.3"
43
+ },
44
+ "devDependencies": {
45
+ "@microsoft/api-extractor": "^7.19.2",
46
+ "@thi.ng/testament": "^0.2.3",
47
+ "rimraf": "^3.0.2",
48
+ "tools": "^0.0.1",
49
+ "typedoc": "^0.22.10",
50
+ "typescript": "^4.5.3"
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
- "keywords": [
48
- "async",
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
- "engines": {
60
- "node": ">=12.7"
78
+ "./event-bus": {
79
+ "import": "./event-bus.js"
61
80
  },
62
- "files": [
63
- "*.js",
64
- "*.d.ts"
81
+ "./interceptors": {
82
+ "import": "./interceptors.js"
83
+ }
84
+ },
85
+ "thi.ng": {
86
+ "related": [
87
+ "atom",
88
+ "hdom",
89
+ "rdom"
65
90
  ],
66
- "exports": {
67
- ".": {
68
- "import": "./index.js"
69
- },
70
- "./api": {
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": "5fe52419af63984ebe53032201b2a6174b9cb159"
90
- }
91
+ "status": "deprecated",
92
+ "year": 2016
93
+ },
94
+ "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
95
+ }