@thi.ng/checks 2.9.8 → 3.0.0

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.
package/CHANGELOG.md CHANGED
@@ -3,192 +3,168 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.9.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.9.7...@thi.ng/checks@2.9.8) (2021-07-01)
7
-
8
- **Note:** Version bump only for package @thi.ng/checks
9
-
10
-
11
-
12
-
13
-
14
- ## [2.9.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.9.6...@thi.ng/checks@2.9.7) (2021-06-08)
15
-
16
- **Note:** Version bump only for package @thi.ng/checks
17
-
18
-
19
-
20
-
21
-
22
- # [2.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.8.0...@thi.ng/checks@2.9.0) (2021-02-20)
23
-
24
-
25
- ### Features
26
-
27
- * **checks:** add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc806903e766e42a98ddd569ba4031925204b))
28
- * **checks:** replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b8465eda21a32f3613d20c043ea50fce7f57))
29
-
30
-
31
-
32
-
33
-
34
- # [2.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.13...@thi.ng/checks@2.8.0) (2021-01-10)
35
-
36
-
37
- ### Features
38
-
39
- * **checks:** add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c14b06850800869ba0bc8c8174e233dda53))
40
-
41
-
6
+ # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.9.11...@thi.ng/checks@3.0.0) (2021-10-12)
42
7
 
43
8
 
9
+ ### Build System
44
10
 
45
- ## [2.7.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.2...@thi.ng/checks@2.7.3) (2020-07-02)
11
+ * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
46
12
 
47
13
 
48
- ### Bug Fixes
14
+ ### BREAKING CHANGES
49
15
 
50
- * **checks:** update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d3e1ef5be7a4e83319ab1c36bbc3e1b1a8))
16
+ * discontinue CommonJS & UMD versions
51
17
 
18
+ - only ESM modules will be published from now on
19
+ - CJS obsolete due to ESM support in recent versions of node:
20
+ - i.e. launch NodeJS via:
21
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
22
+ - in the node REPL use `await import(...)` instead of `require()`
23
+ - UMD obsolete due to widespread browser support for ESM
52
24
 
25
+ Also:
26
+ - normalize/restructure/reorg all package.json files
27
+ - cleanup all build scripts, remove obsolete
28
+ - switch from mocha to @thi.ng/testament for all tests
53
29
 
54
30
 
55
31
 
56
- # [2.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.6.5...@thi.ng/checks@2.7.0) (2020-05-14)
57
32
 
58
33
 
59
- ### Features
60
34
 
61
- * **checks:** add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9ea2588bf8afc0a8e9bfed72ffb875c47d))
35
+ # [2.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.8.0...@thi.ng/checks@2.9.0) (2021-02-20)
62
36
 
37
+ ### Features
63
38
 
39
+ - **checks:** add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc806903e766e42a98ddd569ba4031925204b))
40
+ - **checks:** replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b8465eda21a32f3613d20c043ea50fce7f57))
64
41
 
42
+ # [2.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.13...@thi.ng/checks@2.8.0) (2021-01-10)
65
43
 
44
+ ### Features
66
45
 
67
- # [2.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.5.4...@thi.ng/checks@2.6.0) (2020-03-28)
46
+ - **checks:** add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c14b06850800869ba0bc8c8174e233dda53))
68
47
 
48
+ ## [2.7.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.2...@thi.ng/checks@2.7.3) (2020-07-02)
69
49
 
70
- ### Bug Fixes
50
+ ### Bug Fixes
71
51
 
72
- * **checks:** typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1062075705d96883f860f23b545fd9ebdf))
52
+ - **checks:** update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d3e1ef5be7a4e83319ab1c36bbc3e1b1a8))
73
53
 
54
+ # [2.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.6.5...@thi.ng/checks@2.7.0) (2020-05-14)
74
55
 
75
- ### Features
56
+ ### Features
76
57
 
77
- * **checks:** add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba5205033bcc4a917fa56ede65ba3df4b3eef))
78
- * **checks:** add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8bcb73efb728faf4a216a9dfcac31a0639))
58
+ - **checks:** add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9ea2588bf8afc0a8e9bfed72ffb875c47d))
79
59
 
60
+ # [2.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.5.4...@thi.ng/checks@2.6.0) (2020-03-28)
80
61
 
62
+ ### Bug Fixes
81
63
 
64
+ - **checks:** typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1062075705d96883f860f23b545fd9ebdf))
82
65
 
66
+ ### Features
83
67
 
84
- # [2.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.4.2...@thi.ng/checks@2.5.0) (2020-01-24)
68
+ - **checks:** add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba5205033bcc4a917fa56ede65ba3df4b3eef))
69
+ - **checks:** add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8bcb73efb728faf4a216a9dfcac31a0639))
85
70
 
86
- ### Features
71
+ # [2.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.4.2...@thi.ng/checks@2.5.0) (2020-01-24)
87
72
 
88
- * **checks:** add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed08362caa591f64d1ffce75e8d9e213dd9))
73
+ ### Features
89
74
 
90
- # [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.3.0...@thi.ng/checks@2.4.0) (2019-09-21)
75
+ - **checks:** add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed08362caa591f64d1ffce75e8d9e213dd9))
91
76
 
92
- ### Features
77
+ # [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.3.0...@thi.ng/checks@2.4.0) (2019-09-21)
93
78
 
94
- * **checks:** add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9))
79
+ ### Features
95
80
 
96
- # [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.2.2...@thi.ng/checks@2.3.0) (2019-08-16)
81
+ - **checks:** add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9))
97
82
 
98
- ### Bug Fixes
83
+ # [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.2.2...@thi.ng/checks@2.3.0) (2019-08-16)
99
84
 
100
- * **checks:** better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981))
101
- * **checks:** fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408))
102
- * **checks:** test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20))
85
+ ### Bug Fixes
103
86
 
104
- ### Features
87
+ - **checks:** better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981))
88
+ - **checks:** fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408))
89
+ - **checks:** test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20))
105
90
 
106
- * **checks:** isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e))
91
+ ### Features
107
92
 
108
- # [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.6...@thi.ng/checks@2.2.0) (2019-07-07)
93
+ - **checks:** isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e))
109
94
 
110
- ### Bug Fixes
95
+ # [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.6...@thi.ng/checks@2.2.0) (2019-07-07)
111
96
 
112
- * **checks:** isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48))
97
+ ### Bug Fixes
113
98
 
114
- ### Features
99
+ - **checks:** isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48))
115
100
 
116
- * **checks:** enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7))
101
+ ### Features
117
102
 
118
- ## [2.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.1...@thi.ng/checks@2.1.2) (2019-03-12)
103
+ - **checks:** enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7))
119
104
 
120
- ### Bug Fixes
105
+ ## [2.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.1...@thi.ng/checks@2.1.2) (2019-03-12)
121
106
 
122
- * **checks:** fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a))
107
+ ### Bug Fixes
123
108
 
124
- # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.0.2...@thi.ng/checks@2.1.0) (2019-02-10)
109
+ - **checks:** fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a))
125
110
 
126
- ### Features
111
+ # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.0.2...@thi.ng/checks@2.1.0) (2019-02-10)
127
112
 
128
- * **checks:** add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e))
113
+ ### Features
129
114
 
130
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.14...@thi.ng/checks@2.0.0) (2019-01-21)
115
+ - **checks:** add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e))
131
116
 
132
- ### Build System
117
+ # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.14...@thi.ng/checks@2.0.0) (2019-01-21)
133
118
 
134
- * update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
119
+ ### Build System
135
120
 
136
- ### BREAKING CHANGES
121
+ - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
137
122
 
138
- * enabled multi-outputs (ES6 modules, CJS, UMD)
123
+ ### BREAKING CHANGES
139
124
 
140
- - build scripts now first build ES6 modules in package root, then call
141
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
142
- - all imports MUST be updated to only refer to package level
143
- (not individual files anymore). tree shaking in user land will get rid of
144
- all unused imported symbols.
125
+ - enabled multi-outputs (ES6 modules, CJS, UMD)
126
+ - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
127
+ - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
145
128
 
146
- <a name="1.5.4"></a>
147
- ## [1.5.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.3...@thi.ng/checks@1.5.4) (2018-06-18)
129
+ ## [1.5.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.3...@thi.ng/checks@1.5.4) (2018-06-18)
148
130
 
149
- ### Bug Fixes
131
+ ### Bug Fixes
150
132
 
151
- * **checks:** isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15))
133
+ - **checks:** isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15))
152
134
 
153
- <a name="1.5.1"></a>
154
- ## [1.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.0...@thi.ng/checks@1.5.1) (2018-04-29)
135
+ ## [1.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.5.0...@thi.ng/checks@1.5.1) (2018-04-29)
155
136
 
156
- ### Bug Fixes
137
+ ### Bug Fixes
157
138
 
158
- * **checks:** exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404))
159
- * **checks:** return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7))
139
+ - **checks:** exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404))
140
+ - **checks:** return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7))
160
141
 
161
- <a name="1.5.0"></a>
162
- # [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.4.0...@thi.ng/checks@1.5.0) (2018-04-26)
142
+ # [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.4.0...@thi.ng/checks@1.5.0) (2018-04-26)
163
143
 
164
- ### Features
144
+ ### Features
165
145
 
166
- * **checks:** add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62))
146
+ - **checks:** add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62))
167
147
 
168
- <a name="1.4.0"></a>
169
- # [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.2...@thi.ng/checks@1.4.0) (2018-04-08)
148
+ # [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.2...@thi.ng/checks@1.4.0) (2018-04-08)
170
149
 
171
- ### Features
150
+ ### Features
172
151
 
173
- * **checks:** add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b))
152
+ - **checks:** add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b))
174
153
 
175
- <a name="1.3.2"></a>
176
- ## [1.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.1...@thi.ng/checks@1.3.2) (2018-04-04)
154
+ ## [1.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.3.1...@thi.ng/checks@1.3.2) (2018-04-04)
177
155
 
178
- ### Bug Fixes
156
+ ### Bug Fixes
179
157
 
180
- * **checks:** add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443))
158
+ - **checks:** add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443))
181
159
 
182
- <a name="1.3.0"></a>
183
- # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.2.1...@thi.ng/checks@1.3.0) (2018-03-08)
160
+ # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.2.1...@thi.ng/checks@1.3.0) (2018-03-08)
184
161
 
185
- ### Features
162
+ ### Features
186
163
 
187
- * **checks:** add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99))
164
+ - **checks:** add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99))
188
165
 
189
- <a name="1.2.0"></a>
190
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.1.6...@thi.ng/checks@1.2.0) (2018-02-08)
166
+ # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.1.6...@thi.ng/checks@1.2.0) (2018-02-08)
191
167
 
192
- ### Features
168
+ ### Features
193
169
 
194
- * **checks:** add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2))
170
+ - **checks:** add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2))
package/README.md CHANGED
@@ -35,15 +35,23 @@ Collection of 50+ type, feature & value checks.
35
35
  yarn add @thi.ng/checks
36
36
  ```
37
37
 
38
+ ES module import:
39
+
38
40
  ```html
39
- // ES module
40
- <script type="module" src="https://unpkg.com/@thi.ng/checks?module" crossorigin></script>
41
+ <script type="module" src="https://cdn.skypack.dev/@thi.ng/checks"></script>
42
+ ```
43
+
44
+ [Skypack documentation](https://docs.skypack.dev/)
45
+
46
+ For NodeJS (v14.6+):
47
+
48
+ ```text
49
+ node --experimental-specifier-resolution=node --experimental-repl-await
41
50
 
42
- // UMD
43
- <script src="https://unpkg.com/@thi.ng/checks/lib/index.umd.js" crossorigin></script>
51
+ > const checks = await import("@thi.ng/checks");
44
52
  ```
45
53
 
46
- Package sizes (gzipped, pre-treeshake): ESM: 1.63 KB / CJS: 1.89 KB / UMD: 1.59 KB
54
+ Package sizes (gzipped, pre-treeshake): ESM: 1.63 KB
47
55
 
48
56
  ## Dependencies
49
57
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thi.ng/checks",
3
- "version": "2.9.8",
3
+ "version": "3.0.0",
4
4
  "description": "Collection of 50+ type, feature & value checks",
5
+ "type": "module",
5
6
  "module": "./index.js",
6
- "main": "./lib/index.js",
7
- "umd:main": "./lib/index.umd.js",
8
7
  "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
@@ -24,27 +24,21 @@
24
24
  "author": "Karsten Schmidt <k+npm@thi.ng>",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
- "build": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module",
28
- "build:release": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module all",
29
- "build:es6": "tsc --declaration",
30
- "build:test": "rimraf build && tsc -p test/tsconfig.json",
31
- "build:check": "tsc --isolatedModules --noEmit",
32
- "test": "mocha test",
33
- "cover": "nyc mocha test && nyc report --reporter=lcov",
34
- "clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
35
- "doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
36
- "doc": "typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf *.js *.d.ts *.map doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
37
30
  "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
38
- "pub": "yarn build:release && yarn publish --access public"
31
+ "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
+ "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
+ "pub": "yarn build && yarn publish --access public",
34
+ "test": "testament test"
39
35
  },
40
36
  "dependencies": {
41
- "tslib": "^2.3.0"
37
+ "tslib": "^2.3.1"
38
+ },
39
+ "devDependencies": {
40
+ "@thi.ng/testament": "^0.1.0"
42
41
  },
43
- "files": [
44
- "*.js",
45
- "*.d.ts",
46
- "lib"
47
- ],
48
42
  "keywords": [
49
43
  "detect",
50
44
  "feature",
@@ -59,6 +53,209 @@
59
53
  "process": false,
60
54
  "setTimeout": false
61
55
  },
62
- "sideEffects": false,
63
- "gitHead": "a3dadf7acedcca6a15a7e6d655c923b16e2ededa"
56
+ "files": [
57
+ "*.js",
58
+ "*.d.ts"
59
+ ],
60
+ "exports": {
61
+ ".": {
62
+ "import": "./index.js"
63
+ },
64
+ "./exists-not-null": {
65
+ "import": "./exists-not-null.js"
66
+ },
67
+ "./exists": {
68
+ "import": "./exists.js"
69
+ },
70
+ "./has-bigint": {
71
+ "import": "./has-bigint.js"
72
+ },
73
+ "./has-crypto": {
74
+ "import": "./has-crypto.js"
75
+ },
76
+ "./has-max-length": {
77
+ "import": "./has-max-length.js"
78
+ },
79
+ "./has-min-length": {
80
+ "import": "./has-min-length.js"
81
+ },
82
+ "./has-performance": {
83
+ "import": "./has-performance.js"
84
+ },
85
+ "./has-wasm": {
86
+ "import": "./has-wasm.js"
87
+ },
88
+ "./has-webgl": {
89
+ "import": "./has-webgl.js"
90
+ },
91
+ "./has-websocket": {
92
+ "import": "./has-websocket.js"
93
+ },
94
+ "./implements-function": {
95
+ "import": "./implements-function.js"
96
+ },
97
+ "./is-alphanum": {
98
+ "import": "./is-alphanum.js"
99
+ },
100
+ "./is-array": {
101
+ "import": "./is-array.js"
102
+ },
103
+ "./is-arraylike": {
104
+ "import": "./is-arraylike.js"
105
+ },
106
+ "./is-ascii": {
107
+ "import": "./is-ascii.js"
108
+ },
109
+ "./is-async-iterable": {
110
+ "import": "./is-async-iterable.js"
111
+ },
112
+ "./is-blob": {
113
+ "import": "./is-blob.js"
114
+ },
115
+ "./is-boolean": {
116
+ "import": "./is-boolean.js"
117
+ },
118
+ "./is-chrome": {
119
+ "import": "./is-chrome.js"
120
+ },
121
+ "./is-data-url": {
122
+ "import": "./is-data-url.js"
123
+ },
124
+ "./is-date": {
125
+ "import": "./is-date.js"
126
+ },
127
+ "./is-even": {
128
+ "import": "./is-even.js"
129
+ },
130
+ "./is-false": {
131
+ "import": "./is-false.js"
132
+ },
133
+ "./is-file": {
134
+ "import": "./is-file.js"
135
+ },
136
+ "./is-firefox": {
137
+ "import": "./is-firefox.js"
138
+ },
139
+ "./is-float-string": {
140
+ "import": "./is-float-string.js"
141
+ },
142
+ "./is-function": {
143
+ "import": "./is-function.js"
144
+ },
145
+ "./is-hex-color": {
146
+ "import": "./is-hex-color.js"
147
+ },
148
+ "./is-hex": {
149
+ "import": "./is-hex.js"
150
+ },
151
+ "./is-ie": {
152
+ "import": "./is-ie.js"
153
+ },
154
+ "./is-in-range": {
155
+ "import": "./is-in-range.js"
156
+ },
157
+ "./is-int-string": {
158
+ "import": "./is-int-string.js"
159
+ },
160
+ "./is-int32": {
161
+ "import": "./is-int32.js"
162
+ },
163
+ "./is-iterable": {
164
+ "import": "./is-iterable.js"
165
+ },
166
+ "./is-map": {
167
+ "import": "./is-map.js"
168
+ },
169
+ "./is-mobile": {
170
+ "import": "./is-mobile.js"
171
+ },
172
+ "./is-nan": {
173
+ "import": "./is-nan.js"
174
+ },
175
+ "./is-negative": {
176
+ "import": "./is-negative.js"
177
+ },
178
+ "./is-nil": {
179
+ "import": "./is-nil.js"
180
+ },
181
+ "./is-node": {
182
+ "import": "./is-node.js"
183
+ },
184
+ "./is-not-string-iterable": {
185
+ "import": "./is-not-string-iterable.js"
186
+ },
187
+ "./is-null": {
188
+ "import": "./is-null.js"
189
+ },
190
+ "./is-number": {
191
+ "import": "./is-number.js"
192
+ },
193
+ "./is-numeric": {
194
+ "import": "./is-numeric.js"
195
+ },
196
+ "./is-object": {
197
+ "import": "./is-object.js"
198
+ },
199
+ "./is-odd": {
200
+ "import": "./is-odd.js"
201
+ },
202
+ "./is-plain-object": {
203
+ "import": "./is-plain-object.js"
204
+ },
205
+ "./is-positive": {
206
+ "import": "./is-positive.js"
207
+ },
208
+ "./is-primitive": {
209
+ "import": "./is-primitive.js"
210
+ },
211
+ "./is-promise": {
212
+ "import": "./is-promise.js"
213
+ },
214
+ "./is-promiselike": {
215
+ "import": "./is-promiselike.js"
216
+ },
217
+ "./is-proto-path": {
218
+ "import": "./is-proto-path.js"
219
+ },
220
+ "./is-regexp": {
221
+ "import": "./is-regexp.js"
222
+ },
223
+ "./is-safari": {
224
+ "import": "./is-safari.js"
225
+ },
226
+ "./is-set": {
227
+ "import": "./is-set.js"
228
+ },
229
+ "./is-string": {
230
+ "import": "./is-string.js"
231
+ },
232
+ "./is-symbol": {
233
+ "import": "./is-symbol.js"
234
+ },
235
+ "./is-transferable": {
236
+ "import": "./is-transferable.js"
237
+ },
238
+ "./is-true": {
239
+ "import": "./is-true.js"
240
+ },
241
+ "./is-typedarray": {
242
+ "import": "./is-typedarray.js"
243
+ },
244
+ "./is-uint32": {
245
+ "import": "./is-uint32.js"
246
+ },
247
+ "./is-undefined": {
248
+ "import": "./is-undefined.js"
249
+ },
250
+ "./is-uuid": {
251
+ "import": "./is-uuid.js"
252
+ },
253
+ "./is-uuid4": {
254
+ "import": "./is-uuid4.js"
255
+ },
256
+ "./is-zero": {
257
+ "import": "./is-zero.js"
258
+ }
259
+ },
260
+ "gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115"
64
261
  }
package/lib/index.js DELETED
@@ -1,263 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const existsAndNotNull = (x) => x != null;
6
-
7
- const exists = (t) => t !== undefined;
8
-
9
- const hasBigInt = () => typeof BigInt === "function";
10
-
11
- const hasCrypto = () => typeof window !== "undefined" && window["crypto"] !== undefined;
12
-
13
- const hasMaxLength = (len, x) => x != null && x.length <= len;
14
-
15
- const hasMinLength = (len, x) => x != null && x.length >= len;
16
-
17
- const isFunction = (x) => typeof x === "function";
18
-
19
- const hasPerformance = () => typeof performance !== "undefined" && isFunction(performance.now);
20
-
21
- const hasWASM = () => (typeof window !== "undefined" &&
22
- typeof window["WebAssembly"] !== "undefined") ||
23
- (typeof global !== "undefined" &&
24
- typeof global["WebAssembly"] !== "undefined");
25
-
26
- const hasWebGL = () => {
27
- try {
28
- document.createElement("canvas").getContext("webgl");
29
- return true;
30
- }
31
- catch (e) {
32
- return false;
33
- }
34
- };
35
-
36
- const hasWebSocket = () => typeof WebSocket !== "undefined";
37
-
38
- const implementsFunction = (x, fn) => x != null && typeof x[fn] === "function";
39
-
40
- const isAlpha = (x) => /^[a-z]+$/i.test(x);
41
- const isAlphaNum = (x) => /^[a-z0-9]+$/i.test(x);
42
- const isNumeric = (x) => /^[0-9]+$/.test(x);
43
-
44
- const isArray = Array.isArray;
45
-
46
- const isArrayLike = (x) => x != null && typeof x !== "function" && x.length !== undefined;
47
-
48
- const isASCII = (x) => /^[\x00-\x7f]+$/.test(x);
49
- const isPrintableASCII = (x) => /^[\x20-\x7e]+$/.test(x);
50
-
51
- const isAsyncIterable = (x) => x != null && typeof x[Symbol.asyncIterator] === "function";
52
-
53
- const isBlob = (x) => x instanceof Blob;
54
-
55
- const isBoolean = (x) => typeof x === "boolean";
56
-
57
- const isChrome = () => typeof window !== "undefined" && !!window["chrome"];
58
-
59
- const isDataURL = (x) => /^data:.+\/(.+);base64,/.test(x);
60
-
61
- const isDate = (x) => x instanceof Date;
62
-
63
- const isEven = (x) => x % 2 === 0;
64
-
65
- const isFalse = (x) => x === false;
66
-
67
- const isFile = (x) => x instanceof File;
68
-
69
- const isFirefox = () => typeof window !== "undefined" && !!window["InstallTrigger"];
70
-
71
- const RE$4 = /^(?:[-+]?(?:[0-9]+))?(?:\.[0-9]*)?(?:[eE][\+\-]?(?:[0-9]+))?$/;
72
- const isFloatString = (x) => x.length > 0 && RE$4.test(x);
73
-
74
- const isHex = (x) => /^[a-f0-9]+$/i.test(x);
75
-
76
- const isString = (x) => typeof x === "string";
77
-
78
- const RE$3 = /^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i;
79
- const isHexColor = (x) => isString(x) && RE$3.test(x);
80
-
81
- const isIE = () => typeof document !== "undefined" &&
82
- (typeof document["documentMode"] !== "undefined" ||
83
- navigator.userAgent.indexOf("MSIE") > 0);
84
-
85
- const isInRange = (min, max, x) => x >= min && x <= max;
86
-
87
- const isInt32 = (x) => typeof x === "number" && (x | 0) === x;
88
-
89
- const RE$2 = /^(?:[-+]?(?:0|[1-9][0-9]*))$/;
90
- const isIntString = (x) => RE$2.test(x);
91
-
92
- const isIterable = (x) => x != null && typeof x[Symbol.iterator] === "function";
93
-
94
- const isMap = (x) => x instanceof Map;
95
-
96
- const isMobile = () => typeof navigator !== "undefined" &&
97
- /mobile|tablet|ip(ad|hone|od)|android|silk|crios/i.test(navigator.userAgent);
98
-
99
- const isNaN = (x) => x !== x;
100
-
101
- const isNegative = (x) => typeof x === "number" && x < 0;
102
-
103
- const isNil = (x) => x == null;
104
-
105
- const isNode = () => typeof process === "object" &&
106
- typeof process.versions === "object" &&
107
- typeof process.versions.node !== "undefined";
108
-
109
- const isNotStringAndIterable = (x) => x != null &&
110
- typeof x !== "string" &&
111
- typeof x[Symbol.iterator] === "function";
112
-
113
- const isNull = (x) => x === null;
114
-
115
- const isNumber = (x) => typeof x === "number";
116
-
117
- const isNumericInt = (x) => /^[-+]?\d+$/.test(x);
118
- const isNumericFloat = (x) => /^[-+]?\d*\.?\d+(e[-+]?\d+)?$/i.test(x);
119
-
120
- const isObject = (x) => x !== null && typeof x === "object";
121
-
122
- const isOdd = (x) => x % 2 !== 0;
123
-
124
- const OBJP = Object.getPrototypeOf;
125
- const isPlainObject = (x) => {
126
- let p;
127
- return (x != null &&
128
- typeof x === "object" &&
129
- ((p = OBJP(x)) === null || OBJP(p) === null));
130
- };
131
-
132
- const isPositive = (x) => typeof x === "number" && x > 0;
133
-
134
- const isPrimitive = (x) => {
135
- const t = typeof x;
136
- return t === "string" || t === "number";
137
- };
138
-
139
- const isPromise = (x) => x instanceof Promise;
140
-
141
- const isPromiseLike = (x) => x instanceof Promise ||
142
- (implementsFunction(x, "then") && implementsFunction(x, "catch"));
143
-
144
- const ILLEGAL_KEYS = new Set(["__proto__", "prototype", "constructor"]);
145
- const isIllegalKey = (x) => ILLEGAL_KEYS.has(x);
146
- const isProtoPath = (path) => isArray(path)
147
- ? path.some(isIllegalKey)
148
- : isString(path)
149
- ? path.indexOf(".") !== -1
150
- ? path.split(".").some(isIllegalKey)
151
- : isIllegalKey(path)
152
- : false;
153
-
154
- const isRegExp = (x) => x instanceof RegExp;
155
-
156
- const isSafari = () => typeof navigator !== "undefined" &&
157
- /Safari/.test(navigator.userAgent) &&
158
- !isChrome();
159
-
160
- const isSet = (x) => x instanceof Set;
161
-
162
- const isSymbol = (x) => typeof x === "symbol";
163
-
164
- const isTransferable = (x) => x instanceof ArrayBuffer ||
165
- (typeof SharedArrayBuffer !== "undefined" &&
166
- x instanceof SharedArrayBuffer) ||
167
- (typeof MessagePort !== "undefined" && x instanceof MessagePort);
168
-
169
- const isTrue = (x) => x === true;
170
-
171
- const isTypedArray = (x) => x &&
172
- (x instanceof Float32Array ||
173
- x instanceof Float64Array ||
174
- x instanceof Uint32Array ||
175
- x instanceof Int32Array ||
176
- x instanceof Uint8Array ||
177
- x instanceof Int8Array ||
178
- x instanceof Uint16Array ||
179
- x instanceof Int16Array ||
180
- x instanceof Uint8ClampedArray);
181
-
182
- const isUint32 = (x) => typeof x === "number" && x >>> 0 === x;
183
-
184
- const isUndefined = (x) => x === undefined;
185
-
186
- const RE$1 = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
187
- const isUUID = (x) => RE$1.test(x);
188
-
189
- const RE = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
190
- const isUUIDv4 = (x) => RE.test(x);
191
-
192
- const isZero = (x) => x === 0;
193
-
194
- exports.exists = exists;
195
- exports.existsAndNotNull = existsAndNotNull;
196
- exports.hasBigInt = hasBigInt;
197
- exports.hasCrypto = hasCrypto;
198
- exports.hasMaxLength = hasMaxLength;
199
- exports.hasMinLength = hasMinLength;
200
- exports.hasPerformance = hasPerformance;
201
- exports.hasWASM = hasWASM;
202
- exports.hasWebGL = hasWebGL;
203
- exports.hasWebSocket = hasWebSocket;
204
- exports.implementsFunction = implementsFunction;
205
- exports.isASCII = isASCII;
206
- exports.isAlpha = isAlpha;
207
- exports.isAlphaNum = isAlphaNum;
208
- exports.isArray = isArray;
209
- exports.isArrayLike = isArrayLike;
210
- exports.isAsyncIterable = isAsyncIterable;
211
- exports.isBlob = isBlob;
212
- exports.isBoolean = isBoolean;
213
- exports.isChrome = isChrome;
214
- exports.isDataURL = isDataURL;
215
- exports.isDate = isDate;
216
- exports.isEven = isEven;
217
- exports.isFalse = isFalse;
218
- exports.isFile = isFile;
219
- exports.isFirefox = isFirefox;
220
- exports.isFloatString = isFloatString;
221
- exports.isFunction = isFunction;
222
- exports.isHex = isHex;
223
- exports.isHexColor = isHexColor;
224
- exports.isIE = isIE;
225
- exports.isIllegalKey = isIllegalKey;
226
- exports.isInRange = isInRange;
227
- exports.isInt32 = isInt32;
228
- exports.isIntString = isIntString;
229
- exports.isIterable = isIterable;
230
- exports.isMap = isMap;
231
- exports.isMobile = isMobile;
232
- exports.isNaN = isNaN;
233
- exports.isNegative = isNegative;
234
- exports.isNil = isNil;
235
- exports.isNode = isNode;
236
- exports.isNotStringAndIterable = isNotStringAndIterable;
237
- exports.isNull = isNull;
238
- exports.isNumber = isNumber;
239
- exports.isNumeric = isNumeric;
240
- exports.isNumericFloat = isNumericFloat;
241
- exports.isNumericInt = isNumericInt;
242
- exports.isObject = isObject;
243
- exports.isOdd = isOdd;
244
- exports.isPlainObject = isPlainObject;
245
- exports.isPositive = isPositive;
246
- exports.isPrimitive = isPrimitive;
247
- exports.isPrintableASCII = isPrintableASCII;
248
- exports.isPromise = isPromise;
249
- exports.isPromiseLike = isPromiseLike;
250
- exports.isProtoPath = isProtoPath;
251
- exports.isRegExp = isRegExp;
252
- exports.isSafari = isSafari;
253
- exports.isSet = isSet;
254
- exports.isString = isString;
255
- exports.isSymbol = isSymbol;
256
- exports.isTransferable = isTransferable;
257
- exports.isTrue = isTrue;
258
- exports.isTypedArray = isTypedArray;
259
- exports.isUUID = isUUID;
260
- exports.isUUIDv4 = isUUIDv4;
261
- exports.isUint32 = isUint32;
262
- exports.isUndefined = isUndefined;
263
- exports.isZero = isZero;
package/lib/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../exists-not-null.js","../exists.js","../has-bigint.js","../has-crypto.js","../has-max-length.js","../has-min-length.js","../is-function.js","../has-performance.js","../has-wasm.js","../has-webgl.js","../has-websocket.js","../implements-function.js","../is-alphanum.js","../is-array.js","../is-arraylike.js","../is-ascii.js","../is-async-iterable.js","../is-blob.js","../is-boolean.js","../is-chrome.js","../is-data-url.js","../is-date.js","../is-even.js","../is-false.js","../is-file.js","../is-firefox.js","../is-float-string.js","../is-hex.js","../is-string.js","../is-hex-color.js","../is-ie.js","../is-in-range.js","../is-int32.js","../is-int-string.js","../is-iterable.js","../is-map.js","../is-mobile.js","../is-nan.js","../is-negative.js","../is-nil.js","../is-node.js","../is-not-string-iterable.js","../is-null.js","../is-number.js","../is-numeric.js","../is-object.js","../is-odd.js","../is-plain-object.js","../is-positive.js","../is-primitive.js","../is-promise.js","../is-promiselike.js","../is-proto-path.js","../is-regexp.js","../is-safari.js","../is-set.js","../is-symbol.js","../is-transferable.js","../is-true.js","../is-typedarray.js","../is-uint32.js","../is-undefined.js","../is-uuid.js","../is-uuid4.js","../is-zero.js"],"sourcesContent":null,"names":["RE"],"mappings":";;;;AAAY,MAAC,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI;;ACAhC,MAAC,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK;;ACAvB,MAAC,SAAS,GAAG,MAAM,OAAO,MAAM,KAAK;;ACArC,MAAC,SAAS,GAAG,MAAM,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK;;ACAzE,MAAC,YAAY,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,MAAM,IAAI;;ACArD,MAAC,YAAY,G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K,OAAO,WAAW,KAAK,WAAW,IAAI,CAAC,YAAY,WAAW;;ACHvD,MAAC,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK;;ACAvB,MAAC,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC;AACpC,KAAK,CAAC,YAAY,YAAY;AAC9B,QAAQ,CAAC,YAAY,YAAY;AACjC,QAAQ,CAAC,YAAY,WAAW;AAChC,QAAQ,CAAC,YAAY,UAAU;AAC/B,QAAQ,CAAC,YAAY,UAAU;AAC/B,QAAQ,CAAC,YAAY,SAAS;AAC9B,QAAQ,CAAC,YAAY,WAAW;AAChC,QAAQ,CAAC,YAAY,UAAU;AAC/B,QAAQ,CAAC,YAAY,iBAAiB;;ACT1B,MAAC,QAAQ,GAAG,CAAC,CAAC,KAAK,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,KAAK;;ACAxD,MAAC,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK;;ACAxC,MAAMA,IAAE,GAAG,iEAAiE,CAAC;AACjE,MAAC,MAAM,GAAG,CAAC,CAAC,KAAKA,IAAE,CAAC,IAAI,CAAC,CAAC;;ACDtC,MAAM,EAAE,GAAG,wEAAwE,CAAC;AACxE,MAAC,QAAQ,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,CAAC;;ACD5B,MAAC,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/lib/index.umd.js DELETED
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.checks={}))}(this,(function(e){"use strict";const t=e=>"function"==typeof e,n=(e,t)=>null!=e&&"function"==typeof e[t],i=Array.isArray,o=()=>"undefined"!=typeof window&&!!window.chrome,s=/^(?:[-+]?(?:[0-9]+))?(?:\.[0-9]*)?(?:[eE][\+\-]?(?:[0-9]+))?$/,a=e=>"string"==typeof e,r=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,f=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,l=Object.getPrototypeOf,d=new Set(["__proto__","prototype","constructor"]),c=e=>d.has(e),u=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,y=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;e.exists=e=>void 0!==e,e.existsAndNotNull=e=>null!=e,e.hasBigInt=()=>"function"==typeof BigInt,e.hasCrypto=()=>"undefined"!=typeof window&&void 0!==window.crypto,e.hasMaxLength=(e,t)=>null!=t&&t.length<=e,e.hasMinLength=(e,t)=>null!=t&&t.length>=e,e.hasPerformance=()=>"undefined"!=typeof performance&&t(performance.now),e.hasWASM=()=>"undefined"!=typeof window&&void 0!==window.WebAssembly||"undefined"!=typeof global&&void 0!==global.WebAssembly,e.hasWebGL=()=>{try{return document.createElement("canvas").getContext("webgl"),!0}catch(e){return!1}},e.hasWebSocket=()=>"undefined"!=typeof WebSocket,e.implementsFunction=n,e.isASCII=e=>/^[\x00-\x7f]+$/.test(e),e.isAlpha=e=>/^[a-z]+$/i.test(e),e.isAlphaNum=e=>/^[a-z0-9]+$/i.test(e),e.isArray=i,e.isArrayLike=e=>null!=e&&"function"!=typeof e&&void 0!==e.length,e.isAsyncIterable=e=>null!=e&&"function"==typeof e[Symbol.asyncIterator],e.isBlob=e=>e instanceof Blob,e.isBoolean=e=>"boolean"==typeof e,e.isChrome=o,e.isDataURL=e=>/^data:.+\/(.+);base64,/.test(e),e.isDate=e=>e instanceof Date,e.isEven=e=>e%2==0,e.isFalse=e=>!1===e,e.isFile=e=>e instanceof File,e.isFirefox=()=>"undefined"!=typeof window&&!!window.InstallTrigger,e.isFloatString=e=>e.length>0&&s.test(e),e.isFunction=t,e.isHex=e=>/^[a-f0-9]+$/i.test(e),e.isHexColor=e=>a(e)&&r.test(e),e.isIE=()=>"undefined"!=typeof document&&(void 0!==document.documentMode||navigator.userAgent.indexOf("MSIE")>0),e.isIllegalKey=c,e.isInRange=(e,t,n)=>n>=e&&n<=t,e.isInt32=e=>"number"==typeof e&&(0|e)===e,e.isIntString=e=>f.test(e),e.isIterable=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isMap=e=>e instanceof Map,e.isMobile=()=>"undefined"!=typeof navigator&&/mobile|tablet|ip(ad|hone|od)|android|silk|crios/i.test(navigator.userAgent),e.isNaN=e=>e!=e,e.isNegative=e=>"number"==typeof e&&e<0,e.isNil=e=>null==e,e.isNode=()=>"object"==typeof process&&"object"==typeof process.versions&&void 0!==process.versions.node,e.isNotStringAndIterable=e=>null!=e&&"string"!=typeof e&&"function"==typeof e[Symbol.iterator],e.isNull=e=>null===e,e.isNumber=e=>"number"==typeof e,e.isNumeric=e=>/^[0-9]+$/.test(e),e.isNumericFloat=e=>/^[-+]?\d*\.?\d+(e[-+]?\d+)?$/i.test(e),e.isNumericInt=e=>/^[-+]?\d+$/.test(e),e.isObject=e=>null!==e&&"object"==typeof e,e.isOdd=e=>e%2!=0,e.isPlainObject=e=>{let t;return null!=e&&"object"==typeof e&&(null===(t=l(e))||null===l(t))},e.isPositive=e=>"number"==typeof e&&e>0,e.isPrimitive=e=>{const t=typeof e;return"string"===t||"number"===t},e.isPrintableASCII=e=>/^[\x20-\x7e]+$/.test(e),e.isPromise=e=>e instanceof Promise,e.isPromiseLike=e=>e instanceof Promise||n(e,"then")&&n(e,"catch"),e.isProtoPath=e=>i(e)?e.some(c):!!a(e)&&(-1!==e.indexOf(".")?e.split(".").some(c):c(e)),e.isRegExp=e=>e instanceof RegExp,e.isSafari=()=>"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!o(),e.isSet=e=>e instanceof Set,e.isString=a,e.isSymbol=e=>"symbol"==typeof e,e.isTransferable=e=>e instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer||"undefined"!=typeof MessagePort&&e instanceof MessagePort,e.isTrue=e=>!0===e,e.isTypedArray=e=>e&&(e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint32Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Int8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Uint8ClampedArray),e.isUUID=e=>u.test(e),e.isUUIDv4=e=>y.test(e),e.isUint32=e=>"number"==typeof e&&e>>>0===e,e.isUndefined=e=>void 0===e,e.isZero=e=>0===e,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.umd.js","sources":["../exists-not-null.js","../exists.js","../has-bigint.js","../has-crypto.js","../has-max-length.js","../has-min-length.js","../is-function.js","../has-performance.js","../has-wasm.js","../has-webgl.js","../has-websocket.js","../implements-function.js","../is-alphanum.js","../is-array.js","../is-arraylike.js","../is-ascii.js","../is-async-iterable.js","../is-blob.js","../is-boolean.js","../is-chrome.js","../is-data-url.js","../is-date.js","../is-even.js","../is-false.js","../is-file.js","../is-firefox.js","../is-float-string.js","../is-hex.js","../is-string.js","../is-hex-color.js","../is-ie.js","../is-in-range.js","../is-int32.js","../is-int-string.js","../is-iterable.js","../is-map.js","../is-mobile.js","../is-nan.js","../is-negative.js","../is-nil.js","../is-node.js","../is-not-string-iterable.js","../is-null.js","../is-number.js","../is-numeric.js","../is-object.js","../is-odd.js","../is-plain-object.js","../is-positive.js","../is-primitive.js","../is-promise.js","../is-promiselike.js","../is-proto-path.js","../is-regexp.js","../is-safari.js","../is-set.js","../is-symbol.js","../is-transferable.js","../is-true.js","../is-typedarray.js","../is-uint32.js","../is-undefined.js","../is-uuid.js","../is-uuid4.js","../is-zero.js"],"sour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