@react-hive/honey-utils 1.7.0 → 1.9.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.
@@ -10,36 +10,35 @@
10
10
 
11
11
  __webpack_require__.r(__webpack_exports__);
12
12
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
- /* harmony export */ boolFilter: () => (/* binding */ boolFilter),
14
13
  /* harmony export */ chunk: () => (/* binding */ chunk),
14
+ /* harmony export */ compact: () => (/* binding */ compact),
15
15
  /* harmony export */ compose: () => (/* binding */ compose),
16
16
  /* harmony export */ difference: () => (/* binding */ difference),
17
- /* harmony export */ everyAsync: () => (/* binding */ everyAsync),
18
- /* harmony export */ filterAsync: () => (/* binding */ filterAsync),
19
- /* harmony export */ findAsync: () => (/* binding */ findAsync),
20
- /* harmony export */ forAsync: () => (/* binding */ forAsync),
21
17
  /* harmony export */ intersection: () => (/* binding */ intersection),
22
- /* harmony export */ mapAsync: () => (/* binding */ mapAsync),
23
18
  /* harmony export */ pipe: () => (/* binding */ pipe),
24
- /* harmony export */ reduceAsync: () => (/* binding */ reduceAsync),
25
- /* harmony export */ someAsync: () => (/* binding */ someAsync),
26
19
  /* harmony export */ unique: () => (/* binding */ unique)
27
20
  /* harmony export */ });
28
21
  /* harmony import */ var _guards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./guards */ "./src/guards.ts");
29
22
 
30
23
  /**
31
- * Filters out `null`, `undefined`, and other falsy values from an array,
32
- * returning a typed array of only truthy `Item` values.
24
+ * Removes all falsy values from an array.
33
25
  *
34
- * Useful when working with optional or nullable items that need to be sanitized.
26
+ * Falsy values include: `false`, `0`, `''` (empty string), `null`, `undefined`, and `NaN`.
35
27
  *
36
- * @template T - The type of the items in the array.
28
+ * Useful for cleaning up arrays with optional, nullable, or conditionally included items.
37
29
  *
38
- * @param array - An array of items that may include `null`, `undefined`, or falsy values.
30
+ * @template T - The type of the truthy items.
39
31
  *
40
- * @returns A new array containing only truthy `Item` values.
32
+ * @param array - An array possibly containing falsy values.
33
+ *
34
+ * @returns A new array containing only truthy values of type `T`.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * compact([0, 1, false, 2, '', 3, null, undefined, NaN]); // [1, 2, 3]
39
+ * ```
41
40
  */
42
- const boolFilter = (array) => array.filter(Boolean);
41
+ const compact = (array) => array.filter(Boolean);
43
42
  /**
44
43
  * Returns a new array with duplicate values removed.
45
44
  *
@@ -124,21 +123,85 @@ const intersection = (...arrays) => {
124
123
  * ```
125
124
  */
126
125
  const difference = (array, exclude) => array.filter(item => !exclude.includes(item));
126
+ /**
127
+ * Composes multiple unary functions into a single function, applying them from left to right.
128
+ *
129
+ * Useful for building a data processing pipeline where the output of one function becomes the input of the next.
130
+ *
131
+ * Types are inferred up to 5 chained functions for full type safety. Beyond that, it falls back to the unknown.
132
+ *
133
+ * @param fns - A list of unary functions to compose.
134
+ *
135
+ * @returns A new function that applies all functions from left to right.
136
+ *
137
+ * @example
138
+ * ```ts
139
+ * const add = (x: number) => x + 1;
140
+ * const double = (x: number) => x * 2;
141
+ * const toStr = (x: number) => `Result: ${x}`;
142
+ *
143
+ * const result = pipe(add, double, toStr)(2);
144
+ * // => 'Result: 6'
145
+ * ```
146
+ */
147
+ const pipe = (...fns) => (arg) => fns.reduce((prev, fn) => fn(prev), arg);
148
+ /**
149
+ * Composes multiple unary functions into a single function, applying them from **right to left**.
150
+ *
151
+ * Often used for building functional pipelines where the innermost function runs first.
152
+ * Types are inferred up to 5 chained functions for full type safety.
153
+ *
154
+ * @param fns - A list of unary functions to compose.
155
+ *
156
+ * @returns A new function that applies all functions from right to left.
157
+ *
158
+ * @example
159
+ * ```ts
160
+ * const add = (x: number) => x + 1;
161
+ * const double = (x: number) => x * 2;
162
+ * const toStr = (x: number) => `Result: ${x}`;
163
+ *
164
+ * const result = compose(toStr, double, add)(2);
165
+ * // => 'Result: 6'
166
+ * ```
167
+ */
168
+ const compose = (...fns) => (arg) => fns.reduceRight((prev, fn) => fn(prev), arg);
169
+
170
+
171
+ /***/ }),
172
+
173
+ /***/ "./src/async.ts":
174
+ /*!**********************!*\
175
+ !*** ./src/async.ts ***!
176
+ \**********************/
177
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
178
+
179
+ __webpack_require__.r(__webpack_exports__);
180
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
181
+ /* harmony export */ everyAsync: () => (/* binding */ everyAsync),
182
+ /* harmony export */ filterAsync: () => (/* binding */ filterAsync),
183
+ /* harmony export */ findAsync: () => (/* binding */ findAsync),
184
+ /* harmony export */ reduceAsync: () => (/* binding */ reduceAsync),
185
+ /* harmony export */ runParallel: () => (/* binding */ runParallel),
186
+ /* harmony export */ runSequential: () => (/* binding */ runSequential),
187
+ /* harmony export */ someAsync: () => (/* binding */ someAsync)
188
+ /* harmony export */ });
189
+ /* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./array */ "./src/array.ts");
190
+
127
191
  /**
128
192
  * Asynchronously iterates over an array and executes an async function on each item sequentially,
129
193
  * collecting the results.
130
194
  *
131
- * Unlike `Promise.all`, this runs each promise one after another (not in parallel).
132
195
  * Useful when order or timing matters (e.g., rate limits, UI updates, animations).
133
196
  *
134
197
  * @param array - The array of items to iterate over.
135
- * @param predicate - An async function to execute for each item. Must return a value.
198
+ * @param fn - An async function to execute for each item. Must return a value.
136
199
  *
137
- * @returns A promise that resolves with an array of results from each predicate call.
200
+ * @returns A promise that resolves with an array of results from each function call.
138
201
  *
139
202
  * @example
140
203
  * ```ts
141
- * const results = await forAsync([1, 2, 3], async (item) => {
204
+ * const results = await runSequential([1, 2, 3], async (item) => {
142
205
  * await delay(100);
143
206
  *
144
207
  * return item * 2;
@@ -147,10 +210,10 @@ const difference = (array, exclude) => array.filter(item => !exclude.includes(it
147
210
  * console.log(results); // [2, 4, 6]
148
211
  * ```
149
212
  */
150
- const forAsync = async (array, predicate) => {
213
+ const runSequential = async (array, fn) => {
151
214
  const results = [];
152
215
  for (let i = 0; i < array.length; i++) {
153
- results.push(await predicate(array[i], i, array));
216
+ results.push(await fn(array[i], i, array));
154
217
  }
155
218
  return results;
156
219
  };
@@ -158,26 +221,54 @@ const forAsync = async (array, predicate) => {
158
221
  * Executes an asynchronous operation on each element of an array and waits for all promises to resolve.
159
222
  *
160
223
  * @param array - The array of items to operate on.
161
- * @param predicate - The asynchronous operation to perform on each item.
224
+ * @param fn - The asynchronous operation to perform on each item.
162
225
  *
163
226
  * @returns A promise that resolves with an array of results after all operations are completed.
227
+ *
228
+ * @example
229
+ * ```ts
230
+ * const results = await runParallel([1, 2, 3], async (item) => {
231
+ * await delay(100);
232
+ *
233
+ * return item * 2;
234
+ * });
235
+ *
236
+ * console.log(results); // [2, 4, 6]
237
+ * ```
164
238
  */
165
- const mapAsync = async (array, predicate) => Promise.all(array.map(predicate));
239
+ const runParallel = async (array, fn) => Promise.all(array.map(fn));
166
240
  /**
167
- * A generic function that processes an array asynchronously and filters the results
168
- * based on the provided async condition.
241
+ * Asynchronously filters an array based on a provided async predicate function.
242
+ *
243
+ * Each item is passed to the `predicate` function in parallel, and only the items
244
+ * for which the predicate resolves to `true` are included in the final result.
169
245
  *
170
- * @template Item - The type of the items in the array.
171
- * @template Return - The type of the items returned by the condition.
246
+ * Useful for filtering based on asynchronous conditions such as API calls,
247
+ * file system access, or any other delayed operations.
172
248
  *
173
- * @param array - An array of items to be processed.
174
- * @param predicate - An async function that returns a condition for each item.
249
+ * @template Item - The type of the items in the input array.
175
250
  *
176
- * @returns A Promise that resolves to an array of items that match the condition.
251
+ * @param array - The array of items to filter.
252
+ * @param predicate - An async function that returns a boolean indicating whether to keep each item.
253
+ * Receives `(item, index, array)` as arguments.
254
+ *
255
+ * @returns A promise that resolves to a new array containing only the items for which the predicate returned `true`.
256
+ *
257
+ * @example
258
+ * ```ts
259
+ * // Filter numbers that are even after a simulated delay
260
+ * const result = await filterAsync([1, 2, 3, 4], async (num) => {
261
+ * await delay(100);
262
+ *
263
+ * return num % 2 === 0;
264
+ * });
265
+ *
266
+ * console.log(result); // [2, 4]
267
+ * ```
177
268
  */
178
269
  const filterAsync = async (array, predicate) => {
179
- const results = await mapAsync(array, async (item, index, array) => (await predicate(item, index, array)) ? item : false);
180
- return boolFilter(results);
270
+ const results = await runParallel(array, async (item, index, array) => (await predicate(item, index, array)) ? item : false);
271
+ return (0,_array__WEBPACK_IMPORTED_MODULE_0__.compact)(results);
181
272
  };
182
273
  /**
183
274
  * Asynchronously checks if at least one element in the array satisfies the async condition.
@@ -218,15 +309,15 @@ const everyAsync = async (array, predicate) => {
218
309
  * @template Accumulator - The type of the accumulated result.
219
310
  *
220
311
  * @param array - The array to reduce.
221
- * @param predicate - The async reducer function that processes each item and returns the updated accumulator.
312
+ * @param fn - The async reducer function that processes each item and returns the updated accumulator.
222
313
  * @param initialValue - The initial accumulator value.
223
314
  *
224
315
  * @returns A promise that resolves to the final accumulated result.
225
316
  */
226
- const reduceAsync = async (array, predicate, initialValue) => {
317
+ const reduceAsync = async (array, fn, initialValue) => {
227
318
  let accumulator = initialValue;
228
319
  for (let i = 0; i < array.length; i++) {
229
- accumulator = await predicate(accumulator, array[i], i, array);
320
+ accumulator = await fn(accumulator, array[i], i, array);
230
321
  }
231
322
  return accumulator;
232
323
  };
@@ -246,49 +337,6 @@ const findAsync = async (array, predicate) => {
246
337
  }
247
338
  return null;
248
339
  };
249
- /**
250
- * Composes multiple unary functions into a single function, applying them from left to right.
251
- *
252
- * Useful for building a data processing pipeline where the output of one function becomes the input of the next.
253
- *
254
- * Types are inferred up to 5 chained functions for full type safety. Beyond that, it falls back to the unknown.
255
- *
256
- * @param fns - A list of unary functions to compose.
257
- *
258
- * @returns A new function that applies all functions from left to right.
259
- *
260
- * @example
261
- * ```ts
262
- * const add = (x: number) => x + 1;
263
- * const double = (x: number) => x * 2;
264
- * const toStr = (x: number) => `Result: ${x}`;
265
- *
266
- * const result = pipe(add, double, toStr)(2);
267
- * // => 'Result: 6'
268
- * ```
269
- */
270
- const pipe = (...fns) => (arg) => fns.reduce((prev, fn) => fn(prev), arg);
271
- /**
272
- * Composes multiple unary functions into a single function, applying them from **right to left**.
273
- *
274
- * Often used for building functional pipelines where the innermost function runs first.
275
- * Types are inferred up to 5 chained functions for full type safety.
276
- *
277
- * @param fns - A list of unary functions to compose.
278
- *
279
- * @returns A new function that applies all functions from right to left.
280
- *
281
- * @example
282
- * ```ts
283
- * const add = (x: number) => x + 1;
284
- * const double = (x: number) => x * 2;
285
- * const toStr = (x: number) => `Result: ${x}`;
286
- *
287
- * const result = compose(toStr, double, add)(2);
288
- * // => 'Result: 6'
289
- * ```
290
- */
291
- const compose = (...fns) => (arg) => fns.reduceRight((prev, fn) => fn(prev), arg);
292
340
 
293
341
 
294
342
  /***/ }),
@@ -746,17 +794,17 @@ __webpack_require__.r(__webpack_exports__);
746
794
  const calculateEuclideanDistance = (startX, startY, endX, endY) => {
747
795
  const deltaX = endX - startX;
748
796
  const deltaY = endY - startY;
749
- return Math.sqrt(deltaX ** 2 + deltaY ** 2);
797
+ return Math.hypot(deltaX, deltaY);
750
798
  };
751
799
  /**
752
800
  * Calculates the moving speed.
753
801
  *
754
- * @param delta - The change in position (distance).
802
+ * @param distance - The distance.
755
803
  * @param elapsedTime - The time taken to move the distance.
756
804
  *
757
805
  * @returns The calculated speed, which is the absolute value of delta divided by elapsed time.
758
806
  */
759
- const calculateMovingSpeed = (delta, elapsedTime) => Math.abs(delta / elapsedTime);
807
+ const calculateMovingSpeed = (distance, elapsedTime) => Math.abs(distance / elapsedTime);
760
808
  /**
761
809
  * Calculates the specified percentage of a given value.
762
810
  *
@@ -939,64 +987,66 @@ var __webpack_exports__ = {};
939
987
  \**********************/
940
988
  __webpack_require__.r(__webpack_exports__);
941
989
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
942
- /* harmony export */ assert: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.assert),
943
- /* harmony export */ boolFilter: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.boolFilter),
944
- /* harmony export */ calculateEuclideanDistance: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_4__.calculateEuclideanDistance),
945
- /* harmony export */ calculateMovingSpeed: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_4__.calculateMovingSpeed),
946
- /* harmony export */ calculatePercentage: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_4__.calculatePercentage),
947
- /* harmony export */ camelToDashCase: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_0__.camelToDashCase),
948
- /* harmony export */ chunk: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.chunk),
949
- /* harmony export */ cloneBlob: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_5__.cloneBlob),
950
- /* harmony export */ compose: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.compose),
951
- /* harmony export */ convertBlobToFile: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_5__.convertBlobToFile),
952
- /* harmony export */ delay: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_2__.delay),
953
- /* harmony export */ difference: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.difference),
954
- /* harmony export */ everyAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.everyAsync),
955
- /* harmony export */ filterAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.filterAsync),
956
- /* harmony export */ findAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.findAsync),
957
- /* harmony export */ forAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.forAsync),
958
- /* harmony export */ hashString: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_0__.hashString),
959
- /* harmony export */ intersection: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.intersection),
960
- /* harmony export */ invokeIfFunction: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_2__.invokeIfFunction),
961
- /* harmony export */ isArray: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isArray),
962
- /* harmony export */ isBool: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isBool),
963
- /* harmony export */ isDate: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isDate),
964
- /* harmony export */ isDefined: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isDefined),
965
- /* harmony export */ isEmptyArray: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isEmptyArray),
966
- /* harmony export */ isEmptyObject: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isEmptyObject),
967
- /* harmony export */ isFiniteNumber: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isFiniteNumber),
968
- /* harmony export */ isFunction: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isFunction),
969
- /* harmony export */ isInteger: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isInteger),
970
- /* harmony export */ isMap: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isMap),
971
- /* harmony export */ isNil: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isNil),
972
- /* harmony export */ isNilOrEmptyString: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isNilOrEmptyString),
973
- /* harmony export */ isNull: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isNull),
974
- /* harmony export */ isNumber: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isNumber),
975
- /* harmony export */ isObject: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isObject),
976
- /* harmony export */ isPromise: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isPromise),
977
- /* harmony export */ isRegExp: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isRegExp),
978
- /* harmony export */ isSet: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isSet),
979
- /* harmony export */ isString: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isString),
980
- /* harmony export */ isSymbol: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isSymbol),
981
- /* harmony export */ isUndefined: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isUndefined),
982
- /* harmony export */ isValidDate: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_3__.isValidDate),
983
- /* harmony export */ mapAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.mapAsync),
984
- /* harmony export */ noop: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_2__.noop),
985
- /* harmony export */ parse2DMatrix: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_5__.parse2DMatrix),
986
- /* harmony export */ pipe: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.pipe),
987
- /* harmony export */ reduceAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.reduceAsync),
988
- /* harmony export */ retry: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_2__.retry),
989
- /* harmony export */ someAsync: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.someAsync),
990
- /* harmony export */ splitStringIntoWords: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_0__.splitStringIntoWords),
991
- /* harmony export */ toKebabCase: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_0__.toKebabCase),
992
- /* harmony export */ unique: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_1__.unique)
990
+ /* harmony export */ assert: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.assert),
991
+ /* harmony export */ calculateEuclideanDistance: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_5__.calculateEuclideanDistance),
992
+ /* harmony export */ calculateMovingSpeed: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_5__.calculateMovingSpeed),
993
+ /* harmony export */ calculatePercentage: () => (/* reexport safe */ _math__WEBPACK_IMPORTED_MODULE_5__.calculatePercentage),
994
+ /* harmony export */ camelToDashCase: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.camelToDashCase),
995
+ /* harmony export */ chunk: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.chunk),
996
+ /* harmony export */ cloneBlob: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_6__.cloneBlob),
997
+ /* harmony export */ compact: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.compact),
998
+ /* harmony export */ compose: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.compose),
999
+ /* harmony export */ convertBlobToFile: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_6__.convertBlobToFile),
1000
+ /* harmony export */ delay: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.delay),
1001
+ /* harmony export */ difference: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.difference),
1002
+ /* harmony export */ everyAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.everyAsync),
1003
+ /* harmony export */ filterAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.filterAsync),
1004
+ /* harmony export */ findAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.findAsync),
1005
+ /* harmony export */ hashString: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.hashString),
1006
+ /* harmony export */ intersection: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.intersection),
1007
+ /* harmony export */ invokeIfFunction: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.invokeIfFunction),
1008
+ /* harmony export */ isArray: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isArray),
1009
+ /* harmony export */ isBool: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isBool),
1010
+ /* harmony export */ isDate: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isDate),
1011
+ /* harmony export */ isDefined: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isDefined),
1012
+ /* harmony export */ isEmptyArray: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isEmptyArray),
1013
+ /* harmony export */ isEmptyObject: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isEmptyObject),
1014
+ /* harmony export */ isFiniteNumber: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isFiniteNumber),
1015
+ /* harmony export */ isFunction: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isFunction),
1016
+ /* harmony export */ isInteger: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isInteger),
1017
+ /* harmony export */ isMap: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isMap),
1018
+ /* harmony export */ isNil: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNil),
1019
+ /* harmony export */ isNilOrEmptyString: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNilOrEmptyString),
1020
+ /* harmony export */ isNull: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNull),
1021
+ /* harmony export */ isNumber: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isNumber),
1022
+ /* harmony export */ isObject: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isObject),
1023
+ /* harmony export */ isPromise: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isPromise),
1024
+ /* harmony export */ isRegExp: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isRegExp),
1025
+ /* harmony export */ isSet: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isSet),
1026
+ /* harmony export */ isString: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isString),
1027
+ /* harmony export */ isSymbol: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isSymbol),
1028
+ /* harmony export */ isUndefined: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isUndefined),
1029
+ /* harmony export */ isValidDate: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_4__.isValidDate),
1030
+ /* harmony export */ noop: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.noop),
1031
+ /* harmony export */ parse2DMatrix: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_6__.parse2DMatrix),
1032
+ /* harmony export */ pipe: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.pipe),
1033
+ /* harmony export */ reduceAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.reduceAsync),
1034
+ /* harmony export */ retry: () => (/* reexport safe */ _function__WEBPACK_IMPORTED_MODULE_3__.retry),
1035
+ /* harmony export */ runParallel: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.runParallel),
1036
+ /* harmony export */ runSequential: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.runSequential),
1037
+ /* harmony export */ someAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_0__.someAsync),
1038
+ /* harmony export */ splitStringIntoWords: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.splitStringIntoWords),
1039
+ /* harmony export */ toKebabCase: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_1__.toKebabCase),
1040
+ /* harmony export */ unique: () => (/* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_2__.unique)
993
1041
  /* harmony export */ });
994
- /* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./string */ "./src/string.ts");
995
- /* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./array */ "./src/array.ts");
996
- /* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./function */ "./src/function.ts");
997
- /* harmony import */ var _guards__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./guards */ "./src/guards.ts");
998
- /* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./math */ "./src/math.ts");
999
- /* harmony import */ var _dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dom */ "./src/dom.ts");
1042
+ /* harmony import */ var _async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./async */ "./src/async.ts");
1043
+ /* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./string */ "./src/string.ts");
1044
+ /* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./array */ "./src/array.ts");
1045
+ /* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./function */ "./src/function.ts");
1046
+ /* harmony import */ var _guards__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./guards */ "./src/guards.ts");
1047
+ /* harmony import */ var _math__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./math */ "./src/math.ts");
1048
+ /* harmony import */ var _dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dom */ "./src/dom.ts");
1049
+
1000
1050
 
1001
1051
 
1002
1052