@rhombus-toolkit/type-guards 1.3.4 → 2.0.1
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/LICENSE +21 -0
- package/dist/bundle/index.d.ts +46 -0
- package/dist/bundle/index.js +114 -0
- package/package.json +22 -10
- package/.rush/temp/chunked-rush-logs/type-guards.build.chunks.jsonl +0 -12
- package/.rush/temp/e259a2c53419d2b8c718281869c69d81e19c2f3c.tar.log +0 -31
- package/.rush/temp/operation/build/all.log +0 -12
- package/.rush/temp/operation/build/log-chunks.jsonl +0 -12
- package/.rush/temp/operation/build/state.json +0 -3
- package/.rush/temp/shrinkwrap-deps.json +0 -69
- package/CHANGELOG.json +0 -192
- package/CHANGELOG.md +0 -80
- package/config/rig.json +0 -6
- package/lib/assert-never.d.ts +0 -2
- package/lib/assert-never.d.ts.map +0 -1
- package/lib/assert-never.js +0 -4
- package/lib/assert-never.js.map +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -3
- package/lib/index.js.map +0 -1
- package/lib/is.d.ts +0 -19
- package/lib/is.d.ts.map +0 -1
- package/lib/is.js +0 -70
- package/lib/is.js.map +0 -1
- package/lib-commonjs/assert-never.js +0 -7
- package/lib-commonjs/assert-never.js.map +0 -1
- package/lib-commonjs/index.js +0 -19
- package/lib-commonjs/index.js.map +0 -1
- package/lib-commonjs/is.js +0 -89
- package/lib-commonjs/is.js.map +0 -1
- package/rush-logs/type-guards.build.cache.log +0 -3
- package/rush-logs/type-guards.build.log +0 -12
- package/src/assert-never.ts +0 -3
- package/src/index.ts +0 -2
- package/src/is.ts +0 -84
- package/temp/build/typescript/ts_VRykbCrU.json +0 -1
- package/tsconfig.json +0 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 rhombus-toolkit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare function assertNever(x: never): never;
|
|
2
|
+
|
|
3
|
+
type Func<in Args extends readonly any[] = any[], out Return = any, in This = unknown> = (this: This, ...args: Args) => Return;
|
|
4
|
+
|
|
5
|
+
/** The `GeneratorFunction` constructor. Named `…Ctor` so it does not shadow the lib interface of the same name. */
|
|
6
|
+
declare const GeneratorFunctionCtor: GeneratorFunctionConstructor;
|
|
7
|
+
declare const AsyncGeneratorFunctionCtor: AsyncGeneratorFunctionConstructor;
|
|
8
|
+
declare function isArray(value: any): value is any[];
|
|
9
|
+
/** Whether `value` is anything other than `undefined` — `null` is a defined value, so it passes. Use {@link hasValue} to exclude both. */
|
|
10
|
+
declare function isDefined<T>(p: T | undefined | null): p is T | null;
|
|
11
|
+
declare function hasValue<T>(p: T | null | undefined): p is T;
|
|
12
|
+
declare function isFunction(value: any): value is Func;
|
|
13
|
+
/** CONTRACT. Whether `value` is thenable, whatever produced it. */
|
|
14
|
+
declare function isPromiseLike(value: any): value is PromiseLike<any>;
|
|
15
|
+
/** PROTOTYPE. Whether `value` is a real `Promise`, so `catch`/`finally` are present. A thenable from another realm reads as {@link isPromiseLike} only. */
|
|
16
|
+
declare function isPromise(value: any): value is Promise<any>;
|
|
17
|
+
/** CONTRACT. Whether `value` has a `next`. Sync and async iterators are indistinguishable by shape — use {@link isAsyncIteratorObject} or {@link isAsyncIterable} to tell them apart. */
|
|
18
|
+
declare function isIterator(value: any): value is Iterator<any>;
|
|
19
|
+
/** CONTRACT. Whether `value` yields an iterator when asked. Strings, arrays, `Map` and `Set` all pass. */
|
|
20
|
+
declare function isIterable(value: any): value is Iterable<any>;
|
|
21
|
+
/** CONTRACT. Whether `value` is an iterator that is also iterable, the shape a `for…of` accepts directly. */
|
|
22
|
+
declare function isIterableIterator(value: any): value is IterableIterator<any>;
|
|
23
|
+
/** CONTRACT. Whether `value` yields an async iterator when asked. */
|
|
24
|
+
declare function isAsyncIterable(value: any): value is AsyncIterable<any>;
|
|
25
|
+
/** CONTRACT. Whether `value` is an async iterator that is also async-iterable. */
|
|
26
|
+
declare function isAsyncIterableIterator(value: any): value is AsyncIterableIterator<any>;
|
|
27
|
+
/**
|
|
28
|
+
* PROTOTYPE. Whether `value` inherits `%IteratorPrototype%`, so the ES2025
|
|
29
|
+
* iterator helpers (`map`, `filter`, `take`, `drop`, `toArray`, …) are present.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* A hand-rolled `{ next() { … } }` is an {@link isIterator} but not this.
|
|
33
|
+
*/
|
|
34
|
+
declare function isIteratorObject(value: any): value is IteratorObject<any, any, any>;
|
|
35
|
+
/** PROTOTYPE. The async counterpart of {@link isIteratorObject}. */
|
|
36
|
+
declare function isAsyncIteratorObject(value: any): value is AsyncIteratorObject<any, any, any>;
|
|
37
|
+
/** PROTOTYPE. Whether `value` is a generator *object* — what calling a generator function returns, not the function itself. */
|
|
38
|
+
declare function isGenerator(value: any): value is Generator<any, any, any>;
|
|
39
|
+
/** PROTOTYPE. Whether `value` is an async generator object. Never true for a sync generator — the two have distinct intrinsics. */
|
|
40
|
+
declare function isAsyncGenerator(value: any): value is AsyncGenerator<any, any, any>;
|
|
41
|
+
/** PROTOTYPE. Whether `value` is a generator *function* — the thing you call to get a generator. */
|
|
42
|
+
declare function isGeneratorFunction(value: any): value is GeneratorFunction;
|
|
43
|
+
/** PROTOTYPE. Whether `value` is an async generator function. */
|
|
44
|
+
declare function isAsyncGeneratorFunction(value: any): value is AsyncGeneratorFunction;
|
|
45
|
+
|
|
46
|
+
export { AsyncGeneratorFunctionCtor, GeneratorFunctionCtor, assertNever, hasValue, isArray, isAsyncGenerator, isAsyncGeneratorFunction, isAsyncIterable, isAsyncIterableIterator, isAsyncIteratorObject, isDefined, isFunction, isGenerator, isGeneratorFunction, isIterable, isIterableIterator, isIterator, isIteratorObject, isPromise, isPromiseLike };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// src/assert-never.ts
|
|
2
|
+
function assertNever(x) {
|
|
3
|
+
throw new Error("Unexpected object: " + x);
|
|
4
|
+
}
|
|
5
|
+
// src/is.ts
|
|
6
|
+
function* generatorSeed() {}
|
|
7
|
+
async function* asyncGeneratorSeed() {}
|
|
8
|
+
var GeneratorFunctionPrototype = Object.getPrototypeOf(generatorSeed);
|
|
9
|
+
var AsyncGeneratorFunctionPrototype = Object.getPrototypeOf(asyncGeneratorSeed);
|
|
10
|
+
var GeneratorPrototype = Object.getPrototypeOf(generatorSeed.prototype);
|
|
11
|
+
var AsyncGeneratorPrototype = Object.getPrototypeOf(asyncGeneratorSeed.prototype);
|
|
12
|
+
var IteratorPrototype = Object.getPrototypeOf(GeneratorPrototype);
|
|
13
|
+
var AsyncIteratorPrototype = Object.getPrototypeOf(AsyncGeneratorPrototype);
|
|
14
|
+
var GeneratorFunctionCtor = generatorSeed.constructor;
|
|
15
|
+
var AsyncGeneratorFunctionCtor = asyncGeneratorSeed.constructor;
|
|
16
|
+
function inheritsFrom(value, prototype) {
|
|
17
|
+
if (value === null || value === undefined) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
for (let current = Object.getPrototypeOf(Object(value));current; current = Object.getPrototypeOf(current)) {
|
|
21
|
+
if (current === prototype) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
function hasMethod(value, key) {
|
|
28
|
+
if (value === null || value === undefined) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return typeof value[key] === "function";
|
|
32
|
+
}
|
|
33
|
+
function typeTag(value) {
|
|
34
|
+
return Object.prototype.toString.call(value).slice(8, -1);
|
|
35
|
+
}
|
|
36
|
+
function isArray(value) {
|
|
37
|
+
return Array.isArray(value);
|
|
38
|
+
}
|
|
39
|
+
function isDefined(p) {
|
|
40
|
+
return p !== undefined;
|
|
41
|
+
}
|
|
42
|
+
function hasValue(p) {
|
|
43
|
+
return isDefined(p) && p !== null;
|
|
44
|
+
}
|
|
45
|
+
function isFunction(value) {
|
|
46
|
+
return typeof value === "function";
|
|
47
|
+
}
|
|
48
|
+
function isPromiseLike(value) {
|
|
49
|
+
return isPromise(value) || typeTag(value) === "Promise" || hasMethod(value, "then");
|
|
50
|
+
}
|
|
51
|
+
function isPromise(value) {
|
|
52
|
+
return value instanceof Promise;
|
|
53
|
+
}
|
|
54
|
+
function isIterator(value) {
|
|
55
|
+
return hasMethod(value, "next");
|
|
56
|
+
}
|
|
57
|
+
function isIterable(value) {
|
|
58
|
+
return hasMethod(value, Symbol.iterator);
|
|
59
|
+
}
|
|
60
|
+
function isIterableIterator(value) {
|
|
61
|
+
return isIterator(value) && isIterable(value);
|
|
62
|
+
}
|
|
63
|
+
function isAsyncIterable(value) {
|
|
64
|
+
return hasMethod(value, Symbol.asyncIterator);
|
|
65
|
+
}
|
|
66
|
+
function isAsyncIterableIterator(value) {
|
|
67
|
+
return isIterator(value) && isAsyncIterable(value);
|
|
68
|
+
}
|
|
69
|
+
function isIteratorObject(value) {
|
|
70
|
+
return inheritsFrom(value, IteratorPrototype);
|
|
71
|
+
}
|
|
72
|
+
function isAsyncIteratorObject(value) {
|
|
73
|
+
return inheritsFrom(value, AsyncIteratorPrototype);
|
|
74
|
+
}
|
|
75
|
+
function isGenerator(value) {
|
|
76
|
+
return inheritsFrom(value, GeneratorPrototype) || typeTag(value) === "Generator";
|
|
77
|
+
}
|
|
78
|
+
function isAsyncGenerator(value) {
|
|
79
|
+
return inheritsFrom(value, AsyncGeneratorPrototype) || typeTag(value) === "AsyncGenerator";
|
|
80
|
+
}
|
|
81
|
+
function isGeneratorFunction(value) {
|
|
82
|
+
if (!isFunction(value)) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return Object.getPrototypeOf(value) === GeneratorFunctionPrototype || typeTag(value) === "GeneratorFunction";
|
|
86
|
+
}
|
|
87
|
+
function isAsyncGeneratorFunction(value) {
|
|
88
|
+
if (!isFunction(value)) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return Object.getPrototypeOf(value) === AsyncGeneratorFunctionPrototype || typeTag(value) === "AsyncGeneratorFunction";
|
|
92
|
+
}
|
|
93
|
+
export {
|
|
94
|
+
isPromiseLike,
|
|
95
|
+
isPromise,
|
|
96
|
+
isIteratorObject,
|
|
97
|
+
isIterator,
|
|
98
|
+
isIterableIterator,
|
|
99
|
+
isIterable,
|
|
100
|
+
isGeneratorFunction,
|
|
101
|
+
isGenerator,
|
|
102
|
+
isFunction,
|
|
103
|
+
isDefined,
|
|
104
|
+
isAsyncIteratorObject,
|
|
105
|
+
isAsyncIterableIterator,
|
|
106
|
+
isAsyncIterable,
|
|
107
|
+
isAsyncGeneratorFunction,
|
|
108
|
+
isAsyncGenerator,
|
|
109
|
+
isArray,
|
|
110
|
+
hasValue,
|
|
111
|
+
assertNever,
|
|
112
|
+
GeneratorFunctionCtor,
|
|
113
|
+
AsyncGeneratorFunctionCtor
|
|
114
|
+
};
|
package/package.json
CHANGED
|
@@ -1,27 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhombus-toolkit/type-guards",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/rhombus-toolkit/ts.git",
|
|
8
8
|
"directory": "libraries/type-guards"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
10
|
+
"type": "module",
|
|
11
11
|
"sideEffects": false,
|
|
12
|
+
"main": "./dist/bundle/index.js",
|
|
13
|
+
"types": "./dist/bundle/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/bundle/index.d.ts",
|
|
17
|
+
"import": "./dist/bundle/index.js",
|
|
18
|
+
"default": "./dist/bundle/index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
12
24
|
"keywords": [],
|
|
13
25
|
"author": "Thomas Butler",
|
|
14
26
|
"dependencies": {
|
|
15
|
-
"@rhombus-toolkit/
|
|
16
|
-
"@rhombus-toolkit/heft-web-rig": "2.1.1"
|
|
27
|
+
"@rhombus-toolkit/types": "1.0.1"
|
|
17
28
|
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
|
|
20
|
-
"
|
|
29
|
+
"devDependencies": {},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public",
|
|
32
|
+
"provenance": true
|
|
21
33
|
},
|
|
22
34
|
"scripts": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
35
|
+
"build": "bun ../../scripts/build-lib.ts",
|
|
36
|
+
"lint": "bun x tsc --noEmit -p tsconfig.ci.json",
|
|
37
|
+
"test": "bun test --pass-with-no-tests"
|
|
26
38
|
}
|
|
27
39
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{"kind":"O","text":"Invoking: heft build --clean \n"}
|
|
2
|
-
{"kind":"O","text":" ---- build started ---- \n"}
|
|
3
|
-
{"kind":"O","text":"[build:set-browserslist-ignore-old-data-env-var] Setting environment variable BROWSERSLIST_IGNORE_OLD_DATA=1\n"}
|
|
4
|
-
{"kind":"O","text":"[build:sass] Starting...\n"}
|
|
5
|
-
{"kind":"O","text":"[build:image-typings] Processing static assets...\n"}
|
|
6
|
-
{"kind":"O","text":"[build:image-typings] Finished processing static assets.\n"}
|
|
7
|
-
{"kind":"O","text":"[build:sass] No SCSS files to process.\n"}
|
|
8
|
-
{"kind":"O","text":"[build:typescript] Using TypeScript version 5.8.3\n"}
|
|
9
|
-
{"kind":"O","text":"[build:typescript] Asynchronously transpiling /home/tom/src/ts@rhombus-toolkit/libraries/type-guards/tsconfig.json\n"}
|
|
10
|
-
{"kind":"O","text":"[build:webpack] No Webpack configuration found\n"}
|
|
11
|
-
{"kind":"O","text":" ---- build finished (14.962s) ---- \n"}
|
|
12
|
-
{"kind":"O","text":"-------------------- Finished (14.974s) --------------------\n"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
Start time: Sun May 31 2026 01:38:13 GMT-0400 (Eastern Daylight Time)
|
|
2
|
-
Invoking "/usr/bin/tar -c -f /home/tom/src/ts@rhombus-toolkit/common/temp/build-cache/e259a2c53419d2b8c718281869c69d81e19c2f3c-96aff3d370639e54.temp -z --files-from=-"
|
|
3
|
-
|
|
4
|
-
======= BEGIN PROCESS INPUT ======
|
|
5
|
-
.rush/temp/operation/build/all.log
|
|
6
|
-
.rush/temp/operation/build/log-chunks.jsonl
|
|
7
|
-
.rush/temp/operation/build/state.json
|
|
8
|
-
lib-commonjs/assert-never.js
|
|
9
|
-
lib-commonjs/assert-never.js.map
|
|
10
|
-
lib-commonjs/index.js
|
|
11
|
-
lib-commonjs/index.js.map
|
|
12
|
-
lib-commonjs/is.js
|
|
13
|
-
lib-commonjs/is.js.map
|
|
14
|
-
lib/assert-never.d.ts
|
|
15
|
-
lib/assert-never.d.ts.map
|
|
16
|
-
lib/assert-never.js
|
|
17
|
-
lib/assert-never.js.map
|
|
18
|
-
lib/index.d.ts
|
|
19
|
-
lib/index.d.ts.map
|
|
20
|
-
lib/index.js
|
|
21
|
-
lib/index.js.map
|
|
22
|
-
lib/is.d.ts
|
|
23
|
-
lib/is.d.ts.map
|
|
24
|
-
lib/is.js
|
|
25
|
-
lib/is.js.map
|
|
26
|
-
temp/build/typescript/ts_VRykbCrU.json
|
|
27
|
-
======== END PROCESS INPUT =======
|
|
28
|
-
======= BEGIN PROCESS OUTPUT =======
|
|
29
|
-
======== END PROCESS OUTPUT ========
|
|
30
|
-
|
|
31
|
-
Exited with code "0"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Invoking: heft build --clean
|
|
2
|
-
---- build started ----
|
|
3
|
-
[build:set-browserslist-ignore-old-data-env-var] Setting environment variable BROWSERSLIST_IGNORE_OLD_DATA=1
|
|
4
|
-
[build:sass] Starting...
|
|
5
|
-
[build:image-typings] Processing static assets...
|
|
6
|
-
[build:image-typings] Finished processing static assets.
|
|
7
|
-
[build:sass] No SCSS files to process.
|
|
8
|
-
[build:typescript] Using TypeScript version 5.8.3
|
|
9
|
-
[build:typescript] Asynchronously transpiling /home/tom/src/ts@rhombus-toolkit/libraries/type-guards/tsconfig.json
|
|
10
|
-
[build:webpack] No Webpack configuration found
|
|
11
|
-
---- build finished (14.962s) ----
|
|
12
|
-
-------------------- Finished (14.974s) --------------------
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{"kind":"O","text":"Invoking: heft build --clean \n"}
|
|
2
|
-
{"kind":"O","text":" ---- build started ---- \n"}
|
|
3
|
-
{"kind":"O","text":"[build:set-browserslist-ignore-old-data-env-var] Setting environment variable BROWSERSLIST_IGNORE_OLD_DATA=1\n"}
|
|
4
|
-
{"kind":"O","text":"[build:sass] Starting...\n"}
|
|
5
|
-
{"kind":"O","text":"[build:image-typings] Processing static assets...\n"}
|
|
6
|
-
{"kind":"O","text":"[build:image-typings] Finished processing static assets.\n"}
|
|
7
|
-
{"kind":"O","text":"[build:sass] No SCSS files to process.\n"}
|
|
8
|
-
{"kind":"O","text":"[build:typescript] Using TypeScript version 5.8.3\n"}
|
|
9
|
-
{"kind":"O","text":"[build:typescript] Asynchronously transpiling /home/tom/src/ts@rhombus-toolkit/libraries/type-guards/tsconfig.json\n"}
|
|
10
|
-
{"kind":"O","text":"[build:webpack] No Webpack configuration found\n"}
|
|
11
|
-
{"kind":"O","text":" ---- build finished (14.962s) ---- \n"}
|
|
12
|
-
{"kind":"O","text":"-------------------- Finished (14.974s) --------------------\n"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"../../libraries/type-guards": "../../libraries/type-guards:2Ka2cRI7XY9+9FXfcKKOtFNDWvhLqKn3WrC62oypzfc=:",
|
|
3
|
-
"@jsep-plugin/assignment@1.3.0(jsep@1.4.0)": "@jsep-plugin/assignment@1.3.0(jsep@1.4.0):ZHBbQD/ZNgH6rvCqXM/dWHOGLUJHK2Lf8S5U0HR9/n4=:",
|
|
4
|
-
"@jsep-plugin/regex@1.0.4(jsep@1.4.0)": "@jsep-plugin/regex@1.0.4(jsep@1.4.0):8KrZD9ipjUxFY+wR+skn9oJxuGAG15eZvTY169E1+DE=:",
|
|
5
|
-
"@nodelib/fs.scandir@2.1.5": "@nodelib/fs.scandir@2.1.5:uTXM0FRyGGfcJPskytFJhQANMNZMhKS0vsDLEaLvSvQ=:",
|
|
6
|
-
"@nodelib/fs.stat@2.0.5": "@nodelib/fs.stat@2.0.5:P158jhEq4gBzE9Cq1NEf01OQobQKYyQMjRa+el0t30k=:",
|
|
7
|
-
"@nodelib/fs.walk@1.2.8": "@nodelib/fs.walk@1.2.8:oPmpkk7H1iH2KiNwnk6ht0YLziAENkwZDeIF1KBx76U=:",
|
|
8
|
-
"@rushstack/heft-config-file@0.20.10(@types/node@25.9.1)": "@rushstack/heft-config-file@0.20.10(@types/node@25.9.1):7PyQy3hgejez2zFR4K11FStF0erWhosHdfT77xhDzUg=:",
|
|
9
|
-
"@rushstack/heft@1.2.17(@types/node@25.9.1)": "@rushstack/heft@1.2.17(@types/node@25.9.1):PEhLcAeyLeIlTZwTewCTH56JJ6KqtsqGzsAgLmqBoiE=:",
|
|
10
|
-
"@rushstack/node-core-library@5.23.1(@types/node@25.9.1)": "@rushstack/node-core-library@5.23.1(@types/node@25.9.1):4bT1yQ792bDztdLJGfejMwtIzSjUzce/3ce5b3z1bp0=:",
|
|
11
|
-
"@rushstack/operation-graph@0.6.9(@types/node@25.9.1)": "@rushstack/operation-graph@0.6.9(@types/node@25.9.1):ZTnKtpAnCDJWmzahIc+Uo8AcxFb+931aaUUMeq4D9Sw=:",
|
|
12
|
-
"@rushstack/problem-matcher@0.2.1(@types/node@25.9.1)": "@rushstack/problem-matcher@0.2.1(@types/node@25.9.1):arDqwqIvOWbHcsW/l7/aOdwUc/oljeMqguBN5rM7qe4=:",
|
|
13
|
-
"@rushstack/rig-package@0.7.3": "@rushstack/rig-package@0.7.3:jO36oGCH8//5sHhQn+2WIRTjFZbevApm+yIsh9Lx1vs=:",
|
|
14
|
-
"@rushstack/terminal@0.24.0(@types/node@25.9.1)": "@rushstack/terminal@0.24.0(@types/node@25.9.1):C2k46d2bxJbCr8DZ/J7C2w+OMHMcN6bU7hr1oqywvzQ=:",
|
|
15
|
-
"@rushstack/ts-command-line@5.3.9(@types/node@25.9.1)": "@rushstack/ts-command-line@5.3.9(@types/node@25.9.1):M8/EQAbm5LV7xHrse8P2apge05s6QdhMf6xj7tMN/5M=:",
|
|
16
|
-
"@types/argparse@1.0.38": "@types/argparse@1.0.38:SslIt/RtVapwi/AMoKKfXK8aOhlDtxZOIpdDE6cs1G0=:",
|
|
17
|
-
"@types/node@25.9.1": "@types/node@25.9.1:2Wd2BcnyoYJdO4N7Fe4J9p9klK5cU1WxABRpv2/ZFio=:",
|
|
18
|
-
"@types/tapable@1.0.6": "@types/tapable@1.0.6:6dTobGatf6qmT9iZYn36RexiGMPqnnJHLgKGdzCBM04=:",
|
|
19
|
-
"ajv-draft-04@1.0.0(ajv@8.18.0)": "ajv-draft-04@1.0.0(ajv@8.18.0):JG8wTlojY/flM3PwHQclVQAYfj7Apf56biGgSdOawQA=:",
|
|
20
|
-
"ajv-formats@3.0.1": "ajv-formats@3.0.1:UsGmpDGZlVReLuxRucUPL4JVD/HgxRGxNHwFFDT4HgQ=:",
|
|
21
|
-
"ajv@8.18.0": "ajv@8.18.0:fTpbnLje6H+gfMLuSRWwe2Qp/VZ11RZHypBNhBPLmX8=:",
|
|
22
|
-
"argparse@1.0.10": "argparse@1.0.10:x/LwqzuirmCrsODO3sKbp1w/DYrj3G20WF5Rs2QB6ms=:",
|
|
23
|
-
"braces@3.0.3": "braces@3.0.3:XgtM8Thv4a2Jjl/ddoMXUuUIi23AnHOiAk53PiCD0EQ=:",
|
|
24
|
-
"es-errors@1.3.0": "es-errors@1.3.0:kmZvD0RSQHmjF5lTQaQkps6d37EuKB12QAOSErtkAiU=:",
|
|
25
|
-
"fast-deep-equal@3.1.3": "fast-deep-equal@3.1.3:sQzlu0W93kExDoLpH+J9nRYeCD3IKRR56QR+L5402As=:",
|
|
26
|
-
"fast-glob@3.3.3": "fast-glob@3.3.3:XczoSNgfO/yYre4KrkzapcLxmu1jjqcFM6JwZVo97WI=:",
|
|
27
|
-
"fast-uri@3.1.2": "fast-uri@3.1.2:rkgaHYyiHvvvD4njRb4Rkb+lxFHLDZRE8qWHYt4B3Eg=:",
|
|
28
|
-
"fastq@1.20.1": "fastq@1.20.1:VLR+dU6DFdVk2pHrdSWACVLgJUTuUBC15RYf5aDKULA=:",
|
|
29
|
-
"fill-range@7.1.1": "fill-range@7.1.1:9spMdiAtV0l29+xqoYZmQux9kym97yepoWRGQT2NR64=:",
|
|
30
|
-
"fs-extra@11.3.5": "fs-extra@11.3.5:H395TfcFyIh2g4RcmFyr8wTPzA2U+psmPOs8/ZOFjKo=:",
|
|
31
|
-
"function-bind@1.1.2": "function-bind@1.1.2:yYIQ0DoscW5A382KLPxN3iZP1ZSnMgDr9FQFN3DN1PE=:",
|
|
32
|
-
"git-repo-info@2.1.1": "git-repo-info@2.1.1:nGY0MBjd+oc6T6Dk09aZ1UAXhcbGLJnsYdPF8v2fN8Q=:",
|
|
33
|
-
"glob-parent@5.1.2": "glob-parent@5.1.2:uRSSwWwdGKgoI57V0oJ6zGI22lBF1TPkV3B+q6hEacE=:",
|
|
34
|
-
"glob-to-regexp@0.4.1": "glob-to-regexp@0.4.1:gqutov/XbNo95kZGmnav8VslRd05n3GihPgnvoZEWvE=:",
|
|
35
|
-
"graceful-fs@4.2.11": "graceful-fs@4.2.11:pomF0yNQUfR+L2olPEIf2B0HgMSjAQ2Xgpvx49Po0gQ=:",
|
|
36
|
-
"has-flag@4.0.0": "has-flag@4.0.0:zgfmr3OsDLCMHlibU0ENn6OJauYzOf52DD0KUMi60HM=:",
|
|
37
|
-
"hasown@2.0.4": "hasown@2.0.4:3ZJ2a8EG11ZLP9MsMk6gOUEVBkHBGdxBWoZnvmPuowI=:",
|
|
38
|
-
"ignore@5.1.9": "ignore@5.1.9:AEWC3F2obXcchBihOw7FOkie5OCtPsFGHc4GYxQqOP4=:",
|
|
39
|
-
"import-lazy@4.0.0": "import-lazy@4.0.0:z21PPcOwipwLpS1l3TCXbauNnDGEHm3lvCf2YG68F/Y=:",
|
|
40
|
-
"is-core-module@2.16.2": "is-core-module@2.16.2:G6SZ7YVWVZ3Nt1xysOWz9iFoZBulQ0U2B8wKADKHYb4=:",
|
|
41
|
-
"is-extglob@2.1.1": "is-extglob@2.1.1:AMteoIRG/AM61zOJM8SDhzp+j5Az1DLUiE+Xa0axHgc=:",
|
|
42
|
-
"is-glob@4.0.3": "is-glob@4.0.3:IV1BYKFvh0lG6Iv4rcSZbUF8fezvPI6gta6HezidaLA=:",
|
|
43
|
-
"is-number@7.0.0": "is-number@7.0.0:KpNI62CWY4zvEDWNeVFdfAyccfLjtLp5pn1VdUDidE0=:",
|
|
44
|
-
"jju@1.4.0": "jju@1.4.0:hHHfS2lg6Mb0LM/iYWqkKFzCH4r031mVjivx/1ZRGyQ=:",
|
|
45
|
-
"jsep@1.4.0": "jsep@1.4.0:4Vc0SIFzdL2Xr0AM9ixmsdRjdenakIcYc91a/qgb9GI=:",
|
|
46
|
-
"json-schema-traverse@1.0.0": "json-schema-traverse@1.0.0:gh1yXCq0V1mI+aaVh8ph96ZANayNyYAYi6nMLZjxpuI=:",
|
|
47
|
-
"jsonfile@6.2.1": "jsonfile@6.2.1:SlHt2iY0JSGMHE1EJtpMFCLZelJ8MewDpk8wT31NPp0=:",
|
|
48
|
-
"jsonpath-plus@10.3.0": "jsonpath-plus@10.3.0:h/pm2T6q1XkeVa2LI9Xvxxd6xYfofZjbTpbqiq6DZDs=:",
|
|
49
|
-
"merge2@1.4.1": "merge2@1.4.1:gkHnXwX1d+iNTiwIQK8QL9UjFIA67BK29vLPKUG0cBA=:",
|
|
50
|
-
"micromatch@4.0.8": "micromatch@4.0.8:Yt4aWLIsglWQvtQgMUwm2ZZFs9OaBVNojnblv7WHcNU=:",
|
|
51
|
-
"path-parse@1.0.7": "path-parse@1.0.7:x6viiQCWpMCGlwGkcQWwN/d2NqXMoNXKjda/Cxi2A5g=:",
|
|
52
|
-
"picomatch@2.3.2": "picomatch@2.3.2:7vr6IH2IhEXBS6l1f57xQaQpDp14Wlj93ueImjGQn9s=:",
|
|
53
|
-
"queue-microtask@1.2.3": "queue-microtask@1.2.3:qODKGvVQDV4lUeAir1GQjygXtQlihQ2Hhchi8pHuVKk=:",
|
|
54
|
-
"require-from-string@2.0.2": "require-from-string@2.0.2:Oq+/PZKdcRSHrjfMAyQW4QHJvgZYnQ6981zwq5T83c0=:",
|
|
55
|
-
"resolve@1.22.12": "resolve@1.22.12:0rlbpjibn8JFT9VFRl88bpjhJsdn+J77b3aIWi9c/Ac=:",
|
|
56
|
-
"reusify@1.1.0": "reusify@1.1.0:0JLajg+K2dUqBxwnAzUdcrBlQWsmiio9NJefsTe8r1o=:",
|
|
57
|
-
"run-parallel@1.2.0": "run-parallel@1.2.0:ePFrY6GN0hzFfyHoQMIozn6bD5dQ/VmIqY+FLsQ8wNE=:",
|
|
58
|
-
"semver@7.7.4": "semver@7.7.4:oRLVVz7UXsbqTKrd/VOhW28IjzWGe/10MAtYcR9dAsw=:",
|
|
59
|
-
"sprintf-js@1.0.3": "sprintf-js@1.0.3:PsCLPm48+AtsjG1Aw6QMPH1V0lyqnLgrQMc+EZQcJzQ=:",
|
|
60
|
-
"string-argv@0.3.2": "string-argv@0.3.2:+8yETLVj+NVram+4+d1tPctOQVhWroEJQkJhxH4XHKw=:",
|
|
61
|
-
"supports-color@8.1.1": "supports-color@8.1.1:IlKnJib+1wvgnU/NB8X/o14yZNJZAaN87xE6uQ0OU7I=:",
|
|
62
|
-
"supports-preserve-symlinks-flag@1.0.0": "supports-preserve-symlinks-flag@1.0.0:sZhHjSTvUu8o0RqSnNQgo7bvpCnMxJydMGXPAgR8bXY=:",
|
|
63
|
-
"tapable@1.1.3": "tapable@1.1.3:7Vo/LRsTjSC2I0UqZm3QyZ59qxxnaPlwBcslCINljfE=:",
|
|
64
|
-
"to-regex-range@5.0.1": "to-regex-range@5.0.1:j/gL71RJSI0OcsK+l4OMWWl5RsNhHzqVzXI6PwPf22U=:",
|
|
65
|
-
"typescript@5.8.3": "typescript@5.8.3:nzjj4ldQ5cs//TQQ+NHC2ChrheQUjJWGFpnuihGoXA8=:",
|
|
66
|
-
"undici-types@7.24.6": "undici-types@7.24.6:pDHV3KR/TV2ysrv6fJ/z+GJtOdEZPOpP10s5QR34QEs=:",
|
|
67
|
-
"universalify@2.0.1": "universalify@2.0.1:eeOu+r4RdkgQ542fHlmdbMKBqA901SilKQ7nZCaoR98=:",
|
|
68
|
-
"watchpack@2.4.0": "watchpack@2.4.0:ArgACzPXNK9EnJaV9lhl31IdNRLw2fI653zq7upqQlg=:"
|
|
69
|
-
}
|
package/CHANGELOG.json
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@rhombus-toolkit/type-guards",
|
|
3
|
-
"entries": [
|
|
4
|
-
{
|
|
5
|
-
"version": "1.3.4",
|
|
6
|
-
"tag": "@rhombus-toolkit/type-guards_v1.3.4",
|
|
7
|
-
"date": "Sun, 31 May 2026 05:39:43 GMT",
|
|
8
|
-
"comments": {
|
|
9
|
-
"patch": [
|
|
10
|
-
{
|
|
11
|
-
"comment": "Upgrade build toolchain (Rush 5.175, Heft 1.x, TypeScript 5.8, ESLint 9, pnpm 9, node 24)."
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"dependency": [
|
|
15
|
-
{
|
|
16
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.5.3`"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"comment": "Updating dependency \"@rhombus-toolkit/heft-web-rig\" to `2.1.1`"
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"version": "1.3.3",
|
|
26
|
-
"tag": "@rhombus-toolkit/type-guards_v1.3.3",
|
|
27
|
-
"date": "Wed, 26 Jul 2023 12:35:47 GMT",
|
|
28
|
-
"comments": {
|
|
29
|
-
"dependency": [
|
|
30
|
-
{
|
|
31
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.5.2`"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"version": "1.3.2",
|
|
38
|
-
"tag": "@rhombus-toolkit/type-guards_v1.3.2",
|
|
39
|
-
"date": "Wed, 26 Jul 2023 11:58:55 GMT",
|
|
40
|
-
"comments": {
|
|
41
|
-
"patch": [
|
|
42
|
-
{
|
|
43
|
-
"comment": "fixed up tsconfig"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"dependency": [
|
|
47
|
-
{
|
|
48
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.5.1`"
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"version": "1.3.1",
|
|
55
|
-
"tag": "@rhombus-toolkit/type-guards_v1.3.1",
|
|
56
|
-
"date": "Wed, 26 Jul 2023 08:21:53 GMT",
|
|
57
|
-
"comments": {
|
|
58
|
-
"dependency": [
|
|
59
|
-
{
|
|
60
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.5.0`"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"version": "1.3.0",
|
|
67
|
-
"tag": "@rhombus-toolkit/type-guards_v1.3.0",
|
|
68
|
-
"date": "Wed, 26 Jul 2023 08:09:07 GMT",
|
|
69
|
-
"comments": {
|
|
70
|
-
"minor": [
|
|
71
|
-
{
|
|
72
|
-
"comment": "version bump"
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
"dependency": [
|
|
76
|
-
{
|
|
77
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.4.0`"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"version": "1.2.6",
|
|
84
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.6",
|
|
85
|
-
"date": "Mon, 24 Jul 2023 11:27:14 GMT",
|
|
86
|
-
"comments": {
|
|
87
|
-
"dependency": [
|
|
88
|
-
{
|
|
89
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.2.0`"
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"version": "1.2.5",
|
|
96
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.5",
|
|
97
|
-
"date": "Mon, 24 Jul 2023 08:06:25 GMT",
|
|
98
|
-
"comments": {
|
|
99
|
-
"patch": [
|
|
100
|
-
{
|
|
101
|
-
"comment": "updated workspace refs"
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"dependency": [
|
|
105
|
-
{
|
|
106
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" to `3.1.0`"
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"version": "1.2.4",
|
|
113
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.4",
|
|
114
|
-
"date": "Sat, 22 Jul 2023 12:25:14 GMT",
|
|
115
|
-
"comments": {
|
|
116
|
-
"dependency": [
|
|
117
|
-
{
|
|
118
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" from `1.3.0` to `2.0.0`"
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"version": "1.2.3",
|
|
125
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.3",
|
|
126
|
-
"date": "Wed, 19 Jul 2023 01:33:48 GMT",
|
|
127
|
-
"comments": {
|
|
128
|
-
"patch": [
|
|
129
|
-
{
|
|
130
|
-
"comment": "new rig package"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"dependency": [
|
|
134
|
-
{
|
|
135
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" from `1.2.2` to `1.3.0`"
|
|
136
|
-
}
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"version": "1.2.2",
|
|
142
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.2",
|
|
143
|
-
"date": "Fri, 23 Jun 2023 09:27:29 GMT",
|
|
144
|
-
"comments": {
|
|
145
|
-
"patch": [
|
|
146
|
-
{
|
|
147
|
-
"comment": "god freakin damn rush publish"
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"dependency": [
|
|
151
|
-
{
|
|
152
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" from `1.2.1` to `1.2.2`"
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"version": "1.2.1",
|
|
159
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.1",
|
|
160
|
-
"date": "Fri, 23 Jun 2023 08:16:55 GMT",
|
|
161
|
-
"comments": {
|
|
162
|
-
"patch": [
|
|
163
|
-
{
|
|
164
|
-
"comment": "tooling upgrades (no functional change)"
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"dependency": [
|
|
168
|
-
{
|
|
169
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" from `1.2.0` to `1.2.1`"
|
|
170
|
-
}
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"version": "1.2.0",
|
|
176
|
-
"tag": "@rhombus-toolkit/type-guards_v1.2.0",
|
|
177
|
-
"date": "Mon, 25 Jul 2022 05:38:56 GMT",
|
|
178
|
-
"comments": {
|
|
179
|
-
"minor": [
|
|
180
|
-
{
|
|
181
|
-
"comment": "init"
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"dependency": [
|
|
185
|
-
{
|
|
186
|
-
"comment": "Updating dependency \"@rhombus-toolkit/func\" from `1.1.0` to `1.2.0`"
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
]
|
|
192
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Change Log - @rhombus-toolkit/type-guards
|
|
2
|
-
|
|
3
|
-
This log was last generated on Sun, 31 May 2026 05:39:43 GMT and should not be manually modified.
|
|
4
|
-
|
|
5
|
-
## 1.3.4
|
|
6
|
-
Sun, 31 May 2026 05:39:43 GMT
|
|
7
|
-
|
|
8
|
-
### Patches
|
|
9
|
-
|
|
10
|
-
- Upgrade build toolchain (Rush 5.175, Heft 1.x, TypeScript 5.8, ESLint 9, pnpm 9, node 24).
|
|
11
|
-
|
|
12
|
-
## 1.3.3
|
|
13
|
-
Wed, 26 Jul 2023 12:35:47 GMT
|
|
14
|
-
|
|
15
|
-
_Version update only_
|
|
16
|
-
|
|
17
|
-
## 1.3.2
|
|
18
|
-
Wed, 26 Jul 2023 11:58:55 GMT
|
|
19
|
-
|
|
20
|
-
### Patches
|
|
21
|
-
|
|
22
|
-
- fixed up tsconfig
|
|
23
|
-
|
|
24
|
-
## 1.3.1
|
|
25
|
-
Wed, 26 Jul 2023 08:21:53 GMT
|
|
26
|
-
|
|
27
|
-
_Version update only_
|
|
28
|
-
|
|
29
|
-
## 1.3.0
|
|
30
|
-
Wed, 26 Jul 2023 08:09:07 GMT
|
|
31
|
-
|
|
32
|
-
### Minor changes
|
|
33
|
-
|
|
34
|
-
- version bump
|
|
35
|
-
|
|
36
|
-
## 1.2.6
|
|
37
|
-
Mon, 24 Jul 2023 11:27:14 GMT
|
|
38
|
-
|
|
39
|
-
_Version update only_
|
|
40
|
-
|
|
41
|
-
## 1.2.5
|
|
42
|
-
Mon, 24 Jul 2023 08:06:25 GMT
|
|
43
|
-
|
|
44
|
-
### Patches
|
|
45
|
-
|
|
46
|
-
- updated workspace refs
|
|
47
|
-
|
|
48
|
-
## 1.2.4
|
|
49
|
-
Sat, 22 Jul 2023 12:25:14 GMT
|
|
50
|
-
|
|
51
|
-
_Version update only_
|
|
52
|
-
|
|
53
|
-
## 1.2.3
|
|
54
|
-
Wed, 19 Jul 2023 01:33:48 GMT
|
|
55
|
-
|
|
56
|
-
### Patches
|
|
57
|
-
|
|
58
|
-
- new rig package
|
|
59
|
-
|
|
60
|
-
## 1.2.2
|
|
61
|
-
Fri, 23 Jun 2023 09:27:29 GMT
|
|
62
|
-
|
|
63
|
-
### Patches
|
|
64
|
-
|
|
65
|
-
- god freakin damn rush publish
|
|
66
|
-
|
|
67
|
-
## 1.2.1
|
|
68
|
-
Fri, 23 Jun 2023 08:16:55 GMT
|
|
69
|
-
|
|
70
|
-
### Patches
|
|
71
|
-
|
|
72
|
-
- tooling upgrades (no functional change)
|
|
73
|
-
|
|
74
|
-
## 1.2.0
|
|
75
|
-
Mon, 25 Jul 2022 05:38:56 GMT
|
|
76
|
-
|
|
77
|
-
### Minor changes
|
|
78
|
-
|
|
79
|
-
- init
|
|
80
|
-
|
package/config/rig.json
DELETED
package/lib/assert-never.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assert-never.d.ts","sourceRoot":"","sources":["../src/assert-never.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAE3C"}
|
package/lib/assert-never.js
DELETED
package/lib/assert-never.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assert-never.js","sourceRoot":"","sources":["../src/assert-never.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,WAAW,CAAC,CAAQ;IAChC,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,CAAC,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["export function assertNever(x: never): never {\n throw new Error(\"Unexpected object: \" + x);\n}\n"]}
|
package/lib/index.d.ts
DELETED
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,MAAM,CAAC"}
|
package/lib/index.js
DELETED
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,MAAM,CAAC","sourcesContent":["export * from './assert-never';\nexport * from './is';\n"]}
|
package/lib/is.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare function isArray(value: any): value is Array<any>;
|
|
2
|
-
export declare function isDefined<T>(p: T | undefined | null): p is T | null;
|
|
3
|
-
export declare function hasValue<T>(p: T | null | undefined): p is T;
|
|
4
|
-
export declare function isFunction(value: any): value is (...args: any[]) => any;
|
|
5
|
-
export declare function isPromise(value: any): value is PromiseLike<any>;
|
|
6
|
-
export declare function isPromiseLike(value: any): value is PromiseLike<any>;
|
|
7
|
-
export declare function isUrl(url: any): url is URL;
|
|
8
|
-
export declare function _isIterator(value: any): value is Iterator<any>;
|
|
9
|
-
export declare function isIterator(value: any): value is IterableIterator<any>;
|
|
10
|
-
export declare function isAsyncIterator(value: any): value is AsyncIterableIterator<any>;
|
|
11
|
-
export declare function isIterable(value: any): value is Iterable<any>;
|
|
12
|
-
export declare function isAsyncIterable(value: any): value is AsyncIterable<any>;
|
|
13
|
-
export declare const GeneratorFunction: GeneratorFunction;
|
|
14
|
-
export declare const AsyncGeneratorFunction: AsyncGeneratorFunction;
|
|
15
|
-
export declare function isGeneratorFunction(value: any): value is GeneratorFunction;
|
|
16
|
-
export declare function isGenerator(value: any): value is Generator<any, any, any>;
|
|
17
|
-
export declare function isAsyncGeneratorFunction(value: any): value is AsyncGeneratorFunction;
|
|
18
|
-
export declare function isAsyncGenerator(value: any): value is AsyncGenerator<any, any, any>;
|
|
19
|
-
//# sourceMappingURL=is.d.ts.map
|
package/lib/is.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is.d.ts","sourceRoot":"","sources":["../src/is.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,KAAK,CAAC,GAAG,CAAC,CAEvD;AACD,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,SAAS,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAEnE;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,IAAI,CAAC,CAE3D;AAID,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAEvE;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,WAAW,CAAC,GAAG,CAAC,CAE/D;AACD,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,WAAW,CAAC,GAAG,CAAC,CAKnE;AAGD,wBAAgB,KAAK,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG,CAE1C;AAQD,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,QAAQ,CAAC,GAAG,CAAC,CAE9D;AACD,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,gBAAgB,CAAC,GAAG,CAAC,CAErE;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,qBAAqB,CAAC,GAAG,CAAC,CAE/E;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,QAAQ,CAAC,GAAG,CAAC,CAE7D;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,aAAa,CAAC,GAAG,CAAC,CAEvE;AAKD,eAAO,MAAM,iBAAiB,EAA2B,iBAAiB,CAAC;AAC3E,eAAO,MAAM,sBAAsB,EAAgC,sBAAsB,CAAC;AAK1F,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,iBAAiB,CAE1E;AACD,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAEzE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,sBAAsB,CAEpF;AACD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAEnF"}
|
package/lib/is.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
export function isArray(value) {
|
|
2
|
-
return Array.isArray(value);
|
|
3
|
-
}
|
|
4
|
-
export function isDefined(p) {
|
|
5
|
-
return p !== undefined;
|
|
6
|
-
}
|
|
7
|
-
export function hasValue(p) {
|
|
8
|
-
return isDefined(p) && p !== null;
|
|
9
|
-
}
|
|
10
|
-
export function isFunction(value) {
|
|
11
|
-
return typeof (value) === 'function';
|
|
12
|
-
}
|
|
13
|
-
export function isPromise(value) {
|
|
14
|
-
return value instanceof Promise;
|
|
15
|
-
}
|
|
16
|
-
export function isPromiseLike(value) {
|
|
17
|
-
return isPromise(value) ||
|
|
18
|
-
getTypeName(value).includes('Promise') ||
|
|
19
|
-
isFunction(value?.then);
|
|
20
|
-
}
|
|
21
|
-
export function isUrl(url) {
|
|
22
|
-
return url instanceof URL;
|
|
23
|
-
}
|
|
24
|
-
function getTypeName(obj) {
|
|
25
|
-
return obj?.[Symbol.toStringTag]
|
|
26
|
-
?? Object.prototype.toString.call(obj).replace(/^\[object (.+)]$/, '$1')
|
|
27
|
-
?? obj?.constructor?.name;
|
|
28
|
-
}
|
|
29
|
-
export function _isIterator(value) {
|
|
30
|
-
return getTypeName(value).includes('Iterator') || isFunction(value?.next);
|
|
31
|
-
}
|
|
32
|
-
export function isIterator(value) {
|
|
33
|
-
return isIterable(value) && _isIterator(value);
|
|
34
|
-
}
|
|
35
|
-
export function isAsyncIterator(value) {
|
|
36
|
-
return isAsyncIterable(value) && _isIterator(value);
|
|
37
|
-
}
|
|
38
|
-
export function isIterable(value) {
|
|
39
|
-
return Symbol.iterator in value;
|
|
40
|
-
}
|
|
41
|
-
export function isAsyncIterable(value) {
|
|
42
|
-
return Symbol.asyncIterator in value;
|
|
43
|
-
}
|
|
44
|
-
const genExamp = function* () { };
|
|
45
|
-
const asyncGenExamp = async function* () { };
|
|
46
|
-
export const GeneratorFunction = genExamp.constructor;
|
|
47
|
-
export const AsyncGeneratorFunction = asyncGenExamp.constructor;
|
|
48
|
-
const asyncGeneratorProto = getProtoSquared(asyncGenExamp);
|
|
49
|
-
const generatorProto = getProtoSquared(genExamp);
|
|
50
|
-
export function isGeneratorFunction(value) {
|
|
51
|
-
return value instanceof GeneratorFunction;
|
|
52
|
-
}
|
|
53
|
-
export function isGenerator(value) {
|
|
54
|
-
return getProtoSquared(value) == generatorProto;
|
|
55
|
-
}
|
|
56
|
-
export function isAsyncGeneratorFunction(value) {
|
|
57
|
-
return value instanceof AsyncGeneratorFunction;
|
|
58
|
-
}
|
|
59
|
-
export function isAsyncGenerator(value) {
|
|
60
|
-
return getProtoSquared(value) === asyncGeneratorProto;
|
|
61
|
-
}
|
|
62
|
-
function getProtoSquared(obj) {
|
|
63
|
-
try {
|
|
64
|
-
return Reflect.getPrototypeOf(Reflect.getPrototypeOf(obj));
|
|
65
|
-
}
|
|
66
|
-
catch {
|
|
67
|
-
return undefined;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=is.js.map
|
package/lib/is.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is.js","sourceRoot":"","sources":["../src/is.ts"],"names":[],"mappings":"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","sourcesContent":["export function isArray(value: any): value is Array<any> {\n return Array.isArray(value);\n}\nexport function isDefined<T>(p: T | undefined | null): p is T | null {\n return p !== undefined;\n}\n\nexport function hasValue<T>(p: T | null | undefined): p is T {\n return isDefined(p) && p !== null;\n}\n\n\n\nexport function isFunction(value: any): value is (...args: any[]) => any {\n return typeof (value) === 'function';\n}\n\nexport function isPromise(value: any): value is PromiseLike<any> {\n return value instanceof Promise;\n}\nexport function isPromiseLike(value: any): value is PromiseLike<any> {\n return isPromise(value) ||\n getTypeName(value).includes('Promise') ||\n isFunction(value?.then);\n\n}\n\n\nexport function isUrl(url: any): url is URL {\n return url instanceof URL;\n}\n\nfunction getTypeName(obj: any): string {\n return obj?.[Symbol.toStringTag]\n ?? Object.prototype.toString.call(obj).replace(/^\\[object (.+)]$/, '$1')\n ?? obj?.constructor?.name;\n}\n\nexport function _isIterator(value: any): value is Iterator<any> {\n return getTypeName(value).includes('Iterator') || isFunction(value?.next);\n}\nexport function isIterator(value: any): value is IterableIterator<any> {\n return isIterable(value) && _isIterator(value);\n}\nexport function isAsyncIterator(value: any): value is AsyncIterableIterator<any> {\n return isAsyncIterable(value) && _isIterator(value);\n}\n\nexport function isIterable(value: any): value is Iterable<any> {\n return Symbol.iterator in value;\n}\nexport function isAsyncIterable(value: any): value is AsyncIterable<any> {\n return Symbol.asyncIterator in value;\n}\n\nconst genExamp = function* () { };\nconst asyncGenExamp = async function* () { };\n\nexport const GeneratorFunction = genExamp.constructor as GeneratorFunction;\nexport const AsyncGeneratorFunction = asyncGenExamp.constructor as AsyncGeneratorFunction;\n\nconst asyncGeneratorProto = getProtoSquared(asyncGenExamp);\nconst generatorProto = getProtoSquared(genExamp);\n\nexport function isGeneratorFunction(value: any): value is GeneratorFunction {\n return value instanceof GeneratorFunction;\n}\nexport function isGenerator(value: any): value is Generator<any, any, any> {\n return getProtoSquared(value) == generatorProto;\n}\n\nexport function isAsyncGeneratorFunction(value: any): value is AsyncGeneratorFunction {\n return value instanceof AsyncGeneratorFunction;\n}\nexport function isAsyncGenerator(value: any): value is AsyncGenerator<any, any, any> {\n return getProtoSquared(value) === asyncGeneratorProto;\n}\nfunction getProtoSquared(obj: any) {\n try {\n return Reflect.getPrototypeOf(Reflect.getPrototypeOf(obj)!);\n } catch {\n return undefined;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assert-never.js","sourceRoot":"","sources":["../src/assert-never.ts"],"names":[],"mappings":";;AAAA,kCAEC;AAFD,SAAgB,WAAW,CAAC,CAAQ;IAChC,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,CAAC,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["export function assertNever(x: never): never {\n throw new Error(\"Unexpected object: \" + x);\n}\n"]}
|
package/lib-commonjs/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./assert-never"), exports);
|
|
18
|
-
__exportStar(require("./is"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,uCAAqB","sourcesContent":["export * from './assert-never';\nexport * from './is';\n"]}
|
package/lib-commonjs/is.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AsyncGeneratorFunction = exports.GeneratorFunction = void 0;
|
|
4
|
-
exports.isArray = isArray;
|
|
5
|
-
exports.isDefined = isDefined;
|
|
6
|
-
exports.hasValue = hasValue;
|
|
7
|
-
exports.isFunction = isFunction;
|
|
8
|
-
exports.isPromise = isPromise;
|
|
9
|
-
exports.isPromiseLike = isPromiseLike;
|
|
10
|
-
exports.isUrl = isUrl;
|
|
11
|
-
exports._isIterator = _isIterator;
|
|
12
|
-
exports.isIterator = isIterator;
|
|
13
|
-
exports.isAsyncIterator = isAsyncIterator;
|
|
14
|
-
exports.isIterable = isIterable;
|
|
15
|
-
exports.isAsyncIterable = isAsyncIterable;
|
|
16
|
-
exports.isGeneratorFunction = isGeneratorFunction;
|
|
17
|
-
exports.isGenerator = isGenerator;
|
|
18
|
-
exports.isAsyncGeneratorFunction = isAsyncGeneratorFunction;
|
|
19
|
-
exports.isAsyncGenerator = isAsyncGenerator;
|
|
20
|
-
function isArray(value) {
|
|
21
|
-
return Array.isArray(value);
|
|
22
|
-
}
|
|
23
|
-
function isDefined(p) {
|
|
24
|
-
return p !== undefined;
|
|
25
|
-
}
|
|
26
|
-
function hasValue(p) {
|
|
27
|
-
return isDefined(p) && p !== null;
|
|
28
|
-
}
|
|
29
|
-
function isFunction(value) {
|
|
30
|
-
return typeof (value) === 'function';
|
|
31
|
-
}
|
|
32
|
-
function isPromise(value) {
|
|
33
|
-
return value instanceof Promise;
|
|
34
|
-
}
|
|
35
|
-
function isPromiseLike(value) {
|
|
36
|
-
return isPromise(value) ||
|
|
37
|
-
getTypeName(value).includes('Promise') ||
|
|
38
|
-
isFunction(value?.then);
|
|
39
|
-
}
|
|
40
|
-
function isUrl(url) {
|
|
41
|
-
return url instanceof URL;
|
|
42
|
-
}
|
|
43
|
-
function getTypeName(obj) {
|
|
44
|
-
return obj?.[Symbol.toStringTag]
|
|
45
|
-
?? Object.prototype.toString.call(obj).replace(/^\[object (.+)]$/, '$1')
|
|
46
|
-
?? obj?.constructor?.name;
|
|
47
|
-
}
|
|
48
|
-
function _isIterator(value) {
|
|
49
|
-
return getTypeName(value).includes('Iterator') || isFunction(value?.next);
|
|
50
|
-
}
|
|
51
|
-
function isIterator(value) {
|
|
52
|
-
return isIterable(value) && _isIterator(value);
|
|
53
|
-
}
|
|
54
|
-
function isAsyncIterator(value) {
|
|
55
|
-
return isAsyncIterable(value) && _isIterator(value);
|
|
56
|
-
}
|
|
57
|
-
function isIterable(value) {
|
|
58
|
-
return Symbol.iterator in value;
|
|
59
|
-
}
|
|
60
|
-
function isAsyncIterable(value) {
|
|
61
|
-
return Symbol.asyncIterator in value;
|
|
62
|
-
}
|
|
63
|
-
const genExamp = function* () { };
|
|
64
|
-
const asyncGenExamp = async function* () { };
|
|
65
|
-
exports.GeneratorFunction = genExamp.constructor;
|
|
66
|
-
exports.AsyncGeneratorFunction = asyncGenExamp.constructor;
|
|
67
|
-
const asyncGeneratorProto = getProtoSquared(asyncGenExamp);
|
|
68
|
-
const generatorProto = getProtoSquared(genExamp);
|
|
69
|
-
function isGeneratorFunction(value) {
|
|
70
|
-
return value instanceof exports.GeneratorFunction;
|
|
71
|
-
}
|
|
72
|
-
function isGenerator(value) {
|
|
73
|
-
return getProtoSquared(value) == generatorProto;
|
|
74
|
-
}
|
|
75
|
-
function isAsyncGeneratorFunction(value) {
|
|
76
|
-
return value instanceof exports.AsyncGeneratorFunction;
|
|
77
|
-
}
|
|
78
|
-
function isAsyncGenerator(value) {
|
|
79
|
-
return getProtoSquared(value) === asyncGeneratorProto;
|
|
80
|
-
}
|
|
81
|
-
function getProtoSquared(obj) {
|
|
82
|
-
try {
|
|
83
|
-
return Reflect.getPrototypeOf(Reflect.getPrototypeOf(obj));
|
|
84
|
-
}
|
|
85
|
-
catch {
|
|
86
|
-
return undefined;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
//# sourceMappingURL=is.js.map
|
package/lib-commonjs/is.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is.js","sourceRoot":"","sources":["../src/is.ts"],"names":[],"mappings":"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","sourcesContent":["export function isArray(value: any): value is Array<any> {\n return Array.isArray(value);\n}\nexport function isDefined<T>(p: T | undefined | null): p is T | null {\n return p !== undefined;\n}\n\nexport function hasValue<T>(p: T | null | undefined): p is T {\n return isDefined(p) && p !== null;\n}\n\n\n\nexport function isFunction(value: any): value is (...args: any[]) => any {\n return typeof (value) === 'function';\n}\n\nexport function isPromise(value: any): value is PromiseLike<any> {\n return value instanceof Promise;\n}\nexport function isPromiseLike(value: any): value is PromiseLike<any> {\n return isPromise(value) ||\n getTypeName(value).includes('Promise') ||\n isFunction(value?.then);\n\n}\n\n\nexport function isUrl(url: any): url is URL {\n return url instanceof URL;\n}\n\nfunction getTypeName(obj: any): string {\n return obj?.[Symbol.toStringTag]\n ?? Object.prototype.toString.call(obj).replace(/^\\[object (.+)]$/, '$1')\n ?? obj?.constructor?.name;\n}\n\nexport function _isIterator(value: any): value is Iterator<any> {\n return getTypeName(value).includes('Iterator') || isFunction(value?.next);\n}\nexport function isIterator(value: any): value is IterableIterator<any> {\n return isIterable(value) && _isIterator(value);\n}\nexport function isAsyncIterator(value: any): value is AsyncIterableIterator<any> {\n return isAsyncIterable(value) && _isIterator(value);\n}\n\nexport function isIterable(value: any): value is Iterable<any> {\n return Symbol.iterator in value;\n}\nexport function isAsyncIterable(value: any): value is AsyncIterable<any> {\n return Symbol.asyncIterator in value;\n}\n\nconst genExamp = function* () { };\nconst asyncGenExamp = async function* () { };\n\nexport const GeneratorFunction = genExamp.constructor as GeneratorFunction;\nexport const AsyncGeneratorFunction = asyncGenExamp.constructor as AsyncGeneratorFunction;\n\nconst asyncGeneratorProto = getProtoSquared(asyncGenExamp);\nconst generatorProto = getProtoSquared(genExamp);\n\nexport function isGeneratorFunction(value: any): value is GeneratorFunction {\n return value instanceof GeneratorFunction;\n}\nexport function isGenerator(value: any): value is Generator<any, any, any> {\n return getProtoSquared(value) == generatorProto;\n}\n\nexport function isAsyncGeneratorFunction(value: any): value is AsyncGeneratorFunction {\n return value instanceof AsyncGeneratorFunction;\n}\nexport function isAsyncGenerator(value: any): value is AsyncGenerator<any, any, any> {\n return getProtoSquared(value) === asyncGeneratorProto;\n}\nfunction getProtoSquared(obj: any) {\n try {\n return Reflect.getPrototypeOf(Reflect.getPrototypeOf(obj)!);\n } catch {\n return undefined;\n }\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Invoking: heft build --clean
|
|
2
|
-
---- build started ----
|
|
3
|
-
[build:set-browserslist-ignore-old-data-env-var] Setting environment variable BROWSERSLIST_IGNORE_OLD_DATA=1
|
|
4
|
-
[build:sass] Starting...
|
|
5
|
-
[build:image-typings] Processing static assets...
|
|
6
|
-
[build:image-typings] Finished processing static assets.
|
|
7
|
-
[build:sass] No SCSS files to process.
|
|
8
|
-
[build:typescript] Using TypeScript version 5.8.3
|
|
9
|
-
[build:typescript] Asynchronously transpiling /home/tom/src/ts@rhombus-toolkit/libraries/type-guards/tsconfig.json
|
|
10
|
-
[build:webpack] No Webpack configuration found
|
|
11
|
-
---- build finished (14.962s) ----
|
|
12
|
-
-------------------- Finished (14.974s) --------------------
|
package/src/assert-never.ts
DELETED
package/src/index.ts
DELETED
package/src/is.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export function isArray(value: any): value is Array<any> {
|
|
2
|
-
return Array.isArray(value);
|
|
3
|
-
}
|
|
4
|
-
export function isDefined<T>(p: T | undefined | null): p is T | null {
|
|
5
|
-
return p !== undefined;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export function hasValue<T>(p: T | null | undefined): p is T {
|
|
9
|
-
return isDefined(p) && p !== null;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export function isFunction(value: any): value is (...args: any[]) => any {
|
|
15
|
-
return typeof (value) === 'function';
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export function isPromise(value: any): value is PromiseLike<any> {
|
|
19
|
-
return value instanceof Promise;
|
|
20
|
-
}
|
|
21
|
-
export function isPromiseLike(value: any): value is PromiseLike<any> {
|
|
22
|
-
return isPromise(value) ||
|
|
23
|
-
getTypeName(value).includes('Promise') ||
|
|
24
|
-
isFunction(value?.then);
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export function isUrl(url: any): url is URL {
|
|
30
|
-
return url instanceof URL;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
function getTypeName(obj: any): string {
|
|
34
|
-
return obj?.[Symbol.toStringTag]
|
|
35
|
-
?? Object.prototype.toString.call(obj).replace(/^\[object (.+)]$/, '$1')
|
|
36
|
-
?? obj?.constructor?.name;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function _isIterator(value: any): value is Iterator<any> {
|
|
40
|
-
return getTypeName(value).includes('Iterator') || isFunction(value?.next);
|
|
41
|
-
}
|
|
42
|
-
export function isIterator(value: any): value is IterableIterator<any> {
|
|
43
|
-
return isIterable(value) && _isIterator(value);
|
|
44
|
-
}
|
|
45
|
-
export function isAsyncIterator(value: any): value is AsyncIterableIterator<any> {
|
|
46
|
-
return isAsyncIterable(value) && _isIterator(value);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function isIterable(value: any): value is Iterable<any> {
|
|
50
|
-
return Symbol.iterator in value;
|
|
51
|
-
}
|
|
52
|
-
export function isAsyncIterable(value: any): value is AsyncIterable<any> {
|
|
53
|
-
return Symbol.asyncIterator in value;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
const genExamp = function* () { };
|
|
57
|
-
const asyncGenExamp = async function* () { };
|
|
58
|
-
|
|
59
|
-
export const GeneratorFunction = genExamp.constructor as GeneratorFunction;
|
|
60
|
-
export const AsyncGeneratorFunction = asyncGenExamp.constructor as AsyncGeneratorFunction;
|
|
61
|
-
|
|
62
|
-
const asyncGeneratorProto = getProtoSquared(asyncGenExamp);
|
|
63
|
-
const generatorProto = getProtoSquared(genExamp);
|
|
64
|
-
|
|
65
|
-
export function isGeneratorFunction(value: any): value is GeneratorFunction {
|
|
66
|
-
return value instanceof GeneratorFunction;
|
|
67
|
-
}
|
|
68
|
-
export function isGenerator(value: any): value is Generator<any, any, any> {
|
|
69
|
-
return getProtoSquared(value) == generatorProto;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function isAsyncGeneratorFunction(value: any): value is AsyncGeneratorFunction {
|
|
73
|
-
return value instanceof AsyncGeneratorFunction;
|
|
74
|
-
}
|
|
75
|
-
export function isAsyncGenerator(value: any): value is AsyncGenerator<any, any, any> {
|
|
76
|
-
return getProtoSquared(value) === asyncGeneratorProto;
|
|
77
|
-
}
|
|
78
|
-
function getProtoSquared(obj: any) {
|
|
79
|
-
try {
|
|
80
|
-
return Reflect.getPrototypeOf(Reflect.getPrototypeOf(obj)!);
|
|
81
|
-
} catch {
|
|
82
|
-
return undefined;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"fileNames":["../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../src/assert-never.ts","../../../src/is.ts","../../../src/index.ts"],"fileIdsList":[[81,82]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"8bf8b5e44e3c9c36f98e1007e8b7018c0f38d8adc07aecef42f5200114547c70","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4166dead50f6e842380ea09c3c06eba469fcf9dfa85869f242081c96b594c579","signature":"d2e3a4f4548e94f2177a0eaabcc4ac2295cbe55f55ab8bc5b24cfffddd473aa9"},{"version":"d62d6fc3f23885822d57d4dff0dffb316a447e66e127e9943be942e0cd0b5dc3","signature":"b252a9a572b28318bb13ceabb429b368065515bbd2a6e404e8d958234a3a1497"},"10bcaaacc7fe02ca41130aa61385e1aa4595311bdfe25544addc45cd6da6dafb"],"root":[[81,83]],"options":{"allowJs":false,"allowUnreachableCode":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":false,"importHelpers":false,"inlineSources":true,"jsx":2,"module":99,"noEmitOnError":false,"outDir":"../../../lib","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"tsBuildInfoFile":"./ts_VRykbCrU.json","useUnknownInCatchVariables":true},"referencedMap":[[83,1]],"version":"5.8.3"}
|