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