@sorrell/utilities 1.2.6 → 1.2.7
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/PackageExports.Generated.json +33 -13
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.cts +8 -0
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.mts +8 -0
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.ts +8 -0
- package/Distribution/Types/Dependency/Dependency.Effect.Internal.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.Effect.d.cts +29 -0
- package/Distribution/Types/Dependency/Dependency.Effect.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Effect.d.mts +29 -0
- package/Distribution/Types/Dependency/Dependency.Effect.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Effect.d.ts +29 -0
- package/Distribution/Types/Dependency/Dependency.Effect.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts +8 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts +8 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts +8 -1
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.d.cts +0 -22
- package/Distribution/Types/Dependency/Dependency.d.cts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.d.mts +0 -22
- package/Distribution/Types/Dependency/Dependency.d.mts.map +1 -1
- package/Distribution/Types/Dependency/Dependency.d.ts +0 -22
- package/Distribution/Types/Dependency/Dependency.d.ts.map +1 -1
- package/Distribution/Types/Dependency/Index.Effect.d.cts +8 -0
- package/Distribution/Types/Dependency/Index.Effect.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Index.Effect.d.mts +8 -0
- package/Distribution/Types/Dependency/Index.Effect.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Index.Effect.d.ts +8 -0
- package/Distribution/Types/Dependency/Index.Effect.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts +5 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts.map +1 -1
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts +5 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts.map +1 -1
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts +5 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts.map +1 -1
- package/Distribution/async.cjs.map +2 -2
- package/Distribution/async.js.map +2 -2
- package/Distribution/dependency-effect.cjs +111 -0
- package/Distribution/dependency-effect.cjs.map +7 -0
- package/Distribution/dependency-effect.js +78 -0
- package/Distribution/dependency-effect.js.map +7 -0
- package/Distribution/dependency.cjs +79 -0
- package/Distribution/dependency.cjs.map +7 -0
- package/Distribution/dependency.js +46 -0
- package/Distribution/dependency.js.map +7 -0
- package/Distribution/index.cjs.map +2 -2
- package/Distribution/index.js.map +2 -2
- package/Distribution/misc.cjs.map +2 -2
- package/Distribution/misc.js.map +2 -2
- package/package.json +11 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"index": {
|
|
3
3
|
"import": {
|
|
4
4
|
"default": "./Distribution/index.js",
|
|
5
5
|
"types": "./Distribution/index.d.mts"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"types": "./Distribution/index.d.cts"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"
|
|
12
|
+
"array": {
|
|
13
13
|
"import": {
|
|
14
14
|
"default": "./Distribution/array.js",
|
|
15
15
|
"types": "./Distribution/array.d.mts"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"types": "./Distribution/array.d.cts"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
"
|
|
22
|
+
"async": {
|
|
23
23
|
"import": {
|
|
24
24
|
"default": "./Distribution/async.js",
|
|
25
25
|
"types": "./Distribution/async.d.mts"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"types": "./Distribution/async.d.cts"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"
|
|
32
|
+
"complex": {
|
|
33
33
|
"import": {
|
|
34
34
|
"default": "./Distribution/complex.js",
|
|
35
35
|
"types": "./Distribution/complex.d.mts"
|
|
@@ -39,7 +39,27 @@
|
|
|
39
39
|
"types": "./Distribution/complex.d.cts"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
"
|
|
42
|
+
"dependency": {
|
|
43
|
+
"import": {
|
|
44
|
+
"default": "./Distribution/dependency.js",
|
|
45
|
+
"types": "./Distribution/dependency.d.mts"
|
|
46
|
+
},
|
|
47
|
+
"require": {
|
|
48
|
+
"default": "./Distribution/dependency.cjs",
|
|
49
|
+
"types": "./Distribution/dependency.d.cts"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"dependency-effect": {
|
|
53
|
+
"import": {
|
|
54
|
+
"default": "./Distribution/dependency-effect.js",
|
|
55
|
+
"types": "./Distribution/dependency-effect.d.mts"
|
|
56
|
+
},
|
|
57
|
+
"require": {
|
|
58
|
+
"default": "./Distribution/dependency-effect.cjs",
|
|
59
|
+
"types": "./Distribution/dependency-effect.d.cts"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"effect": {
|
|
43
63
|
"import": {
|
|
44
64
|
"default": "./Distribution/effect.js",
|
|
45
65
|
"types": "./Distribution/effect.d.mts"
|
|
@@ -49,7 +69,7 @@
|
|
|
49
69
|
"types": "./Distribution/effect.d.cts"
|
|
50
70
|
}
|
|
51
71
|
},
|
|
52
|
-
"
|
|
72
|
+
"fs": {
|
|
53
73
|
"import": {
|
|
54
74
|
"default": "./Distribution/fs.js",
|
|
55
75
|
"types": "./Distribution/fs.d.mts"
|
|
@@ -59,7 +79,7 @@
|
|
|
59
79
|
"types": "./Distribution/fs.d.cts"
|
|
60
80
|
}
|
|
61
81
|
},
|
|
62
|
-
"
|
|
82
|
+
"functional": {
|
|
63
83
|
"import": {
|
|
64
84
|
"default": "./Distribution/functional.js",
|
|
65
85
|
"types": "./Distribution/functional.d.mts"
|
|
@@ -69,7 +89,7 @@
|
|
|
69
89
|
"types": "./Distribution/functional.d.cts"
|
|
70
90
|
}
|
|
71
91
|
},
|
|
72
|
-
"
|
|
92
|
+
"math": {
|
|
73
93
|
"import": {
|
|
74
94
|
"default": "./Distribution/math.js",
|
|
75
95
|
"types": "./Distribution/math.d.mts"
|
|
@@ -79,7 +99,7 @@
|
|
|
79
99
|
"types": "./Distribution/math.d.cts"
|
|
80
100
|
}
|
|
81
101
|
},
|
|
82
|
-
"
|
|
102
|
+
"misc": {
|
|
83
103
|
"import": {
|
|
84
104
|
"default": "./Distribution/misc.js",
|
|
85
105
|
"types": "./Distribution/misc.d.mts"
|
|
@@ -89,7 +109,7 @@
|
|
|
89
109
|
"types": "./Distribution/misc.d.cts"
|
|
90
110
|
}
|
|
91
111
|
},
|
|
92
|
-
"
|
|
112
|
+
"npm": {
|
|
93
113
|
"import": {
|
|
94
114
|
"default": "./Distribution/npm.js",
|
|
95
115
|
"types": "./Distribution/npm.d.mts"
|
|
@@ -99,7 +119,7 @@
|
|
|
99
119
|
"types": "./Distribution/npm.d.cts"
|
|
100
120
|
}
|
|
101
121
|
},
|
|
102
|
-
"
|
|
122
|
+
"npm-effect": {
|
|
103
123
|
"import": {
|
|
104
124
|
"default": "./Distribution/npm-effect.js",
|
|
105
125
|
"types": "./Distribution/npm-effect.d.mts"
|
|
@@ -109,7 +129,7 @@
|
|
|
109
129
|
"types": "./Distribution/npm-effect.d.cts"
|
|
110
130
|
}
|
|
111
131
|
},
|
|
112
|
-
"
|
|
132
|
+
"path": {
|
|
113
133
|
"import": {
|
|
114
134
|
"default": "./Distribution/path.js",
|
|
115
135
|
"types": "./Distribution/path.d.mts"
|
|
@@ -119,7 +139,7 @@
|
|
|
119
139
|
"types": "./Distribution/path.d.cts"
|
|
120
140
|
}
|
|
121
141
|
},
|
|
122
|
-
"
|
|
142
|
+
"record": {
|
|
123
143
|
"import": {
|
|
124
144
|
"default": "./Distribution/record.js",
|
|
125
145
|
"types": "./Distribution/record.d.mts"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Effect.Internal.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export declare function NormalizeLogMessage(Message: unknown): ReadonlyArray<unknown>;
|
|
8
|
+
//# sourceMappingURL=Dependency.Effect.Internal.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Effect.Internal.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Effect.Internal.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAIH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAQ5E"
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Effect.Internal.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export declare function NormalizeLogMessage(Message: unknown): ReadonlyArray<unknown>;
|
|
8
|
+
//# sourceMappingURL=Dependency.Effect.Internal.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Effect.Internal.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Effect.Internal.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAIH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAQ5E"
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Effect.Internal.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export declare function NormalizeLogMessage(Message: unknown): ReadonlyArray<unknown>;
|
|
8
|
+
//# sourceMappingURL=Dependency.Effect.Internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dependency.Effect.Internal.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Dependency.Effect.Internal.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAQ5E"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Effect.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import { Layer } from "effect";
|
|
8
|
+
/**
|
|
9
|
+
* This patches the default logger so that the statements that are logged by your dependency package
|
|
10
|
+
* do not overwhelm or annoy the consuming developer.
|
|
11
|
+
*
|
|
12
|
+
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
13
|
+
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
14
|
+
*
|
|
15
|
+
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
16
|
+
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
17
|
+
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
18
|
+
*
|
|
19
|
+
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
20
|
+
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
21
|
+
*
|
|
22
|
+
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
23
|
+
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
24
|
+
*
|
|
25
|
+
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
26
|
+
* with the {@link PackageName}.
|
|
27
|
+
*/
|
|
28
|
+
export declare function CreateDependencyLoggerLayer(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): Layer.Layer<never, never, never>;
|
|
29
|
+
//# sourceMappingURL=Dependency.Effect.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Effect.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Effect.ts"
|
|
7
|
+
],
|
|
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,CAyClC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Effect.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import { Layer } from "effect";
|
|
8
|
+
/**
|
|
9
|
+
* This patches the default logger so that the statements that are logged by your dependency package
|
|
10
|
+
* do not overwhelm or annoy the consuming developer.
|
|
11
|
+
*
|
|
12
|
+
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
13
|
+
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
14
|
+
*
|
|
15
|
+
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
16
|
+
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
17
|
+
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
18
|
+
*
|
|
19
|
+
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
20
|
+
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
21
|
+
*
|
|
22
|
+
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
23
|
+
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
24
|
+
*
|
|
25
|
+
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
26
|
+
* with the {@link PackageName}.
|
|
27
|
+
*/
|
|
28
|
+
export declare function CreateDependencyLoggerLayer(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): Layer.Layer<never, never, never>;
|
|
29
|
+
//# sourceMappingURL=Dependency.Effect.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Dependency.Effect.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Dependency/Dependency.Effect.ts"
|
|
7
|
+
],
|
|
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,CAyClC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Dependency.Effect.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import { Layer } from "effect";
|
|
8
|
+
/**
|
|
9
|
+
* This patches the default logger so that the statements that are logged by your dependency package
|
|
10
|
+
* do not overwhelm or annoy the consuming developer.
|
|
11
|
+
*
|
|
12
|
+
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
13
|
+
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
14
|
+
*
|
|
15
|
+
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
16
|
+
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
17
|
+
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
18
|
+
*
|
|
19
|
+
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
20
|
+
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
21
|
+
*
|
|
22
|
+
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
23
|
+
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
24
|
+
*
|
|
25
|
+
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
26
|
+
* with the {@link PackageName}.
|
|
27
|
+
*/
|
|
28
|
+
export declare function CreateDependencyLoggerLayer(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): Layer.Layer<never, never, never>;
|
|
29
|
+
//# sourceMappingURL=Dependency.Effect.d.ts.map
|
|
@@ -0,0 +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,CAyClC"}
|
|
@@ -5,5 +5,12 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Formats a given {@link Message} to look like a code snippet (or path, *etc.*).
|
|
10
|
+
*
|
|
11
|
+
* @param Message - The message to format.
|
|
12
|
+
*
|
|
13
|
+
* @returns {string} The {@link Message}, formatted to look like code (or a path, *etc.*).
|
|
14
|
+
*/
|
|
15
|
+
export declare function Code(Message: string): string;
|
|
9
16
|
//# 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;AAMH,eAGA,MAAM,mBAAmB,EAAE,aAAa,CAAC,MAAM,CAOjC,CAAC;AAIf;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C"
|
|
10
10
|
}
|
|
@@ -5,5 +5,12 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Formats a given {@link Message} to look like a code snippet (or path, *etc.*).
|
|
10
|
+
*
|
|
11
|
+
* @param Message - The message to format.
|
|
12
|
+
*
|
|
13
|
+
* @returns {string} The {@link Message}, formatted to look like code (or a path, *etc.*).
|
|
14
|
+
*/
|
|
15
|
+
export declare function Code(Message: string): string;
|
|
9
16
|
//# 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;AAMH,eAGA,MAAM,mBAAmB,EAAE,aAAa,CAAC,MAAM,CAOjC,CAAC;AAIf;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C"
|
|
10
10
|
}
|
|
@@ -5,5 +5,12 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Formats a given {@link Message} to look like a code snippet (or path, *etc.*).
|
|
10
|
+
*
|
|
11
|
+
* @param Message - The message to format.
|
|
12
|
+
*
|
|
13
|
+
* @returns {string} The {@link Message}, formatted to look like code (or a path, *etc.*).
|
|
14
|
+
*/
|
|
15
|
+
export declare function Code(Message: string): string;
|
|
9
16
|
//# 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;AAMH,eAGA,MAAM,mBAAmB,EAAE,aAAa,CAAC,MAAM,CAOjC,CAAC;AAIf;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import { Layer } from "effect";
|
|
8
7
|
/**
|
|
9
8
|
* Guess whether the current session is in *production mode* by,
|
|
10
9
|
*
|
|
@@ -41,25 +40,4 @@ import { Layer } from "effect";
|
|
|
41
40
|
* if unsure, the given {@link UncertainValue} is returned (by default, this is `true`).
|
|
42
41
|
*/
|
|
43
42
|
export declare function IsRuntimeModeProduction(DebugEnvironmentVariable?: string | undefined, TruthyValues?: ReadonlyArray<string>, UncertainValue?: unknown): boolean | typeof UncertainValue;
|
|
44
|
-
/**
|
|
45
|
-
* This patches the default logger so that the statements that are logged by your dependency package
|
|
46
|
-
* do not overwhelm or annoy the consuming developer.
|
|
47
|
-
*
|
|
48
|
-
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
49
|
-
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
50
|
-
*
|
|
51
|
-
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
52
|
-
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
53
|
-
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
54
|
-
*
|
|
55
|
-
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
56
|
-
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
57
|
-
*
|
|
58
|
-
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
59
|
-
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
60
|
-
*
|
|
61
|
-
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
62
|
-
* with the {@link PackageName}.
|
|
63
|
-
*/
|
|
64
|
-
export declare function CreateDependencyLoggerLayer(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): Layer.Layer<never, never, never>;
|
|
65
43
|
//# 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;AAMH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,uBAAuB,CACnC,wBAAwB,GAAE,MAAM,GAAG,SAAqB,EACxD,YAAY,GAAE,aAAa,CAAC,MAAM,CAAuB,EACzD,cAAc,GAAE,OAAc,GAC/B,OAAO,GAAG,OAAO,cAAc,CAsBjC"
|
|
10
10
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import { Layer } from "effect";
|
|
8
7
|
/**
|
|
9
8
|
* Guess whether the current session is in *production mode* by,
|
|
10
9
|
*
|
|
@@ -41,25 +40,4 @@ import { Layer } from "effect";
|
|
|
41
40
|
* if unsure, the given {@link UncertainValue} is returned (by default, this is `true`).
|
|
42
41
|
*/
|
|
43
42
|
export declare function IsRuntimeModeProduction(DebugEnvironmentVariable?: string | undefined, TruthyValues?: ReadonlyArray<string>, UncertainValue?: unknown): boolean | typeof UncertainValue;
|
|
44
|
-
/**
|
|
45
|
-
* This patches the default logger so that the statements that are logged by your dependency package
|
|
46
|
-
* do not overwhelm or annoy the consuming developer.
|
|
47
|
-
*
|
|
48
|
-
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
49
|
-
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
50
|
-
*
|
|
51
|
-
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
52
|
-
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
53
|
-
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
54
|
-
*
|
|
55
|
-
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
56
|
-
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
57
|
-
*
|
|
58
|
-
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
59
|
-
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
60
|
-
*
|
|
61
|
-
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
62
|
-
* with the {@link PackageName}.
|
|
63
|
-
*/
|
|
64
|
-
export declare function CreateDependencyLoggerLayer(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): Layer.Layer<never, never, never>;
|
|
65
43
|
//# 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;AAMH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,uBAAuB,CACnC,wBAAwB,GAAE,MAAM,GAAG,SAAqB,EACxD,YAAY,GAAE,aAAa,CAAC,MAAM,CAAuB,EACzD,cAAc,GAAE,OAAc,GAC/B,OAAO,GAAG,OAAO,cAAc,CAsBjC"
|
|
10
10
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @copyright (c) 2026 Gage Sorrell
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import { Layer } from "effect";
|
|
8
7
|
/**
|
|
9
8
|
* Guess whether the current session is in *production mode* by,
|
|
10
9
|
*
|
|
@@ -41,25 +40,4 @@ import { Layer } from "effect";
|
|
|
41
40
|
* if unsure, the given {@link UncertainValue} is returned (by default, this is `true`).
|
|
42
41
|
*/
|
|
43
42
|
export declare function IsRuntimeModeProduction(DebugEnvironmentVariable?: string | undefined, TruthyValues?: ReadonlyArray<string>, UncertainValue?: unknown): boolean | typeof UncertainValue;
|
|
44
|
-
/**
|
|
45
|
-
* This patches the default logger so that the statements that are logged by your dependency package
|
|
46
|
-
* do not overwhelm or annoy the consuming developer.
|
|
47
|
-
*
|
|
48
|
-
* {@link IsDependentModeProduction} is used to determine whether to return a no-op
|
|
49
|
-
* (iff `true`), or a function that wraps {@link Console} (iff `false`).
|
|
50
|
-
*
|
|
51
|
-
* @param PackageName - The name of your package. It is strongly recommended, but not *enforced*,
|
|
52
|
-
* that this is exactly the `name` in your `package.json`. Statements logged under this
|
|
53
|
-
* {@link Layer.Layer | Layer} are prefixed with `[${ PackageName }]`.
|
|
54
|
-
*
|
|
55
|
-
* @param SuppressLoggerFrequency - When {@link SuppressLoggerFrequency} statements have been logged,
|
|
56
|
-
* a short message is *also* logged, explaining how to suppress output from your package.
|
|
57
|
-
*
|
|
58
|
-
* @param SuppressLogEnvironmentVariable - If specified, this is the environment variable name passed to
|
|
59
|
-
* {@link IsDependentModeProduction} to determine whether the logger will be a no-op.
|
|
60
|
-
*
|
|
61
|
-
* @returns {Layer.Layer} A {@link Layer.Layer | Layer} that provides the {@link DependencyLogger}
|
|
62
|
-
* with the {@link PackageName}.
|
|
63
|
-
*/
|
|
64
|
-
export declare function CreateDependencyLoggerLayer(PackageName: string, SuppressLoggerFrequency?: number, SuppressLogEnvironmentVariable?: string | undefined): Layer.Layer<never, never, never>;
|
|
65
43
|
//# 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;AAMH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,uBAAuB,CACnC,wBAAwB,GAAE,MAAM,GAAG,SAAqB,EACxD,YAAY,GAAE,aAAa,CAAC,MAAM,CAAuB,EACzD,cAAc,GAAE,OAAc,GAC/B,OAAO,GAAG,OAAO,cAAc,CAsBjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.Effect.d.ts","sourceRoot":"","sources":["../../../Source/Dependency/Index.Effect.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,wBAAwB,CAAC"}
|
|
@@ -62,6 +62,11 @@ export type NoOptions = typeof NoOptions;
|
|
|
62
62
|
* @example * See the {@link Array.Options:type} type as an example.
|
|
63
63
|
*/
|
|
64
64
|
export type TOptions<OptionsType extends symbol = NoOptions> = OptionsType | NoOptions;
|
|
65
|
+
/**
|
|
66
|
+
* The opposite of {@link NonNullable}: the union of a given {@link Type}, `null`, and `undefined`.
|
|
67
|
+
*
|
|
68
|
+
* @template Type - The nontrivial type in this union.
|
|
69
|
+
*/
|
|
65
70
|
export type TNullable<Type> = Type | null | undefined;
|
|
66
71
|
/** An error that is thrown in default implementations of `abstract` `class`es. */
|
|
67
72
|
export declare class AbstractMethodCallError extends Error {
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Miscellaneous/Utility.Types.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AAEzC;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,CAAC,UAAU,IACjC;IACI,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CACzE,CAAC;AAEN;;;;;;;;;GASG;AACH,MAAM,MAAM,QAAQ,CAAC,UAAU,EAAE,aAAa,SAAS,OAAO,GAAG,IAAI,IACjE,aAAa,SAAS,KAAK,GACrB;IACE,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,UAAU,CAAC,GAAG,CAAC;CACzD,GACC,aAAa,SAAS,IAAI,GACtB;IACE,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CACnE,GACC,KAAK,CAAC;AAEpB;;;;;GAKG;AACH,MAAM,MAAM,OAAO,CAAC,UAAU,IAAI,UAAU,CAAC,MAAM,UAAU,CAAC,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,MAAM,MAAM,CACd,UAAU,EACV,OAAO,SAAS,MAAM,UAAU,GAAG,MAAM,UAAU,IACnD,CAAE,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,CAAE,CAAC;AAErC,qEAAqE;AACrE,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,QAAQ,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,IACrD,WAAW,GACX,SAAS,CAAC;AA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AkB,GAClB,QAAQ,CAAC;AAEf,KAAK,gBAAgB,GACjB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC,GAC5E,OAAO,CAAC;IACJ,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnB,MAAM,EAAE,WAAW,CAAC;IACpB,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEP,KAAK,OAAO,GACN,MAAM,GACN,UAAU,GACV,cAAc,GACd,OAAO,GACP,WAAW,GACX,cAAc,CAAC;AAErB,KAAK,WAAW,GACV,MAAM,GACN,UAAU,GACV,KAAK,GACL,KAAK,GACL,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,UAAU,CAAC;AAEjB,KAAK,qBAAqB,GACpB,SAAS,GACT,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,SAAS,CAAC;AAEhB,KAAK,OAAO,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,CAAC;AAEf;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,CAAC,UAAU,IACrC;KACM,GAAG,IAAI,MAAM,UAAU,GAAI,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CAC5D,CAAC"
|
|
10
10
|
}
|
|
@@ -62,6 +62,11 @@ export type NoOptions = typeof NoOptions;
|
|
|
62
62
|
* @example * See the {@link Array.Options:type} type as an example.
|
|
63
63
|
*/
|
|
64
64
|
export type TOptions<OptionsType extends symbol = NoOptions> = OptionsType | NoOptions;
|
|
65
|
+
/**
|
|
66
|
+
* The opposite of {@link NonNullable}: the union of a given {@link Type}, `null`, and `undefined`.
|
|
67
|
+
*
|
|
68
|
+
* @template Type - The nontrivial type in this union.
|
|
69
|
+
*/
|
|
65
70
|
export type TNullable<Type> = Type | null | undefined;
|
|
66
71
|
/** An error that is thrown in default implementations of `abstract` `class`es. */
|
|
67
72
|
export declare class AbstractMethodCallError extends Error {
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"../../../Source/Miscellaneous/Utility.Types.ts"
|
|
7
7
|
],
|
|
8
8
|
"names": [],
|
|
9
|
-
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AAEzC;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,CAAC,UAAU,IACjC;IACI,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CACzE,CAAC;AAEN;;;;;;;;;GASG;AACH,MAAM,MAAM,QAAQ,CAAC,UAAU,EAAE,aAAa,SAAS,OAAO,GAAG,IAAI,IACjE,aAAa,SAAS,KAAK,GACrB;IACE,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,UAAU,CAAC,GAAG,CAAC;CACzD,GACC,aAAa,SAAS,IAAI,GACtB;IACE,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CACnE,GACC,KAAK,CAAC;AAEpB;;;;;GAKG;AACH,MAAM,MAAM,OAAO,CAAC,UAAU,IAAI,UAAU,CAAC,MAAM,UAAU,CAAC,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,MAAM,MAAM,CACd,UAAU,EACV,OAAO,SAAS,MAAM,UA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;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,CAAC,UAAU,IACrC;KACM,GAAG,IAAI,MAAM,UAAU,GAAI,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CAC5D,CAAC"
|
|
10
10
|
}
|
|
@@ -62,6 +62,11 @@ export type NoOptions = typeof NoOptions;
|
|
|
62
62
|
* @example * See the {@link Array.Options:type} type as an example.
|
|
63
63
|
*/
|
|
64
64
|
export type TOptions<OptionsType extends symbol = NoOptions> = OptionsType | NoOptions;
|
|
65
|
+
/**
|
|
66
|
+
* The opposite of {@link NonNullable}: the union of a given {@link Type}, `null`, and `undefined`.
|
|
67
|
+
*
|
|
68
|
+
* @template Type - The nontrivial type in this union.
|
|
69
|
+
*/
|
|
65
70
|
export type TNullable<Type> = Type | null | undefined;
|
|
66
71
|
/** An error that is thrown in default implementations of `abstract` `class`es. */
|
|
67
72
|
export declare class AbstractMethodCallError extends Error {
|