UNPKG

11.1 kBMarkdownView Raw
1# Change Log
2
3- **Last updated**: 2024-04-11T12:32:44Z
4- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
6All notable changes to this project will be documented in this file.
7See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
9**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10and/or version bumps of transitive dependencies.
11
12## [3.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.6.0) (2024-04-08)
13
14#### 🚀 Features
15
16- add optional generics for collection checks ([8d55530](https://github.com/thi-ng/umbrella/commit/8d55530))
17
18## [3.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.5.0) (2024-02-22)
19
20#### 🚀 Features
21
22- add isArrayBufferLike(), isArrayBufferView() ([652a1d2](https://github.com/thi-ng/umbrella/commit/652a1d2))
23
24### [3.4.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.4.7) (2023-11-09)
25
26#### 🩹 Bug fixes
27
28- update isTypedArray() to return boolean ([2c0f72f](https://github.com/thi-ng/umbrella/commit/2c0f72f))
29
30## [3.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.4.0) (2023-08-04)
31
32#### 🚀 Features
33
34- add isGenerator() ([af8ffb3](https://github.com/thi-ng/umbrella/commit/af8ffb3))
35
36### [3.3.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.3.5) (2022-12-16)
37
38#### ♻️ Refactoring
39
40- add generics for isFunction() ([2850048](https://github.com/thi-ng/umbrella/commit/2850048))
41
42## [3.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.3.0) (2022-10-17)
43
44#### 🚀 Features
45
46- add isTouchEvent() ([7ef2acc](https://github.com/thi-ng/umbrella/commit/7ef2acc))
47
48### [3.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.2.1) (2022-06-11)
49
50#### 🩹 Bug fixes
51
52- update export map (add missing isBigInt()) ([9270de0](https://github.com/thi-ng/umbrella/commit/9270de0))
53
54## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.2.0) (2022-06-09)
55
56#### 🚀 Features
57
58- add isBigInt(), update pkg/readme ([bb6d833](https://github.com/thi-ng/umbrella/commit/bb6d833))
59
60## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.1.0) (2021-11-17)
61
62#### 🚀 Features
63
64- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
65 Improving the overall build ergonomics
66 - introduced a tools workspaces
67 - imported it in all needed packages/examples
68 - inclusive project root
69
70#### ♻️ Refactoring
71
72- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
73 this commit reverts (partly) changes made in:
74 ef346d7a8753590dc9094108a3d861a8dbd5dd2c
75 overall purpose is better testament ergonomics:
76 instead of having to pass NODE_OPTIONS with every invocation
77 having a binary to handle this for us.
78
79### [3.0.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.7) (2021-11-10)
80
81#### 🩹 Bug fixes
82
83- add boolean to isPrimitive() ([fde4d2b](https://github.com/thi-ng/umbrella/commit/fde4d2b))
84
85### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.1) (2021-10-13)
86
87#### ♻️ Refactoring
88
89- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
90 - add .js suffix for all relative imports
91- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
92
93# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.0) (2021-10-12)
94
95#### 🛑 Breaking changes
96
97- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
98- BREAKING CHANGE: discontinue CommonJS & UMD versions
99 - only ESM modules will be published from now on
100 - CJS obsolete due to ESM support in recent versions of node:
101 - i.e. launch NodeJS via:
102 - `node --experimental-specifier-resolution=node --experimental-repl-await`
103 - in the node REPL use `await import(...)` instead of `require()`
104 - UMD obsolete due to widespread browser support for ESM
105 Also:
106 - normalize/restructure/reorg all package.json files
107 - cleanup all build scripts, remove obsolete
108 - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
109
110#### ♻️ Refactoring
111
112- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
113 - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
114
115### [2.9.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.9.6) (2021-04-03)
116
117#### ♻️ Refactoring
118
119- add implementsFunction() generics ([63d78cb](https://github.com/thi-ng/umbrella/commit/63d78cb))
120
121## [2.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.9.0) (2021-02-20)
122
123#### 🚀 Features
124
125- replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b84))
126 - isPrototypePolluted() assumed given string is a single property
127 name, but could be a `.` separated lookup path. New function
128 checks for that and also supports arrays
129 - add tests
130- add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc80))
131
132## [2.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.8.0) (2021-01-10)
133
134#### 🚀 Features
135
136- add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c1))
137
138### [2.7.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.9) (2020-09-22)
139
140#### ♻️ Refactoring
141
142- update isNode() ([e988d0d](https://github.com/thi-ng/umbrella/commit/e988d0d))
143
144### [2.7.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.3) (2020-07-02)
145
146#### 🩹 Bug fixes
147
148- update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d))
149
150## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.0) (2020-05-14)
151
152#### 🚀 Features
153
154- add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9))
155
156## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.6.0) (2020-03-28)
157
158#### 🚀 Features
159
160- add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba52))
161- add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8))
162 - add isAlpha(), isAlphaNum(), isNumeric()
163 - add isASCII(), isPrintableASCII()
164 - add isDataURL()
165 - add isFloatString(), isIntString()
166 - add isHex()
167
168#### 🩹 Bug fixes
169
170- typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1))
171
172## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.5.0) (2020-01-24)
173
174#### 🚀 Features
175
176- add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed))
177
178## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.4.0) (2019-09-21)
179
180#### 🚀 Features
181
182- add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9))
183
184## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.3.0) (2019-08-16)
185
186#### 🚀 Features
187
188- isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e))
189
190#### 🩹 Bug fixes
191
192- test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20))
193- better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981))
194- fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408))
195
196## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.2.0) (2019-07-07)
197
198#### 🚀 Features
199
200- enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7))
201
202#### 🩹 Bug fixes
203
204- isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48))
205
206### [2.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.1.2) (2019-03-12)
207
208#### 🩹 Bug fixes
209
210- fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a))
211 - add/update tests
212 - add AUTHORS.md
213
214## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.1.0) (2019-02-10)
215
216#### 🚀 Features
217
218- add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e))
219
220# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.0.0) (2019-01-21)
221
222#### 🛑 Breaking changes
223
224- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
225- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
226 - build scripts now first build ES6 modules in package root, then call
227 `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
228 - all imports MUST be updated to only refer to package level
229 (not individual files anymore). tree shaking in user land will get rid of
230 all unused imported symbols.
231
232#### ♻️ Refactoring
233
234- update all as arrow fns ([b70a3e1](https://github.com/thi-ng/umbrella/commit/b70a3e1))
235
236### [1.5.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.4) (2018-06-18)
237
238#### 🩹 Bug fixes
239
240- isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15))
241
242### [1.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.1) (2018-04-29)
243
244#### 🩹 Bug fixes
245
246- exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404))
247- return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7))
248
249## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.0) (2018-04-26)
250
251#### 🚀 Features
252
253- add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62))
254
255## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.4.0) (2018-04-08)
256
257#### 🚀 Features
258
259- add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b))
260
261### [1.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.3.2) (2018-04-04)
262
263#### 🩹 Bug fixes
264
265- add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443))
266
267## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.3.0) (2018-03-08)
268
269#### 🚀 Features
270
271- add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99))
272
273## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.2.0) (2018-02-08)
274
275#### 🚀 Features
276
277- add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2))
278 - add: isBlob, isEven, isFile, isInRange, isOdd, isRegExp
279 - add: hasMinLength, hasMaxLength
280 - update: existsAndNotNull, isArray, isArrayLike
281
282### [1.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.1.6) (2018-02-02)
283
284#### ♻️ Refactoring
285
286- isPlainObject() ([9848576](https://github.com/thi-ng/umbrella/commit/9848576))
287
288### [1.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.1.1) (2018-01-24)
289
290#### 🚀 Features
291
292- initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))