@thi.ng/api 8.11.17 → 8.11.19
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 +3 -495
- package/README.md +1 -1
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-29T16:25:48Z
|
|
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
|
|
@@ -78,497 +80,3 @@ and/or version bumps of transitive dependencies.
|
|
|
78
80
|
- add BIT_SHIFTS LUT
|
|
79
81
|
- update sizeOf()
|
|
80
82
|
- update typedArray()
|
|
81
|
-
|
|
82
|
-
## [8.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.3.0) (2021-11-17)
|
|
83
|
-
|
|
84
|
-
#### 🚀 Features
|
|
85
|
-
|
|
86
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
87
|
-
Improving the overall build ergonomics
|
|
88
|
-
- introduced a tools workspaces
|
|
89
|
-
- imported it in all needed packages/examples
|
|
90
|
-
- inclusive project root
|
|
91
|
-
|
|
92
|
-
#### 🩹 Bug fixes
|
|
93
|
-
|
|
94
|
-
- disable debug console output in mixin() ([50354c8](https://github.com/thi-ng/umbrella/commit/50354c8))
|
|
95
|
-
|
|
96
|
-
#### ♻️ Refactoring
|
|
97
|
-
|
|
98
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
99
|
-
this commit reverts (partly) changes made in:
|
|
100
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
101
|
-
overall purpose is better testament ergonomics:
|
|
102
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
103
|
-
having a binary to handle this for us.
|
|
104
|
-
|
|
105
|
-
## [8.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.2.0) (2021-11-10)
|
|
106
|
-
|
|
107
|
-
#### 🚀 Features
|
|
108
|
-
|
|
109
|
-
- update IGrid types, add mixins ([f0f3236](https://github.com/thi-ng/umbrella/commit/f0f3236))
|
|
110
|
-
|
|
111
|
-
#### 🩹 Bug fixes
|
|
112
|
-
|
|
113
|
-
- add missing module exports ([fc8805e](https://github.com/thi-ng/umbrella/commit/fc8805e))
|
|
114
|
-
|
|
115
|
-
#### ♻️ Refactoring
|
|
116
|
-
|
|
117
|
-
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
|
|
118
|
-
|
|
119
|
-
## [8.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.1.0) (2021-11-03)
|
|
120
|
-
|
|
121
|
-
#### 🚀 Features
|
|
122
|
-
|
|
123
|
-
- add IGrid2D/3D interfaces ([e57ad7e](https://github.com/thi-ng/umbrella/commit/e57ad7e))
|
|
124
|
-
- add asInt() coercion helper ([49cd772](https://github.com/thi-ng/umbrella/commit/49cd772))
|
|
125
|
-
|
|
126
|
-
### [8.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.0.1) (2021-10-13)
|
|
127
|
-
|
|
128
|
-
#### ♻️ Refactoring
|
|
129
|
-
|
|
130
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
131
|
-
- add .js suffix for all relative imports
|
|
132
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
133
|
-
|
|
134
|
-
# [8.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.0.0) (2021-10-12)
|
|
135
|
-
|
|
136
|
-
#### 🛑 Breaking changes
|
|
137
|
-
|
|
138
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
139
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
140
|
-
- only ESM modules will be published from now on
|
|
141
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
142
|
-
- i.e. launch NodeJS via:
|
|
143
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
144
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
145
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
146
|
-
Also:
|
|
147
|
-
- normalize/restructure/reorg all package.json files
|
|
148
|
-
- cleanup all build scripts, remove obsolete
|
|
149
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
150
|
-
- remove obsolete assert() ([5f6ec5c](https://github.com/thi-ng/umbrella/commit/5f6ec5c))
|
|
151
|
-
- BREAKING CHANGE: assert() moved to [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/main/packages/errors) pkg
|
|
152
|
-
- see [7030a6aec](https://github.com/thi-ng/umbrella/commit/7030a6aec) for details
|
|
153
|
-
- major pkg restructure ([98e286d](https://github.com/thi-ng/umbrella/commit/98e286d))
|
|
154
|
-
- BREAKING CHANGE: major pkg restructure, migrations
|
|
155
|
-
- migrate logging related types/classes to new [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/main/packages/logger) pkg
|
|
156
|
-
- see [e0399a8f6](https://github.com/thi-ng/umbrella/commit/e0399a8f6) for details
|
|
157
|
-
- migrate `exposeGlobal()` to new [@thi.ng/expose](https://github.com/thi-ng/umbrella/tree/main/packages/expose) pkg
|
|
158
|
-
- see [323995fd7](https://github.com/thi-ng/umbrella/commit/323995fd7) for details
|
|
159
|
-
- lift /api source files to main /src folder for easier import
|
|
160
|
-
- this pkg now only contains type defs, constants, decorators and mixins
|
|
161
|
-
all other functionality migrated to other packages...
|
|
162
|
-
|
|
163
|
-
#### ♻️ Refactoring
|
|
164
|
-
|
|
165
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
166
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
167
|
-
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
168
|
-
- largely related to recent updates/restructuring of these packages:
|
|
169
|
-
- api
|
|
170
|
-
- defmulti
|
|
171
|
-
- errors
|
|
172
|
-
- logger
|
|
173
|
-
- minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
|
|
174
|
-
|
|
175
|
-
## [7.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@7.2.0) (2021-09-03)
|
|
176
|
-
|
|
177
|
-
#### 🚀 Features
|
|
178
|
-
|
|
179
|
-
- add DeepArrayValue type ([a309fac](https://github.com/thi-ng/umbrella/commit/a309fac))
|
|
180
|
-
|
|
181
|
-
### [7.1.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@7.1.7) (2021-08-04)
|
|
182
|
-
|
|
183
|
-
#### ♻️ Refactoring
|
|
184
|
-
|
|
185
|
-
- dedupe IEnableMixin method impls ([3433e5d](https://github.com/thi-ng/umbrella/commit/3433e5d))
|
|
186
|
-
|
|
187
|
-
### [7.1.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@7.1.5) (2021-06-08)
|
|
188
|
-
|
|
189
|
-
#### ♻️ Refactoring
|
|
190
|
-
|
|
191
|
-
- [#294](https://github.com/thi-ng/umbrella/issues/294) update recursive helper types ([6ad582d](https://github.com/thi-ng/umbrella/commit/6ad582d))
|
|
192
|
-
- simplify Head, Tail, Prepend type defs
|
|
193
|
-
- update ArrayValue, Reverse
|
|
194
|
-
|
|
195
|
-
## [7.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@7.1.0) (2021-03-03)
|
|
196
|
-
|
|
197
|
-
#### 🚀 Features
|
|
198
|
-
|
|
199
|
-
- add StringOrSym type alias ([fb92c9d](https://github.com/thi-ng/umbrella/commit/fb92c9d))
|
|
200
|
-
|
|
201
|
-
# [7.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@7.0.0) (2021-02-20)
|
|
202
|
-
|
|
203
|
-
#### 🛑 Breaking changes
|
|
204
|
-
|
|
205
|
-
- replace Type enum w/ strings consts ([a333d41](https://github.com/thi-ng/umbrella/commit/a333d41))
|
|
206
|
-
- BREAKING CHANGE: replace Type enum w/ string consts
|
|
207
|
-
- update Type, UintType, IntType, FloatType aliases
|
|
208
|
-
- update GL2TYPE, TYPE2GL, SIZEOF, TYPEDARRAY_CTORS tables
|
|
209
|
-
- add asNativeType(), asGLType() conversions
|
|
210
|
-
- add sizeOf()
|
|
211
|
-
- add uintTypeForBits(), intTypeForBits()
|
|
212
|
-
- update/rename uintTypeForSize(), intTypeForSize()
|
|
213
|
-
|
|
214
|
-
#### 🚀 Features
|
|
215
|
-
|
|
216
|
-
- add Range type ([5d94974](https://github.com/thi-ng/umbrella/commit/5d94974))
|
|
217
|
-
- add typedArrayType() classifier ([5c81fd8](https://github.com/thi-ng/umbrella/commit/5c81fd8))
|
|
218
|
-
- more finely grained typedarray types ([8316d05](https://github.com/thi-ng/umbrella/commit/8316d05))
|
|
219
|
-
|
|
220
|
-
### [6.13.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.13.4) (2020-12-07)
|
|
221
|
-
|
|
222
|
-
#### ♻️ Refactoring
|
|
223
|
-
|
|
224
|
-
- update type-only imports ([94be931](https://github.com/thi-ng/umbrella/commit/94be931))
|
|
225
|
-
|
|
226
|
-
## [6.13.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.13.0) (2020-09-13)
|
|
227
|
-
|
|
228
|
-
#### 🚀 Features
|
|
229
|
-
|
|
230
|
-
- add FnU and FnN function types ([4ba48d0](https://github.com/thi-ng/umbrella/commit/4ba48d0))
|
|
231
|
-
- add DeepPartial type ([0d9a0de](https://github.com/thi-ng/umbrella/commit/0d9a0de))
|
|
232
|
-
|
|
233
|
-
#### 🩹 Bug fixes
|
|
234
|
-
|
|
235
|
-
- update assert() & exposeGlobal() detection ([2cdc038](https://github.com/thi-ng/umbrella/commit/2cdc038))
|
|
236
|
-
|
|
237
|
-
## [6.12.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.12.0) (2020-07-28)
|
|
238
|
-
|
|
239
|
-
#### 🚀 Features
|
|
240
|
-
|
|
241
|
-
- add Always & ArrayValue types ([dcf9aeb](https://github.com/thi-ng/umbrella/commit/dcf9aeb))
|
|
242
|
-
|
|
243
|
-
## [6.11.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.11.0) (2020-06-01)
|
|
244
|
-
|
|
245
|
-
#### 🚀 Features
|
|
246
|
-
|
|
247
|
-
- add deref(), isDeref() fns & MaybeDeref ([722bf3e](https://github.com/thi-ng/umbrella/commit/722bf3e))
|
|
248
|
-
(cherry picked from commit [2ab46adee629bf06d064bdcd5c064f7fcc1e7433](https://github.com/thi-ng/umbrella/commit/2ab46adee629bf06d064bdcd5c064f7fcc1e7433))
|
|
249
|
-
- add deref(), isDeref() fns & MaybeDeref ([2ab46ad](https://github.com/thi-ng/umbrella/commit/2ab46ad))
|
|
250
|
-
|
|
251
|
-
## [6.10.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.10.0) (2020-04-06)
|
|
252
|
-
|
|
253
|
-
#### 🚀 Features
|
|
254
|
-
|
|
255
|
-
- add LogLevelName type ([25b6c67](https://github.com/thi-ng/umbrella/commit/25b6c67))
|
|
256
|
-
|
|
257
|
-
### [6.9.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.9.1) (2020-04-05)
|
|
258
|
-
|
|
259
|
-
#### ♻️ Refactoring
|
|
260
|
-
|
|
261
|
-
- switch to non-const enums ([b247903](https://github.com/thi-ng/umbrella/commit/b247903))
|
|
262
|
-
|
|
263
|
-
## [6.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.9.0) (2020-03-28)
|
|
264
|
-
|
|
265
|
-
#### 🚀 Features
|
|
266
|
-
|
|
267
|
-
- add Path0-8, PathVal1-8, DeepPath types ([0c76108](https://github.com/thi-ng/umbrella/commit/0c76108))
|
|
268
|
-
- update Path alias, add doc strings ([e2b35bc](https://github.com/thi-ng/umbrella/commit/e2b35bc))
|
|
269
|
-
- add Derefed & DerefedKeys types ([95f1576](https://github.com/thi-ng/umbrella/commit/95f1576))
|
|
270
|
-
- add optional props in Keys/Val types ([08b88f0](https://github.com/thi-ng/umbrella/commit/08b88f0))
|
|
271
|
-
- force intermediate props using `Required<T>`
|
|
272
|
-
- update Keys1-8, Val1-8
|
|
273
|
-
- update KeysN / ValN
|
|
274
|
-
|
|
275
|
-
#### ♻️ Refactoring
|
|
276
|
-
|
|
277
|
-
- update path value & tuple types ([aa9db3a](https://github.com/thi-ng/umbrella/commit/aa9db3a))
|
|
278
|
-
- replace PathVal1-8 w/ PathVal
|
|
279
|
-
- add OptPathVal
|
|
280
|
-
- add IsOpt, IsOptPath type predicates
|
|
281
|
-
- add IsEmpty type predicate
|
|
282
|
-
- update Last, ButLast tuple types
|
|
283
|
-
|
|
284
|
-
## [6.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.8.0) (2020-02-25)
|
|
285
|
-
|
|
286
|
-
#### 🚀 Features
|
|
287
|
-
|
|
288
|
-
- add TypedKeys, NumericKeys, StringKeys ([fab1a5e](https://github.com/thi-ng/umbrella/commit/fab1a5e))
|
|
289
|
-
|
|
290
|
-
#### 🩹 Bug fixes
|
|
291
|
-
|
|
292
|
-
- fix imports ([e3e0cdc](https://github.com/thi-ng/umbrella/commit/e3e0cdc))
|
|
293
|
-
|
|
294
|
-
#### ♻️ Refactoring
|
|
295
|
-
|
|
296
|
-
- update type exports, internal restructure ([b8c7681](https://github.com/thi-ng/umbrella/commit/b8c7681))
|
|
297
|
-
- dissolve api.ts
|
|
298
|
-
- move constants to constants.ts
|
|
299
|
-
|
|
300
|
-
### [6.7.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.7.1) (2020-01-26)
|
|
301
|
-
|
|
302
|
-
#### ♻️ Refactoring
|
|
303
|
-
|
|
304
|
-
- update IToHiccup, add opt args ([ac35685](https://github.com/thi-ng/umbrella/commit/ac35685))
|
|
305
|
-
- remove obsolete Drop/DropReducer ([5e80c4d](https://github.com/thi-ng/umbrella/commit/5e80c4d))
|
|
306
|
-
|
|
307
|
-
## [6.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.7.0) (2020-01-24)
|
|
308
|
-
|
|
309
|
-
#### 🚀 Features
|
|
310
|
-
|
|
311
|
-
- add exposeGlobal(), update assert(), update readme ([7981cc9](https://github.com/thi-ng/umbrella/commit/7981cc9))
|
|
312
|
-
- add more RangeXX types & RangeValueMap ([654ea53](https://github.com/thi-ng/umbrella/commit/654ea53))
|
|
313
|
-
- add IClear interface ([38f03ff](https://github.com/thi-ng/umbrella/commit/38f03ff))
|
|
314
|
-
- added the Head type ([f000a3d](https://github.com/thi-ng/umbrella/commit/f000a3d))
|
|
315
|
-
- added the Tail type ([fa59ff3](https://github.com/thi-ng/umbrella/commit/fa59ff3))
|
|
316
|
-
- added the Prepend type ([7bfe7a8](https://github.com/thi-ng/umbrella/commit/7bfe7a8))
|
|
317
|
-
- added the Reverse type ([88cfaa4](https://github.com/thi-ng/umbrella/commit/88cfaa4))
|
|
318
|
-
- added the KeysN type ([e0f0e90](https://github.com/thi-ng/umbrella/commit/e0f0e90))
|
|
319
|
-
- added the ValN type ([b48623f](https://github.com/thi-ng/umbrella/commit/b48623f))
|
|
320
|
-
- added the Last type ([44ae2f7](https://github.com/thi-ng/umbrella/commit/44ae2f7))
|
|
321
|
-
- added the Init type ([f6c333a](https://github.com/thi-ng/umbrella/commit/f6c333a))
|
|
322
|
-
- added the WithoutN type ([0d13af5](https://github.com/thi-ng/umbrella/commit/0d13af5))
|
|
323
|
-
- added the ReplaceN type ([4da54ae](https://github.com/thi-ng/umbrella/commit/4da54ae))
|
|
324
|
-
- add Drop, TupleLength, update Tuple ([dc79324](https://github.com/thi-ng/umbrella/commit/dc79324))
|
|
325
|
-
- add IReset interface ([d491bd0](https://github.com/thi-ng/umbrella/commit/d491bd0))
|
|
326
|
-
|
|
327
|
-
#### 🩹 Bug fixes
|
|
328
|
-
|
|
329
|
-
- don't use optional chaining, update assert(), exposeGlobal() ([ddfc65e](https://github.com/thi-ng/umbrella/commit/ddfc65e))
|
|
330
|
-
|
|
331
|
-
## [6.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.6.0) (2019-11-30)
|
|
332
|
-
|
|
333
|
-
#### 🚀 Features
|
|
334
|
-
|
|
335
|
-
- add Uint/Int/FloatType & helpers ([1d3c824](https://github.com/thi-ng/umbrella/commit/1d3c824))
|
|
336
|
-
- add grouped Type aliases
|
|
337
|
-
- add uintType() / intType() helpers
|
|
338
|
-
- add ISeq, ISeqable ([541e9c8](https://github.com/thi-ng/umbrella/commit/541e9c8))
|
|
339
|
-
- add WithoutX & ReplaceX types, update KeysX/ValX ([7707370](https://github.com/thi-ng/umbrella/commit/7707370))
|
|
340
|
-
- add versions up to arity 8
|
|
341
|
-
|
|
342
|
-
#### ♻️ Refactoring
|
|
343
|
-
|
|
344
|
-
- replace error w/ assert() in decorator ([adfec26](https://github.com/thi-ng/umbrella/commit/adfec26))
|
|
345
|
-
|
|
346
|
-
## [6.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.5.0) (2019-11-09)
|
|
347
|
-
|
|
348
|
-
#### 🚀 Features
|
|
349
|
-
|
|
350
|
-
- add types, split api.ts into separate files ([b72e664](https://github.com/thi-ng/umbrella/commit/b72e664))
|
|
351
|
-
- add GLType enum & GL2TYPE / TYPE2GL conversions
|
|
352
|
-
- add TypedArrayContstructor, TYPEDARRAY_CTORS LUT
|
|
353
|
-
- add RangeXX types ([fc9cf21](https://github.com/thi-ng/umbrella/commit/fc9cf21))
|
|
354
|
-
- add typedArray() factory, update type mappers, docs ([ac7fa13](https://github.com/thi-ng/umbrella/commit/ac7fa13))
|
|
355
|
-
|
|
356
|
-
#### ♻️ Refactoring
|
|
357
|
-
|
|
358
|
-
- update INotifyMixin to clean up listeners ([ed2be64](https://github.com/thi-ng/umbrella/commit/ed2be64))
|
|
359
|
-
- fix [#168](https://github.com/thi-ng/umbrella/issues/168), refactor Range types ([39bf8f1](https://github.com/thi-ng/umbrella/commit/39bf8f1))
|
|
360
|
-
|
|
361
|
-
## [6.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.4.0) (2019-09-21)
|
|
362
|
-
|
|
363
|
-
#### 🚀 Features
|
|
364
|
-
|
|
365
|
-
- add Nullable ([8366223](https://github.com/thi-ng/umbrella/commit/8366223))
|
|
366
|
-
(cherry picked from commit [bed4c3c95293374bcf002266c4a906e11f68bed3](https://github.com/thi-ng/umbrella/commit/bed4c3c95293374bcf002266c4a906e11f68bed3))
|
|
367
|
-
- add Nullable ([bed4c3c](https://github.com/thi-ng/umbrella/commit/bed4c3c))
|
|
368
|
-
|
|
369
|
-
#### ♻️ Refactoring
|
|
370
|
-
|
|
371
|
-
- Use `this` parameter to avoid casts in mixins. ([c78cf32](https://github.com/thi-ng/umbrella/commit/c78cf32))
|
|
372
|
-
|
|
373
|
-
## [6.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.3.0) (2019-07-07)
|
|
374
|
-
|
|
375
|
-
#### 🚀 Features
|
|
376
|
-
|
|
377
|
-
- enable TS strict compiler flags (refactor) ([0430d01](https://github.com/thi-ng/umbrella/commit/0430d01))
|
|
378
|
-
- add missing return types for IEnable, IGet, IGetIn
|
|
379
|
-
- update mixins, add private interfaces
|
|
380
|
-
- update assert() message arg types ([6137b48](https://github.com/thi-ng/umbrella/commit/6137b48))
|
|
381
|
-
- add support for supplying message as no-arg fn to delay
|
|
382
|
-
execution of template string literals
|
|
383
|
-
- add Select2/3/4 conditional types ([a4bfb88](https://github.com/thi-ng/umbrella/commit/a4bfb88))
|
|
384
|
-
|
|
385
|
-
#### ♻️ Refactoring
|
|
386
|
-
|
|
387
|
-
- update IEnable mixin (strictNullChecks) ([525ad0d](https://github.com/thi-ng/umbrella/commit/525ad0d))
|
|
388
|
-
- update IStack return types (TS strictNullChecks flag) ([daf1f4c](https://github.com/thi-ng/umbrella/commit/daf1f4c))
|
|
389
|
-
|
|
390
|
-
## [6.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.2.0) (2019-05-22)
|
|
391
|
-
|
|
392
|
-
#### 🚀 Features
|
|
393
|
-
|
|
394
|
-
- add Type enum, IntArray, UIntArray, FloatArray, SIZEOF ([b0c44fe](https://github.com/thi-ng/umbrella/commit/b0c44fe))
|
|
395
|
-
|
|
396
|
-
### [6.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.1.1) (2019-04-26)
|
|
397
|
-
|
|
398
|
-
#### 🩹 Bug fixes
|
|
399
|
-
|
|
400
|
-
- make LogLevel non-const enum, minor fix ConsoleLogger ([88d5e9d](https://github.com/thi-ng/umbrella/commit/88d5e9d))
|
|
401
|
-
|
|
402
|
-
## [6.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.1.0) (2019-04-24)
|
|
403
|
-
|
|
404
|
-
#### 🚀 Features
|
|
405
|
-
|
|
406
|
-
- add common logging types & default impls ([4578604](https://github.com/thi-ng/umbrella/commit/4578604))
|
|
407
|
-
- add ILogger interface, LogLevel enum
|
|
408
|
-
- add NULL_LOGGER & ConsoleLogger
|
|
409
|
-
- update ILogger, freeze NULL_LOGGER ([27ff8de](https://github.com/thi-ng/umbrella/commit/27ff8de))
|
|
410
|
-
|
|
411
|
-
# [6.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.0.0) (2019-03-28)
|
|
412
|
-
|
|
413
|
-
#### 🛑 Breaking changes
|
|
414
|
-
|
|
415
|
-
- add new types, update existing ([560eb90](https://github.com/thi-ng/umbrella/commit/560eb90))
|
|
416
|
-
- add Keys* & Val* types
|
|
417
|
-
- add ArrayLikeIterable
|
|
418
|
-
- add Primitive
|
|
419
|
-
- add Tuple, IterableTuple
|
|
420
|
-
- BREAKING CHANGE: split up, remove & update various interfaces
|
|
421
|
-
- split IAssociative => IAssoc, IAssocIn
|
|
422
|
-
- update IDissoc, add IDissocIn
|
|
423
|
-
- split IGet => IGet, IGetIn
|
|
424
|
-
- update IInto generics & return type
|
|
425
|
-
- update ISet, remove IImmutableSet
|
|
426
|
-
- update IStack, remove IImmutableStack
|
|
427
|
-
|
|
428
|
-
## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@5.1.0) (2019-03-10)
|
|
429
|
-
|
|
430
|
-
#### 🚀 Features
|
|
431
|
-
|
|
432
|
-
- add additional Fn arities ([33c7dfe](https://github.com/thi-ng/umbrella/commit/33c7dfe))
|
|
433
|
-
- add more Fn type aliases, update existing ([3707e61](https://github.com/thi-ng/umbrella/commit/3707e61))
|
|
434
|
-
|
|
435
|
-
#### ♻️ Refactoring
|
|
436
|
-
|
|
437
|
-
- update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
|
|
438
|
-
|
|
439
|
-
# [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@5.0.0) (2019-01-21)
|
|
440
|
-
|
|
441
|
-
#### 🛑 Breaking changes
|
|
442
|
-
|
|
443
|
-
- update package build scripts / outputs ([f913d7b](https://github.com/thi-ng/umbrella/commit/f913d7b))
|
|
444
|
-
- BREAKING CHANGE: rename mixins to avoid name clashes, update decorators
|
|
445
|
-
- append `Mixin` suffix to all mixins (i.e. `INotify` => `INotifyMixin`)
|
|
446
|
-
- update re-exports of mixins & decorators (no more nested child namespace)
|
|
447
|
-
|
|
448
|
-
#### 🩹 Bug fixes
|
|
449
|
-
|
|
450
|
-
- update assert(), re-export mixin() ([9f91cfa](https://github.com/thi-ng/umbrella/commit/9f91cfa))
|
|
451
|
-
|
|
452
|
-
## [4.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@4.2.0) (2018-09-22)
|
|
453
|
-
|
|
454
|
-
#### 🚀 Features
|
|
455
|
-
|
|
456
|
-
- add `IToHiccup` interface ([e390a54](https://github.com/thi-ng/umbrella/commit/e390a54))
|
|
457
|
-
|
|
458
|
-
## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@4.1.0) (2018-08-24)
|
|
459
|
-
|
|
460
|
-
#### 🚀 Features
|
|
461
|
-
|
|
462
|
-
- add new/move type aliases into api.ts ([cf30ba2](https://github.com/thi-ng/umbrella/commit/cf30ba2))
|
|
463
|
-
- Fn, FnAny, Pair, SEMAPHORE
|
|
464
|
-
- add NumericArray and TypedArray types ([519394b](https://github.com/thi-ng/umbrella/commit/519394b))
|
|
465
|
-
|
|
466
|
-
### [4.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@4.0.6) (2018-08-01)
|
|
467
|
-
|
|
468
|
-
#### ♻️ Refactoring
|
|
469
|
-
|
|
470
|
-
- TS3.0 PropertyKey handling ([2047807](https://github.com/thi-ng/umbrella/commit/2047807))
|
|
471
|
-
|
|
472
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@4.0.0) (2018-05-12)
|
|
473
|
-
|
|
474
|
-
#### 🛑 Breaking changes
|
|
475
|
-
|
|
476
|
-
- update interfaces, add docs ([9b38860](https://github.com/thi-ng/umbrella/commit/9b38860))
|
|
477
|
-
- BREAKING CHANGE: IBind, IEnable now include generics,
|
|
478
|
-
update IIndexed, IMeta, ISet, IStack
|
|
479
|
-
- add IInto
|
|
480
|
-
- add IImmutableSet
|
|
481
|
-
- add IImmutableStack
|
|
482
|
-
- minor update IEnabled mixin
|
|
483
|
-
|
|
484
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@3.0.0) (2018-05-10)
|
|
485
|
-
|
|
486
|
-
#### 🛑 Breaking changes
|
|
487
|
-
|
|
488
|
-
- remove obsolete files from package ([f051ca3](https://github.com/thi-ng/umbrella/commit/f051ca3))
|
|
489
|
-
- BREAKING CHANGE: [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) now only contains type declarations,
|
|
490
|
-
decorators and mixins. All other features have been moved
|
|
491
|
-
to new dedicated packages:
|
|
492
|
-
- [@thi.ng/bench](https://github.com/thi-ng/umbrella/tree/main/packages/bench)
|
|
493
|
-
- [@thi.ng/compare](https://github.com/thi-ng/umbrella/tree/main/packages/compare)
|
|
494
|
-
- [@thi.ng/equiv](https://github.com/thi-ng/umbrella/tree/main/packages/equiv)
|
|
495
|
-
- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/main/packages/errors)
|
|
496
|
-
|
|
497
|
-
### [2.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.3.1) (2018-04-29)
|
|
498
|
-
|
|
499
|
-
#### ⏱ Performance improvements
|
|
500
|
-
|
|
501
|
-
- major speedup equivObject(), update equivSet() ([7fdf172](https://github.com/thi-ng/umbrella/commit/7fdf172))
|
|
502
|
-
- equivSet() now only checks keys
|
|
503
|
-
- add equivMap() to check full entries/pairs
|
|
504
|
-
|
|
505
|
-
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.3.0) (2018-04-26)
|
|
506
|
-
|
|
507
|
-
#### 🚀 Features
|
|
508
|
-
|
|
509
|
-
- support more types in equiv(), add tests ([2ac8bff](https://github.com/thi-ng/umbrella/commit/2ac8bff))
|
|
510
|
-
- add equivSetLike() for ES6 Set/Map
|
|
511
|
-
- add checks for Date, RegExp & NaN
|
|
512
|
-
|
|
513
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.2.0) (2018-04-08)
|
|
514
|
-
|
|
515
|
-
#### 🚀 Features
|
|
516
|
-
|
|
517
|
-
- add bench() & timed() utils ([d310345](https://github.com/thi-ng/umbrella/commit/d310345))
|
|
518
|
-
|
|
519
|
-
### [2.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.1.1) (2018-03-28)
|
|
520
|
-
|
|
521
|
-
#### 🩹 Bug fixes
|
|
522
|
-
|
|
523
|
-
- illegalState() creates IllegalStateError ([2b7e99b](https://github.com/thi-ng/umbrella/commit/2b7e99b))
|
|
524
|
-
|
|
525
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.1.0) (2018-03-21)
|
|
526
|
-
|
|
527
|
-
#### 🚀 Features
|
|
528
|
-
|
|
529
|
-
- add error types & ctor fns ([4d3785f](https://github.com/thi-ng/umbrella/commit/4d3785f))
|
|
530
|
-
|
|
531
|
-
#### ♻️ Refactoring
|
|
532
|
-
|
|
533
|
-
- update mixins, IEnable / INotify return types ([fbb19ac](https://github.com/thi-ng/umbrella/commit/fbb19ac))
|
|
534
|
-
|
|
535
|
-
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.0.1) (2018-02-02)
|
|
536
|
-
|
|
537
|
-
#### 🩹 Bug fixes
|
|
538
|
-
|
|
539
|
-
- update compare() & equiv() ([110a9de](https://github.com/thi-ng/umbrella/commit/110a9de))
|
|
540
|
-
|
|
541
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@2.0.0) (2018-02-01)
|
|
542
|
-
|
|
543
|
-
#### 🛑 Breaking changes
|
|
544
|
-
|
|
545
|
-
- update equiv() null handling, add tests ([878520e](https://github.com/thi-ng/umbrella/commit/878520e))
|
|
546
|
-
- BREAKING CHANGE: equiv now treats null & undefined as equal
|
|
547
|
-
|
|
548
|
-
#### 🩹 Bug fixes
|
|
549
|
-
|
|
550
|
-
- fix equiv string handling, update tests ([1354e29](https://github.com/thi-ng/umbrella/commit/1354e29))
|
|
551
|
-
|
|
552
|
-
## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@1.5.0) (2018-01-31)
|
|
553
|
-
|
|
554
|
-
#### 🚀 Features
|
|
555
|
-
|
|
556
|
-
- add Predicate2 & StatefulPredicate2 types ([fbf8453](https://github.com/thi-ng/umbrella/commit/fbf8453))
|
|
557
|
-
|
|
558
|
-
## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@1.4.0) (2018-01-29)
|
|
559
|
-
|
|
560
|
-
#### 🚀 Features
|
|
561
|
-
|
|
562
|
-
- update IWatch & mixin, boolean returns ([bddd5ce](https://github.com/thi-ng/umbrella/commit/bddd5ce))
|
|
563
|
-
|
|
564
|
-
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@1.3.0) (2018-01-28)
|
|
565
|
-
|
|
566
|
-
#### 🚀 Features
|
|
567
|
-
|
|
568
|
-
- add StatefulPredicate ([c74353b](https://github.com/thi-ng/umbrella/commit/c74353b))
|
|
569
|
-
|
|
570
|
-
### [1.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@1.2.1) (2018-01-24)
|
|
571
|
-
|
|
572
|
-
#### 🚀 Features
|
|
573
|
-
|
|
574
|
-
- initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/api",
|
|
3
|
-
"version": "8.11.
|
|
3
|
+
"version": "8.11.19",
|
|
4
4
|
"description": "Common, generic types, interfaces & mixins",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,17 +36,15 @@
|
|
|
36
36
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
37
37
|
"clean": "bun ../../tools/src/clean-package.ts decorators mixins",
|
|
38
38
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
39
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
40
39
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
41
40
|
"pub": "yarn npm publish --access public",
|
|
42
41
|
"test": "bun test",
|
|
43
42
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
47
45
|
"esbuild": "^0.24.2",
|
|
48
46
|
"typedoc": "^0.27.6",
|
|
49
|
-
"typescript": "^5.7.
|
|
47
|
+
"typescript": "^5.7.3"
|
|
50
48
|
},
|
|
51
49
|
"keywords": [
|
|
52
50
|
"constants",
|
|
@@ -232,5 +230,5 @@
|
|
|
232
230
|
"default": "./watch.js"
|
|
233
231
|
}
|
|
234
232
|
},
|
|
235
|
-
"gitHead": "
|
|
233
|
+
"gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
|
|
236
234
|
}
|