es-toolkit 1.50.0-dev.1999 → 1.50.0-dev.2000
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/array/unzip.d.mts +3 -0
- package/dist/array/unzip.d.ts +3 -0
- package/dist/array/unzip.js +3 -0
- package/dist/array/unzip.mjs +3 -0
- package/dist/compat/array/unzip.d.mts +3 -0
- package/dist/compat/array/unzip.d.ts +3 -0
- package/dist/compat/array/unzip.js +3 -0
- package/dist/compat/array/unzip.mjs +3 -0
- package/dist/fp/array/unzip.d.mts +3 -0
- package/dist/fp/array/unzip.d.ts +3 -0
- package/dist/fp/array/unzip.js +3 -0
- package/dist/fp/array/unzip.mjs +3 -0
- package/package.json +1 -1
package/dist/array/unzip.d.mts
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Gathers elements in the same position in an internal array
|
|
4
4
|
* from a grouped array of elements and returns them as a new array.
|
|
5
5
|
*
|
|
6
|
+
* The returned array's length matches the longest nested array.
|
|
7
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
8
|
+
*
|
|
6
9
|
* @template T - The type of elements in the nested array.
|
|
7
10
|
* @param zipped - The nested array to unzip.
|
|
8
11
|
* @returns A new array of unzipped elements.
|
package/dist/array/unzip.d.ts
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Gathers elements in the same position in an internal array
|
|
4
4
|
* from a grouped array of elements and returns them as a new array.
|
|
5
5
|
*
|
|
6
|
+
* The returned array's length matches the longest nested array.
|
|
7
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
8
|
+
*
|
|
6
9
|
* @template T - The type of elements in the nested array.
|
|
7
10
|
* @param zipped - The nested array to unzip.
|
|
8
11
|
* @returns A new array of unzipped elements.
|
package/dist/array/unzip.js
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Gathers elements in the same position in an internal array
|
|
4
4
|
* from a grouped array of elements and returns them as a new array.
|
|
5
5
|
*
|
|
6
|
+
* The returned array's length matches the longest nested array.
|
|
7
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
8
|
+
*
|
|
6
9
|
* @template T - The type of elements in the nested array.
|
|
7
10
|
* @param zipped - The nested array to unzip.
|
|
8
11
|
* @returns A new array of unzipped elements.
|
package/dist/array/unzip.mjs
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Gathers elements in the same position in an internal array
|
|
4
4
|
* from a grouped array of elements and returns them as a new array.
|
|
5
5
|
*
|
|
6
|
+
* The returned array's length matches the longest nested array.
|
|
7
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
8
|
+
*
|
|
6
9
|
* @template T - The type of elements in the nested array.
|
|
7
10
|
* @param zipped - The nested array to unzip.
|
|
8
11
|
* @returns A new array of unzipped elements.
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Gathers elements in the same position in an internal array
|
|
4
4
|
* from a grouped array of elements and returns them as a new array.
|
|
5
5
|
*
|
|
6
|
+
* The returned array's length matches the longest nested array.
|
|
7
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
8
|
+
*
|
|
6
9
|
* @template T - The type of elements in the nested array.
|
|
7
10
|
* @param array - The nested array to unzip.
|
|
8
11
|
* @returns A new array of unzipped elements.
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Gathers elements in the same position in an internal array
|
|
4
4
|
* from a grouped array of elements and returns them as a new array.
|
|
5
5
|
*
|
|
6
|
+
* The returned array's length matches the longest nested array.
|
|
7
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
8
|
+
*
|
|
6
9
|
* @template T - The type of elements in the nested array.
|
|
7
10
|
* @param array - The nested array to unzip.
|
|
8
11
|
* @returns A new array of unzipped elements.
|
|
@@ -6,6 +6,9 @@ const require_isArrayLikeObject = require("../predicate/isArrayLikeObject.js");
|
|
|
6
6
|
* Gathers elements in the same position in an internal array
|
|
7
7
|
* from a grouped array of elements and returns them as a new array.
|
|
8
8
|
*
|
|
9
|
+
* The returned array's length matches the longest nested array.
|
|
10
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
11
|
+
*
|
|
9
12
|
* @template T - The type of elements in the nested array.
|
|
10
13
|
* @param array - The nested array to unzip.
|
|
11
14
|
* @returns A new array of unzipped elements.
|
|
@@ -6,6 +6,9 @@ import { isArrayLikeObject } from "../predicate/isArrayLikeObject.mjs";
|
|
|
6
6
|
* Gathers elements in the same position in an internal array
|
|
7
7
|
* from a grouped array of elements and returns them as a new array.
|
|
8
8
|
*
|
|
9
|
+
* The returned array's length matches the longest nested array.
|
|
10
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
11
|
+
*
|
|
9
12
|
* @template T - The type of elements in the nested array.
|
|
10
13
|
* @param array - The nested array to unzip.
|
|
11
14
|
* @returns A new array of unzipped elements.
|
|
@@ -6,6 +6,9 @@ type Unzip<K extends unknown[]> = { [I in keyof K]: Array<K[I]> };
|
|
|
6
6
|
* The returned function is the data-last form of the main {@link unzip} utility.
|
|
7
7
|
* Use it with {@link pipe}.
|
|
8
8
|
*
|
|
9
|
+
* When the returned function is invoked, the result's length matches the longest nested array.
|
|
10
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
11
|
+
*
|
|
9
12
|
* @template T - The tuple type inside the zipped array.
|
|
10
13
|
* @returns A function that maps zipped tuples to arrays grouped by tuple position.
|
|
11
14
|
*
|
package/dist/fp/array/unzip.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ type Unzip<K extends unknown[]> = { [I in keyof K]: Array<K[I]> };
|
|
|
6
6
|
* The returned function is the data-last form of the main {@link unzip} utility.
|
|
7
7
|
* Use it with {@link pipe}.
|
|
8
8
|
*
|
|
9
|
+
* When the returned function is invoked, the result's length matches the longest nested array.
|
|
10
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
11
|
+
*
|
|
9
12
|
* @template T - The tuple type inside the zipped array.
|
|
10
13
|
* @returns A function that maps zipped tuples to arrays grouped by tuple position.
|
|
11
14
|
*
|
package/dist/fp/array/unzip.js
CHANGED
|
@@ -6,6 +6,9 @@ const require_unzip = require("../../array/unzip.js");
|
|
|
6
6
|
* The returned function is the data-last form of the main {@link unzip} utility.
|
|
7
7
|
* Use it with {@link pipe}.
|
|
8
8
|
*
|
|
9
|
+
* When the returned function is invoked, the result's length matches the longest nested array.
|
|
10
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
11
|
+
*
|
|
9
12
|
* @template T - The tuple type inside the zipped array.
|
|
10
13
|
* @returns A function that maps zipped tuples to arrays grouped by tuple position.
|
|
11
14
|
*
|
package/dist/fp/array/unzip.mjs
CHANGED
|
@@ -6,6 +6,9 @@ import { unzip as unzip$1 } from "../../array/unzip.mjs";
|
|
|
6
6
|
* The returned function is the data-last form of the main {@link unzip} utility.
|
|
7
7
|
* Use it with {@link pipe}.
|
|
8
8
|
*
|
|
9
|
+
* When the returned function is invoked, the result's length matches the longest nested array.
|
|
10
|
+
* Missing positions in shorter arrays are filled with `undefined`.
|
|
11
|
+
*
|
|
9
12
|
* @template T - The tuple type inside the zipped array.
|
|
10
13
|
* @returns A function that maps zipped tuples to arrays grouped by tuple position.
|
|
11
14
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
|
-
"version": "1.50.0-dev.
|
|
3
|
+
"version": "1.50.0-dev.2000+60a6a025",
|
|
4
4
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
5
5
|
"homepage": "https://es-toolkit.dev",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|