@thi.ng/api 8.12.5 → 8.12.7

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/package.json +236 -235
  2. package/CHANGELOG.md +0 -88
package/package.json CHANGED
@@ -1,236 +1,237 @@
1
1
  {
2
- "name": "@thi.ng/api",
3
- "version": "8.12.5",
4
- "description": "Common, generic types, interfaces & mixins",
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://thi.ng/api",
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
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "contributors": [
30
- "Matei Adriel (https://github.com/Mateiadrielrafael)"
31
- ],
32
- "license": "Apache-2.0",
33
- "scripts": {
34
- "build": "yarn build:esbuild && yarn build:decl",
35
- "build:decl": "tsc --declaration --emitDeclarationOnly",
36
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
37
- "clean": "bun ../../tools/src/clean-package.ts decorators mixins",
38
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
39
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
40
- "pub": "yarn npm publish --access public",
41
- "test": "bun test",
42
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
43
- },
44
- "devDependencies": {
45
- "esbuild": "^0.25.11",
46
- "typedoc": "^0.28.14",
47
- "typescript": "^5.9.3"
48
- },
49
- "keywords": [
50
- "constants",
51
- "decorators",
52
- "generic",
53
- "interfaces",
54
- "mixins",
55
- "typedarray",
56
- "types",
57
- "typescript"
58
- ],
59
- "publishConfig": {
60
- "access": "public"
61
- },
62
- "browser": {
63
- "process": false,
64
- "setTimeout": false
65
- },
66
- "engines": {
67
- "node": ">=18"
68
- },
69
- "files": [
70
- "./*.js",
71
- "./*.d.ts",
72
- "decorators",
73
- "mixins"
74
- ],
75
- "exports": {
76
- ".": {
77
- "default": "./index.js"
78
- },
79
- "./api": {
80
- "default": "./api.js"
81
- },
82
- "./assoc": {
83
- "default": "./assoc.js"
84
- },
85
- "./async": {
86
- "default": "./async.js"
87
- },
88
- "./bind": {
89
- "default": "./bind.js"
90
- },
91
- "./buffered": {
92
- "default": "./buffered.js"
93
- },
94
- "./clear": {
95
- "default": "./clear.js"
96
- },
97
- "./compare": {
98
- "default": "./compare.js"
99
- },
100
- "./contains": {
101
- "default": "./contains.js"
102
- },
103
- "./copy": {
104
- "default": "./copy.js"
105
- },
106
- "./decorators/configurable": {
107
- "default": "./decorators/configurable.js"
108
- },
109
- "./decorators/deprecated": {
110
- "default": "./decorators/deprecated.js"
111
- },
112
- "./decorators/nomixin": {
113
- "default": "./decorators/nomixin.js"
114
- },
115
- "./decorators/sealed": {
116
- "default": "./decorators/sealed.js"
117
- },
118
- "./deref": {
119
- "default": "./deref.js"
120
- },
121
- "./dissoc": {
122
- "default": "./dissoc.js"
123
- },
124
- "./empty": {
125
- "default": "./empty.js"
126
- },
127
- "./enable": {
128
- "default": "./enable.js"
129
- },
130
- "./equiv": {
131
- "default": "./equiv.js"
132
- },
133
- "./event": {
134
- "default": "./event.js"
135
- },
136
- "./fn": {
137
- "default": "./fn.js"
138
- },
139
- "./get": {
140
- "default": "./get.js"
141
- },
142
- "./grid": {
143
- "default": "./grid.js"
144
- },
145
- "./hash": {
146
- "default": "./hash.js"
147
- },
148
- "./hiccup": {
149
- "default": "./hiccup.js"
150
- },
151
- "./id": {
152
- "default": "./id.js"
153
- },
154
- "./indexed": {
155
- "default": "./indexed.js"
156
- },
157
- "./into": {
158
- "default": "./into.js"
159
- },
160
- "./keyval": {
161
- "default": "./keyval.js"
162
- },
163
- "./length": {
164
- "default": "./length.js"
165
- },
166
- "./meta": {
167
- "default": "./meta.js"
168
- },
169
- "./mixin": {
170
- "default": "./mixin.js"
171
- },
172
- "./mixins/ienable": {
173
- "default": "./mixins/ienable.js"
174
- },
175
- "./mixins/igrid": {
176
- "default": "./mixins/igrid.js"
177
- },
178
- "./mixins/inotify": {
179
- "default": "./mixins/inotify.js"
180
- },
181
- "./mixins/iterable": {
182
- "default": "./mixins/iterable.js"
183
- },
184
- "./mixins/iwatch": {
185
- "default": "./mixins/iwatch.js"
186
- },
187
- "./null": {
188
- "default": "./null.js"
189
- },
190
- "./object": {
191
- "default": "./object.js"
192
- },
193
- "./path": {
194
- "default": "./path.js"
195
- },
196
- "./predicate": {
197
- "default": "./predicate.js"
198
- },
199
- "./prim": {
200
- "default": "./prim.js"
201
- },
202
- "./range": {
203
- "default": "./range.js"
204
- },
205
- "./release": {
206
- "default": "./release.js"
207
- },
208
- "./reset": {
209
- "default": "./reset.js"
210
- },
211
- "./select": {
212
- "default": "./select.js"
213
- },
214
- "./seq": {
215
- "default": "./seq.js"
216
- },
217
- "./set": {
218
- "default": "./set.js"
219
- },
220
- "./stack": {
221
- "default": "./stack.js"
222
- },
223
- "./tuple": {
224
- "default": "./tuple.js"
225
- },
226
- "./typedarray": {
227
- "default": "./typedarray.js"
228
- },
229
- "./watch": {
230
- "default": "./watch.js"
231
- }
232
- },
233
- "thi.ng": {
234
- "tag": "none"
235
- }
236
- }
2
+ "name": "@thi.ng/api",
3
+ "version": "8.12.7",
4
+ "description": "Common, generic types, interfaces & mixins",
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://thi.ng/api",
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
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "contributors": [
30
+ "Matei Adriel (https://github.com/Mateiadrielrafael)"
31
+ ],
32
+ "license": "Apache-2.0",
33
+ "scripts": {
34
+ "build": "yarn build:esbuild && yarn build:decl",
35
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
36
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
37
+ "clean": "bun ../../tools/src/clean-package.ts decorators mixins",
38
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
39
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
40
+ "pub": "npm publish --access public",
41
+ "test": "bun test",
42
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
43
+ },
44
+ "devDependencies": {
45
+ "esbuild": "^0.25.11",
46
+ "typedoc": "^0.28.14",
47
+ "typescript": "^5.9.3"
48
+ },
49
+ "keywords": [
50
+ "constants",
51
+ "decorators",
52
+ "generic",
53
+ "interfaces",
54
+ "mixins",
55
+ "typedarray",
56
+ "types",
57
+ "typescript"
58
+ ],
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "browser": {
63
+ "process": false,
64
+ "setTimeout": false
65
+ },
66
+ "engines": {
67
+ "node": ">=18"
68
+ },
69
+ "files": [
70
+ "./*.js",
71
+ "./*.d.ts",
72
+ "decorators",
73
+ "mixins"
74
+ ],
75
+ "exports": {
76
+ ".": {
77
+ "default": "./index.js"
78
+ },
79
+ "./api": {
80
+ "default": "./api.js"
81
+ },
82
+ "./assoc": {
83
+ "default": "./assoc.js"
84
+ },
85
+ "./async": {
86
+ "default": "./async.js"
87
+ },
88
+ "./bind": {
89
+ "default": "./bind.js"
90
+ },
91
+ "./buffered": {
92
+ "default": "./buffered.js"
93
+ },
94
+ "./clear": {
95
+ "default": "./clear.js"
96
+ },
97
+ "./compare": {
98
+ "default": "./compare.js"
99
+ },
100
+ "./contains": {
101
+ "default": "./contains.js"
102
+ },
103
+ "./copy": {
104
+ "default": "./copy.js"
105
+ },
106
+ "./decorators/configurable": {
107
+ "default": "./decorators/configurable.js"
108
+ },
109
+ "./decorators/deprecated": {
110
+ "default": "./decorators/deprecated.js"
111
+ },
112
+ "./decorators/nomixin": {
113
+ "default": "./decorators/nomixin.js"
114
+ },
115
+ "./decorators/sealed": {
116
+ "default": "./decorators/sealed.js"
117
+ },
118
+ "./deref": {
119
+ "default": "./deref.js"
120
+ },
121
+ "./dissoc": {
122
+ "default": "./dissoc.js"
123
+ },
124
+ "./empty": {
125
+ "default": "./empty.js"
126
+ },
127
+ "./enable": {
128
+ "default": "./enable.js"
129
+ },
130
+ "./equiv": {
131
+ "default": "./equiv.js"
132
+ },
133
+ "./event": {
134
+ "default": "./event.js"
135
+ },
136
+ "./fn": {
137
+ "default": "./fn.js"
138
+ },
139
+ "./get": {
140
+ "default": "./get.js"
141
+ },
142
+ "./grid": {
143
+ "default": "./grid.js"
144
+ },
145
+ "./hash": {
146
+ "default": "./hash.js"
147
+ },
148
+ "./hiccup": {
149
+ "default": "./hiccup.js"
150
+ },
151
+ "./id": {
152
+ "default": "./id.js"
153
+ },
154
+ "./indexed": {
155
+ "default": "./indexed.js"
156
+ },
157
+ "./into": {
158
+ "default": "./into.js"
159
+ },
160
+ "./keyval": {
161
+ "default": "./keyval.js"
162
+ },
163
+ "./length": {
164
+ "default": "./length.js"
165
+ },
166
+ "./meta": {
167
+ "default": "./meta.js"
168
+ },
169
+ "./mixin": {
170
+ "default": "./mixin.js"
171
+ },
172
+ "./mixins/ienable": {
173
+ "default": "./mixins/ienable.js"
174
+ },
175
+ "./mixins/igrid": {
176
+ "default": "./mixins/igrid.js"
177
+ },
178
+ "./mixins/inotify": {
179
+ "default": "./mixins/inotify.js"
180
+ },
181
+ "./mixins/iterable": {
182
+ "default": "./mixins/iterable.js"
183
+ },
184
+ "./mixins/iwatch": {
185
+ "default": "./mixins/iwatch.js"
186
+ },
187
+ "./null": {
188
+ "default": "./null.js"
189
+ },
190
+ "./object": {
191
+ "default": "./object.js"
192
+ },
193
+ "./path": {
194
+ "default": "./path.js"
195
+ },
196
+ "./predicate": {
197
+ "default": "./predicate.js"
198
+ },
199
+ "./prim": {
200
+ "default": "./prim.js"
201
+ },
202
+ "./range": {
203
+ "default": "./range.js"
204
+ },
205
+ "./release": {
206
+ "default": "./release.js"
207
+ },
208
+ "./reset": {
209
+ "default": "./reset.js"
210
+ },
211
+ "./select": {
212
+ "default": "./select.js"
213
+ },
214
+ "./seq": {
215
+ "default": "./seq.js"
216
+ },
217
+ "./set": {
218
+ "default": "./set.js"
219
+ },
220
+ "./stack": {
221
+ "default": "./stack.js"
222
+ },
223
+ "./tuple": {
224
+ "default": "./tuple.js"
225
+ },
226
+ "./typedarray": {
227
+ "default": "./typedarray.js"
228
+ },
229
+ "./watch": {
230
+ "default": "./watch.js"
231
+ }
232
+ },
233
+ "thi.ng": {
234
+ "tag": "none"
235
+ },
236
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
237
+ }
package/CHANGELOG.md DELETED
@@ -1,88 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-10-24T14:17:50Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
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.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ## [8.12.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.12.0) (2025-08-04)
15
-
16
- #### 🚀 Features
17
-
18
- - add optional generics for typedarray types (TS5.9 induced) ([2af1b1e](https://github.com/thi-ng/umbrella/commit/2af1b1e))
19
-
20
- ### [8.11.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.11.3) (2024-06-21)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - rename various rest args to be more semantically meaningful ([8088a56](https://github.com/thi-ng/umbrella/commit/8088a56))
25
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
26
-
27
- ## [8.11.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.11.0) (2024-04-20)
28
-
29
- #### 🚀 Features
30
-
31
- - add Maybe type alias, refactor related ([0777d33](https://github.com/thi-ng/umbrella/commit/0777d33))
32
-
33
- ## [8.10.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.10.0) (2024-04-08)
34
-
35
- #### 🚀 Features
36
-
37
- - add async types ([35ad820](https://github.com/thi-ng/umbrella/commit/35ad820))
38
- - add async function types ([afb4200](https://github.com/thi-ng/umbrella/commit/afb4200))
39
- - add Values<T> ([8a799ea](https://github.com/thi-ng/umbrella/commit/8a799ea))
40
-
41
- ## [8.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.9.0) (2023-08-04)
42
-
43
- #### 🚀 Features
44
-
45
- - add generics for Event & INotify ([7702882](https://github.com/thi-ng/umbrella/commit/7702882))
46
- - add basic utility functions: identity, always, never ([4801e2d](https://github.com/thi-ng/umbrella/commit/4801e2d))
47
- - add generics for INotify, Event, Listener types ([dd0a6ed](https://github.com/thi-ng/umbrella/commit/dd0a6ed))
48
- - add IIDGen interface ([26cf9d1](https://github.com/thi-ng/umbrella/commit/26cf9d1))
49
-
50
- ## [8.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.8.0) (2023-04-19)
51
-
52
- #### 🚀 Features
53
-
54
- - add typedArrayOfVec() ([39307bf](https://github.com/thi-ng/umbrella/commit/39307bf))
55
-
56
- ## [8.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.7.0) (2023-02-05)
57
-
58
- #### 🚀 Features
59
-
60
- - add narrow/widenType() fns ([5ce9938](https://github.com/thi-ng/umbrella/commit/5ce9938))
61
-
62
- ## [8.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.6.0) (2022-12-16)
63
-
64
- #### 🚀 Features
65
-
66
- - add SomeRequired type alias ([ff28e71](https://github.com/thi-ng/umbrella/commit/ff28e71))
67
-
68
- ## [8.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.5.0) (2022-11-28)
69
-
70
- #### 🚀 Features
71
-
72
- - add boolean result for INotifiy.notify(), update mixin ([f4cb33a](https://github.com/thi-ng/umbrella/commit/f4cb33a))
73
-
74
- ### [8.4.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.4.5) (2022-11-01)
75
-
76
- #### 🩹 Bug fixes
77
-
78
- - off-by-one error for BIT_SHIFTS LUT (f64) ([dae2279](https://github.com/thi-ng/umbrella/commit/dae2279))
79
-
80
- ## [8.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.4.0) (2022-08-15)
81
-
82
- #### 🚀 Features
83
-
84
- - add i64/u64 support for typed arrays ([0bb5277](https://github.com/thi-ng/umbrella/commit/0bb5277))
85
- - add various 64bit bigint related types & lookups
86
- - add BIT_SHIFTS LUT
87
- - update sizeOf()
88
- - update typedArray()