dependabot npm(deps): bump core-js from 3.39.0 to 3.40.0
Bumps core-js from 3.39.0 to 3.40.0.
Changelog
Sourced from core-js's changelog.
3.40.0 - 2025.01.08
- Changes v3.39.0...v3.40.0 (130 commits)
- Added
Error.isError
stage 3 proposal:
- Added built-ins:
Error.isError
- We have no bulletproof way to polyfill this method / check if the object is an error, so it's an enough naive implementation that is marked as
.sham
- Explicit Resource Management stage 3 proposal:
- Updated the way async disposing of only sync disposable resources, tc39/proposal-explicit-resource-management/218
Iterator
sequencing stage 2.7 proposal:
- Reuse
IteratorResult
objects when possible, tc39/proposal-iterator-sequencing/17, tc39/proposal-iterator-sequencing/18, December 2024 TC39 meeting- Added a fix of V8 < 12.8 / NodeJS < 22.10 bug with handling infinite length of set-like objects in
Set
methods- Optimized
DataView.prototype.{ getFloat16, setFloat16 }
performance, #1379, thanks@LeviPesin
- Dropped unneeded feature detection of non-standard
%TypedArray%.prototype.toSpliced
- Dropped possible re-usage of some non-standard / early stage features (like
Math.scale
) available on global- Some other minor improvements
- Compat data improvements:
RegExp.escape
marked as shipped from Safari 18.2Promise.try
marked as shipped from Safari 18.2Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
marked as shipped from Safari 18.2Uint8Array
to / from base64 and hex proposal methods marked as shipped from Safari 18.2JSON.parse
source text access proposal features marked as shipped from FF135RegExp.escape
marked as shipped from FF134Promise.try
marked as shipped from FF134Symbol.dispose
,Symbol.asyncDispose
andIterator.prototype[@@dispose]
marked as shipped from FF135JSON.parse
source text access proposal features marked as shipped from Bun 1.1.43- Fixed NodeJS version where
URL.parse
was added - 22.1 instead of 22.0- Added Deno 2.1 compat data mapping
- Added Rhino 1.8.0 compat data with significant number of modern features
- Added Electron 35 compat data mapping
- Updated Opera 115+ compat data mapping
- Added Opera Android 86 and 87 compat data mapping
Commits
-
6e49392
v3.40.0 -
34e4086
update the way async disposing of only sync disposable resources -
e21bdbf
bump the year -
dd21b36
add a fix of V8 < 12.8 / NodeJS < 22.10 bug with handling infinite length of ... -
8de4f9a
re-useIteratorResult
objects when possible inIterator.concat
-
696feb8
addError.isError
-
19d4688
enableeslint-plugin-es-x
no-nonstandard-*-properties
rules -
ebf97cc
drop unneeded non-standard%TypedArray%.prototype.toSpliced
feature detection -
f37b548
don't use globally available non-standardMath.scale
-
5c7cc53
inlineinternals/math-f16round
- Additional commits viewable in compare view