@sorrell/utilities 1.2.7 → 1.2.9
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/Distribution/Types/Dependency/Dependency.Effect.d.cts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Effect.d.mts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Effect.d.ts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Internal.Types.d.cts +8 -0
- package/Distribution/Types/Dependency/Dependency.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Internal.Types.d.mts +8 -0
- package/Distribution/Types/Dependency/Dependency.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Internal.Types.d.ts +8 -0
- package/Distribution/Types/Dependency/Dependency.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts +3 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts +3 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts +3 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Types.d.cts +32 -0
- package/Distribution/Types/Dependency/Dependency.Types.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Types.d.mts +32 -0
- package/Distribution/Types/Dependency/Dependency.Types.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Types.d.ts +32 -0
- package/Distribution/Types/Dependency/Dependency.Types.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.d.cts +44 -13
- package/Distribution/Types/Dependency/Dependency.d.cts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.d.mts +44 -13
- package/Distribution/Types/Dependency/Dependency.d.mts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.d.ts +44 -13
- package/Distribution/Types/Dependency/Dependency.d.ts.map +1 -1
- package/Distribution/Types/Dependency/index.d.cts +1 -0
- package/Distribution/Types/Dependency/index.d.cts.map +1 -1
- package/Distribution/Types/Dependency/index.d.mts +1 -0
- package/Distribution/Types/Dependency/index.d.mts.map +1 -1
- package/Distribution/Types/Dependency/index.d.ts +1 -0
- package/Distribution/Types/Dependency/index.d.ts.map +1 -1
- package/Distribution/Types/String/String.d.cts +55 -10
- package/Distribution/Types/String/String.d.cts.map +1 -1
- package/Distribution/Types/String/String.d.mts +55 -10
- package/Distribution/Types/String/String.d.mts.map +1 -1
- package/Distribution/Types/String/String.d.ts +55 -10
- package/Distribution/Types/String/String.d.ts.map +1 -1
- package/Distribution/dependency-effect.cjs +12 -2
- package/Distribution/dependency-effect.cjs.map +2 -2
- package/Distribution/dependency-effect.js +12 -2
- package/Distribution/dependency-effect.js.map +2 -2
- package/Distribution/dependency.cjs +88 -1
- package/Distribution/dependency.cjs.map +4 -4
- package/Distribution/dependency.js +88 -1
- package/Distribution/dependency.js.map +3 -3
- package/Distribution/index.cjs +25 -6
- package/Distribution/index.cjs.map +3 -3
- package/Distribution/index.js +25 -6
- package/Distribution/index.js.map +3 -3
- package/package.json +1 -1
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.cts +0 -8
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.cts.map +0 -10
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.mts +0 -8
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.mts.map +0 -10
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.ts +0 -8
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.ts.map +0 -1
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Dependency/Dependency.Effect.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CACvC,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CACvC,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CA6ClC"
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Dependency/Dependency.Effect.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CACvC,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CACvC,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CA6ClC"
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dependency.Effect.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Effect.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CACvC,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Dependency.Effect.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Effect.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CACvC,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CA6ClC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Internal.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export type ConsoleLogFunctionKey = Extract<keyof typeof console, "log" | "info" | "debug" | "dir" | "warn" | "error">;
|
|
8
|
+
//# sourceMappingURL=Dependency.Internal.Types.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Internal.Types.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Internal.Types.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,MAAM,MAAM,qBAAqB,GAC7B,OAAO,CACH,MAAM,OAAO,OAAO,EAClB,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,GACL,MAAM,GACN,OAAO,CACZ,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Internal.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export type ConsoleLogFunctionKey = Extract<keyof typeof console, "log" | "info" | "debug" | "dir" | "warn" | "error">;
|
|
8
|
+
//# sourceMappingURL=Dependency.Internal.Types.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Internal.Types.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Internal.Types.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,MAAM,MAAM,qBAAqB,GAC7B,OAAO,CACH,MAAM,OAAO,OAAO,EAClB,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,GACL,MAAM,GACN,OAAO,CACZ,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Internal.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export type ConsoleLogFunctionKey = Extract<keyof typeof console, "log" | "info" | "debug" | "dir" | "warn" | "error">;
|
|
8
|
+
//# sourceMappingURL=Dependency.Internal.Types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dependency.Internal.Types.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Internal.Types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,qBAAqB,GAC7B,OAAO,CACH,MAAM,OAAO,OAAO,EAClB,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,GACL,MAAM,GACN,OAAO,CACZ,CAAC"}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import type { TRuntimeModeProductionOptions } from "./Dependency.Types.cjs";
|
|
8
|
+
export declare const DefaultOptions: TRuntimeModeProductionOptions<boolean>;
|
|
8
9
|
/**
|
|
9
10
|
* Formats a given {@link Message} to look like a code snippet (or path, *etc.*).
|
|
10
11
|
*
|
|
@@ -13,4 +14,5 @@ export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
|
13
14
|
* @returns {string} The {@link Message}, formatted to look like code (or a path, *etc.*).
|
|
14
15
|
*/
|
|
15
16
|
export declare function Code(Message: string): string;
|
|
17
|
+
export declare function NormalizeLogMessage(Message: unknown): ReadonlyArray<unknown>;
|
|
16
18
|
//# sourceMappingURL=Dependency.Internal.d.cts.map
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Dependency/Dependency.Internal.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAc3E,eAGA,MAAM,cAAc,EAAE,6BAA6B,CAAC,OAAO,CAItD,CAAC;AAIN;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C;AAKD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAQ5E"
|
|
10
10
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import type { TRuntimeModeProductionOptions } from "./Dependency.Types.mjs";
|
|
8
|
+
export declare const DefaultOptions: TRuntimeModeProductionOptions<boolean>;
|
|
8
9
|
/**
|
|
9
10
|
* Formats a given {@link Message} to look like a code snippet (or path, *etc.*).
|
|
10
11
|
*
|
|
@@ -13,4 +14,5 @@ export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
|
13
14
|
* @returns {string} The {@link Message}, formatted to look like code (or a path, *etc.*).
|
|
14
15
|
*/
|
|
15
16
|
export declare function Code(Message: string): string;
|
|
17
|
+
export declare function NormalizeLogMessage(Message: unknown): ReadonlyArray<unknown>;
|
|
16
18
|
//# sourceMappingURL=Dependency.Internal.d.mts.map
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Dependency/Dependency.Internal.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAc3E,eAGA,MAAM,cAAc,EAAE,6BAA6B,CAAC,OAAO,CAItD,CAAC;AAIN;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C;AAKD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAQ5E"
|
|
10
10
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import type { TRuntimeModeProductionOptions } from "./Dependency.Types.ts";
|
|
8
|
+
export declare const DefaultOptions: TRuntimeModeProductionOptions<boolean>;
|
|
8
9
|
/**
|
|
9
10
|
* Formats a given {@link Message} to look like a code snippet (or path, *etc.*).
|
|
10
11
|
*
|
|
@@ -13,4 +14,5 @@ export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
|
13
14
|
* @returns {string} The {@link Message}, formatted to look like code (or a path, *etc.*).
|
|
14
15
|
*/
|
|
15
16
|
export declare function Code(Message: string): string;
|
|
17
|
+
export declare function NormalizeLogMessage(Message: unknown): ReadonlyArray<unknown>;
|
|
16
18
|
//# sourceMappingURL=Dependency.Internal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dependency.Internal.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Internal.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"Dependency.Internal.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Internal.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAc3E,eAGA,MAAM,cAAc,EAAE,6BAA6B,CAAC,OAAO,CAItD,CAAC;AAIN;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C;AAKD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAQ5E"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { ConsoleLogFunctionKey } from "./Dependency.Internal.Types";
|
|
8
|
+
export type DependencyLogger = Pick<typeof console, ConsoleLogFunctionKey>;
|
|
9
|
+
/**
|
|
10
|
+
* The options argument of {@link IsRuntimeModeProduction}.
|
|
11
|
+
* @property {string} DebugEnvironmentVariable - If specified, then this environment variable will be
|
|
12
|
+
* checked for, in addition to the other checks performed by this function to guess whether the current
|
|
13
|
+
* session is in *production mode*.
|
|
14
|
+
*
|
|
15
|
+
* @template UncertainType - The type of the {@link UncertainValue}. By default, this is `boolean`.
|
|
16
|
+
*
|
|
17
|
+
* @property {ReadonlyArray<string>} TruthyValues - If {@link DebugEnvironmentVariable} is specified, and
|
|
18
|
+
* if {@link process.env} has a property with key {@link DebugEnvironmentVariable}, then this will return
|
|
19
|
+
* based on whether
|
|
20
|
+
* ```typescript
|
|
21
|
+
* TruthyValues.map(TruthyWord => TruthyWord.toLowerCase()).includes(DebugEnvironmentVariable.toLowerCase());
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @property {UncertainType} UncertainValue - The value that is returned in Step 3—that is, if this function
|
|
25
|
+
* is uncertain whether the current session is in *production mode.* By default, this is `true`.
|
|
26
|
+
*/
|
|
27
|
+
export type TRuntimeModeProductionOptions<UncertainType = boolean> = Partial<{
|
|
28
|
+
DebugEnvironmentVariable: string;
|
|
29
|
+
UncertainValue: UncertainType;
|
|
30
|
+
TruthyValues: ReadonlyArray<string>;
|
|
31
|
+
}>;
|
|
32
|
+
//# sourceMappingURL=Dependency.Types.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Types.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Types.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAIzE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,OAAO,EAAE,qBAAqB,CAAC,CAAC;AAE3E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,6BAA6B,CAAC,aAAa,GAAG,OAAO,IAC7D,OAAO,CAAC;IACJ,wBAAwB,EAAE,MAAM,CAAC;IACjC,cAAc,EAAE,aAAa,CAAC;IAC9B,YAAY,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CACvC,CAAC,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { ConsoleLogFunctionKey } from "./Dependency.Internal.Types";
|
|
8
|
+
export type DependencyLogger = Pick<typeof console, ConsoleLogFunctionKey>;
|
|
9
|
+
/**
|
|
10
|
+
* The options argument of {@link IsRuntimeModeProduction}.
|
|
11
|
+
* @property {string} DebugEnvironmentVariable - If specified, then this environment variable will be
|
|
12
|
+
* checked for, in addition to the other checks performed by this function to guess whether the current
|
|
13
|
+
* session is in *production mode*.
|
|
14
|
+
*
|
|
15
|
+
* @template UncertainType - The type of the {@link UncertainValue}. By default, this is `boolean`.
|
|
16
|
+
*
|
|
17
|
+
* @property {ReadonlyArray<string>} TruthyValues - If {@link DebugEnvironmentVariable} is specified, and
|
|
18
|
+
* if {@link process.env} has a property with key {@link DebugEnvironmentVariable}, then this will return
|
|
19
|
+
* based on whether
|
|
20
|
+
* ```typescript
|
|
21
|
+
* TruthyValues.map(TruthyWord => TruthyWord.toLowerCase()).includes(DebugEnvironmentVariable.toLowerCase());
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @property {UncertainType} UncertainValue - The value that is returned in Step 3—that is, if this function
|
|
25
|
+
* is uncertain whether the current session is in *production mode.* By default, this is `true`.
|
|
26
|
+
*/
|
|
27
|
+
export type TRuntimeModeProductionOptions<UncertainType = boolean> = Partial<{
|
|
28
|
+
DebugEnvironmentVariable: string;
|
|
29
|
+
UncertainValue: UncertainType;
|
|
30
|
+
TruthyValues: ReadonlyArray<string>;
|
|
31
|
+
}>;
|
|
32
|
+
//# sourceMappingURL=Dependency.Types.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Types.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Types.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAIzE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,OAAO,EAAE,qBAAqB,CAAC,CAAC;AAE3E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,6BAA6B,CAAC,aAAa,GAAG,OAAO,IAC7D,OAAO,CAAC;IACJ,wBAAwB,EAAE,MAAM,CAAC;IACjC,cAAc,EAAE,aAAa,CAAC;IAC9B,YAAY,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CACvC,CAAC,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { ConsoleLogFunctionKey } from "./Dependency.Internal.Types";
|
|
8
|
+
export type DependencyLogger = Pick<typeof console, ConsoleLogFunctionKey>;
|
|
9
|
+
/**
|
|
10
|
+
* The options argument of {@link IsRuntimeModeProduction}.
|
|
11
|
+
* @property {string} DebugEnvironmentVariable - If specified, then this environment variable will be
|
|
12
|
+
* checked for, in addition to the other checks performed by this function to guess whether the current
|
|
13
|
+
* session is in *production mode*.
|
|
14
|
+
*
|
|
15
|
+
* @template UncertainType - The type of the {@link UncertainValue}. By default, this is `boolean`.
|
|
16
|
+
*
|
|
17
|
+
* @property {ReadonlyArray<string>} TruthyValues - If {@link DebugEnvironmentVariable} is specified, and
|
|
18
|
+
* if {@link process.env} has a property with key {@link DebugEnvironmentVariable}, then this will return
|
|
19
|
+
* based on whether
|
|
20
|
+
* ```typescript
|
|
21
|
+
* TruthyValues.map(TruthyWord => TruthyWord.toLowerCase()).includes(DebugEnvironmentVariable.toLowerCase());
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @property {UncertainType} UncertainValue - The value that is returned in Step 3—that is, if this function
|
|
25
|
+
* is uncertain whether the current session is in *production mode.* By default, this is `true`.
|
|
26
|
+
*/
|
|
27
|
+
export type TRuntimeModeProductionOptions<UncertainType = boolean> = Partial<{
|
|
28
|
+
DebugEnvironmentVariable: string;
|
|
29
|
+
UncertainValue: UncertainType;
|
|
30
|
+
TruthyValues: ReadonlyArray<string>;
|
|
31
|
+
}>;
|
|
32
|
+
//# sourceMappingURL=Dependency.Types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dependency.Types.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAIzE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,OAAO,EAAE,qBAAqB,CAAC,CAAC;AAE3E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,6BAA6B,CAAC,aAAa,GAAG,OAAO,IAC7D,OAAO,CAAC;IACJ,wBAAwB,EAAE,MAAM,CAAC;IACjC,cAAc,EAAE,aAAa,CAAC;IAC9B,YAAY,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CACvC,CAAC,CAAC"}
|
|
@@ -4,6 +4,25 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
+
import type { DependencyLogger, TRuntimeModeProductionOptions } from "./Dependency.Types.cjs";
|
|
8
|
+
/**
|
|
9
|
+
* Guess whether the current session is in *production mode* by,
|
|
10
|
+
*
|
|
11
|
+
* 1. If the function did not already return in Step 1, then {@link process.env} is checked for
|
|
12
|
+
* a property with key `"NODE_ENV"`.
|
|
13
|
+
* - If there exists a property with this key, and if `process.env["NODE_ENV"] === "production"`
|
|
14
|
+
* (or similar; see below), then this returns `true`.
|
|
15
|
+
* 2. If the function did not already return in Step 2, then `true` is returned.
|
|
16
|
+
*
|
|
17
|
+
* @note If Step 2 is executed, then this returns `true` when `process.env["NODE_ENV"].toLowerCase()`
|
|
18
|
+
* is any one of,
|
|
19
|
+
* - `"production"`
|
|
20
|
+
* - `"prod"`
|
|
21
|
+
*
|
|
22
|
+
* @returns {boolean} Whether the current session is likely in *production mode*, or,
|
|
23
|
+
* if unsure, `true` is returned.
|
|
24
|
+
*/
|
|
25
|
+
export declare function IsRuntimeModeProduction(): boolean;
|
|
7
26
|
/**
|
|
8
27
|
* Guess whether the current session is in *production mode* by,
|
|
9
28
|
*
|
|
@@ -18,26 +37,38 @@
|
|
|
18
37
|
* 3. If the function did not already return in Step 2, then {@link UncertainValue} is returned.
|
|
19
38
|
* By default, this is `true`, but any value of any type can be used.
|
|
20
39
|
*
|
|
40
|
+
* @template UncertainType - The type of the {@link UncertainValue}. By default, this is `boolean`.
|
|
41
|
+
*
|
|
42
|
+
* @param Options - The {@link TRuntimeModeProductionOptions} options object. All properties are optional.
|
|
43
|
+
*
|
|
21
44
|
* @note If Step 2 is executed, then this returns `true` when `process.env["NODE_ENV"].toLowerCase()`
|
|
22
45
|
* is any one of,
|
|
23
46
|
* - `"production"`
|
|
24
47
|
* - `"prod"`
|
|
25
48
|
*
|
|
26
|
-
* @
|
|
27
|
-
*
|
|
28
|
-
|
|
49
|
+
* @returns {boolean | typeof UncertainValue} Whether the current session is likely in *production mode*, or,
|
|
50
|
+
* if unsure, the given {@link UncertainValue} is returned (by default, this is `true`).
|
|
51
|
+
*/
|
|
52
|
+
export declare function IsRuntimeModeProduction<UncertainType = boolean>(Options: TRuntimeModeProductionOptions<UncertainType>): boolean | Exclude<typeof Options.UncertainValue, undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* This patches the default logger so that the statements that are logged by your dependency package
|
|
55
|
+
* do not overwhelm or annoy the consuming developer.
|
|
29
56
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* ```
|
|
33
|
-
* TruthyValues.map(TruthyWord => TruthyWord.toLowerCase()).includes(DebugEnvironmentVariable.toLowerCase());
|
|
34
|
-
* ```
|
|
57
|
+
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
58
|
+
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
35
59
|
*
|
|
36
|
-
* @param
|
|
37
|
-
*
|
|
60
|
+
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
61
|
+
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
62
|
+
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
38
63
|
*
|
|
39
|
-
* @
|
|
40
|
-
*
|
|
64
|
+
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
65
|
+
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
66
|
+
*
|
|
67
|
+
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
68
|
+
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
69
|
+
*
|
|
70
|
+
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
71
|
+
* with the {@link PackageName}.
|
|
41
72
|
*/
|
|
42
|
-
export declare function
|
|
73
|
+
export declare function GetDependencyLogger(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): DependencyLogger;
|
|
43
74
|
//# sourceMappingURL=Dependency.d.cts.map
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Dependency/Dependency.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAK7F;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,uBAAuB,CAAC,aAAa,GAAG,OAAO,EAC3D,OAAO,EAAE,6BAA6B,CAAC,aAAa,CAAC,GACtD,OAAO,GAAG,OAAO,CAAC,OAAO,OAAO,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;AAsC/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAC/B,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,gBAAgB,CAoGlB"
|
|
10
10
|
}
|
|
@@ -4,6 +4,25 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
+
import type { DependencyLogger, TRuntimeModeProductionOptions } from "./Dependency.Types.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* Guess whether the current session is in *production mode* by,
|
|
10
|
+
*
|
|
11
|
+
* 1. If the function did not already return in Step 1, then {@link process.env} is checked for
|
|
12
|
+
* a property with key `"NODE_ENV"`.
|
|
13
|
+
* - If there exists a property with this key, and if `process.env["NODE_ENV"] === "production"`
|
|
14
|
+
* (or similar; see below), then this returns `true`.
|
|
15
|
+
* 2. If the function did not already return in Step 2, then `true` is returned.
|
|
16
|
+
*
|
|
17
|
+
* @note If Step 2 is executed, then this returns `true` when `process.env["NODE_ENV"].toLowerCase()`
|
|
18
|
+
* is any one of,
|
|
19
|
+
* - `"production"`
|
|
20
|
+
* - `"prod"`
|
|
21
|
+
*
|
|
22
|
+
* @returns {boolean} Whether the current session is likely in *production mode*, or,
|
|
23
|
+
* if unsure, `true` is returned.
|
|
24
|
+
*/
|
|
25
|
+
export declare function IsRuntimeModeProduction(): boolean;
|
|
7
26
|
/**
|
|
8
27
|
* Guess whether the current session is in *production mode* by,
|
|
9
28
|
*
|
|
@@ -18,26 +37,38 @@
|
|
|
18
37
|
* 3. If the function did not already return in Step 2, then {@link UncertainValue} is returned.
|
|
19
38
|
* By default, this is `true`, but any value of any type can be used.
|
|
20
39
|
*
|
|
40
|
+
* @template UncertainType - The type of the {@link UncertainValue}. By default, this is `boolean`.
|
|
41
|
+
*
|
|
42
|
+
* @param Options - The {@link TRuntimeModeProductionOptions} options object. All properties are optional.
|
|
43
|
+
*
|
|
21
44
|
* @note If Step 2 is executed, then this returns `true` when `process.env["NODE_ENV"].toLowerCase()`
|
|
22
45
|
* is any one of,
|
|
23
46
|
* - `"production"`
|
|
24
47
|
* - `"prod"`
|
|
25
48
|
*
|
|
26
|
-
* @
|
|
27
|
-
*
|
|
28
|
-
|
|
49
|
+
* @returns {boolean | typeof UncertainValue} Whether the current session is likely in *production mode*, or,
|
|
50
|
+
* if unsure, the given {@link UncertainValue} is returned (by default, this is `true`).
|
|
51
|
+
*/
|
|
52
|
+
export declare function IsRuntimeModeProduction<UncertainType = boolean>(Options: TRuntimeModeProductionOptions<UncertainType>): boolean | Exclude<typeof Options.UncertainValue, undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* This patches the default logger so that the statements that are logged by your dependency package
|
|
55
|
+
* do not overwhelm or annoy the consuming developer.
|
|
29
56
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* ```
|
|
33
|
-
* TruthyValues.map(TruthyWord => TruthyWord.toLowerCase()).includes(DebugEnvironmentVariable.toLowerCase());
|
|
34
|
-
* ```
|
|
57
|
+
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
58
|
+
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
35
59
|
*
|
|
36
|
-
* @param
|
|
37
|
-
*
|
|
60
|
+
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
61
|
+
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
62
|
+
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
38
63
|
*
|
|
39
|
-
* @
|
|
40
|
-
*
|
|
64
|
+
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
65
|
+
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
66
|
+
*
|
|
67
|
+
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
68
|
+
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
69
|
+
*
|
|
70
|
+
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
71
|
+
* with the {@link PackageName}.
|
|
41
72
|
*/
|
|
42
|
-
export declare function
|
|
73
|
+
export declare function GetDependencyLogger(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): DependencyLogger;
|
|
43
74
|
//# sourceMappingURL=Dependency.d.mts.map
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Dependency/Dependency.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAK7F;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,uBAAuB,CAAC,aAAa,GAAG,OAAO,EAC3D,OAAO,EAAE,6BAA6B,CAAC,aAAa,CAAC,GACtD,OAAO,GAAG,OAAO,CAAC,OAAO,OAAO,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;AAsC/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAC/B,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,gBAAgB,CAoGlB"
|
|
10
10
|
}
|
|
@@ -4,6 +4,25 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
+
import type { DependencyLogger, TRuntimeModeProductionOptions } from "./Dependency.Types.ts";
|
|
8
|
+
/**
|
|
9
|
+
* Guess whether the current session is in *production mode* by,
|
|
10
|
+
*
|
|
11
|
+
* 1. If the function did not already return in Step 1, then {@link process.env} is checked for
|
|
12
|
+
* a property with key `"NODE_ENV"`.
|
|
13
|
+
* - If there exists a property with this key, and if `process.env["NODE_ENV"] === "production"`
|
|
14
|
+
* (or similar; see below), then this returns `true`.
|
|
15
|
+
* 2. If the function did not already return in Step 2, then `true` is returned.
|
|
16
|
+
*
|
|
17
|
+
* @note If Step 2 is executed, then this returns `true` when `process.env["NODE_ENV"].toLowerCase()`
|
|
18
|
+
* is any one of,
|
|
19
|
+
* - `"production"`
|
|
20
|
+
* - `"prod"`
|
|
21
|
+
*
|
|
22
|
+
* @returns {boolean} Whether the current session is likely in *production mode*, or,
|
|
23
|
+
* if unsure, `true` is returned.
|
|
24
|
+
*/
|
|
25
|
+
export declare function IsRuntimeModeProduction(): boolean;
|
|
7
26
|
/**
|
|
8
27
|
* Guess whether the current session is in *production mode* by,
|
|
9
28
|
*
|
|
@@ -18,26 +37,38 @@
|
|
|
18
37
|
* 3. If the function did not already return in Step 2, then {@link UncertainValue} is returned.
|
|
19
38
|
* By default, this is `true`, but any value of any type can be used.
|
|
20
39
|
*
|
|
40
|
+
* @template UncertainType - The type of the {@link UncertainValue}. By default, this is `boolean`.
|
|
41
|
+
*
|
|
42
|
+
* @param Options - The {@link TRuntimeModeProductionOptions} options object. All properties are optional.
|
|
43
|
+
*
|
|
21
44
|
* @note If Step 2 is executed, then this returns `true` when `process.env["NODE_ENV"].toLowerCase()`
|
|
22
45
|
* is any one of,
|
|
23
46
|
* - `"production"`
|
|
24
47
|
* - `"prod"`
|
|
25
48
|
*
|
|
26
|
-
* @
|
|
27
|
-
*
|
|
28
|
-
|
|
49
|
+
* @returns {boolean | typeof UncertainValue} Whether the current session is likely in *production mode*, or,
|
|
50
|
+
* if unsure, the given {@link UncertainValue} is returned (by default, this is `true`).
|
|
51
|
+
*/
|
|
52
|
+
export declare function IsRuntimeModeProduction<UncertainType = boolean>(Options: TRuntimeModeProductionOptions<UncertainType>): boolean | Exclude<typeof Options.UncertainValue, undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* This patches the default logger so that the statements that are logged by your dependency package
|
|
55
|
+
* do not overwhelm or annoy the consuming developer.
|
|
29
56
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* ```
|
|
33
|
-
* TruthyValues.map(TruthyWord => TruthyWord.toLowerCase()).includes(DebugEnvironmentVariable.toLowerCase());
|
|
34
|
-
* ```
|
|
57
|
+
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
58
|
+
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
35
59
|
*
|
|
36
|
-
* @param
|
|
37
|
-
*
|
|
60
|
+
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
61
|
+
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
62
|
+
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
38
63
|
*
|
|
39
|
-
* @
|
|
40
|
-
*
|
|
64
|
+
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
65
|
+
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
66
|
+
*
|
|
67
|
+
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
68
|
+
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
69
|
+
*
|
|
70
|
+
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
71
|
+
* with the {@link PackageName}.
|
|
41
72
|
*/
|
|
42
|
-
export declare function
|
|
73
|
+
export declare function GetDependencyLogger(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): DependencyLogger;
|
|
43
74
|
//# sourceMappingURL=Dependency.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dependency.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"Dependency.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAK7F;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,uBAAuB,CAAC,aAAa,GAAG,OAAO,EAC3D,OAAO,EAAE,6BAA6B,CAAC,aAAa,CAAC,GACtD,OAAO,GAAG,OAAO,CAAC,OAAO,OAAO,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;AAsC/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAC/B,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,MAAW,EACpC,8BAA8B,GAAE,MAAM,GAAG,SAAqB,GAC/D,gBAAgB,CAoGlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|