@thi.ng/checks 3.6.20 → 3.6.22

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 +3 -235
  2. package/README.md +1 -1
  3. package/package.json +4 -6
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:52Z
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
@@ -62,237 +64,3 @@ and/or version bumps of transitive dependencies.
62
64
  #### 🚀 Features
63
65
 
64
66
  - add isBigInt(), update pkg/readme ([bb6d833](https://github.com/thi-ng/umbrella/commit/bb6d833))
65
-
66
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.1.0) (2021-11-17)
67
-
68
- #### 🚀 Features
69
-
70
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
71
- Improving the overall build ergonomics
72
- - introduced a tools workspaces
73
- - imported it in all needed packages/examples
74
- - inclusive project root
75
-
76
- #### ♻️ Refactoring
77
-
78
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
79
- this commit reverts (partly) changes made in:
80
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
81
- overall purpose is better testament ergonomics:
82
- instead of having to pass NODE_OPTIONS with every invocation
83
- having a binary to handle this for us.
84
-
85
- ### [3.0.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.7) (2021-11-10)
86
-
87
- #### 🩹 Bug fixes
88
-
89
- - add boolean to isPrimitive() ([fde4d2b](https://github.com/thi-ng/umbrella/commit/fde4d2b))
90
-
91
- ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.1) (2021-10-13)
92
-
93
- #### ♻️ Refactoring
94
-
95
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
96
- - add .js suffix for all relative imports
97
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
98
-
99
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.0) (2021-10-12)
100
-
101
- #### 🛑 Breaking changes
102
-
103
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
104
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
105
- - only ESM modules will be published from now on
106
- - CJS obsolete due to ESM support in recent versions of node:
107
- - i.e. launch NodeJS via:
108
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
109
- - in the node REPL use `await import(...)` instead of `require()`
110
- - UMD obsolete due to widespread browser support for ESM
111
- Also:
112
- - normalize/restructure/reorg all package.json files
113
- - cleanup all build scripts, remove obsolete
114
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
115
-
116
- #### ♻️ Refactoring
117
-
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)
120
-
121
- ### [2.9.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.9.6) (2021-04-03)
122
-
123
- #### ♻️ Refactoring
124
-
125
- - add implementsFunction() generics ([63d78cb](https://github.com/thi-ng/umbrella/commit/63d78cb))
126
-
127
- ## [2.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.9.0) (2021-02-20)
128
-
129
- #### 🚀 Features
130
-
131
- - replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b84))
132
- - isPrototypePolluted() assumed given string is a single property
133
- name, but could be a `.` separated lookup path. New function
134
- checks for that and also supports arrays
135
- - add tests
136
- - add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc80))
137
-
138
- ## [2.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.8.0) (2021-01-10)
139
-
140
- #### 🚀 Features
141
-
142
- - add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c1))
143
-
144
- ### [2.7.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.9) (2020-09-22)
145
-
146
- #### ♻️ Refactoring
147
-
148
- - update isNode() ([e988d0d](https://github.com/thi-ng/umbrella/commit/e988d0d))
149
-
150
- ### [2.7.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.3) (2020-07-02)
151
-
152
- #### 🩹 Bug fixes
153
-
154
- - update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d))
155
-
156
- ## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.0) (2020-05-14)
157
-
158
- #### 🚀 Features
159
-
160
- - add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9))
161
-
162
- ## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.6.0) (2020-03-28)
163
-
164
- #### 🚀 Features
165
-
166
- - add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba52))
167
- - add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8))
168
- - add isAlpha(), isAlphaNum(), isNumeric()
169
- - add isASCII(), isPrintableASCII()
170
- - add isDataURL()
171
- - add isFloatString(), isIntString()
172
- - add isHex()
173
-
174
- #### 🩹 Bug fixes
175
-
176
- - typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1))
177
-
178
- ## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.5.0) (2020-01-24)
179
-
180
- #### 🚀 Features
181
-
182
- - add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed))
183
-
184
- ## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.4.0) (2019-09-21)
185
-
186
- #### 🚀 Features
187
-
188
- - add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9))
189
-
190
- ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.3.0) (2019-08-16)
191
-
192
- #### 🚀 Features
193
-
194
- - isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e))
195
-
196
- #### 🩹 Bug fixes
197
-
198
- - test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20))
199
- - better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981))
200
- - fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408))
201
-
202
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.2.0) (2019-07-07)
203
-
204
- #### 🚀 Features
205
-
206
- - enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7))
207
-
208
- #### 🩹 Bug fixes
209
-
210
- - isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48))
211
-
212
- ### [2.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.1.2) (2019-03-12)
213
-
214
- #### 🩹 Bug fixes
215
-
216
- - fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a))
217
- - add/update tests
218
- - add AUTHORS.md
219
-
220
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.1.0) (2019-02-10)
221
-
222
- #### 🚀 Features
223
-
224
- - add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e))
225
-
226
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.0.0) (2019-01-21)
227
-
228
- #### 🛑 Breaking changes
229
-
230
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
231
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
232
- - build scripts now first build ES6 modules in package root, then call
233
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
234
- - all imports MUST be updated to only refer to package level
235
- (not individual files anymore). tree shaking in user land will get rid of
236
- all unused imported symbols.
237
-
238
- #### ♻️ Refactoring
239
-
240
- - update all as arrow fns ([b70a3e1](https://github.com/thi-ng/umbrella/commit/b70a3e1))
241
-
242
- ### [1.5.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.4) (2018-06-18)
243
-
244
- #### 🩹 Bug fixes
245
-
246
- - isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15))
247
-
248
- ### [1.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.1) (2018-04-29)
249
-
250
- #### 🩹 Bug fixes
251
-
252
- - exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404))
253
- - return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7))
254
-
255
- ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.0) (2018-04-26)
256
-
257
- #### 🚀 Features
258
-
259
- - add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62))
260
-
261
- ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.4.0) (2018-04-08)
262
-
263
- #### 🚀 Features
264
-
265
- - add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b))
266
-
267
- ### [1.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.3.2) (2018-04-04)
268
-
269
- #### 🩹 Bug fixes
270
-
271
- - add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443))
272
-
273
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.3.0) (2018-03-08)
274
-
275
- #### 🚀 Features
276
-
277
- - add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99))
278
-
279
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.2.0) (2018-02-08)
280
-
281
- #### 🚀 Features
282
-
283
- - add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2))
284
- - add: isBlob, isEven, isFile, isInRange, isOdd, isRegExp
285
- - add: hasMinLength, hasMaxLength
286
- - update: existsAndNotNull, isArray, isArrayLike
287
-
288
- ### [1.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.1.6) (2018-02-02)
289
-
290
- #### ♻️ Refactoring
291
-
292
- - isPlainObject() ([9848576](https://github.com/thi-ng/umbrella/commit/9848576))
293
-
294
- ### [1.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.1.1) (2018-01-24)
295
-
296
- #### 🚀 Features
297
-
298
- - 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
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 200 standalone projects, maintained as part
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/checks",
3
- "version": "3.6.20",
3
+ "version": "3.6.22",
4
4
  "description": "Collection of 70+ type, feature & value checks",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,7 +37,6 @@
37
37
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
38
38
  "clean": "bun ../../tools/src/clean-package.ts",
39
39
  "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
40
- "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
41
40
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
42
41
  "pub": "yarn npm publish --access public",
43
42
  "test": "bun test",
@@ -47,11 +46,10 @@
47
46
  "tslib": "^2.8.1"
48
47
  },
49
48
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.48.1",
51
- "@types/node": "^22.10.2",
49
+ "@types/node": "^22.10.10",
52
50
  "esbuild": "^0.24.2",
53
51
  "typedoc": "^0.27.6",
54
- "typescript": "^5.7.2"
52
+ "typescript": "^5.7.3"
55
53
  },
56
54
  "keywords": [
57
55
  "detect",
@@ -292,5 +290,5 @@
292
290
  "thi.ng": {
293
291
  "alias": "ch"
294
292
  },
295
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
293
+ "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
296
294
  }