es-toolkit
Advanced tools
Comparing version 1.0.1-dev.26 to 1.0.2-canary.0
# es-toolkit Changelog | ||
## Version v1.0.1 | ||
## Version v1.0.2 | ||
Released on May 31th, 2024. | ||
- Re-released version 1.0.0 due to a previous deployment by someone else that was later deleted on NPM. | ||
## Version v1.0.0 | ||
Initial release. Released on May 31th, 2024. | ||
Initial release. Released on May 31th, 2024. |
@@ -724,3 +724,3 @@ 'use strict'; | ||
* ```ts | ||
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => ); | ||
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1); | ||
* // [1, 2, 3, 5, 7] | ||
@@ -727,0 +727,0 @@ * ``` |
@@ -8,3 +8,3 @@ /** | ||
* ```ts | ||
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => ); | ||
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1); | ||
* // [1, 2, 3, 5, 7] | ||
@@ -11,0 +11,0 @@ * ``` |
@@ -809,3 +809,3 @@ 'use strict'; | ||
* ```ts | ||
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => ); | ||
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1); | ||
* // [1, 2, 3, 5, 7] | ||
@@ -812,0 +812,0 @@ * ``` |
{ | ||
"name": "es-toolkit", | ||
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.", | ||
"version": "1.0.1-dev.26+ce777492", | ||
"version": "1.0.2-canary.0", | ||
"workspaces": [ | ||
@@ -11,27 +11,27 @@ "docs" | ||
".": { | ||
"import": "./esm/index.mjs", | ||
"import": "./esm/index.js", | ||
"require": "./dist/index.js" | ||
}, | ||
"./array": { | ||
"import": "./esm/array/index.mjs", | ||
"import": "./esm/array/index.js", | ||
"require": "./dist/array/index.js" | ||
}, | ||
"./function": { | ||
"import": "./esm/function/index.mjs", | ||
"import": "./esm/function/index.js", | ||
"require": "./dist/function/index.js" | ||
}, | ||
"./math": { | ||
"import": "./esm/math/index.mjs", | ||
"import": "./esm/math/index.js", | ||
"require": "./dist/math/index.js" | ||
}, | ||
"./object": { | ||
"import": "./esm/object/index.mjs", | ||
"import": "./esm/object/index.js", | ||
"require": "./dist/object/index.js" | ||
}, | ||
"./predicate": { | ||
"import": "./esm/predicate/index.mjs", | ||
"import": "./esm/predicate/index.js", | ||
"require": "./dist/predicate/index.js" | ||
}, | ||
"./promise": { | ||
"import": "./esm/promise/index.mjs", | ||
"import": "./esm/promise/index.js", | ||
"require": "./dist/promise/index.js" | ||
@@ -43,3 +43,4 @@ }, | ||
"dist/**/*", | ||
"esm/**/*" | ||
"esm/**/*", | ||
"*.d.ts" | ||
], | ||
@@ -50,27 +51,27 @@ "publishConfig": { | ||
".": { | ||
"import": "./esm/index.mjs", | ||
"import": "./esm/index.js", | ||
"require": "./dist/index.js" | ||
}, | ||
"./array": { | ||
"import": "./esm/array/index.mjs", | ||
"import": "./esm/array/index.js", | ||
"require": "./dist/array/index.js" | ||
}, | ||
"./function": { | ||
"import": "./esm/function/index.mjs", | ||
"import": "./esm/function/index.js", | ||
"require": "./dist/function/index.js" | ||
}, | ||
"./math": { | ||
"import": "./esm/math/index.mjs", | ||
"import": "./esm/math/index.js", | ||
"require": "./dist/math/index.js" | ||
}, | ||
"./object": { | ||
"import": "./esm/object/index.mjs", | ||
"import": "./esm/object/index.js", | ||
"require": "./dist/object/index.js" | ||
}, | ||
"./predicate": { | ||
"import": "./esm/predicate/index.mjs", | ||
"import": "./esm/predicate/index.js", | ||
"require": "./dist/predicate/index.js" | ||
}, | ||
"./promise": { | ||
"import": "./esm/promise/index.mjs", | ||
"import": "./esm/promise/index.js", | ||
"require": "./dist/promise/index.js" | ||
@@ -108,5 +109,5 @@ }, | ||
"prepack": "yarn build", | ||
"build": "rm -rf dist esm && tsc -p tsconfig.json --declaration --emitDeclarationOnly --declarationDir dist && rollup -c rollup.config.js", | ||
"build": "rm -rf dist esm && tsc -p tsconfig.json --declaration --emitDeclarationOnly --declarationDir dist && tsc -p tsconfig.json --declaration --emitDeclarationOnly --declarationDir esm && rollup -c rollup.config.js && ./.scripts/postbuild.sh", | ||
"test": "vitest run --coverage --typecheck" | ||
} | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
265946
267
6894
0