Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es-toolkit

Package Overview
Dependencies
Maintainers
2
Versions
827
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-toolkit - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

array.d.ts

16

CHANGELOG.md
# es-toolkit Changelog
## Version v1.0.2
## Version v1.0.3
Released on May 31th, 2024.
Released on June 3rd, 2024.
- Re-released version 1.0.0 due to a previous deployment by someone else that was later deleted on NPM.
- Provide correct types for `"module": "Node"`, ` "Node10"`, and `"Node16"`. (https://github.com/toss/es-toolkit/pull/16)
## 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.2",
"version": "1.0.3",
"workspaces": [

@@ -11,2 +11,3 @@ "docs"

".": {
"types": "./dist/index.d.ts",
"import": "./esm/index.mjs",

@@ -16,2 +17,3 @@ "require": "./dist/index.js"

"./array": {
"types": "./dist/array/index.d.ts",
"import": "./esm/array/index.mjs",

@@ -21,2 +23,3 @@ "require": "./dist/array/index.js"

"./function": {
"types": "./dist/function/index.d.ts",
"import": "./esm/function/index.mjs",

@@ -26,2 +29,3 @@ "require": "./dist/function/index.js"

"./math": {
"types": "./dist/math/index.d.ts",
"import": "./esm/math/index.mjs",

@@ -31,2 +35,3 @@ "require": "./dist/math/index.js"

"./object": {
"types": "./dist/object/index.d.ts",
"import": "./esm/object/index.mjs",

@@ -36,2 +41,3 @@ "require": "./dist/object/index.js"

"./predicate": {
"types": "./dist/predicate/index.d.ts",
"import": "./esm/predicate/index.mjs",

@@ -41,2 +47,3 @@ "require": "./dist/predicate/index.js"

"./promise": {
"types": "./dist/promise/index.d.ts",
"import": "./esm/promise/index.mjs",

@@ -49,8 +56,12 @@ "require": "./dist/promise/index.js"

"dist/**/*",
"esm/**/*"
"esm/**/*",
"*.d.ts"
],
"publishConfig": {
"access": "public",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./esm/index.mjs",

@@ -60,2 +71,3 @@ "require": "./dist/index.js"

"./array": {
"types": "./dist/array/index.d.ts",
"import": "./esm/array/index.mjs",

@@ -65,2 +77,3 @@ "require": "./dist/array/index.js"

"./function": {
"types": "./dist/function/index.d.ts",
"import": "./esm/function/index.mjs",

@@ -70,2 +83,3 @@ "require": "./dist/function/index.js"

"./math": {
"types": "./dist/math/index.d.ts",
"import": "./esm/math/index.mjs",

@@ -75,2 +89,3 @@ "require": "./dist/math/index.js"

"./object": {
"types": "./dist/object/index.d.ts",
"import": "./esm/object/index.mjs",

@@ -80,2 +95,3 @@ "require": "./dist/object/index.js"

"./predicate": {
"types": "./dist/predicate/index.d.ts",
"import": "./esm/predicate/index.mjs",

@@ -85,2 +101,3 @@ "require": "./dist/predicate/index.js"

"./promise": {
"types": "./dist/promise/index.d.ts",
"import": "./esm/promise/index.mjs",

@@ -119,5 +136,7 @@ "require": "./dist/promise/index.js"

"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 && rollup -c rollup.config.js && ./.scripts/postbuild.sh",
"test": "vitest run --coverage --typecheck"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc