@thi.ng/interceptors 3.2.76 → 3.2.77

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 +3 -268
  2. package/package.json +9 -10
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:53Z
3
+ - **Last updated**: 2025-01-23T13:39:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -38,270 +40,3 @@ and/or version bumps of transitive dependencies.
38
40
  #### 🚀 Features
39
41
 
40
42
  - fix [#358](https://github.com/thi-ng/umbrella/issues/358) add "completed" project status, update pkgs/readmes ([d35fa52](https://github.com/thi-ng/umbrella/commit/d35fa52))
41
-
42
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.1.0) (2021-11-17)
43
-
44
- #### 🚀 Features
45
-
46
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
47
- Improving the overall build ergonomics
48
- - introduced a tools workspaces
49
- - imported it in all needed packages/examples
50
- - inclusive project root
51
-
52
- #### ♻️ Refactoring
53
-
54
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
55
- this commit reverts (partly) changes made in:
56
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
57
- overall purpose is better testament ergonomics:
58
- instead of having to pass NODE_OPTIONS with every invocation
59
- having a binary to handle this for us.
60
-
61
- ### [3.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.8) (2021-11-10)
62
-
63
- #### ♻️ Refactoring
64
-
65
- - update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
66
-
67
- ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.1) (2021-10-13)
68
-
69
- #### ♻️ Refactoring
70
-
71
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
72
- - add .js suffix for all relative imports
73
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
74
-
75
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@3.0.0) (2021-10-12)
76
-
77
- #### 🛑 Breaking changes
78
-
79
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
80
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
81
- - only ESM modules will be published from now on
82
- - CJS obsolete due to ESM support in recent versions of node:
83
- - i.e. launch NodeJS via:
84
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
85
- - in the node REPL use `await import(...)` instead of `require()`
86
- - UMD obsolete due to widespread browser support for ESM
87
- Also:
88
- - normalize/restructure/reorg all package.json files
89
- - cleanup all build scripts, remove obsolete
90
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
91
-
92
- #### ♻️ Refactoring
93
-
94
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
95
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
96
- - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
97
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
98
- - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
99
- - largely related to recent updates/restructuring of these packages:
100
- - api
101
- - defmulti
102
- - errors
103
- - logger
104
-
105
- ### [2.2.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.35) (2020-12-07)
106
-
107
- #### ♻️ Refactoring
108
-
109
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
110
-
111
- ### [2.2.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.31) (2020-09-13)
112
-
113
- #### ♻️ Refactoring
114
-
115
- - update imports ([eebc4b4](https://github.com/thi-ng/umbrella/commit/eebc4b4))
116
-
117
- ### [2.2.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.10) (2020-03-28)
118
-
119
- #### ♻️ Refactoring
120
-
121
- - 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))
122
-
123
- ### [2.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.6) (2020-02-25)
124
-
125
- #### ♻️ Refactoring
126
-
127
- - update imports ([04b054b](https://github.com/thi-ng/umbrella/commit/04b054b))
128
-
129
- ### [2.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.3) (2019-11-30)
130
-
131
- #### ♻️ Refactoring
132
-
133
- - 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))
134
-
135
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.2.0) (2019-08-21)
136
-
137
- #### 🚀 Features
138
-
139
- - add module logger, setLogger() ([17f050d](https://github.com/thi-ng/umbrella/commit/17f050d))
140
-
141
- #### ♻️ Refactoring
142
-
143
- - simplify addHandler, split processXXX, add logger ([b7455ab](https://github.com/thi-ng/umbrella/commit/b7455ab))
144
- - update ensureStateXXX() iceps (re-use) ([80ea335](https://github.com/thi-ng/umbrella/commit/80ea335))
145
-
146
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.1.0) (2019-07-07)
147
-
148
- #### 🚀 Features
149
-
150
- - enable TS strict compiler flags (refactor) ([13bea8f](https://github.com/thi-ng/umbrella/commit/13bea8f))
151
-
152
- #### 🩹 Bug fixes
153
-
154
- - update EventBus ctor args ([557a78f](https://github.com/thi-ng/umbrella/commit/557a78f))
155
-
156
- #### ♻️ Refactoring
157
-
158
- - address TS strictNullChecks flag, minor update types ([105b5e9](https://github.com/thi-ng/umbrella/commit/105b5e9))
159
-
160
- ### [2.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.0.5) (2019-03-10)
161
-
162
- #### ♻️ Refactoring
163
-
164
- - update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
165
- - re-use Fn type aliases ([9ebe677](https://github.com/thi-ng/umbrella/commit/9ebe677))
166
-
167
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@2.0.0) (2019-01-21)
168
-
169
- #### 🛑 Breaking changes
170
-
171
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
172
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
173
- - build scripts now first build ES6 modules in package root, then call
174
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
175
- - all imports MUST be updated to only refer to package level
176
- (not individual files anymore). tree shaking in user land will get rid of
177
- all unused imported symbols.
178
-
179
- ## [1.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.9.0) (2018-11-13)
180
-
181
- #### 🚀 Features
182
-
183
- - update forwardSideFx(), refactor iceps as arrow fns ([9334f83](https://github.com/thi-ng/umbrella/commit/9334f83))
184
- - assign `true` to target side fx if no event body
185
-
186
- ### [1.8.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.9) (2018-08-01)
187
-
188
- #### ♻️ Refactoring
189
-
190
- - TS3.0 PropertyKey handling ([38372cc](https://github.com/thi-ng/umbrella/commit/38372cc))
191
-
192
- ### [1.8.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.7) (2018-07-11)
193
-
194
- #### ⏱ Performance improvements
195
-
196
- - update valueSetter()/valueUpdater() ([73c7b8a](https://github.com/thi-ng/umbrella/commit/73c7b8a))
197
- - both functions now use pre-built setters/updaters
198
-
199
- ## [1.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.8.0) (2018-05-14)
200
-
201
- #### 🚀 Features
202
-
203
- - update dispatch() / dispatchNow() ([5e72970](https://github.com/thi-ng/umbrella/commit/5e72970))
204
- - add support for mutliple events to be dispatched
205
- - update doc strings
206
-
207
- ### [1.7.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.7.1) (2018-05-10)
208
-
209
- #### ♻️ Refactoring
210
-
211
- - 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))
212
-
213
- ## [1.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.7.0) (2018-05-09)
214
-
215
- #### 🚀 Features
216
-
217
- - add dispatch/dispatchNow() helper interceptors ([6748515](https://github.com/thi-ng/umbrella/commit/6748515))
218
-
219
- ### [1.6.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.6.1) (2018-04-28)
220
-
221
- #### 🩹 Bug fixes
222
-
223
- - multiple sidefx value assignment ([c4d8851](https://github.com/thi-ng/umbrella/commit/c4d8851))
224
-
225
- ## [1.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.6.0) (2018-04-27)
226
-
227
- #### 🚀 Features
228
-
229
- - add dispatchLater() ([f4a095a](https://github.com/thi-ng/umbrella/commit/f4a095a))
230
-
231
- ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.5.0) (2018-04-19)
232
-
233
- #### 🚀 Features
234
-
235
- - add EV_TOGGLE_VALUE handler, update EV_UNDO/REDO ([87e3b48](https://github.com/thi-ng/umbrella/commit/87e3b48))
236
- - add EV_TOGGLE_VALUE handler for boolean switches
237
- - extend EV_UNDO/REDO to trigger success/fail events post action
238
- - extract undoHelper() as shared impl
239
-
240
- ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.4.0) (2018-04-17)
241
-
242
- #### 🚀 Features
243
-
244
- - add event handler instrumentation ([1a6ac54](https://github.com/thi-ng/umbrella/commit/1a6ac54))
245
-
246
- ### [1.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.3) (2018-04-17)
247
-
248
- #### 🩹 Bug fixes
249
-
250
- - filter out undefined sidefx vals ([d7ff997](https://github.com/thi-ng/umbrella/commit/d7ff997))
251
- - only when assigning array of multiple vals to a single side fx
252
-
253
- ### [1.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.1) (2018-04-16)
254
-
255
- #### 🩹 Bug fixes
256
-
257
- - update undo handling to support history cursors ([9a83d4e](https://github.com/thi-ng/umbrella/commit/9a83d4e))
258
-
259
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.3.0) (2018-04-15)
260
-
261
- #### 🚀 Features
262
-
263
- - update processQueue(), expose full ctx to handlers ([183af61](https://github.com/thi-ng/umbrella/commit/183af61))
264
- - update InterceptorFn / InterceptorPredicate to pass ctx as opt last arg
265
- - add default FX_UNDO/REDO side fx ([a102eb7](https://github.com/thi-ng/umbrella/commit/a102eb7))
266
- - add undo/redo handlers/fx & snapshot() interceptor ([3c92f7e](https://github.com/thi-ng/umbrella/commit/3c92f7e))
267
-
268
- #### ♻️ Refactoring
269
-
270
- - also pass ctx to sidefx handlers ([ba0c876](https://github.com/thi-ng/umbrella/commit/ba0c876))
271
- - refactor undo handling ([a1d9ae6](https://github.com/thi-ng/umbrella/commit/a1d9ae6))
272
- - update EV_UNDO/REDO handlers & docs
273
- - remove FX_UNDO/REDO
274
-
275
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.2.0) (2018-04-13)
276
-
277
- #### 🚀 Features
278
-
279
- - add ensureStateRange() & ensureParamRange() iceps ([86883e3](https://github.com/thi-ng/umbrella/commit/86883e3))
280
- - rename existing ensureXXX() interceptors:
281
- - ensureLessThan => ensureStateLessThan
282
- - ensureGreaterThan => ensureStateGreaterThan
283
-
284
- ### [1.1.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.1.4) (2018-04-08)
285
-
286
- #### ♻️ Refactoring
287
-
288
- - update Event id type (string => PropertyKey) ([c1c81bd](https://github.com/thi-ng/umbrella/commit/c1c81bd))
289
-
290
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.1.0) (2018-03-21)
291
-
292
- #### 🚀 Features
293
-
294
- - 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))
295
-
296
- ### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.0.5) (2018-03-19)
297
-
298
- #### 🩹 Bug fixes
299
-
300
- - InterceptorPredicate args ([76c5e0a](https://github.com/thi-ng/umbrella/commit/76c5e0a))
301
- - last arg is bus, same as w/ InterceptorFn
302
-
303
- ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/interceptors@1.0.1) (2018-03-17)
304
-
305
- #### 🚀 Features
306
-
307
- - 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/interceptors",
3
- "version": "3.2.76",
3
+ "version": "3.2.77",
4
4
  "description": "Interceptor based event bus, side effect & immutable state handling",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -43,18 +43,17 @@
43
43
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
44
  },
45
45
  "dependencies": {
46
- "@thi.ng/api": "^8.11.17",
47
- "@thi.ng/atom": "^5.3.18",
48
- "@thi.ng/checks": "^3.6.20",
49
- "@thi.ng/errors": "^2.5.23",
50
- "@thi.ng/logger": "^3.0.28",
51
- "@thi.ng/paths": "^5.1.98"
46
+ "@thi.ng/api": "^8.11.18",
47
+ "@thi.ng/atom": "^5.3.19",
48
+ "@thi.ng/checks": "^3.6.21",
49
+ "@thi.ng/errors": "^2.5.24",
50
+ "@thi.ng/logger": "^3.0.29",
51
+ "@thi.ng/paths": "^5.1.99"
52
52
  },
53
53
  "devDependencies": {
54
- "@microsoft/api-extractor": "^7.48.1",
55
54
  "esbuild": "^0.24.2",
56
55
  "typedoc": "^0.27.6",
57
- "typescript": "^5.7.2"
56
+ "typescript": "^5.7.3"
58
57
  },
59
58
  "keywords": [
60
59
  "async",
@@ -99,5 +98,5 @@
99
98
  "status": "completed",
100
99
  "year": 2016
101
100
  },
102
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
101
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
103
102
  }