@thi.ng/checks
Advanced tools
Comparing version 3.5.5 to 3.6.0
# Change Log | ||
- **Last updated**: 2024-03-27T09:53:45Z | ||
- **Last updated**: 2024-04-08T14:59:29Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
## [3.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.6.0) (2024-04-08) | ||
#### 🚀 Features | ||
- add optional generics for collection checks ([8d55530](https://github.com/thi-ng/umbrella/commit/8d55530)) | ||
## [3.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.5.0) (2024-02-22) | ||
@@ -14,0 +20,0 @@ |
@@ -1,2 +0,2 @@ | ||
export declare const isArrayLike: (x: any) => x is ArrayLike<any>; | ||
export declare const isArrayLike: <T = any>(x: any) => x is ArrayLike<T>; | ||
//# sourceMappingURL=is-arraylike.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isAsyncIterable: (x: any) => x is AsyncIterable<any>; | ||
export declare const isAsyncIterable: <T = any>(x: any) => x is AsyncIterable<T>; | ||
//# sourceMappingURL=is-async-iterable.d.ts.map |
@@ -7,3 +7,3 @@ /** | ||
*/ | ||
export declare const isGenerator: (x: any) => x is Generator<unknown, any, unknown>; | ||
export declare const isGenerator: <T = any>(x: any) => x is Generator<T, any, unknown>; | ||
//# sourceMappingURL=is-generator.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isIterable: (x: any) => x is Iterable<any>; | ||
export declare const isIterable: <T = any>(x: any) => x is Iterable<T>; | ||
//# sourceMappingURL=is-iterable.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isMap: (x: any) => x is Map<any, any>; | ||
export declare const isMap: <K = any, V = any>(x: any) => x is Map<K, V>; | ||
//# sourceMappingURL=is-map.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isNotStringAndIterable: (x: any) => x is Iterable<any>; | ||
export declare const isNotStringAndIterable: <T = any>(x: any) => x is Iterable<T>; | ||
//# sourceMappingURL=is-not-string-iterable.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isPromise: (x: any) => x is Promise<any>; | ||
export declare const isPromise: <T = any>(x: any) => x is Promise<T>; | ||
//# sourceMappingURL=is-promise.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isPromiseLike: (x: any) => x is Promise<any>; | ||
export declare const isPromiseLike: <T = any>(x: any) => x is Promise<T>; | ||
//# sourceMappingURL=is-promiselike.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const isSet: (x: any) => x is Set<any>; | ||
export declare const isSet: <T = any>(x: any) => x is Set<T>; | ||
//# sourceMappingURL=is-set.d.ts.map |
{ | ||
"name": "@thi.ng/checks", | ||
"version": "3.5.5", | ||
"version": "3.6.0", | ||
"description": "Collection of 70+ type, feature & value checks", | ||
@@ -289,3 +289,6 @@ "type": "module", | ||
}, | ||
"gitHead": "feb3b24654f2c931cd3c3308c1c0c807ee14d0e4\n" | ||
"thi.ng": { | ||
"alias": "ch" | ||
}, | ||
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n" | ||
} |
@@ -10,3 +10,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
> [!NOTE] | ||
> This is one of 190 standalone projects, maintained as part | ||
> This is one of 191 standalone projects, maintained as part | ||
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo | ||
@@ -42,4 +42,10 @@ > and anti-framework. | ||
ES module import: | ||
ESM import: | ||
```ts | ||
import * as ch from "@thi.ng/checks"; | ||
``` | ||
Browser ESM import: | ||
```html | ||
@@ -54,3 +60,3 @@ <script type="module" src="https://cdn.skypack.dev/@thi.ng/checks"></script> | ||
```js | ||
const checks = await import("@thi.ng/checks"); | ||
const ch = await import("@thi.ng/checks"); | ||
``` | ||
@@ -57,0 +63,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53813
93