es-toolkit 1.0.2-dev.32 → 1.0.2-dev.33
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/index.js +1 -1
- package/dist/array/uniqWith.d.ts +1 -1
- package/dist/index.js +1 -1
- package/esm/array/uniqWith.mjs +1 -1
- package/package.json +1 -1
package/dist/array/index.js
CHANGED
|
@@ -721,7 +721,7 @@ function unionBy(arr1, arr2, mapper) {
|
|
|
721
721
|
*
|
|
722
722
|
* @example
|
|
723
723
|
* ```ts
|
|
724
|
-
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => );
|
|
724
|
+
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1);
|
|
725
725
|
* // [1, 2, 3, 5, 7]
|
|
726
726
|
* ```
|
|
727
727
|
*/
|
package/dist/array/uniqWith.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -806,7 +806,7 @@ function unionBy(arr1, arr2, mapper) {
|
|
|
806
806
|
*
|
|
807
807
|
* @example
|
|
808
808
|
* ```ts
|
|
809
|
-
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => );
|
|
809
|
+
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1);
|
|
810
810
|
* // [1, 2, 3, 5, 7]
|
|
811
811
|
* ```
|
|
812
812
|
*/
|
package/esm/array/uniqWith.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { createForOfIteratorHelper as _createForOfIteratorHelper } from './_virt
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
|
-
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => );
|
|
10
|
+
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1);
|
|
11
11
|
* // [1, 2, 3, 5, 7]
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
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.0.2-dev.
|
|
4
|
+
"version": "1.0.2-dev.33+17096774",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"docs"
|
|
7
7
|
],
|