es-toolkit
Advanced tools
Comparing version 1.3.0 to 1.3.1-dev.76
# es-toolkit Changelog | ||
## Version v1.3.1 | ||
Released on June 15th, 2024. | ||
- Fixed a bug in `dropWhile` where it incorrectly returned the entire array when no elements matched the predicate. (https://github.com/toss/es-toolkit/pull/49) | ||
## Version v1.3.0 | ||
@@ -4,0 +10,0 @@ |
@@ -30,2 +30,5 @@ "use strict"; | ||
const dropEndIndex = arr.findIndex((item) => !canContinueDropping(item)); | ||
if (dropEndIndex === -1) { | ||
return []; | ||
} | ||
return arr.slice(dropEndIndex); | ||
@@ -32,0 +35,0 @@ } |
@@ -28,2 +28,5 @@ "use strict"; | ||
const dropEndIndex = arr.findIndex((item) => !canContinueDropping(item)); | ||
if (dropEndIndex === -1) { | ||
return []; | ||
} | ||
return arr.slice(dropEndIndex); | ||
@@ -30,0 +33,0 @@ } |
@@ -107,2 +107,5 @@ "use strict"; | ||
const dropEndIndex = arr.findIndex((item) => !canContinueDropping(item)); | ||
if (dropEndIndex === -1) { | ||
return []; | ||
} | ||
return arr.slice(dropEndIndex); | ||
@@ -109,0 +112,0 @@ } |
@@ -137,2 +137,5 @@ "use strict"; | ||
const dropEndIndex = arr.findIndex((item) => !canContinueDropping(item)); | ||
if (dropEndIndex === -1) { | ||
return []; | ||
} | ||
return arr.slice(dropEndIndex); | ||
@@ -139,0 +142,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.3.0", | ||
"version": "1.3.1-dev.76+50c35858", | ||
"workspaces": [ | ||
@@ -6,0 +6,0 @@ "docs" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
489966
5205
2
1