es-toolkit 1.20.0-dev.636 → 1.20.0-dev.638

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.
@@ -5,7 +5,8 @@ function flatten(value, depth = 1) {
5
5
  return result;
6
6
  }
7
7
  const recursive = (arr, currentDepth) => {
8
- for (const item of arr) {
8
+ for (let i = 0; i < arr.length; i++) {
9
+ const item = arr[i];
9
10
  if (currentDepth < flooredDepth &&
10
11
  (Array.isArray(item) ||
11
12
  Boolean(item?.[Symbol.isConcatSpreadable]) ||
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const zipWith = require('../_chunk/zipWith-CDtN9Y.js');
5
+ const zipWith = require('../_chunk/zipWith-CkrKn3.js');
6
6
  const promise_index = require('../_chunk/index-BGZDR9.js');
7
7
  const rest$1 = require('../_chunk/rest-pUyjvl.js');
8
8
  const range = require('../_chunk/range-BXlMmn.js');
@@ -473,7 +473,8 @@ function flatten(value, depth = 1) {
473
473
  return result;
474
474
  }
475
475
  const recursive = (arr, currentDepth) => {
476
- for (const item of arr) {
476
+ for (let i = 0; i < arr.length; i++) {
477
+ const item = arr[i];
477
478
  if (currentDepth < flooredDepth &&
478
479
  (Array.isArray(item) ||
479
480
  Boolean(item?.[Symbol.isConcatSpreadable]) ||
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const zipWith = require('./_chunk/zipWith-CDtN9Y.js');
5
+ const zipWith = require('./_chunk/zipWith-CkrKn3.js');
6
6
  const array_index = require('./array/index.js');
7
7
  const promise_index = require('./_chunk/index-BGZDR9.js');
8
8
  const rest = require('./_chunk/rest-pUyjvl.js');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "es-toolkit",
3
3
  "description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
4
- "version": "1.20.0-dev.636+a4de80c2",
4
+ "version": "1.20.0-dev.638+55a0da0b",
5
5
  "homepage": "https://es-toolkit.slash.page",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
7
7
  "repository": {