@react-hive/honey-utils 1.6.0 → 1.8.0
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/README.md +196 -117
- package/dist/README.md +196 -117
- package/dist/array.d.ts +45 -69
- package/dist/async.d.ts +85 -0
- package/dist/guards.d.ts +29 -21
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.dev.cjs +182 -109
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/math.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.dev.cjs
CHANGED
|
@@ -12,15 +12,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12
12
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13
13
|
/* harmony export */ boolFilter: () => (/* binding */ boolFilter),
|
|
14
14
|
/* harmony export */ chunk: () => (/* binding */ chunk),
|
|
15
|
+
/* harmony export */ compose: () => (/* binding */ compose),
|
|
15
16
|
/* harmony export */ difference: () => (/* binding */ difference),
|
|
16
|
-
/* harmony export */ everyAsync: () => (/* binding */ everyAsync),
|
|
17
|
-
/* harmony export */ filterAsync: () => (/* binding */ filterAsync),
|
|
18
|
-
/* harmony export */ findAsync: () => (/* binding */ findAsync),
|
|
19
|
-
/* harmony export */ forAsync: () => (/* binding */ forAsync),
|
|
20
17
|
/* harmony export */ intersection: () => (/* binding */ intersection),
|
|
21
|
-
/* harmony export */
|
|
22
|
-
/* harmony export */ reduceAsync: () => (/* binding */ reduceAsync),
|
|
23
|
-
/* harmony export */ someAsync: () => (/* binding */ someAsync),
|
|
18
|
+
/* harmony export */ pipe: () => (/* binding */ pipe),
|
|
24
19
|
/* harmony export */ unique: () => (/* binding */ unique)
|
|
25
20
|
/* harmony export */ });
|
|
26
21
|
/* harmony import */ var _guards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./guards */ "./src/guards.ts");
|
|
@@ -122,21 +117,85 @@ const intersection = (...arrays) => {
|
|
|
122
117
|
* ```
|
|
123
118
|
*/
|
|
124
119
|
const difference = (array, exclude) => array.filter(item => !exclude.includes(item));
|
|
120
|
+
/**
|
|
121
|
+
* Composes multiple unary functions into a single function, applying them from left to right.
|
|
122
|
+
*
|
|
123
|
+
* Useful for building a data processing pipeline where the output of one function becomes the input of the next.
|
|
124
|
+
*
|
|
125
|
+
* Types are inferred up to 5 chained functions for full type safety. Beyond that, it falls back to the unknown.
|
|
126
|
+
*
|
|
127
|
+
* @param fns - A list of unary functions to compose.
|
|
128
|
+
*
|
|
129
|
+
* @returns A new function that applies all functions from left to right.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* ```ts
|
|
133
|
+
* const add = (x: number) => x + 1;
|
|
134
|
+
* const double = (x: number) => x * 2;
|
|
135
|
+
* const toStr = (x: number) => `Result: ${x}`;
|
|
136
|
+
*
|
|
137
|
+
* const result = pipe(add, double, toStr)(2);
|
|
138
|
+
* // => 'Result: 6'
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
141
|
+
const pipe = (...fns) => (arg) => fns.reduce((prev, fn) => fn(prev), arg);
|
|
142
|
+
/**
|
|
143
|
+
* Composes multiple unary functions into a single function, applying them from **right to left**.
|
|
144
|
+
*
|
|
145
|
+
* Often used for building functional pipelines where the innermost function runs first.
|
|
146
|
+
* Types are inferred up to 5 chained functions for full type safety.
|
|
147
|
+
*
|
|
148
|
+
* @param fns - A list of unary functions to compose.
|
|
149
|
+
*
|
|
150
|
+
* @returns A new function that applies all functions from right to left.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ```ts
|
|
154
|
+
* const add = (x: number) => x + 1;
|
|
155
|
+
* const double = (x: number) => x * 2;
|
|
156
|
+
* const toStr = (x: number) => `Result: ${x}`;
|
|
157
|
+
*
|
|
158
|
+
* const result = compose(toStr, double, add)(2);
|
|
159
|
+
* // => 'Result: 6'
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
const compose = (...fns) => (arg) => fns.reduceRight((prev, fn) => fn(prev), arg);
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/***/ }),
|
|
166
|
+
|
|
167
|
+
/***/ "./src/async.ts":
|
|
168
|
+
/*!**********************!*\
|
|
169
|
+
!*** ./src/async.ts ***!
|
|
170
|
+
\**********************/
|
|
171
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
172
|
+
|
|
173
|
+
__webpack_require__.r(__webpack_exports__);
|
|
174
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
175
|
+
/* harmony export */ everyAsync: () => (/* binding */ everyAsync),
|
|
176
|
+
/* harmony export */ filterAsync: () => (/* binding */ filterAsync),
|
|
177
|
+
/* harmony export */ findAsync: () => (/* binding */ findAsync),
|
|
178
|
+
/* harmony export */ reduceAsync: () => (/* binding */ reduceAsync),
|
|
179
|
+
/* harmony export */ runParallel: () => (/* binding */ runParallel),
|
|
180
|
+
/* harmony export */ runSequential: () => (/* binding */ runSequential),
|
|
181
|
+
/* harmony export */ someAsync: () => (/* binding */ someAsync)
|
|
182
|
+
/* harmony export */ });
|
|
183
|
+
/* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./array */ "./src/array.ts");
|
|
184
|
+
|
|
125
185
|
/**
|
|
126
186
|
* Asynchronously iterates over an array and executes an async function on each item sequentially,
|
|
127
187
|
* collecting the results.
|
|
128
188
|
*
|
|
129
|
-
* Unlike `Promise.all`, this runs each promise one after another (not in parallel).
|
|
130
189
|
* Useful when order or timing matters (e.g., rate limits, UI updates, animations).
|
|
131
190
|
*
|
|
132
191
|
* @param array - The array of items to iterate over.
|
|
133
|
-
* @param
|
|
192
|
+
* @param fn - An async function to execute for each item. Must return a value.
|
|
134
193
|
*
|
|
135
|
-
* @returns A promise that resolves with an array of results from each
|
|
194
|
+
* @returns A promise that resolves with an array of results from each function call.
|
|
136
195
|
*
|
|
137
196
|
* @example
|
|
138
197
|
* ```ts
|
|
139
|
-
* const results = await
|
|
198
|
+
* const results = await runSequential([1, 2, 3], async (item) => {
|
|
140
199
|
* await delay(100);
|
|
141
200
|
*
|
|
142
201
|
* return item * 2;
|
|
@@ -145,10 +204,10 @@ const difference = (array, exclude) => array.filter(item => !exclude.includes(it
|
|
|
145
204
|
* console.log(results); // [2, 4, 6]
|
|
146
205
|
* ```
|
|
147
206
|
*/
|
|
148
|
-
const
|
|
207
|
+
const runSequential = async (array, fn) => {
|
|
149
208
|
const results = [];
|
|
150
209
|
for (let i = 0; i < array.length; i++) {
|
|
151
|
-
results.push(await
|
|
210
|
+
results.push(await fn(array[i], i, array));
|
|
152
211
|
}
|
|
153
212
|
return results;
|
|
154
213
|
};
|
|
@@ -156,11 +215,11 @@ const forAsync = async (array, callbackFn) => {
|
|
|
156
215
|
* Executes an asynchronous operation on each element of an array and waits for all promises to resolve.
|
|
157
216
|
*
|
|
158
217
|
* @param array - The array of items to operate on.
|
|
159
|
-
* @param
|
|
218
|
+
* @param fn - The asynchronous operation to perform on each item.
|
|
160
219
|
*
|
|
161
220
|
* @returns A promise that resolves with an array of results after all operations are completed.
|
|
162
221
|
*/
|
|
163
|
-
const
|
|
222
|
+
const runParallel = async (array, fn) => Promise.all(array.map(fn));
|
|
164
223
|
/**
|
|
165
224
|
* A generic function that processes an array asynchronously and filters the results
|
|
166
225
|
* based on the provided async condition.
|
|
@@ -169,25 +228,25 @@ const mapAsync = async (array, callbackFn) => Promise.all(array.map(callbackFn))
|
|
|
169
228
|
* @template Return - The type of the items returned by the condition.
|
|
170
229
|
*
|
|
171
230
|
* @param array - An array of items to be processed.
|
|
172
|
-
* @param
|
|
231
|
+
* @param predicate - An async function that returns a condition for each item.
|
|
173
232
|
*
|
|
174
233
|
* @returns A Promise that resolves to an array of items that match the condition.
|
|
175
234
|
*/
|
|
176
|
-
const filterAsync = async (array,
|
|
177
|
-
const results = await
|
|
178
|
-
return boolFilter(results);
|
|
235
|
+
const filterAsync = async (array, predicate) => {
|
|
236
|
+
const results = await runParallel(array, async (item, index, array) => (await predicate(item, index, array)) ? item : false);
|
|
237
|
+
return (0,_array__WEBPACK_IMPORTED_MODULE_0__.boolFilter)(results);
|
|
179
238
|
};
|
|
180
239
|
/**
|
|
181
240
|
* Asynchronously checks if at least one element in the array satisfies the async condition.
|
|
182
241
|
*
|
|
183
242
|
* @param array - The array of items to check.
|
|
184
|
-
* @param
|
|
243
|
+
* @param predicate - An async function that returns a boolean.
|
|
185
244
|
*
|
|
186
245
|
* @returns A promise that resolves to true if any item passes the condition.
|
|
187
246
|
*/
|
|
188
|
-
const someAsync = async (array,
|
|
247
|
+
const someAsync = async (array, predicate) => {
|
|
189
248
|
for (let i = 0; i < array.length; i++) {
|
|
190
|
-
if (await
|
|
249
|
+
if (await predicate(array[i], i, array)) {
|
|
191
250
|
return true;
|
|
192
251
|
}
|
|
193
252
|
}
|
|
@@ -197,13 +256,13 @@ const someAsync = async (array, callbackFn) => {
|
|
|
197
256
|
* Asynchronously checks if all elements in the array satisfy the async condition.
|
|
198
257
|
*
|
|
199
258
|
* @param array - The array of items to check.
|
|
200
|
-
* @param
|
|
259
|
+
* @param predicate - An async function that returns a boolean.
|
|
201
260
|
*
|
|
202
261
|
* @returns A promise that resolves to true if all items pass the condition.
|
|
203
262
|
*/
|
|
204
|
-
const everyAsync = async (array,
|
|
263
|
+
const everyAsync = async (array, predicate) => {
|
|
205
264
|
for (let i = 0; i < array.length; i++) {
|
|
206
|
-
if (!(await
|
|
265
|
+
if (!(await predicate(array[i], i, array))) {
|
|
207
266
|
return false;
|
|
208
267
|
}
|
|
209
268
|
}
|
|
@@ -216,15 +275,15 @@ const everyAsync = async (array, callbackFn) => {
|
|
|
216
275
|
* @template Accumulator - The type of the accumulated result.
|
|
217
276
|
*
|
|
218
277
|
* @param array - The array to reduce.
|
|
219
|
-
* @param
|
|
278
|
+
* @param fn - The async reducer function that processes each item and returns the updated accumulator.
|
|
220
279
|
* @param initialValue - The initial accumulator value.
|
|
221
280
|
*
|
|
222
281
|
* @returns A promise that resolves to the final accumulated result.
|
|
223
282
|
*/
|
|
224
|
-
const reduceAsync = async (array,
|
|
283
|
+
const reduceAsync = async (array, fn, initialValue) => {
|
|
225
284
|
let accumulator = initialValue;
|
|
226
285
|
for (let i = 0; i < array.length; i++) {
|
|
227
|
-
accumulator = await
|
|
286
|
+
accumulator = await fn(accumulator, array[i], i, array);
|
|
228
287
|
}
|
|
229
288
|
return accumulator;
|
|
230
289
|
};
|
|
@@ -232,13 +291,13 @@ const reduceAsync = async (array, callbackFn, initialValue) => {
|
|
|
232
291
|
* Asynchronously finds the first element that satisfies the async condition.
|
|
233
292
|
*
|
|
234
293
|
* @param array - The array of items to search.
|
|
235
|
-
* @param
|
|
294
|
+
* @param predicate - An async function that returns a boolean.
|
|
236
295
|
*
|
|
237
296
|
* @returns A promise that resolves to the found item or null if none match.
|
|
238
297
|
*/
|
|
239
|
-
const findAsync = async (array,
|
|
298
|
+
const findAsync = async (array, predicate) => {
|
|
240
299
|
for (let i = 0; i < array.length; i++) {
|
|
241
|
-
if (await
|
|
300
|
+
if (await predicate(array[i], i, array)) {
|
|
242
301
|
return array[i];
|
|
243
302
|
}
|
|
244
303
|
}
|
|
@@ -464,6 +523,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
464
523
|
/* harmony export */ isArray: () => (/* binding */ isArray),
|
|
465
524
|
/* harmony export */ isBool: () => (/* binding */ isBool),
|
|
466
525
|
/* harmony export */ isDate: () => (/* binding */ isDate),
|
|
526
|
+
/* harmony export */ isDefined: () => (/* binding */ isDefined),
|
|
467
527
|
/* harmony export */ isEmptyArray: () => (/* binding */ isEmptyArray),
|
|
468
528
|
/* harmony export */ isEmptyObject: () => (/* binding */ isEmptyObject),
|
|
469
529
|
/* harmony export */ isFiniteNumber: () => (/* binding */ isFiniteNumber),
|
|
@@ -496,6 +556,35 @@ function assert(condition, message) {
|
|
|
496
556
|
* @returns `true` if the value is null; otherwise, `false`.
|
|
497
557
|
*/
|
|
498
558
|
const isNull = (value) => value === null;
|
|
559
|
+
/**
|
|
560
|
+
* Checks if a value is null or undefined.
|
|
561
|
+
*
|
|
562
|
+
* @param value - The value to check.
|
|
563
|
+
*
|
|
564
|
+
* @returns `true` if the value is `null` or `undefined`, otherwise `false`.
|
|
565
|
+
*/
|
|
566
|
+
const isNil = (value) => value === undefined || value === null;
|
|
567
|
+
/**
|
|
568
|
+
* Checks whether the provided value is considered "empty".
|
|
569
|
+
*
|
|
570
|
+
* A value is considered empty if it is:
|
|
571
|
+
* - `null`
|
|
572
|
+
* - `undefined`
|
|
573
|
+
* - `''`
|
|
574
|
+
*
|
|
575
|
+
* @param value - The value to check.
|
|
576
|
+
*
|
|
577
|
+
* @returns `true` if the value is empty; otherwise, `false`.
|
|
578
|
+
*/
|
|
579
|
+
const isNilOrEmptyString = (value) => value === '' || isNil(value);
|
|
580
|
+
/**
|
|
581
|
+
* Checks if a value is neither `null` nor `undefined`.
|
|
582
|
+
*
|
|
583
|
+
* @param value - The value to check.
|
|
584
|
+
*
|
|
585
|
+
* @returns `true` if the value is defined (not `null` or `undefined`); otherwise, `false`.
|
|
586
|
+
*/
|
|
587
|
+
const isDefined = (value) => value !== null && value !== undefined;
|
|
499
588
|
/**
|
|
500
589
|
* Checks if a value is a string.
|
|
501
590
|
*
|
|
@@ -570,27 +659,6 @@ const isFunction = (value) => typeof value === 'function';
|
|
|
570
659
|
* @returns `true` if the value is a Promise; otherwise, `false`.
|
|
571
660
|
*/
|
|
572
661
|
const isPromise = (value) => isFunction(value?.then);
|
|
573
|
-
/**
|
|
574
|
-
* Checks if a value is null or undefined.
|
|
575
|
-
*
|
|
576
|
-
* @param value - The value to check.
|
|
577
|
-
*
|
|
578
|
-
* @returns `true` if the value is `null` or `undefined`, otherwise `false`.
|
|
579
|
-
*/
|
|
580
|
-
const isNil = (value) => value === undefined || value === null;
|
|
581
|
-
/**
|
|
582
|
-
* Checks whether the provided value is considered "empty".
|
|
583
|
-
*
|
|
584
|
-
* A value is considered empty if it is:
|
|
585
|
-
* - `null`
|
|
586
|
-
* - `undefined`
|
|
587
|
-
* - `''`
|
|
588
|
-
*
|
|
589
|
-
* @param value - The value to check.
|
|
590
|
-
*
|
|
591
|
-
* @returns `true` if the value is empty; otherwise, `false`.
|
|
592
|
-
*/
|
|
593
|
-
const isNilOrEmptyString = (value) => value === '' || isNil(value);
|
|
594
662
|
/**
|
|
595
663
|
* Checks if a value is a Date object.
|
|
596
664
|
*
|
|
@@ -692,17 +760,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
692
760
|
const calculateEuclideanDistance = (startX, startY, endX, endY) => {
|
|
693
761
|
const deltaX = endX - startX;
|
|
694
762
|
const deltaY = endY - startY;
|
|
695
|
-
return Math.
|
|
763
|
+
return Math.hypot(deltaX, deltaY);
|
|
696
764
|
};
|
|
697
765
|
/**
|
|
698
766
|
* Calculates the moving speed.
|
|
699
767
|
*
|
|
700
|
-
* @param
|
|
768
|
+
* @param distance - The distance.
|
|
701
769
|
* @param elapsedTime - The time taken to move the distance.
|
|
702
770
|
*
|
|
703
771
|
* @returns The calculated speed, which is the absolute value of delta divided by elapsed time.
|
|
704
772
|
*/
|
|
705
|
-
const calculateMovingSpeed = (
|
|
773
|
+
const calculateMovingSpeed = (distance, elapsedTime) => Math.abs(distance / elapsedTime);
|
|
706
774
|
/**
|
|
707
775
|
* Calculates the specified percentage of a given value.
|
|
708
776
|
*
|
|
@@ -885,61 +953,66 @@ var __webpack_exports__ = {};
|
|
|
885
953
|
\**********************/
|
|
886
954
|
__webpack_require__.r(__webpack_exports__);
|
|
887
955
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
888
|
-
/* harmony export */ assert: () => (/* reexport safe */
|
|
889
|
-
/* harmony export */ boolFilter: () => (/* reexport safe */
|
|
890
|
-
/* harmony export */ calculateEuclideanDistance: () => (/* reexport safe */
|
|
891
|
-
/* harmony export */ calculateMovingSpeed: () => (/* reexport safe */
|
|
892
|
-
/* harmony export */ calculatePercentage: () => (/* reexport safe */
|
|
893
|
-
/* harmony export */ camelToDashCase: () => (/* reexport safe */
|
|
894
|
-
/* harmony export */ chunk: () => (/* reexport safe */
|
|
895
|
-
/* harmony export */ cloneBlob: () => (/* reexport safe */
|
|
896
|
-
/* harmony export */
|
|
897
|
-
/* harmony export */
|
|
898
|
-
/* harmony export */
|
|
899
|
-
/* harmony export */
|
|
900
|
-
/* harmony export */
|
|
901
|
-
/* harmony export */
|
|
902
|
-
/* harmony export */
|
|
903
|
-
/* harmony export */ hashString: () => (/* reexport safe */
|
|
904
|
-
/* harmony export */ intersection: () => (/* reexport safe */
|
|
905
|
-
/* harmony export */ invokeIfFunction: () => (/* reexport safe */
|
|
906
|
-
/* harmony export */ isArray: () => (/* reexport safe */
|
|
907
|
-
/* harmony export */ isBool: () => (/* reexport safe */
|
|
908
|
-
/* harmony export */ isDate: () => (/* reexport safe */
|
|
909
|
-
/* harmony export */
|
|
910
|
-
/* harmony export */
|
|
911
|
-
/* harmony export */
|
|
912
|
-
/* harmony export */
|
|
913
|
-
/* harmony export */
|
|
914
|
-
/* harmony export */
|
|
915
|
-
/* harmony export */
|
|
916
|
-
/* harmony export */
|
|
917
|
-
/* harmony export */
|
|
918
|
-
/* harmony export */
|
|
919
|
-
/* harmony export */
|
|
920
|
-
/* harmony export */
|
|
921
|
-
/* harmony export */
|
|
922
|
-
/* harmony export */
|
|
923
|
-
/* harmony export */
|
|
924
|
-
/* harmony export */
|
|
925
|
-
/* harmony export */
|
|
926
|
-
/* harmony export */
|
|
927
|
-
/* harmony export */
|
|
928
|
-
/* harmony export */ noop: () => (/* reexport safe */
|
|
929
|
-
/* harmony export */ parse2DMatrix: () => (/* reexport safe */
|
|
930
|
-
/* harmony export */
|
|
931
|
-
/* harmony export */
|
|
932
|
-
/* harmony export */
|
|
933
|
-
/* harmony export */
|
|
934
|
-
/* harmony export */
|
|
935
|
-
/* harmony export */
|
|
956
|
+
/* harmony export */ assert: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.assert),
|
|
957
|
+
/* harmony export */ boolFilter: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.boolFilter),
|
|
958
|
+
/* harmony export */ calculateEuclideanDistance: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_5__.calculateEuclideanDistance),
|
|
959
|
+
/* harmony export */ calculateMovingSpeed: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_5__.calculateMovingSpeed),
|
|
960
|
+
/* harmony export */ calculatePercentage: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_5__.calculatePercentage),
|
|
961
|
+
/* harmony export */ camelToDashCase: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.camelToDashCase),
|
|
962
|
+
/* harmony export */ chunk: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.chunk),
|
|
963
|
+
/* harmony export */ cloneBlob: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_6__.cloneBlob),
|
|
964
|
+
/* harmony export */ compose: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.compose),
|
|
965
|
+
/* harmony export */ convertBlobToFile: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_6__.convertBlobToFile),
|
|
966
|
+
/* harmony export */ delay: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.delay),
|
|
967
|
+
/* harmony export */ difference: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.difference),
|
|
968
|
+
/* harmony export */ everyAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.everyAsync),
|
|
969
|
+
/* harmony export */ filterAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.filterAsync),
|
|
970
|
+
/* harmony export */ findAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.findAsync),
|
|
971
|
+
/* harmony export */ hashString: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.hashString),
|
|
972
|
+
/* harmony export */ intersection: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.intersection),
|
|
973
|
+
/* harmony export */ invokeIfFunction: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.invokeIfFunction),
|
|
974
|
+
/* harmony export */ isArray: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isArray),
|
|
975
|
+
/* harmony export */ isBool: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isBool),
|
|
976
|
+
/* harmony export */ isDate: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isDate),
|
|
977
|
+
/* harmony export */ isDefined: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isDefined),
|
|
978
|
+
/* harmony export */ isEmptyArray: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isEmptyArray),
|
|
979
|
+
/* harmony export */ isEmptyObject: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isEmptyObject),
|
|
980
|
+
/* harmony export */ isFiniteNumber: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isFiniteNumber),
|
|
981
|
+
/* harmony export */ isFunction: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isFunction),
|
|
982
|
+
/* harmony export */ isInteger: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isInteger),
|
|
983
|
+
/* harmony export */ isMap: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isMap),
|
|
984
|
+
/* harmony export */ isNil: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNil),
|
|
985
|
+
/* harmony export */ isNilOrEmptyString: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNilOrEmptyString),
|
|
986
|
+
/* harmony export */ isNull: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNull),
|
|
987
|
+
/* harmony export */ isNumber: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNumber),
|
|
988
|
+
/* harmony export */ isObject: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isObject),
|
|
989
|
+
/* harmony export */ isPromise: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isPromise),
|
|
990
|
+
/* harmony export */ isRegExp: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isRegExp),
|
|
991
|
+
/* harmony export */ isSet: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isSet),
|
|
992
|
+
/* harmony export */ isString: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isString),
|
|
993
|
+
/* harmony export */ isSymbol: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isSymbol),
|
|
994
|
+
/* harmony export */ isUndefined: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isUndefined),
|
|
995
|
+
/* harmony export */ isValidDate: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isValidDate),
|
|
996
|
+
/* harmony export */ noop: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.noop),
|
|
997
|
+
/* harmony export */ parse2DMatrix: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_6__.parse2DMatrix),
|
|
998
|
+
/* harmony export */ pipe: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.pipe),
|
|
999
|
+
/* harmony export */ reduceAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.reduceAsync),
|
|
1000
|
+
/* harmony export */ retry: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.retry),
|
|
1001
|
+
/* harmony export */ runParallel: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.runParallel),
|
|
1002
|
+
/* harmony export */ runSequential: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.runSequential),
|
|
1003
|
+
/* harmony export */ someAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.someAsync),
|
|
1004
|
+
/* harmony export */ splitStringIntoWords: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.splitStringIntoWords),
|
|
1005
|
+
/* harmony export */ toKebabCase: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.toKebabCase),
|
|
1006
|
+
/* harmony export */ unique: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.unique)
|
|
936
1007
|
/* harmony export */ });
|
|
937
|
-
/* harmony import */ var
|
|
938
|
-
/* harmony import */ var
|
|
939
|
-
/* harmony import */ var
|
|
940
|
-
/* harmony import */ var
|
|
941
|
-
/* harmony import */ var
|
|
942
|
-
/* harmony import */ var
|
|
1008
|
+
/* harmony import */ var _async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./async */ "./src/async.ts");
|
|
1009
|
+
/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./string */ "./src/string.ts");
|
|
1010
|
+
/* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./array */ "./src/array.ts");
|
|
1011
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./function */ "./src/function.ts");
|
|
1012
|
+
/* harmony import */ var _guards__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./guards */ "./src/guards.ts");
|
|
1013
|
+
/* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./math */ "./src/math.ts");
|
|
1014
|
+
/* harmony import */ var _dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dom */ "./src/dom.ts");
|
|
1015
|
+
|
|
943
1016
|
|
|
944
1017
|
|
|
945
1018
|
|