@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.
@@ -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, message = undefErrMsg) {
37
+ function notUndefined(value, errorMsg = undefErrMsg) {
38
38
  if (value === void 0) {
39
- throw new Error(message);
39
+ throw new Error(errorMsg);
40
40
  }
41
41
  return value;
42
42
  }
43
- function notNullish(value, message = nullishErrMsg) {
43
+ function notNullish(value, errorMsg = nullishErrMsg) {
44
44
  if (value === void 0 || value === null) {
45
- throw new Error(message);
45
+ throw new Error(errorMsg);
46
46
  }
47
47
  return value;
48
48
  }
@@ -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, message?: string): StrictNonUndefined<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, message?: string): StrictNonNullable<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. */
@@ -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, message?: string): StrictNonUndefined<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, message?: string): StrictNonNullable<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. */
@@ -9,7 +9,7 @@ import {
9
9
  isPromise,
10
10
  notNullish,
11
11
  notUndefined
12
- } from "./chunk-2TIVYE43.js";
12
+ } from "./chunk-3XCS7FVO.js";
13
13
  export {
14
14
  assertIsNotNullish,
15
15
  assertIsNotUndefined,
package/dist/cache.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-HTCYUMDR.js";
5
5
  import {
6
6
  isPromise
7
- } from "./chunk-2TIVYE43.js";
7
+ } from "./chunk-3XCS7FVO.js";
8
8
  import "./chunk-II4R3VVX.js";
9
9
 
10
10
  // src/cache.ts
@@ -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, message = undefErrMsg) {
4
+ function notUndefined(value, errorMsg = undefErrMsg) {
5
5
  if (value === void 0) {
6
- throw new Error(message);
6
+ throw new Error(errorMsg);
7
7
  }
8
8
  return value;
9
9
  }
10
- function notNullish(value, message = nullishErrMsg) {
10
+ function notNullish(value, errorMsg = nullishErrMsg) {
11
11
  if (value === void 0 || value === null) {
12
- throw new Error(message);
12
+ throw new Error(errorMsg);
13
13
  }
14
14
  return value;
15
15
  }
@@ -5,7 +5,7 @@ import {
5
5
  isFunction,
6
6
  isObject,
7
7
  isPromise
8
- } from "./chunk-2TIVYE43.js";
8
+ } from "./chunk-3XCS7FVO.js";
9
9
 
10
10
  // src/tsResult.ts
11
11
  function okUnwrapOr() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFunction
3
- } from "./chunk-2TIVYE43.js";
3
+ } from "./chunk-3XCS7FVO.js";
4
4
 
5
5
  // src/enhancedMap.ts
6
6
  var enhancedMapReject = Symbol();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  EnhancedMap
3
- } from "./chunk-4DCLNY64.js";
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-2TIVYE43.js";
8
+ import "./chunk-3XCS7FVO.js";
9
9
  import "./chunk-II4R3VVX.js";
10
10
 
11
11
  // src/createThrottleController.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  EnhancedMap,
3
3
  enhancedMapReject
4
- } from "./chunk-4DCLNY64.js";
5
- import "./chunk-2TIVYE43.js";
4
+ } from "./chunk-OHHF4CJZ.js";
5
+ import "./chunk-3XCS7FVO.js";
6
6
  export {
7
7
  EnhancedMap,
8
8
  enhancedMapReject
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isObject
3
- } from "./chunk-2TIVYE43.js";
3
+ } from "./chunk-3XCS7FVO.js";
4
4
 
5
5
  // src/getValueStableKey.ts
6
6
  function getValueStableKey(input, maxSortingDepth = 3) {
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-HTCYUMDR.js";
6
6
  import {
7
7
  invariant
8
- } from "./chunk-2TIVYE43.js";
8
+ } from "./chunk-3XCS7FVO.js";
9
9
 
10
10
  // src/interpolate.ts
11
11
  function mod(n, m) {
package/dist/main.d.cts CHANGED
@@ -1,2 +1,32 @@
1
-
2
- export { }
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-55DQGPY3.js";
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-2TIVYE43.js";
12
+ } from "./chunk-3XCS7FVO.js";
13
13
 
14
14
  // src/parallelAsyncCalls.ts
15
15
  var ParallelAsyncResultCalls = class {
package/dist/testUtils.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-HTCYUMDR.js";
15
15
  import {
16
16
  isObject
17
- } from "./chunk-2TIVYE43.js";
17
+ } from "./chunk-3XCS7FVO.js";
18
18
 
19
19
  // src/testUtils.ts
20
20
  function createLoggerStore({
package/dist/tsResult.js CHANGED
@@ -4,9 +4,9 @@ import {
4
4
  ok,
5
5
  resultify,
6
6
  unknownToError
7
- } from "./chunk-55DQGPY3.js";
7
+ } from "./chunk-J73KJABC.js";
8
8
  import "./chunk-VAAMRG4K.js";
9
- import "./chunk-2TIVYE43.js";
9
+ import "./chunk-3XCS7FVO.js";
10
10
  export {
11
11
  Result,
12
12
  err,
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  isObject,
9
9
  isPlainObject
10
- } from "./chunk-2TIVYE43.js";
10
+ } from "./chunk-3XCS7FVO.js";
11
11
 
12
12
  // src/yamlStringify.ts
13
13
  function yamlStringify(obj, {
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.0",
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": "./dist/main.js",
19
- "types": "./dist/main.d.ts",
20
- "require": "./dist/main.cjs"
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": "./dist/arrayUtils.js",
24
- "types": "./dist/arrayUtils.d.ts",
25
- "require": "./dist/arrayUtils.cjs"
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": "./dist/assertions.js",
29
- "types": "./dist/assertions.d.ts",
30
- "require": "./dist/assertions.cjs"
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": "./dist/cache.js",
34
- "types": "./dist/cache.d.ts",
35
- "require": "./dist/cache.cjs"
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": "./dist/castValues.js",
39
- "types": "./dist/castValues.d.ts",
40
- "require": "./dist/castValues.cjs"
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": "./dist/consoleFmt.js",
44
- "types": "./dist/consoleFmt.d.ts",
45
- "require": "./dist/consoleFmt.cjs"
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": "./dist/conversions.js",
49
- "types": "./dist/conversions.d.ts",
50
- "require": "./dist/conversions.cjs"
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": "./dist/createThrottleController.js",
54
- "types": "./dist/createThrottleController.d.ts",
55
- "require": "./dist/createThrottleController.cjs"
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": "./dist/debounce.js",
59
- "types": "./dist/debounce.d.ts",
60
- "require": "./dist/debounce.cjs"
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": "./dist/dedent.js",
64
- "types": "./dist/dedent.d.ts",
65
- "require": "./dist/dedent.cjs"
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": "./dist/deepEqual.js",
69
- "types": "./dist/deepEqual.d.ts",
70
- "require": "./dist/deepEqual.cjs"
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": "./dist/enhancedMap.js",
74
- "types": "./dist/enhancedMap.d.ts",
75
- "require": "./dist/enhancedMap.cjs"
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": "./dist/exhaustiveMatch.js",
79
- "types": "./dist/exhaustiveMatch.d.ts",
80
- "require": "./dist/exhaustiveMatch.cjs"
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": "./dist/getValueStableKey.js",
84
- "types": "./dist/getValueStableKey.d.ts",
85
- "require": "./dist/getValueStableKey.cjs"
86
- },
87
- "./internalUtils": {
88
- "import": "./dist/internalUtils.js",
89
- "types": "./dist/internalUtils.d.ts",
90
- "require": "./dist/internalUtils.cjs"
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": "./dist/interpolate.js",
94
- "types": "./dist/interpolate.d.ts",
95
- "require": "./dist/interpolate.cjs"
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": "./dist/levenshtein.js",
99
- "types": "./dist/levenshtein.d.ts",
100
- "require": "./dist/levenshtein.cjs"
101
- },
102
- "./main": {
103
- "import": "./dist/main.js",
104
- "types": "./dist/main.d.ts",
105
- "require": "./dist/main.cjs"
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": "./dist/mathUtils.js",
109
- "types": "./dist/mathUtils.d.ts",
110
- "require": "./dist/mathUtils.cjs"
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": "./dist/objUtils.js",
114
- "types": "./dist/objUtils.d.ts",
115
- "require": "./dist/objUtils.cjs"
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": "./dist/parallelAsyncCalls.js",
119
- "types": "./dist/parallelAsyncCalls.d.ts",
120
- "require": "./dist/parallelAsyncCalls.cjs"
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": "./dist/promiseUtils.js",
124
- "types": "./dist/promiseUtils.d.ts",
125
- "require": "./dist/promiseUtils.cjs"
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": "./dist/retryOnError.js",
129
- "types": "./dist/retryOnError.d.ts",
130
- "require": "./dist/retryOnError.cjs"
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": "./dist/runShellCmd.js",
134
- "types": "./dist/runShellCmd.d.ts",
135
- "require": "./dist/runShellCmd.cjs"
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": "./dist/safeJson.js",
139
- "types": "./dist/safeJson.d.ts",
140
- "require": "./dist/safeJson.cjs"
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": "./dist/shallowEqual.js",
144
- "types": "./dist/shallowEqual.d.ts",
145
- "require": "./dist/shallowEqual.cjs"
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": "./dist/sleep.js",
149
- "types": "./dist/sleep.d.ts",
150
- "require": "./dist/sleep.cjs"
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": "./dist/stringUtils.js",
154
- "types": "./dist/stringUtils.d.ts",
155
- "require": "./dist/stringUtils.cjs"
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": "./dist/testUtils.js",
159
- "types": "./dist/testUtils.d.ts",
160
- "require": "./dist/testUtils.cjs"
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": "./dist/time.js",
164
- "types": "./dist/time.d.ts",
165
- "require": "./dist/time.cjs"
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": "./dist/tsResult.js",
169
- "types": "./dist/tsResult.d.ts",
170
- "require": "./dist/tsResult.cjs"
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": "./dist/typingFnUtils.js",
174
- "types": "./dist/typingFnUtils.d.ts",
175
- "require": "./dist/typingFnUtils.cjs"
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": "./dist/typingTestUtils.js",
179
- "types": "./dist/typingTestUtils.d.ts",
180
- "require": "./dist/typingTestUtils.cjs"
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": "./dist/typingUtils.js",
184
- "types": "./dist/typingUtils.d.ts",
185
- "require": "./dist/typingUtils.cjs"
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": "./dist/yamlStringify.js",
189
- "types": "./dist/yamlStringify.d.ts",
190
- "require": "./dist/yamlStringify.cjs"
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
  ],