@thi.ng/checks 3.3.3 → 3.3.5
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 +7 -1
- package/README.md +10 -20
- package/is-function.d.ts +1 -1
- package/is-typedarray.d.ts +1 -1
- package/package.json +12 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-12-16T12:52:25Z
|
|
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.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
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
|
+
|
|
12
18
|
## [3.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.3.0) (2022-10-17)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/checks)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -15,13 +15,11 @@ This project is part of the
|
|
|
15
15
|
- [Dependencies](#dependencies)
|
|
16
16
|
- [API](#api)
|
|
17
17
|
- [Authors](#authors)
|
|
18
|
-
- [Maintainer](#maintainer)
|
|
19
|
-
- [Contributors](#contributors)
|
|
20
18
|
- [License](#license)
|
|
21
19
|
|
|
22
20
|
## About
|
|
23
21
|
|
|
24
|
-
Collection of 70+ type, feature & value checks
|
|
22
|
+
Collection of 70+ type, feature & value checks
|
|
25
23
|
|
|
26
24
|
## Status
|
|
27
25
|
|
|
@@ -45,14 +43,11 @@ ES module import:
|
|
|
45
43
|
|
|
46
44
|
For Node.js REPL:
|
|
47
45
|
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
node --experimental-repl-await
|
|
51
|
-
|
|
52
|
-
> const checks = await import("@thi.ng/checks");
|
|
46
|
+
```js
|
|
47
|
+
const checks = await import("@thi.ng/checks");
|
|
53
48
|
```
|
|
54
49
|
|
|
55
|
-
Package sizes (
|
|
50
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 1.59 KB
|
|
56
51
|
|
|
57
52
|
## Dependencies
|
|
58
53
|
|
|
@@ -66,14 +61,9 @@ TODO
|
|
|
66
61
|
|
|
67
62
|
## Authors
|
|
68
63
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
### Contributors
|
|
74
|
-
|
|
75
|
-
- Gavin Cannizzaro ([@gavinpc-mindgrub](https://github.com/gavinpc-mindgrub))
|
|
76
|
-
- Jay Zawrotny ([@eccentric-j](https://github.com/eccentric-j))
|
|
64
|
+
- [Karsten Schmidt](https://thi.ng) (Main author)
|
|
65
|
+
- [Gavin Cannizzaro](https://github.com/gavinpc-mindgrub)
|
|
66
|
+
- [Jay Zawrotny](https://github.com/eccentric-j)
|
|
77
67
|
|
|
78
68
|
If this project contributes to an academic publication, please cite it as:
|
|
79
69
|
|
|
@@ -88,4 +78,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
88
78
|
|
|
89
79
|
## License
|
|
90
80
|
|
|
91
|
-
© 2016 - 2022 Karsten Schmidt // Apache
|
|
81
|
+
© 2016 - 2022 Karsten Schmidt // Apache License 2.0
|
package/is-function.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isFunction: (x: any) => x is
|
|
1
|
+
export declare const isFunction: <T extends Function>(x: any) => x is T;
|
|
2
2
|
//# sourceMappingURL=is-function.d.ts.map
|
package/is-typedarray.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type TypedArray = Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array;
|
|
2
2
|
export declare const isTypedArray: (x: any) => x is TypedArray;
|
|
3
3
|
export {};
|
|
4
4
|
//# sourceMappingURL=is-typedarray.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/checks",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"description": "Collection of 70+ type, feature & value checks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,11 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
|
+
"contributors": [
|
|
26
|
+
"Gavin Cannizzaro (https://github.com/gavinpc-mindgrub)",
|
|
27
|
+
"Jay Zawrotny (https://github.com/eccentric-j)"
|
|
28
|
+
],
|
|
25
29
|
"license": "Apache-2.0",
|
|
26
30
|
"scripts": {
|
|
27
31
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -37,13 +41,13 @@
|
|
|
37
41
|
"tslib": "^2.4.1"
|
|
38
42
|
},
|
|
39
43
|
"devDependencies": {
|
|
40
|
-
"@microsoft/api-extractor": "^7.33.
|
|
41
|
-
"@thi.ng/testament": "^0.3.
|
|
42
|
-
"@types/node": "^18.11.
|
|
44
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
45
|
+
"@thi.ng/testament": "^0.3.7",
|
|
46
|
+
"@types/node": "^18.11.13",
|
|
43
47
|
"rimraf": "^3.0.2",
|
|
44
48
|
"tools": "^0.0.1",
|
|
45
|
-
"typedoc": "^0.23.
|
|
46
|
-
"typescript": "^4.
|
|
49
|
+
"typedoc": "^0.23.22",
|
|
50
|
+
"typescript": "^4.9.4"
|
|
47
51
|
},
|
|
48
52
|
"keywords": [
|
|
49
53
|
"detect",
|
|
@@ -272,5 +276,5 @@
|
|
|
272
276
|
"default": "./is-zero.js"
|
|
273
277
|
}
|
|
274
278
|
},
|
|
275
|
-
"gitHead": "
|
|
279
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
276
280
|
}
|