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