@thi.ng/api 8.4.5 → 8.4.6

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 (3) hide show
  1. package/CHANGELOG.md +53 -53
  2. package/README.md +0 -13
  3. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-01T12:32:51Z
3
+ - **Last updated**: 2022-11-23T22:46:54Z
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.
@@ -66,33 +66,21 @@ and/or version bumps of transitive dependencies.
66
66
 
67
67
  #### 🚀 Features
68
68
 
69
- - add asInt() coercion helper ([49cd772](https://github.com/thi-ng/umbrella/commit/49cd772))
70
69
  - add IGrid2D/3D interfaces ([e57ad7e](https://github.com/thi-ng/umbrella/commit/e57ad7e))
70
+ - add asInt() coercion helper ([49cd772](https://github.com/thi-ng/umbrella/commit/49cd772))
71
71
 
72
72
  ### [8.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.0.1) (2021-10-13)
73
73
 
74
74
  #### ♻️ Refactoring
75
75
 
76
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
77
76
  - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
78
77
  - add .js suffix for all relative imports
78
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
79
79
 
80
80
  # [8.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.0.0) (2021-10-12)
81
81
 
82
82
  #### 🛑 Breaking changes
83
83
 
84
- - major pkg restructure ([98e286d](https://github.com/thi-ng/umbrella/commit/98e286d))
85
- - BREAKING CHANGE: major pkg restructure, migrations
86
- - migrate logging related types/classes to new [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/main/packages/logger) pkg
87
- - see [e0399a8f6](https://github.com/thi-ng/umbrella/commit/e0399a8f6) for details
88
- - migrate `exposeGlobal()` to new [@thi.ng/expose](https://github.com/thi-ng/umbrella/tree/main/packages/expose) pkg
89
- - see [323995fd7](https://github.com/thi-ng/umbrella/commit/323995fd7) for details
90
- - lift /api source files to main /src folder for easier import
91
- - this pkg now only contains type defs, constants, decorators and mixins
92
- all other functionality migrated to other packages...
93
- - remove obsolete assert() ([5f6ec5c](https://github.com/thi-ng/umbrella/commit/5f6ec5c))
94
- - BREAKING CHANGE: assert() moved to [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/main/packages/errors) pkg
95
- - see [7030a6aec](https://github.com/thi-ng/umbrella/commit/7030a6aec) for details
96
84
  - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
97
85
  - BREAKING CHANGE: discontinue CommonJS & UMD versions
98
86
  - only ESM modules will be published from now on
@@ -105,18 +93,30 @@ and/or version bumps of transitive dependencies.
105
93
  - normalize/restructure/reorg all package.json files
106
94
  - cleanup all build scripts, remove obsolete
107
95
  - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
96
+ - remove obsolete assert() ([5f6ec5c](https://github.com/thi-ng/umbrella/commit/5f6ec5c))
97
+ - BREAKING CHANGE: assert() moved to [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/main/packages/errors) pkg
98
+ - see [7030a6aec](https://github.com/thi-ng/umbrella/commit/7030a6aec) for details
99
+ - major pkg restructure ([98e286d](https://github.com/thi-ng/umbrella/commit/98e286d))
100
+ - BREAKING CHANGE: major pkg restructure, migrations
101
+ - migrate logging related types/classes to new [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/main/packages/logger) pkg
102
+ - see [e0399a8f6](https://github.com/thi-ng/umbrella/commit/e0399a8f6) for details
103
+ - migrate `exposeGlobal()` to new [@thi.ng/expose](https://github.com/thi-ng/umbrella/tree/main/packages/expose) pkg
104
+ - see [323995fd7](https://github.com/thi-ng/umbrella/commit/323995fd7) for details
105
+ - lift /api source files to main /src folder for easier import
106
+ - this pkg now only contains type defs, constants, decorators and mixins
107
+ all other functionality migrated to other packages...
108
108
 
109
109
  #### ♻️ Refactoring
110
110
 
111
- - minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
111
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
112
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
112
113
  - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
113
114
  - largely related to recent updates/restructuring of these packages:
114
115
  - api
115
116
  - defmulti
116
117
  - errors
117
118
  - logger
118
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
119
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
119
+ - minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
120
120
 
121
121
  ## [7.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@7.2.0) (2021-09-03)
122
122
 
@@ -159,9 +159,9 @@ and/or version bumps of transitive dependencies.
159
159
 
160
160
  #### 🚀 Features
161
161
 
162
- - more finely grained typedarray types ([8316d05](https://github.com/thi-ng/umbrella/commit/8316d05))
163
- - add typedArrayType() classifier ([5c81fd8](https://github.com/thi-ng/umbrella/commit/5c81fd8))
164
162
  - add Range type ([5d94974](https://github.com/thi-ng/umbrella/commit/5d94974))
163
+ - add typedArrayType() classifier ([5c81fd8](https://github.com/thi-ng/umbrella/commit/5c81fd8))
164
+ - more finely grained typedarray types ([8316d05](https://github.com/thi-ng/umbrella/commit/8316d05))
165
165
 
166
166
  ### [6.13.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.13.4) (2020-12-07)
167
167
 
@@ -173,8 +173,8 @@ and/or version bumps of transitive dependencies.
173
173
 
174
174
  #### 🚀 Features
175
175
 
176
- - add DeepPartial type ([0d9a0de](https://github.com/thi-ng/umbrella/commit/0d9a0de))
177
176
  - add FnU and FnN function types ([4ba48d0](https://github.com/thi-ng/umbrella/commit/4ba48d0))
177
+ - add DeepPartial type ([0d9a0de](https://github.com/thi-ng/umbrella/commit/0d9a0de))
178
178
 
179
179
  #### 🩹 Bug fixes
180
180
 
@@ -210,13 +210,13 @@ and/or version bumps of transitive dependencies.
210
210
 
211
211
  #### 🚀 Features
212
212
 
213
+ - add Path0-8, PathVal1-8, DeepPath types ([0c76108](https://github.com/thi-ng/umbrella/commit/0c76108))
214
+ - update Path alias, add doc strings ([e2b35bc](https://github.com/thi-ng/umbrella/commit/e2b35bc))
215
+ - add Derefed & DerefedKeys types ([95f1576](https://github.com/thi-ng/umbrella/commit/95f1576))
213
216
  - add optional props in Keys/Val types ([08b88f0](https://github.com/thi-ng/umbrella/commit/08b88f0))
214
217
  - force intermediate props using `Required<T>`
215
218
  - update Keys1-8, Val1-8
216
219
  - update KeysN / ValN
217
- - add Derefed & DerefedKeys types ([95f1576](https://github.com/thi-ng/umbrella/commit/95f1576))
218
- - update Path alias, add doc strings ([e2b35bc](https://github.com/thi-ng/umbrella/commit/e2b35bc))
219
- - add Path0-8, PathVal1-8, DeepPath types ([0c76108](https://github.com/thi-ng/umbrella/commit/0c76108))
220
220
 
221
221
  #### ♻️ Refactoring
222
222
 
@@ -247,28 +247,28 @@ and/or version bumps of transitive dependencies.
247
247
 
248
248
  #### ♻️ Refactoring
249
249
 
250
- - remove obsolete Drop/DropReducer ([5e80c4d](https://github.com/thi-ng/umbrella/commit/5e80c4d))
251
250
  - update IToHiccup, add opt args ([ac35685](https://github.com/thi-ng/umbrella/commit/ac35685))
251
+ - remove obsolete Drop/DropReducer ([5e80c4d](https://github.com/thi-ng/umbrella/commit/5e80c4d))
252
252
 
253
253
  ## [6.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.7.0) (2020-01-24)
254
254
 
255
255
  #### 🚀 Features
256
256
 
257
- - add IReset interface ([d491bd0](https://github.com/thi-ng/umbrella/commit/d491bd0))
258
- - add Drop, TupleLength, update Tuple ([dc79324](https://github.com/thi-ng/umbrella/commit/dc79324))
259
- - added the ReplaceN type ([4da54ae](https://github.com/thi-ng/umbrella/commit/4da54ae))
260
- - added the WithoutN type ([0d13af5](https://github.com/thi-ng/umbrella/commit/0d13af5))
261
- - added the Init type ([f6c333a](https://github.com/thi-ng/umbrella/commit/f6c333a))
262
- - added the Last type ([44ae2f7](https://github.com/thi-ng/umbrella/commit/44ae2f7))
263
- - added the ValN type ([b48623f](https://github.com/thi-ng/umbrella/commit/b48623f))
264
- - added the KeysN type ([e0f0e90](https://github.com/thi-ng/umbrella/commit/e0f0e90))
265
- - added the Reverse type ([88cfaa4](https://github.com/thi-ng/umbrella/commit/88cfaa4))
266
- - added the Prepend type ([7bfe7a8](https://github.com/thi-ng/umbrella/commit/7bfe7a8))
267
- - added the Tail type ([fa59ff3](https://github.com/thi-ng/umbrella/commit/fa59ff3))
268
- - added the Head type ([f000a3d](https://github.com/thi-ng/umbrella/commit/f000a3d))
269
- - add IClear interface ([38f03ff](https://github.com/thi-ng/umbrella/commit/38f03ff))
270
- - add more RangeXX types & RangeValueMap ([654ea53](https://github.com/thi-ng/umbrella/commit/654ea53))
271
257
  - add exposeGlobal(), update assert(), update readme ([7981cc9](https://github.com/thi-ng/umbrella/commit/7981cc9))
258
+ - add more RangeXX types & RangeValueMap ([654ea53](https://github.com/thi-ng/umbrella/commit/654ea53))
259
+ - add IClear interface ([38f03ff](https://github.com/thi-ng/umbrella/commit/38f03ff))
260
+ - added the Head type ([f000a3d](https://github.com/thi-ng/umbrella/commit/f000a3d))
261
+ - added the Tail type ([fa59ff3](https://github.com/thi-ng/umbrella/commit/fa59ff3))
262
+ - added the Prepend type ([7bfe7a8](https://github.com/thi-ng/umbrella/commit/7bfe7a8))
263
+ - added the Reverse type ([88cfaa4](https://github.com/thi-ng/umbrella/commit/88cfaa4))
264
+ - added the KeysN type ([e0f0e90](https://github.com/thi-ng/umbrella/commit/e0f0e90))
265
+ - added the ValN type ([b48623f](https://github.com/thi-ng/umbrella/commit/b48623f))
266
+ - added the Last type ([44ae2f7](https://github.com/thi-ng/umbrella/commit/44ae2f7))
267
+ - added the Init type ([f6c333a](https://github.com/thi-ng/umbrella/commit/f6c333a))
268
+ - added the WithoutN type ([0d13af5](https://github.com/thi-ng/umbrella/commit/0d13af5))
269
+ - added the ReplaceN type ([4da54ae](https://github.com/thi-ng/umbrella/commit/4da54ae))
270
+ - add Drop, TupleLength, update Tuple ([dc79324](https://github.com/thi-ng/umbrella/commit/dc79324))
271
+ - add IReset interface ([d491bd0](https://github.com/thi-ng/umbrella/commit/d491bd0))
272
272
 
273
273
  #### 🩹 Bug fixes
274
274
 
@@ -278,12 +278,12 @@ and/or version bumps of transitive dependencies.
278
278
 
279
279
  #### 🚀 Features
280
280
 
281
- - add WithoutX & ReplaceX types, update KeysX/ValX ([7707370](https://github.com/thi-ng/umbrella/commit/7707370))
282
- - add versions up to arity 8
283
- - add ISeq, ISeqable ([541e9c8](https://github.com/thi-ng/umbrella/commit/541e9c8))
284
281
  - add Uint/Int/FloatType & helpers ([1d3c824](https://github.com/thi-ng/umbrella/commit/1d3c824))
285
282
  - add grouped Type aliases
286
283
  - add uintType() / intType() helpers
284
+ - add ISeq, ISeqable ([541e9c8](https://github.com/thi-ng/umbrella/commit/541e9c8))
285
+ - add WithoutX & ReplaceX types, update KeysX/ValX ([7707370](https://github.com/thi-ng/umbrella/commit/7707370))
286
+ - add versions up to arity 8
287
287
 
288
288
  #### ♻️ Refactoring
289
289
 
@@ -293,16 +293,16 @@ and/or version bumps of transitive dependencies.
293
293
 
294
294
  #### 🚀 Features
295
295
 
296
- - add typedArray() factory, update type mappers, docs ([ac7fa13](https://github.com/thi-ng/umbrella/commit/ac7fa13))
297
- - add RangeXX types ([fc9cf21](https://github.com/thi-ng/umbrella/commit/fc9cf21))
298
296
  - add types, split api.ts into separate files ([b72e664](https://github.com/thi-ng/umbrella/commit/b72e664))
299
297
  - add GLType enum & GL2TYPE / TYPE2GL conversions
300
298
  - add TypedArrayContstructor, TYPEDARRAY_CTORS LUT
299
+ - add RangeXX types ([fc9cf21](https://github.com/thi-ng/umbrella/commit/fc9cf21))
300
+ - add typedArray() factory, update type mappers, docs ([ac7fa13](https://github.com/thi-ng/umbrella/commit/ac7fa13))
301
301
 
302
302
  #### ♻️ Refactoring
303
303
 
304
- - fix [#168](https://github.com/thi-ng/umbrella/issues/168), refactor Range types ([39bf8f1](https://github.com/thi-ng/umbrella/commit/39bf8f1))
305
304
  - update INotifyMixin to clean up listeners ([ed2be64](https://github.com/thi-ng/umbrella/commit/ed2be64))
305
+ - fix [#168](https://github.com/thi-ng/umbrella/issues/168), refactor Range types ([39bf8f1](https://github.com/thi-ng/umbrella/commit/39bf8f1))
306
306
 
307
307
  ## [6.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.4.0) (2019-09-21)
308
308
 
@@ -320,18 +320,18 @@ and/or version bumps of transitive dependencies.
320
320
 
321
321
  #### 🚀 Features
322
322
 
323
- - add Select2/3/4 conditional types ([a4bfb88](https://github.com/thi-ng/umbrella/commit/a4bfb88))
324
- - update assert() message arg types ([6137b48](https://github.com/thi-ng/umbrella/commit/6137b48))
325
- - add support for supplying message as no-arg fn to delay
326
- execution of template string literals
327
323
  - enable TS strict compiler flags (refactor) ([0430d01](https://github.com/thi-ng/umbrella/commit/0430d01))
328
324
  - add missing return types for IEnable, IGet, IGetIn
329
325
  - update mixins, add private interfaces
326
+ - update assert() message arg types ([6137b48](https://github.com/thi-ng/umbrella/commit/6137b48))
327
+ - add support for supplying message as no-arg fn to delay
328
+ execution of template string literals
329
+ - add Select2/3/4 conditional types ([a4bfb88](https://github.com/thi-ng/umbrella/commit/a4bfb88))
330
330
 
331
331
  #### ♻️ Refactoring
332
332
 
333
- - update IStack return types (TS strictNullChecks flag) ([daf1f4c](https://github.com/thi-ng/umbrella/commit/daf1f4c))
334
333
  - update IEnable mixin (strictNullChecks) ([525ad0d](https://github.com/thi-ng/umbrella/commit/525ad0d))
334
+ - update IStack return types (TS strictNullChecks flag) ([daf1f4c](https://github.com/thi-ng/umbrella/commit/daf1f4c))
335
335
 
336
336
  ## [6.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.2.0) (2019-05-22)
337
337
 
@@ -349,10 +349,10 @@ and/or version bumps of transitive dependencies.
349
349
 
350
350
  #### 🚀 Features
351
351
 
352
- - update ILogger, freeze NULL_LOGGER ([27ff8de](https://github.com/thi-ng/umbrella/commit/27ff8de))
353
352
  - add common logging types & default impls ([4578604](https://github.com/thi-ng/umbrella/commit/4578604))
354
353
  - add ILogger interface, LogLevel enum
355
354
  - add NULL_LOGGER & ConsoleLogger
355
+ - update ILogger, freeze NULL_LOGGER ([27ff8de](https://github.com/thi-ng/umbrella/commit/27ff8de))
356
356
 
357
357
  # [6.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@6.0.0) (2019-03-28)
358
358
 
@@ -375,8 +375,8 @@ and/or version bumps of transitive dependencies.
375
375
 
376
376
  #### 🚀 Features
377
377
 
378
- - add more Fn type aliases, update existing ([3707e61](https://github.com/thi-ng/umbrella/commit/3707e61))
379
378
  - add additional Fn arities ([33c7dfe](https://github.com/thi-ng/umbrella/commit/33c7dfe))
379
+ - add more Fn type aliases, update existing ([3707e61](https://github.com/thi-ng/umbrella/commit/3707e61))
380
380
 
381
381
  #### ♻️ Refactoring
382
382
 
@@ -405,9 +405,9 @@ and/or version bumps of transitive dependencies.
405
405
 
406
406
  #### 🚀 Features
407
407
 
408
- - add NumericArray and TypedArray types ([519394b](https://github.com/thi-ng/umbrella/commit/519394b))
409
408
  - add new/move type aliases into api.ts ([cf30ba2](https://github.com/thi-ng/umbrella/commit/cf30ba2))
410
409
  - Fn, FnAny, Pair, SEMAPHORE
410
+ - add NumericArray and TypedArray types ([519394b](https://github.com/thi-ng/umbrella/commit/519394b))
411
411
 
412
412
  ### [4.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@4.0.6) (2018-08-01)
413
413
 
package/README.md CHANGED
@@ -13,7 +13,6 @@ This project is part of the
13
13
  - [Status](#status)
14
14
  - [Installation](#installation)
15
15
  - [Dependencies](#dependencies)
16
- - [Usage examples](#usage-examples)
17
16
  - [API](#api)
18
17
  - [Authors](#authors)
19
18
  - [Maintainer](#maintainer)
@@ -67,18 +66,6 @@ Package sizes (gzipped, pre-treeshake): ESM: 2.33 KB
67
66
 
68
67
  None
69
68
 
70
- ## Usage examples
71
-
72
- Several demos in this repo's
73
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
74
- directory are using this package.
75
-
76
- A selection:
77
-
78
- | Screenshot | Description | Live demo | Source |
79
- |:------------------------------------------------------------------------------------------------------------------|:--------------------------------------------|:-------------------------------------------------|:------------------------------------------------------------------------------|
80
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/zig-canvas.png" width="240"/> | Zig-based DOM creation & canvas drawing app | [Demo](https://demo.thi.ng/umbrella/zig-canvas/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/zig-canvas) |
81
-
82
69
  ## API
83
70
 
84
71
  [Generated API docs](https://docs.thi.ng/umbrella/api/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/api",
3
- "version": "8.4.5",
3
+ "version": "8.4.6",
4
4
  "description": "Common, generic types, interfaces & mixins",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,10 +35,10 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@microsoft/api-extractor": "^7.33.5",
38
- "@thi.ng/testament": "^0.3.4",
38
+ "@thi.ng/testament": "^0.3.5",
39
39
  "rimraf": "^3.0.2",
40
40
  "tools": "^0.0.1",
41
- "typedoc": "^0.23.18",
41
+ "typedoc": "^0.23.20",
42
42
  "typescript": "^4.8.4"
43
43
  },
44
44
  "keywords": [
@@ -62,8 +62,8 @@
62
62
  "node": ">=12.7"
63
63
  },
64
64
  "files": [
65
- "*.js",
66
- "*.d.ts",
65
+ "./*.js",
66
+ "./*.d.ts",
67
67
  "decorators",
68
68
  "mixins"
69
69
  ],
@@ -222,5 +222,5 @@
222
222
  "default": "./watch.js"
223
223
  }
224
224
  },
225
- "gitHead": "a4b60163a8caddceed5ec1b6b3584d164f61e7b6\n"
225
+ "gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
226
226
  }