dependabot npm(deps): bump core-js from 3.37.1 to 3.38.0
Bumps core-js from 3.37.1 to 3.38.0.
Changelog
Sourced from core-js's changelog.
3.38.0 - 2024.08.05
- Changes v3.37.1...v3.38.0
RegExp.escape
proposal:
- Built-ins:
RegExp.escape
- Moved to stage 3, June 2024 and July 2024 TC39 meetings
- Updated the way of escaping, regex-escaping/77
- Throw an error on non-strings, regex-escaping/58
- Added
/actual/
namespace entries, unconditional forced replacement changed to feature detectionPromise.try
proposal:
- Built-ins:
Promise.try
- Moved to stage 3, June 2024 TC39 meeting
- Added
/actual/
namespace entries, unconditional forced replacement changed to feature detectionUint8Array
to / from base64 and hex stage 3 proposal:
- Built-ins:
Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.setFromBase64
Uint8Array.prototype.setFromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex
- Added
Uint8Array.prototype.{ setFromBase64, setFromHex }
methods- Added
Uint8Array.fromBase64
andUint8Array.prototype.setFromBase64
lastChunkHandling
option, proposal-arraybuffer-base64/33- Added
Uint8Array.prototype.toBase64
omitPadding
option, proposal-arraybuffer-base64/60- Added throwing a
TypeError
on arrays backed by detached buffers- Unconditional forced replacement changed to feature detection
- Fixed
RegExp
named capture groups polyfill in combination with non-capturing groups, #1352, thanks@Ulop
- Improved some cases of environment detection
- Uses
process.getBuiltinModule
for getting built-in NodeJS modules where it's available- Uses
https
instead ofhttp
inURL
constructor feature detection to avoid extra notifications from some overly vigilant security scanners, #1345- Some minor optimizations
- Updated
browserslist
incore-js-compat
dependencies that fixes an upstream issue with incorrect interpretation of somebrowserslist
queries, #1344, browserslist/829, browserslist/836- Compat data improvements:
- Added Safari 18.0 compat data:
- Fixed
Object.groupBy
andMap.groupBy
to work for non-objects- Fixed throwing a
RangeError
ifSet
methods are called on an object with negative size property- Fixed
Set.prototype.symmetricDifference
to callthis.has
in each iteration- Fixed
Array.fromAsync
to not call theArray
constructor twice- Added
URL.parse
Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
marked as shipped from FF129Symbol.asyncDispose
added and marked as supported from V8 ~ Chromium 127Promise.try
added and marked as supported from V8 ~ Chromium 128- Added Deno 1.44 and 1.45 compat data mapping
self
descriptor is broken in Deno 1.45.3 (again)- Added Electron 32 and 33 compat data mapping
- Added Opera Android 83 compat data mapping
- Added Samsung Internet 27 compat data mapping
- Added Oculus Quest Browser 34 compat data mapping
Commits
-
4a322bf
v3.38.0 -
9408792
replace a regex with a simple comparison -
0595aaf
simplify a regex -
269890f
replace a regex with conditions -
4ce7d0c
addUint8Array.prototype.setFromBase64
andlastChunkHandling
option -
8b10ea8
add feature detection toPromise.try
-
19b1a68
add feature detection toRegExp.escape
-
5b2874c
moveRegExp.escape
to stage 3 -
6250ccb
renameinternals/global
->internals/global-this
-
25b5716
improve some cases of environment detection - Additional commits viewable in compare view