@ls-stack/utils 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assertions.cjs +4 -4
- package/dist/assertions.d.cts +2 -2
- package/dist/assertions.d.ts +2 -2
- package/dist/assertions.js +1 -1
- package/dist/cache.js +1 -1
- package/dist/{chunk-2TIVYE43.js → chunk-3XCS7FVO.js} +4 -4
- package/dist/{chunk-55DQGPY3.js → chunk-J73KJABC.js} +1 -1
- package/dist/{chunk-4DCLNY64.js → chunk-OHHF4CJZ.js} +1 -1
- package/dist/createThrottleController.js +2 -2
- package/dist/enhancedMap.js +2 -2
- package/dist/getValueStableKey.js +1 -1
- package/dist/interpolate.js +1 -1
- package/dist/main.d.cts +32 -2
- package/dist/main.d.ts +0 -2
- package/dist/parallelAsyncCalls.js +2 -2
- package/dist/testUtils.js +1 -1
- package/dist/tsResult.js +2 -2
- package/dist/yamlStringify.js +1 -1
- package/package.json +265 -116
package/dist/assertions.cjs
CHANGED
|
@@ -34,15 +34,15 @@ __export(assertions_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(assertions_exports);
|
|
35
35
|
var undefErrMsg = "not undefined assertion failed";
|
|
36
36
|
var nullishErrMsg = "not nullish assertion failed";
|
|
37
|
-
function notUndefined(value,
|
|
37
|
+
function notUndefined(value, errorMsg = undefErrMsg) {
|
|
38
38
|
if (value === void 0) {
|
|
39
|
-
throw new Error(
|
|
39
|
+
throw new Error(errorMsg);
|
|
40
40
|
}
|
|
41
41
|
return value;
|
|
42
42
|
}
|
|
43
|
-
function notNullish(value,
|
|
43
|
+
function notNullish(value, errorMsg = nullishErrMsg) {
|
|
44
44
|
if (value === void 0 || value === null) {
|
|
45
|
-
throw new Error(
|
|
45
|
+
throw new Error(errorMsg);
|
|
46
46
|
}
|
|
47
47
|
return value;
|
|
48
48
|
}
|
package/dist/assertions.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
type NotUndefined<T> = T extends undefined ? never : T;
|
|
2
2
|
type StrictNonUndefined<T, N = unknown> = undefined extends T ? NotUndefined<T> : N;
|
|
3
|
-
declare function notUndefined<T>(value: T,
|
|
3
|
+
declare function notUndefined<T>(value: T, errorMsg?: string): StrictNonUndefined<T>;
|
|
4
4
|
type StrictNonNullable<T, N = unknown> = undefined extends T ? NonNullable<T> : null extends T ? NonNullable<T> : N;
|
|
5
|
-
declare function notNullish<T>(value: T,
|
|
5
|
+
declare function notNullish<T>(value: T, errorMsg?: string): StrictNonNullable<T>;
|
|
6
6
|
declare function assertIsNotNullish<T>(value: T, errorMsg?: string): asserts value is StrictNonNullable<T, never>;
|
|
7
7
|
declare function assertIsNotUndefined<T>(value: T, errorMsg?: string): asserts value is StrictNonUndefined<T, never>;
|
|
8
8
|
/** Use this function to assert that a certain condition is always true. */
|
package/dist/assertions.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
type NotUndefined<T> = T extends undefined ? never : T;
|
|
2
2
|
type StrictNonUndefined<T, N = unknown> = undefined extends T ? NotUndefined<T> : N;
|
|
3
|
-
declare function notUndefined<T>(value: T,
|
|
3
|
+
declare function notUndefined<T>(value: T, errorMsg?: string): StrictNonUndefined<T>;
|
|
4
4
|
type StrictNonNullable<T, N = unknown> = undefined extends T ? NonNullable<T> : null extends T ? NonNullable<T> : N;
|
|
5
|
-
declare function notNullish<T>(value: T,
|
|
5
|
+
declare function notNullish<T>(value: T, errorMsg?: string): StrictNonNullable<T>;
|
|
6
6
|
declare function assertIsNotNullish<T>(value: T, errorMsg?: string): asserts value is StrictNonNullable<T, never>;
|
|
7
7
|
declare function assertIsNotUndefined<T>(value: T, errorMsg?: string): asserts value is StrictNonUndefined<T, never>;
|
|
8
8
|
/** Use this function to assert that a certain condition is always true. */
|
package/dist/assertions.js
CHANGED
package/dist/cache.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// src/assertions.ts
|
|
2
2
|
var undefErrMsg = "not undefined assertion failed";
|
|
3
3
|
var nullishErrMsg = "not nullish assertion failed";
|
|
4
|
-
function notUndefined(value,
|
|
4
|
+
function notUndefined(value, errorMsg = undefErrMsg) {
|
|
5
5
|
if (value === void 0) {
|
|
6
|
-
throw new Error(
|
|
6
|
+
throw new Error(errorMsg);
|
|
7
7
|
}
|
|
8
8
|
return value;
|
|
9
9
|
}
|
|
10
|
-
function notNullish(value,
|
|
10
|
+
function notNullish(value, errorMsg = nullishErrMsg) {
|
|
11
11
|
if (value === void 0 || value === null) {
|
|
12
|
-
throw new Error(
|
|
12
|
+
throw new Error(errorMsg);
|
|
13
13
|
}
|
|
14
14
|
return value;
|
|
15
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EnhancedMap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OHHF4CJZ.js";
|
|
4
4
|
import {
|
|
5
5
|
durationObjToMs
|
|
6
6
|
} from "./chunk-5MNYPLZI.js";
|
|
7
7
|
import "./chunk-HTCYUMDR.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-3XCS7FVO.js";
|
|
9
9
|
import "./chunk-II4R3VVX.js";
|
|
10
10
|
|
|
11
11
|
// src/createThrottleController.ts
|
package/dist/enhancedMap.js
CHANGED
package/dist/interpolate.js
CHANGED
package/dist/main.d.cts
CHANGED
|
@@ -1,2 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
///<reference path="arrayUtils.d.ts" />
|
|
2
|
+
///<reference path="assertions.d.ts" />
|
|
3
|
+
///<reference path="cache.d.ts" />
|
|
4
|
+
///<reference path="castValues.d.ts" />
|
|
5
|
+
///<reference path="consoleFmt.d.ts" />
|
|
6
|
+
///<reference path="conversions.d.ts" />
|
|
7
|
+
///<reference path="createThrottleController.d.ts" />
|
|
8
|
+
///<reference path="debounce.d.ts" />
|
|
9
|
+
///<reference path="dedent.d.ts" />
|
|
10
|
+
///<reference path="deepEqual.d.ts" />
|
|
11
|
+
///<reference path="enhancedMap.d.ts" />
|
|
12
|
+
///<reference path="exhaustiveMatch.d.ts" />
|
|
13
|
+
///<reference path="getValueStableKey.d.ts" />
|
|
14
|
+
///<reference path="interpolate.d.ts" />
|
|
15
|
+
///<reference path="levenshtein.d.ts" />
|
|
16
|
+
///<reference path="mathUtils.d.ts" />
|
|
17
|
+
///<reference path="objUtils.d.ts" />
|
|
18
|
+
///<reference path="parallelAsyncCalls.d.ts" />
|
|
19
|
+
///<reference path="promiseUtils.d.ts" />
|
|
20
|
+
///<reference path="retryOnError.d.ts" />
|
|
21
|
+
///<reference path="runShellCmd.d.ts" />
|
|
22
|
+
///<reference path="safeJson.d.ts" />
|
|
23
|
+
///<reference path="shallowEqual.d.ts" />
|
|
24
|
+
///<reference path="sleep.d.ts" />
|
|
25
|
+
///<reference path="stringUtils.d.ts" />
|
|
26
|
+
///<reference path="testUtils.d.ts" />
|
|
27
|
+
///<reference path="time.d.ts" />
|
|
28
|
+
///<reference path="tsResult.d.ts" />
|
|
29
|
+
///<reference path="typingFnUtils.d.ts" />
|
|
30
|
+
///<reference path="typingTestUtils.d.ts" />
|
|
31
|
+
///<reference path="typingUtils.d.ts" />
|
|
32
|
+
///<reference path="yamlStringify.d.ts" />
|
package/dist/main.d.ts
CHANGED
|
@@ -11,10 +11,8 @@
|
|
|
11
11
|
///<reference path="enhancedMap.d.ts" />
|
|
12
12
|
///<reference path="exhaustiveMatch.d.ts" />
|
|
13
13
|
///<reference path="getValueStableKey.d.ts" />
|
|
14
|
-
///<reference path="internalUtils.d.ts" />
|
|
15
14
|
///<reference path="interpolate.d.ts" />
|
|
16
15
|
///<reference path="levenshtein.d.ts" />
|
|
17
|
-
///<reference path="main.d.ts" />
|
|
18
16
|
///<reference path="mathUtils.d.ts" />
|
|
19
17
|
///<reference path="objUtils.d.ts" />
|
|
20
18
|
///<reference path="parallelAsyncCalls.d.ts" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Result,
|
|
3
3
|
unknownToError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J73KJABC.js";
|
|
5
5
|
import {
|
|
6
6
|
sleep
|
|
7
7
|
} from "./chunk-5DZT3Z5Z.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-VAAMRG4K.js";
|
|
|
9
9
|
import {
|
|
10
10
|
invariant,
|
|
11
11
|
isObject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3XCS7FVO.js";
|
|
13
13
|
|
|
14
14
|
// src/parallelAsyncCalls.ts
|
|
15
15
|
var ParallelAsyncResultCalls = class {
|
package/dist/testUtils.js
CHANGED
package/dist/tsResult.js
CHANGED
package/dist/yamlStringify.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ls-stack/utils",
|
|
3
3
|
"description": "Typescript utils",
|
|
4
|
-
"version": "3.1
|
|
4
|
+
"version": "3.2.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -15,179 +15,334 @@
|
|
|
15
15
|
"main": "./dist/main.cjs",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
|
-
"import":
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
"import": {
|
|
19
|
+
"import": "./dist/main.js",
|
|
20
|
+
"types": "./dist/main.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"require": {
|
|
23
|
+
"import": "./dist/main.cjs",
|
|
24
|
+
"types": "./dist/main.d.cts"
|
|
25
|
+
}
|
|
21
26
|
},
|
|
22
27
|
"./arrayUtils": {
|
|
23
|
-
"import":
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
"import": {
|
|
29
|
+
"import": "./dist/arrayUtils.js",
|
|
30
|
+
"types": "./dist/arrayUtils.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"require": {
|
|
33
|
+
"import": "./dist/arrayUtils.cjs",
|
|
34
|
+
"types": "./dist/arrayUtils.d.cts"
|
|
35
|
+
}
|
|
26
36
|
},
|
|
27
37
|
"./assertions": {
|
|
28
|
-
"import":
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
"import": {
|
|
39
|
+
"import": "./dist/assertions.js",
|
|
40
|
+
"types": "./dist/assertions.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"import": "./dist/assertions.cjs",
|
|
44
|
+
"types": "./dist/assertions.d.cts"
|
|
45
|
+
}
|
|
31
46
|
},
|
|
32
47
|
"./cache": {
|
|
33
|
-
"import":
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
"import": {
|
|
49
|
+
"import": "./dist/cache.js",
|
|
50
|
+
"types": "./dist/cache.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"require": {
|
|
53
|
+
"import": "./dist/cache.cjs",
|
|
54
|
+
"types": "./dist/cache.d.cts"
|
|
55
|
+
}
|
|
36
56
|
},
|
|
37
57
|
"./castValues": {
|
|
38
|
-
"import":
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
"import": {
|
|
59
|
+
"import": "./dist/castValues.js",
|
|
60
|
+
"types": "./dist/castValues.d.ts"
|
|
61
|
+
},
|
|
62
|
+
"require": {
|
|
63
|
+
"import": "./dist/castValues.cjs",
|
|
64
|
+
"types": "./dist/castValues.d.cts"
|
|
65
|
+
}
|
|
41
66
|
},
|
|
42
67
|
"./consoleFmt": {
|
|
43
|
-
"import":
|
|
44
|
-
|
|
45
|
-
|
|
68
|
+
"import": {
|
|
69
|
+
"import": "./dist/consoleFmt.js",
|
|
70
|
+
"types": "./dist/consoleFmt.d.ts"
|
|
71
|
+
},
|
|
72
|
+
"require": {
|
|
73
|
+
"import": "./dist/consoleFmt.cjs",
|
|
74
|
+
"types": "./dist/consoleFmt.d.cts"
|
|
75
|
+
}
|
|
46
76
|
},
|
|
47
77
|
"./conversions": {
|
|
48
|
-
"import":
|
|
49
|
-
|
|
50
|
-
|
|
78
|
+
"import": {
|
|
79
|
+
"import": "./dist/conversions.js",
|
|
80
|
+
"types": "./dist/conversions.d.ts"
|
|
81
|
+
},
|
|
82
|
+
"require": {
|
|
83
|
+
"import": "./dist/conversions.cjs",
|
|
84
|
+
"types": "./dist/conversions.d.cts"
|
|
85
|
+
}
|
|
51
86
|
},
|
|
52
87
|
"./createThrottleController": {
|
|
53
|
-
"import":
|
|
54
|
-
|
|
55
|
-
|
|
88
|
+
"import": {
|
|
89
|
+
"import": "./dist/createThrottleController.js",
|
|
90
|
+
"types": "./dist/createThrottleController.d.ts"
|
|
91
|
+
},
|
|
92
|
+
"require": {
|
|
93
|
+
"import": "./dist/createThrottleController.cjs",
|
|
94
|
+
"types": "./dist/createThrottleController.d.cts"
|
|
95
|
+
}
|
|
56
96
|
},
|
|
57
97
|
"./debounce": {
|
|
58
|
-
"import":
|
|
59
|
-
|
|
60
|
-
|
|
98
|
+
"import": {
|
|
99
|
+
"import": "./dist/debounce.js",
|
|
100
|
+
"types": "./dist/debounce.d.ts"
|
|
101
|
+
},
|
|
102
|
+
"require": {
|
|
103
|
+
"import": "./dist/debounce.cjs",
|
|
104
|
+
"types": "./dist/debounce.d.cts"
|
|
105
|
+
}
|
|
61
106
|
},
|
|
62
107
|
"./dedent": {
|
|
63
|
-
"import":
|
|
64
|
-
|
|
65
|
-
|
|
108
|
+
"import": {
|
|
109
|
+
"import": "./dist/dedent.js",
|
|
110
|
+
"types": "./dist/dedent.d.ts"
|
|
111
|
+
},
|
|
112
|
+
"require": {
|
|
113
|
+
"import": "./dist/dedent.cjs",
|
|
114
|
+
"types": "./dist/dedent.d.cts"
|
|
115
|
+
}
|
|
66
116
|
},
|
|
67
117
|
"./deepEqual": {
|
|
68
|
-
"import":
|
|
69
|
-
|
|
70
|
-
|
|
118
|
+
"import": {
|
|
119
|
+
"import": "./dist/deepEqual.js",
|
|
120
|
+
"types": "./dist/deepEqual.d.ts"
|
|
121
|
+
},
|
|
122
|
+
"require": {
|
|
123
|
+
"import": "./dist/deepEqual.cjs",
|
|
124
|
+
"types": "./dist/deepEqual.d.cts"
|
|
125
|
+
}
|
|
71
126
|
},
|
|
72
127
|
"./enhancedMap": {
|
|
73
|
-
"import":
|
|
74
|
-
|
|
75
|
-
|
|
128
|
+
"import": {
|
|
129
|
+
"import": "./dist/enhancedMap.js",
|
|
130
|
+
"types": "./dist/enhancedMap.d.ts"
|
|
131
|
+
},
|
|
132
|
+
"require": {
|
|
133
|
+
"import": "./dist/enhancedMap.cjs",
|
|
134
|
+
"types": "./dist/enhancedMap.d.cts"
|
|
135
|
+
}
|
|
76
136
|
},
|
|
77
137
|
"./exhaustiveMatch": {
|
|
78
|
-
"import":
|
|
79
|
-
|
|
80
|
-
|
|
138
|
+
"import": {
|
|
139
|
+
"import": "./dist/exhaustiveMatch.js",
|
|
140
|
+
"types": "./dist/exhaustiveMatch.d.ts"
|
|
141
|
+
},
|
|
142
|
+
"require": {
|
|
143
|
+
"import": "./dist/exhaustiveMatch.cjs",
|
|
144
|
+
"types": "./dist/exhaustiveMatch.d.cts"
|
|
145
|
+
}
|
|
81
146
|
},
|
|
82
147
|
"./getValueStableKey": {
|
|
83
|
-
"import":
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
148
|
+
"import": {
|
|
149
|
+
"import": "./dist/getValueStableKey.js",
|
|
150
|
+
"types": "./dist/getValueStableKey.d.ts"
|
|
151
|
+
},
|
|
152
|
+
"require": {
|
|
153
|
+
"import": "./dist/getValueStableKey.cjs",
|
|
154
|
+
"types": "./dist/getValueStableKey.d.cts"
|
|
155
|
+
}
|
|
91
156
|
},
|
|
92
157
|
"./interpolate": {
|
|
93
|
-
"import":
|
|
94
|
-
|
|
95
|
-
|
|
158
|
+
"import": {
|
|
159
|
+
"import": "./dist/interpolate.js",
|
|
160
|
+
"types": "./dist/interpolate.d.ts"
|
|
161
|
+
},
|
|
162
|
+
"require": {
|
|
163
|
+
"import": "./dist/interpolate.cjs",
|
|
164
|
+
"types": "./dist/interpolate.d.cts"
|
|
165
|
+
}
|
|
96
166
|
},
|
|
97
167
|
"./levenshtein": {
|
|
98
|
-
"import":
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
168
|
+
"import": {
|
|
169
|
+
"import": "./dist/levenshtein.js",
|
|
170
|
+
"types": "./dist/levenshtein.d.ts"
|
|
171
|
+
},
|
|
172
|
+
"require": {
|
|
173
|
+
"import": "./dist/levenshtein.cjs",
|
|
174
|
+
"types": "./dist/levenshtein.d.cts"
|
|
175
|
+
}
|
|
106
176
|
},
|
|
107
177
|
"./mathUtils": {
|
|
108
|
-
"import":
|
|
109
|
-
|
|
110
|
-
|
|
178
|
+
"import": {
|
|
179
|
+
"import": "./dist/mathUtils.js",
|
|
180
|
+
"types": "./dist/mathUtils.d.ts"
|
|
181
|
+
},
|
|
182
|
+
"require": {
|
|
183
|
+
"import": "./dist/mathUtils.cjs",
|
|
184
|
+
"types": "./dist/mathUtils.d.cts"
|
|
185
|
+
}
|
|
111
186
|
},
|
|
112
187
|
"./objUtils": {
|
|
113
|
-
"import":
|
|
114
|
-
|
|
115
|
-
|
|
188
|
+
"import": {
|
|
189
|
+
"import": "./dist/objUtils.js",
|
|
190
|
+
"types": "./dist/objUtils.d.ts"
|
|
191
|
+
},
|
|
192
|
+
"require": {
|
|
193
|
+
"import": "./dist/objUtils.cjs",
|
|
194
|
+
"types": "./dist/objUtils.d.cts"
|
|
195
|
+
}
|
|
116
196
|
},
|
|
117
197
|
"./parallelAsyncCalls": {
|
|
118
|
-
"import":
|
|
119
|
-
|
|
120
|
-
|
|
198
|
+
"import": {
|
|
199
|
+
"import": "./dist/parallelAsyncCalls.js",
|
|
200
|
+
"types": "./dist/parallelAsyncCalls.d.ts"
|
|
201
|
+
},
|
|
202
|
+
"require": {
|
|
203
|
+
"import": "./dist/parallelAsyncCalls.cjs",
|
|
204
|
+
"types": "./dist/parallelAsyncCalls.d.cts"
|
|
205
|
+
}
|
|
121
206
|
},
|
|
122
207
|
"./promiseUtils": {
|
|
123
|
-
"import":
|
|
124
|
-
|
|
125
|
-
|
|
208
|
+
"import": {
|
|
209
|
+
"import": "./dist/promiseUtils.js",
|
|
210
|
+
"types": "./dist/promiseUtils.d.ts"
|
|
211
|
+
},
|
|
212
|
+
"require": {
|
|
213
|
+
"import": "./dist/promiseUtils.cjs",
|
|
214
|
+
"types": "./dist/promiseUtils.d.cts"
|
|
215
|
+
}
|
|
126
216
|
},
|
|
127
217
|
"./retryOnError": {
|
|
128
|
-
"import":
|
|
129
|
-
|
|
130
|
-
|
|
218
|
+
"import": {
|
|
219
|
+
"import": "./dist/retryOnError.js",
|
|
220
|
+
"types": "./dist/retryOnError.d.ts"
|
|
221
|
+
},
|
|
222
|
+
"require": {
|
|
223
|
+
"import": "./dist/retryOnError.cjs",
|
|
224
|
+
"types": "./dist/retryOnError.d.cts"
|
|
225
|
+
}
|
|
131
226
|
},
|
|
132
227
|
"./runShellCmd": {
|
|
133
|
-
"import":
|
|
134
|
-
|
|
135
|
-
|
|
228
|
+
"import": {
|
|
229
|
+
"import": "./dist/runShellCmd.js",
|
|
230
|
+
"types": "./dist/runShellCmd.d.ts"
|
|
231
|
+
},
|
|
232
|
+
"require": {
|
|
233
|
+
"import": "./dist/runShellCmd.cjs",
|
|
234
|
+
"types": "./dist/runShellCmd.d.cts"
|
|
235
|
+
}
|
|
136
236
|
},
|
|
137
237
|
"./safeJson": {
|
|
138
|
-
"import":
|
|
139
|
-
|
|
140
|
-
|
|
238
|
+
"import": {
|
|
239
|
+
"import": "./dist/safeJson.js",
|
|
240
|
+
"types": "./dist/safeJson.d.ts"
|
|
241
|
+
},
|
|
242
|
+
"require": {
|
|
243
|
+
"import": "./dist/safeJson.cjs",
|
|
244
|
+
"types": "./dist/safeJson.d.cts"
|
|
245
|
+
}
|
|
141
246
|
},
|
|
142
247
|
"./shallowEqual": {
|
|
143
|
-
"import":
|
|
144
|
-
|
|
145
|
-
|
|
248
|
+
"import": {
|
|
249
|
+
"import": "./dist/shallowEqual.js",
|
|
250
|
+
"types": "./dist/shallowEqual.d.ts"
|
|
251
|
+
},
|
|
252
|
+
"require": {
|
|
253
|
+
"import": "./dist/shallowEqual.cjs",
|
|
254
|
+
"types": "./dist/shallowEqual.d.cts"
|
|
255
|
+
}
|
|
146
256
|
},
|
|
147
257
|
"./sleep": {
|
|
148
|
-
"import":
|
|
149
|
-
|
|
150
|
-
|
|
258
|
+
"import": {
|
|
259
|
+
"import": "./dist/sleep.js",
|
|
260
|
+
"types": "./dist/sleep.d.ts"
|
|
261
|
+
},
|
|
262
|
+
"require": {
|
|
263
|
+
"import": "./dist/sleep.cjs",
|
|
264
|
+
"types": "./dist/sleep.d.cts"
|
|
265
|
+
}
|
|
151
266
|
},
|
|
152
267
|
"./stringUtils": {
|
|
153
|
-
"import":
|
|
154
|
-
|
|
155
|
-
|
|
268
|
+
"import": {
|
|
269
|
+
"import": "./dist/stringUtils.js",
|
|
270
|
+
"types": "./dist/stringUtils.d.ts"
|
|
271
|
+
},
|
|
272
|
+
"require": {
|
|
273
|
+
"import": "./dist/stringUtils.cjs",
|
|
274
|
+
"types": "./dist/stringUtils.d.cts"
|
|
275
|
+
}
|
|
156
276
|
},
|
|
157
277
|
"./testUtils": {
|
|
158
|
-
"import":
|
|
159
|
-
|
|
160
|
-
|
|
278
|
+
"import": {
|
|
279
|
+
"import": "./dist/testUtils.js",
|
|
280
|
+
"types": "./dist/testUtils.d.ts"
|
|
281
|
+
},
|
|
282
|
+
"require": {
|
|
283
|
+
"import": "./dist/testUtils.cjs",
|
|
284
|
+
"types": "./dist/testUtils.d.cts"
|
|
285
|
+
}
|
|
161
286
|
},
|
|
162
287
|
"./time": {
|
|
163
|
-
"import":
|
|
164
|
-
|
|
165
|
-
|
|
288
|
+
"import": {
|
|
289
|
+
"import": "./dist/time.js",
|
|
290
|
+
"types": "./dist/time.d.ts"
|
|
291
|
+
},
|
|
292
|
+
"require": {
|
|
293
|
+
"import": "./dist/time.cjs",
|
|
294
|
+
"types": "./dist/time.d.cts"
|
|
295
|
+
}
|
|
166
296
|
},
|
|
167
297
|
"./tsResult": {
|
|
168
|
-
"import":
|
|
169
|
-
|
|
170
|
-
|
|
298
|
+
"import": {
|
|
299
|
+
"import": "./dist/tsResult.js",
|
|
300
|
+
"types": "./dist/tsResult.d.ts"
|
|
301
|
+
},
|
|
302
|
+
"require": {
|
|
303
|
+
"import": "./dist/tsResult.cjs",
|
|
304
|
+
"types": "./dist/tsResult.d.cts"
|
|
305
|
+
}
|
|
171
306
|
},
|
|
172
307
|
"./typingFnUtils": {
|
|
173
|
-
"import":
|
|
174
|
-
|
|
175
|
-
|
|
308
|
+
"import": {
|
|
309
|
+
"import": "./dist/typingFnUtils.js",
|
|
310
|
+
"types": "./dist/typingFnUtils.d.ts"
|
|
311
|
+
},
|
|
312
|
+
"require": {
|
|
313
|
+
"import": "./dist/typingFnUtils.cjs",
|
|
314
|
+
"types": "./dist/typingFnUtils.d.cts"
|
|
315
|
+
}
|
|
176
316
|
},
|
|
177
317
|
"./typingTestUtils": {
|
|
178
|
-
"import":
|
|
179
|
-
|
|
180
|
-
|
|
318
|
+
"import": {
|
|
319
|
+
"import": "./dist/typingTestUtils.js",
|
|
320
|
+
"types": "./dist/typingTestUtils.d.ts"
|
|
321
|
+
},
|
|
322
|
+
"require": {
|
|
323
|
+
"import": "./dist/typingTestUtils.cjs",
|
|
324
|
+
"types": "./dist/typingTestUtils.d.cts"
|
|
325
|
+
}
|
|
181
326
|
},
|
|
182
327
|
"./typingUtils": {
|
|
183
|
-
"import":
|
|
184
|
-
|
|
185
|
-
|
|
328
|
+
"import": {
|
|
329
|
+
"import": "./dist/typingUtils.js",
|
|
330
|
+
"types": "./dist/typingUtils.d.ts"
|
|
331
|
+
},
|
|
332
|
+
"require": {
|
|
333
|
+
"import": "./dist/typingUtils.cjs",
|
|
334
|
+
"types": "./dist/typingUtils.d.cts"
|
|
335
|
+
}
|
|
186
336
|
},
|
|
187
337
|
"./yamlStringify": {
|
|
188
|
-
"import":
|
|
189
|
-
|
|
190
|
-
|
|
338
|
+
"import": {
|
|
339
|
+
"import": "./dist/yamlStringify.js",
|
|
340
|
+
"types": "./dist/yamlStringify.d.ts"
|
|
341
|
+
},
|
|
342
|
+
"require": {
|
|
343
|
+
"import": "./dist/yamlStringify.cjs",
|
|
344
|
+
"types": "./dist/yamlStringify.d.cts"
|
|
345
|
+
}
|
|
191
346
|
}
|
|
192
347
|
},
|
|
193
348
|
"engines": {
|
|
@@ -256,18 +411,12 @@
|
|
|
256
411
|
"getValueStableKey": [
|
|
257
412
|
"./dist/getValueStableKey.d.ts"
|
|
258
413
|
],
|
|
259
|
-
"internalUtils": [
|
|
260
|
-
"./dist/internalUtils.d.ts"
|
|
261
|
-
],
|
|
262
414
|
"interpolate": [
|
|
263
415
|
"./dist/interpolate.d.ts"
|
|
264
416
|
],
|
|
265
417
|
"levenshtein": [
|
|
266
418
|
"./dist/levenshtein.d.ts"
|
|
267
419
|
],
|
|
268
|
-
"main": [
|
|
269
|
-
"./dist/main.d.ts"
|
|
270
|
-
],
|
|
271
420
|
"mathUtils": [
|
|
272
421
|
"./dist/mathUtils.d.ts"
|
|
273
422
|
],
|