@contember/utilities 2.1.0-alpha.3 → 2.1.0-alpha.35
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/package.json +3 -3
- package/src/deprecate/deprecate.ts +10 -2
- package/src/deprecate/types.ts +0 -1
- package/src/structures/BijectiveIndexedMap.ts +19 -0
- package/src/structures/WeakIdCache.ts +1 -1
- package/src/types/Narrow.ts +5 -6
- package/src/types/NonOptional.ts +1 -1
- package/tests/dom/dataAttribute.test.ts +2 -3
- package/tests/dom/svgSizeProps.test.ts +2 -2
- package/dist/development/index.cjs +0 -17
- package/dist/development/index.cjs.map +0 -1
- package/dist/development/index.js +0 -17
- package/dist/development/index.js.map +0 -1
- package/dist/development/src/assert-types/assertNever.cjs +0 -7
- package/dist/development/src/assert-types/assertNever.cjs.map +0 -1
- package/dist/development/src/assert-types/assertNever.js +0 -7
- package/dist/development/src/assert-types/assertNever.js.map +0 -1
- package/dist/development/src/deprecate/deprecate.cjs +0 -16
- package/dist/development/src/deprecate/deprecate.cjs.map +0 -1
- package/dist/development/src/deprecate/deprecate.js +0 -16
- package/dist/development/src/deprecate/deprecate.js.map +0 -1
- package/dist/development/src/dom/dataAttribute.cjs +0 -13
- package/dist/development/src/dom/dataAttribute.cjs.map +0 -1
- package/dist/development/src/dom/dataAttribute.js +0 -13
- package/dist/development/src/dom/dataAttribute.js.map +0 -1
- package/dist/development/src/dom/svgSizeProps.cjs +0 -15
- package/dist/development/src/dom/svgSizeProps.cjs.map +0 -1
- package/dist/development/src/dom/svgSizeProps.js +0 -15
- package/dist/development/src/dom/svgSizeProps.js.map +0 -1
- package/dist/development/src/structures/BijectiveIndexedMap.cjs +0 -116
- package/dist/development/src/structures/BijectiveIndexedMap.cjs.map +0 -1
- package/dist/development/src/structures/BijectiveIndexedMap.js +0 -116
- package/dist/development/src/structures/BijectiveIndexedMap.js.map +0 -1
- package/dist/development/src/structures/LRUCache.cjs +0 -32
- package/dist/development/src/structures/LRUCache.cjs.map +0 -1
- package/dist/development/src/structures/LRUCache.js +0 -32
- package/dist/development/src/structures/LRUCache.js.map +0 -1
- package/dist/development/src/structures/WeakIdCache.cjs +0 -30
- package/dist/development/src/structures/WeakIdCache.cjs.map +0 -1
- package/dist/development/src/structures/WeakIdCache.js +0 -30
- package/dist/development/src/structures/WeakIdCache.js.map +0 -1
- package/dist/production/index.cjs +0 -17
- package/dist/production/index.cjs.map +0 -1
- package/dist/production/index.js +0 -17
- package/dist/production/index.js.map +0 -1
- package/dist/production/src/assert-types/assertNever.cjs +0 -7
- package/dist/production/src/assert-types/assertNever.cjs.map +0 -1
- package/dist/production/src/assert-types/assertNever.js +0 -7
- package/dist/production/src/assert-types/assertNever.js.map +0 -1
- package/dist/production/src/deprecate/deprecate.cjs +0 -6
- package/dist/production/src/deprecate/deprecate.cjs.map +0 -1
- package/dist/production/src/deprecate/deprecate.js +0 -6
- package/dist/production/src/deprecate/deprecate.js.map +0 -1
- package/dist/production/src/dom/dataAttribute.cjs +0 -13
- package/dist/production/src/dom/dataAttribute.cjs.map +0 -1
- package/dist/production/src/dom/dataAttribute.js +0 -13
- package/dist/production/src/dom/dataAttribute.js.map +0 -1
- package/dist/production/src/dom/svgSizeProps.cjs +0 -15
- package/dist/production/src/dom/svgSizeProps.cjs.map +0 -1
- package/dist/production/src/dom/svgSizeProps.js +0 -15
- package/dist/production/src/dom/svgSizeProps.js.map +0 -1
- package/dist/production/src/structures/BijectiveIndexedMap.cjs +0 -116
- package/dist/production/src/structures/BijectiveIndexedMap.cjs.map +0 -1
- package/dist/production/src/structures/BijectiveIndexedMap.js +0 -116
- package/dist/production/src/structures/BijectiveIndexedMap.js.map +0 -1
- package/dist/production/src/structures/LRUCache.cjs +0 -32
- package/dist/production/src/structures/LRUCache.cjs.map +0 -1
- package/dist/production/src/structures/LRUCache.js +0 -32
- package/dist/production/src/structures/LRUCache.js.map +0 -1
- package/dist/production/src/structures/WeakIdCache.cjs +0 -30
- package/dist/production/src/structures/WeakIdCache.cjs.map +0 -1
- package/dist/production/src/structures/WeakIdCache.js +0 -30
- package/dist/production/src/structures/WeakIdCache.js.map +0 -1
- package/dist/types/assert-types/assertNever.d.ts +0 -2
- package/dist/types/assert-types/assertNever.d.ts.map +0 -1
- package/dist/types/assert-types/index.d.ts +0 -2
- package/dist/types/assert-types/index.d.ts.map +0 -1
- package/dist/types/deprecate/deprecate.d.ts +0 -19
- package/dist/types/deprecate/deprecate.d.ts.map +0 -1
- package/dist/types/deprecate/index.d.ts +0 -3
- package/dist/types/deprecate/index.d.ts.map +0 -1
- package/dist/types/deprecate/types.d.ts +0 -2
- package/dist/types/deprecate/types.d.ts.map +0 -1
- package/dist/types/dom/dataAttribute.d.ts +0 -4
- package/dist/types/dom/dataAttribute.d.ts.map +0 -1
- package/dist/types/dom/index.d.ts +0 -3
- package/dist/types/dom/index.d.ts.map +0 -1
- package/dist/types/dom/svgSizeProps.d.ts +0 -7
- package/dist/types/dom/svgSizeProps.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/structures/BijectiveIndexedMap.d.ts +0 -24
- package/dist/types/structures/BijectiveIndexedMap.d.ts.map +0 -1
- package/dist/types/structures/LRUCache.d.ts +0 -9
- package/dist/types/structures/LRUCache.d.ts.map +0 -1
- package/dist/types/structures/WeakIdCache.d.ts +0 -9
- package/dist/types/structures/WeakIdCache.d.ts.map +0 -1
- package/dist/types/structures/index.d.ts +0 -4
- package/dist/types/structures/index.d.ts.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- package/dist/types/types/Narrow.d.ts +0 -10
- package/dist/types/types/Narrow.d.ts.map +0 -1
- package/dist/types/types/NonOptional.d.ts +0 -8
- package/dist/types/types/NonOptional.d.ts.map +0 -1
- package/dist/types/types/Partial.d.ts +0 -3
- package/dist/types/types/Partial.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -4
- package/dist/types/types/index.d.ts.map +0 -1
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
class WeakIdCache {
|
|
7
|
-
constructor() {
|
|
8
|
-
__publicField(this, "cache", /* @__PURE__ */ new WeakMap());
|
|
9
|
-
__publicField(this, "seed", 0);
|
|
10
|
-
__publicField(this, "rootId", this.seedToId(this.seed++));
|
|
11
|
-
}
|
|
12
|
-
getId(key) {
|
|
13
|
-
let existing = this.cache.get(key);
|
|
14
|
-
if (existing === void 0) {
|
|
15
|
-
this.cache.set(key, existing = this.seedToId(this.seed++));
|
|
16
|
-
}
|
|
17
|
-
return existing;
|
|
18
|
-
}
|
|
19
|
-
getOptionalKeyId(key) {
|
|
20
|
-
if (key === void 0) {
|
|
21
|
-
return this.rootId;
|
|
22
|
-
}
|
|
23
|
-
return this.getId(key);
|
|
24
|
-
}
|
|
25
|
-
seedToId(seed) {
|
|
26
|
-
return seed.toFixed(0);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.WeakIdCache = WeakIdCache;
|
|
30
|
-
//# sourceMappingURL=WeakIdCache.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WeakIdCache.cjs","sources":["../../../../../packages/utilities/src/structures/WeakIdCache.ts"],"sourcesContent":["export class WeakIdCache<K extends object> {\n\tprivate readonly cache = new WeakMap<K, string>()\n\tprivate seed = 0\n\tprivate readonly rootId = this.seedToId(this.seed++)\n\n\tpublic getId(key: K): string {\n\t\tlet existing = this.cache.get(key)\n\n\t\tif (existing === undefined) {\n\t\t\tthis.cache.set(key, (existing = this.seedToId(this.seed++)))\n\t\t}\n\t\treturn existing\n\t}\n\n\tpublic getOptionalKeyId(key: K | undefined): string {\n\t\tif (key === undefined) {\n\t\t\treturn this.rootId\n\t\t}\n\t\treturn this.getId(key)\n\t}\n\n\tprivate seedToId(seed: number): string {\n\t\treturn seed.toFixed(0)\n\t}\n}\n"],"names":[],"mappings":";;;;;AAAO,MAAM,YAA8B;AAAA,EAApC,cAAA;AACW,kBAAA,MAAA,6BAAY,QAAmB,CAAA;AAChD,kBAAA,MAAQ,QAAO,CAAA;AACf,kBAAA,MAAiB,UAAS,KAAK,SAAS,KAAK,MAAM,CAAA;AAAA,EAAA;AAAA,EAE5C,MAAM,KAAgB;AAC5B,QAAI,WAAW,KAAK,MAAM,IAAI,GAAG;AAEjC,QAAI,aAAa,QAAW;AACtB,WAAA,MAAM,IAAI,KAAM,WAAW,KAAK,SAAS,KAAK,MAAM,CAAE;AAAA,IAAA;AAErD,WAAA;AAAA,EAAA;AAAA,EAGD,iBAAiB,KAA4B;AACnD,QAAI,QAAQ,QAAW;AACtB,aAAO,KAAK;AAAA,IAAA;AAEN,WAAA,KAAK,MAAM,GAAG;AAAA,EAAA;AAAA,EAGd,SAAS,MAAsB;AAC/B,WAAA,KAAK,QAAQ,CAAC;AAAA,EAAA;AAEvB;;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
class WeakIdCache {
|
|
5
|
-
constructor() {
|
|
6
|
-
__publicField(this, "cache", /* @__PURE__ */ new WeakMap());
|
|
7
|
-
__publicField(this, "seed", 0);
|
|
8
|
-
__publicField(this, "rootId", this.seedToId(this.seed++));
|
|
9
|
-
}
|
|
10
|
-
getId(key) {
|
|
11
|
-
let existing = this.cache.get(key);
|
|
12
|
-
if (existing === void 0) {
|
|
13
|
-
this.cache.set(key, existing = this.seedToId(this.seed++));
|
|
14
|
-
}
|
|
15
|
-
return existing;
|
|
16
|
-
}
|
|
17
|
-
getOptionalKeyId(key) {
|
|
18
|
-
if (key === void 0) {
|
|
19
|
-
return this.rootId;
|
|
20
|
-
}
|
|
21
|
-
return this.getId(key);
|
|
22
|
-
}
|
|
23
|
-
seedToId(seed) {
|
|
24
|
-
return seed.toFixed(0);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
WeakIdCache
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=WeakIdCache.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WeakIdCache.js","sources":["../../../../../packages/utilities/src/structures/WeakIdCache.ts"],"sourcesContent":["export class WeakIdCache<K extends object> {\n\tprivate readonly cache = new WeakMap<K, string>()\n\tprivate seed = 0\n\tprivate readonly rootId = this.seedToId(this.seed++)\n\n\tpublic getId(key: K): string {\n\t\tlet existing = this.cache.get(key)\n\n\t\tif (existing === undefined) {\n\t\t\tthis.cache.set(key, (existing = this.seedToId(this.seed++)))\n\t\t}\n\t\treturn existing\n\t}\n\n\tpublic getOptionalKeyId(key: K | undefined): string {\n\t\tif (key === undefined) {\n\t\t\treturn this.rootId\n\t\t}\n\t\treturn this.getId(key)\n\t}\n\n\tprivate seedToId(seed: number): string {\n\t\treturn seed.toFixed(0)\n\t}\n}\n"],"names":[],"mappings":";;;AAAO,MAAM,YAA8B;AAAA,EAApC,cAAA;AACW,kBAAA,MAAA,6BAAY,QAAmB,CAAA;AAChD,kBAAA,MAAQ,QAAO,CAAA;AACf,kBAAA,MAAiB,UAAS,KAAK,SAAS,KAAK,MAAM,CAAA;AAAA,EAAA;AAAA,EAE5C,MAAM,KAAgB;AAC5B,QAAI,WAAW,KAAK,MAAM,IAAI,GAAG;AAEjC,QAAI,aAAa,QAAW;AACtB,WAAA,MAAM,IAAI,KAAM,WAAW,KAAK,SAAS,KAAK,MAAM,CAAE;AAAA,IAAA;AAErD,WAAA;AAAA,EAAA;AAAA,EAGD,iBAAiB,KAA4B;AACnD,QAAI,QAAQ,QAAW;AACtB,aAAO,KAAK;AAAA,IAAA;AAEN,WAAA,KAAK,MAAM,GAAG;AAAA,EAAA;AAAA,EAGd,SAAS,MAAsB;AAC/B,WAAA,KAAK,QAAQ,CAAC;AAAA,EAAA;AAEvB;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assertNever.d.ts","sourceRoot":"","sources":["../../../src/assert-types/assertNever.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAE3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assert-types/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SemverString } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Logs a deprecation warning if the assertion is `false`.
|
|
4
|
-
* @internal
|
|
5
|
-
*
|
|
6
|
-
* @param removal - Version when the deprecated feature will be removed
|
|
7
|
-
* @param condition - Condition under which the deprecation warning will be logged
|
|
8
|
-
* @param deprecated - Name of the deprecated feature
|
|
9
|
-
* @param replacement - Name of the feature that replaces the deprecated feature
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* const { visible } = props
|
|
14
|
-
* deprecate(visible !== 'default', '1.3.0', '"default"', '"hidden"')
|
|
15
|
-
* // Logs: Use of "default" is deprecated and might be removed in the next release. Use "hidden" instead.
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare function deprecate(removal: SemverString, condition: boolean, deprecated: string, replacement: string | null): void;
|
|
19
|
-
//# sourceMappingURL=deprecate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deprecate.d.ts","sourceRoot":"","sources":["../../../src/deprecate/deprecate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAYzH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/deprecate/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/deprecate/types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,YAAY,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare function dataAttribute(value: boolean | null | undefined): '' | undefined;
|
|
2
|
-
export declare function dataAttribute<const T extends string>(value: T): T;
|
|
3
|
-
export declare function dataAttribute(value: boolean | string | number | undefined | null): string | undefined;
|
|
4
|
-
//# sourceMappingURL=dataAttribute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataAttribute.d.ts","sourceRoot":"","sources":["../../../src/dom/dataAttribute.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,EAAE,GAAG,SAAS,CAAA;AAChF,wBAAgB,aAAa,CAAC,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAA;AAClE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dom/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"svgSizeProps.d.ts","sourceRoot":"","sources":["../../../src/dom/svgSizeProps.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,YAAY,CAC3B,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,EACf,IAAI,GAAE,MAAU,GACd,YAAY,CAUd"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,OAAO,CAAA;AACrB,cAAc,cAAc,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare class BijectiveIndexedMap<K, V> implements Map<K, V> {
|
|
2
|
-
private readonly valueStore;
|
|
3
|
-
private readonly index;
|
|
4
|
-
private indexSeed;
|
|
5
|
-
private readonly inverse;
|
|
6
|
-
readonly [Symbol.toStringTag] = "BijectiveIndexedMap";
|
|
7
|
-
constructor(originalMap: BijectiveIndexedMap<K, V>);
|
|
8
|
-
constructor(inverse: (value: V) => K);
|
|
9
|
-
private getNewIndex;
|
|
10
|
-
get size(): number;
|
|
11
|
-
clear(): void;
|
|
12
|
-
delete(key: K): boolean;
|
|
13
|
-
forEach(callback: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
|
|
14
|
-
get(key: K): V | undefined;
|
|
15
|
-
has(key: K): boolean;
|
|
16
|
-
set(key: K, value: V): this;
|
|
17
|
-
changeKey(oldKey: K, newKey: K): this;
|
|
18
|
-
changeKeyOrder(newOrder: Iterable<K>): void;
|
|
19
|
-
[Symbol.iterator](): MapIterator<[K, V]>;
|
|
20
|
-
entries(): MapIterator<[K, V]>;
|
|
21
|
-
keys(): MapIterator<K>;
|
|
22
|
-
values(): MapIterator<V>;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=BijectiveIndexedMap.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BijectiveIndexedMap.d.ts","sourceRoot":"","sources":["../../../src/structures/BijectiveIndexedMap.ts"],"names":[],"mappings":"AAOA,qBAAa,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAE,YAAW,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;IAC1D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,SAAS,CAAQ;IAEzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiB;IAEzC,SAAgB,CAAC,MAAM,CAAC,WAAW,CAAC,yBAAwB;gBAEzC,WAAW,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC;gBACtC,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC;IAe3C,OAAO,CAAC,WAAW;IAInB,IAAW,IAAI,IAAI,MAAM,CAExB;IAEM,KAAK,IAAI,IAAI;IAIb,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO;IAUvB,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI;IAMlF,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS;IAQ1B,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO;IAGpB,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAe3B,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI;IAUrC,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IAgBnC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAIxC,OAAO,IAAI,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAM9B,IAAI,IAAI,WAAW,CAAC,CAAC,CAAC;IAMtB,MAAM,IAAI,WAAW,CAAC,CAAC,CAAC;CAQhC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class LRUCache<Key, Value> {
|
|
2
|
-
private readonly maxSize;
|
|
3
|
-
private readonly cache;
|
|
4
|
-
constructor(maxSize: number);
|
|
5
|
-
get(key: Key): Value | undefined;
|
|
6
|
-
set(key: Key, value: Value): void;
|
|
7
|
-
private getOldestKey;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=LRUCache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LRUCache.d.ts","sourceRoot":"","sources":["../../../src/structures/LRUCache.ts"],"names":[],"mappings":"AACA,qBAAa,QAAQ,CAAC,GAAG,EAAE,KAAK;IAGZ,OAAO,CAAC,QAAQ,CAAC,OAAO;IAF3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;gBAEV,OAAO,EAAE,MAAM;IAE5C,GAAG,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK,GAAG,SAAS;IAUhC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK;IASjC,OAAO,CAAC,YAAY;CAGpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WeakIdCache.d.ts","sourceRoot":"","sources":["../../../src/structures/WeakIdCache.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAW,CAAC,CAAC,SAAS,MAAM;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IACjD,OAAO,CAAC,IAAI,CAAI;IAChB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAE7C,KAAK,CAAC,GAAG,EAAE,CAAC,GAAG,MAAM;IASrB,gBAAgB,CAAC,GAAG,EAAE,CAAC,GAAG,SAAS,GAAG,MAAM;IAOnD,OAAO,CAAC,QAAQ;CAGhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/structures/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.es2024.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../src/assert-types/assertNever.ts","../../src/assert-types/index.ts","../../src/deprecate/types.ts","../../src/deprecate/deprecate.ts","../../src/deprecate/index.ts","../../src/dom/dataAttribute.ts","../../src/dom/svgSizeProps.ts","../../src/dom/index.ts","../../src/structures/BijectiveIndexedMap.ts","../../src/structures/LRUCache.ts","../../src/structures/WeakIdCache.ts","../../src/structures/index.ts","../../src/index.ts","../../src/types/Narrow.ts","../../src/types/NonOptional.ts","../../src/types/Partial.ts","../../src/types/index.ts","../../../../node_modules/vite/types/hmrPayload.d.ts","../../../../node_modules/vite/types/customEvent.d.ts","../../../../node_modules/vite/types/hot.d.ts","../../../../node_modules/vite/types/importGlob.d.ts","../../../../node_modules/vite/types/importMeta.d.ts","../../../../node_modules/vite/client.d.ts"],"fileIdsList":[[81,82,83],[84],[107],[103],[104],[105,106],[85],[85,86],[85,88],[85,88,89],[85,91,92],[85,87,90,93,97],[85,94,95,96],[85,99,100,101]],"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":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","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":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"65ff5a0aefd7817a03c1ad04fee85c9cdd3ec415cc3c9efec85d8008d4d5e4ee","impliedFormat":1},{"version":"aea201321e7df78b294c9c39c61503ed81fb73b1b1703240013b557dfa25b016","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"7be88c2404537cbdca4832137d03286f8c84851efaf83a1f340fabdd3003dc2c","signature":"a95c25e1f9146dd90f7cb36c7e306a25a67bdef1eaae7319a60d2f9d3ff66804"},{"version":"bc99098c23e78a102426f7d1b1b93df0d3369b7ec0bdfc8aa185a3f87fb09ccc","signature":"3436aa850e6d85c1ca81028e1ac6a9ba3ca0cbc27efe797fe99aea0a99a49881"},{"version":"7c1ef2858023d458381a39fc942913615059ce65be3c3438312c8032b44a9003","signature":"624e76b41eb76400df5e0cbacc5f7091e6bd0518e0f9f4ac4a047794b2c189f9"},{"version":"11548231d2005e6247817053a59ac02d30af6258d7a179b53e5a5658d2e2ad2b","signature":"f14113b17b6a1863dd58e49e0bc504f21d51da969bc1fc4af1a07b3684f0de25"},{"version":"f035dfc7958d57f735fde87661307862a05a071093db6d53fd3bbdacf1832a89","signature":"1762533296e00297d454534bdb27ddae5f6b69fef679295094cb0afb4e9a526a"},{"version":"015b058062979c6c5e4a2530175f12b6bb4fe3a245c2e3b3e76c7515c11a1868","signature":"369ae551d795d7eb44e05de3c26d4fddb0f524ea0900826ae6511cdd7d68ab5a"},{"version":"d4be883c6198341aaa9a7b9d4f90b9ae099e22752e438862e3afcf8533f1a07c","signature":"dfe644b96a0786c3ed103bffe7331349022c647802d40030067cf71c9ce79bb5"},{"version":"b054537a7b99d170c21efd871e3741d0ad88636f8a4fd0dfc232a465216aef1b","signature":"893bdae1d9648d1f4da2ddad5647a63282aef8d30df09eacb14fdb68e2349a1d"},{"version":"25fac41b19b5f994710f78fa1635544d738c92b0e98c1f9aab771a14f6349817","signature":"0a52d67559b7ef5541d532dc78fbbfb69d028a4adf1c3501424e355e53e66257"},{"version":"714828297e6484405a8aa6a8f1012d70b1814c399a8e035fe8292777b958370f","signature":"fed47bc1ca2d6c672b7ce3be63f206bd0ad5e67c18c2650eb9d79d842e9d208a"},{"version":"5cb87a77954d8ada89b71c00bbb71a2e01b2fef4be837b22105be4d2aeb73d68","signature":"cd7e9d427302a244cce2881eceae5fbaccf62a7a6064f161a699fe39bad1d998"},{"version":"64e9820a0c959c53c6f07ca0e1fc6b0c755f37627472e365f22bb4d3fecab92c","signature":"fb6bb88e6e41f878eaf58a6c141e0379f208f85f6f922512b3b25efffe70380b"},{"version":"3dfa8f6833975f283fa08acfd4edbdfbbaac85b47e0dcdfbbd5af417aa92180a","signature":"e31346a3e386e227daee4cd99ac59dc7bd0e324541ea401bdf8b623a7e20bf56"},{"version":"a4e528eee9a2b45a402b4d6b119133fd76284ae7db4fece35f55ba782789bb8b","signature":"2530e26913543800e9f329fcaefbffe2904036d62aef1cf97e9738f070295ee7"},{"version":"9b463ec2af65d63c90bada0a7af2bd34e4e04d0170e6561aaeb30447ec9f8751","signature":"c921746b36842e21243970c5ed44b488e842afe99843da3cb7f197242f4f2c9e"},{"version":"d10333dba53eed78f299c62c1c10ca6ce894c42008de73f2760312423bc5b20e","signature":"2ed3dabf6725944e4a6aada55ce34ec864b8f593c7669cab66e690c5dad92077"},{"version":"e2e90315922686542d21abd67ea05b2f290a6b15d9f01474a21b767d36f85e50","signature":"8a84838d3d8d395279c09a7a87737131b7aa680e12848a9b2b0d7bc57cd99e34"},{"version":"02b1133807234b1a7d9bf9b1419ee19444dd8c26b101bc268aa8181591241f1f","impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"4025a454b1ca489b179ee8c684bdd70ff8c1967e382076ade53e7e4653e1daec","affectsGlobalScope":true,"impliedFormat":1},{"version":"1eef826bc4a19de22155487984e345a34c9cd511dd1170edc7a447cb8231dd4a","affectsGlobalScope":true,"impliedFormat":99}],"root":[[86,102]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"referencedMap":[[84,1],[85,2],[108,3],[104,4],[105,5],[107,6],[86,7],[87,8],[89,9],[90,10],[88,7],[91,7],[93,11],[92,7],[98,12],[94,7],[95,7],[96,7],[97,13],[99,7],[100,7],[101,7],[102,14]],"latestChangedDtsFile":"./types/index.d.ts","version":"5.8.2"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Describes types that can be narrowed
|
|
3
|
-
*/
|
|
4
|
-
export type Narrowable = string | number | bigint | boolean;
|
|
5
|
-
type NarrowRaw<A> = (A extends [] ? [] : never) | (A extends Narrowable ? A : never) | ({
|
|
6
|
-
[K in keyof A]: A[K] extends Function ? A[K] : NarrowRaw<A[K]>;
|
|
7
|
-
});
|
|
8
|
-
export type Narrow<A extends any> = A extends [] ? A : NarrowRaw<A>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=Narrow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Narrow.d.ts","sourceRoot":"","sources":["../../../src/types/Narrow.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GACnB,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,CAAA;AAGV,KAAK,SAAS,CAAC,CAAC,IACb,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,GAC3B,CAAC,CAAC,SAAS,UAAU,GAAG,CAAC,GAAG,KAAK,CAAC,GAClC,CAAC;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,GACvC,CAAC,CAAC,CAAC,CAAC,GACJ,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC,CAAA;AAGtB,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns new type where all the properties are required
|
|
3
|
-
* and previously optional properties will accept undefined.
|
|
4
|
-
*/
|
|
5
|
-
export type NonOptional<T> = {
|
|
6
|
-
[P in keyof Required<T>]: Pick<T, P> extends Required<Pick<T, P>> ? T[P] : (T[P] | undefined);
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=NonOptional.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NonOptional.d.ts","sourceRoot":"","sources":["../../../src/types/NonOptional.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC3B,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CAC7F,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Partial.d.ts","sourceRoot":"","sources":["../../../src/types/Partial.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AAChF,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA"}
|