dependabot npm(deps): bump core-js from 3.30.2 to 3.31.0
Bumps core-js from 3.30.2 to 3.31.0.
Changelog
Sourced from core-js's changelog.
3.31.0 - 2023.06.12
- Well-formed unicode strings proposal:
- Methods:
String.prototype.isWellFormed
methodString.prototype.toWellFormed
method- Moved to stable ES, May 2023 TC39 meeting
- Added
es.
namespace modules,/es/
and/stable/
namespaces entriesArray
grouping proposal, May 2023 TC39 meeting updates:
- Because of the web compat issue, moved from prototype to static methods. Added:
Object.groupBy
methodMap.groupBy
method (with the actual semantic - with a minor difference it was present in the collections methods stage 1 proposal)- Demoted to stage 2
- Decorator Metadata proposal, May 2023 TC39 meeting updates:
- Moved to stage 3
- Added
Function.prototype[Symbol.metadata]
(=== null
)- Added
/actual/
entries- Iterator Helpers stage 3 proposal:
- Changed
Symbol.iterator
fallback from callable check toundefined
/null
check, May 2023 TC39 meeting, proposal-iterator-helpers/272- Removed
IsCallable
check onNextMethod
, deferring errors toCall
site, May 2023 TC39 meeting, proposal-iterator-helpers/274- Added
Promise.withResolvers
stage 2 proposal:
Promise.withResolvers
methodSymbol
predicates stage 2 proposal:
- The methods renamed to end with
Symbol
, May 2023 TC39 meeting:
Symbol.isRegistered
->Symbol.isRegisteredSymbol
methodSymbol.isWellKnown
->Symbol.isWellKnownSymbol
method- Added
value
argument ofURLSearchParams.prototype.{ has, delete }
, url/735- Fixed some cases of increasing buffer size in
ArrayBuffer.prototype.{ transfer, transferToFixedLength }
polyfills- Fixed awaiting async
AsyncDisposableStack.prototype.adopt
callback, #1258- Fixed
URLSearchParams#size
in ES3 engines (IE8-)- Added a workaround in
Object.{ entries, values }
for some IE versions bug with invisible integer keys onnull
-prototype objects- Added TypeScript definitions to
core-js-compat
, #1235, thanks@susnux
- Compat data improvements:
Set.prototype.difference
that was missed in Bun because of a bug added in 0.6.0Array.prototype.{ group, groupToMap }
marked as no longer supported in WebKit runtimes because of the mentioned above web compat issue. For example, it's disabled from Bun 0.6.2- Methods from the change
Array
by copy proposal marked as supported from FF115Array.fromAsync
marked as supported from FF115URL.canParse
marked as supported from FF115value
argument ofURLSearchParams.prototype.{ has, delete }
marked as supported from NodeJS 20.2.0 and FF115- Added Deno 1.34 compat data mapping
- Added Electron 26 compat data mapping
- Added Samsung Internet 22 compat data mapping
- Added Opera Android 75 and 76 compat data mapping
- Added Quest Browser 27 compat data mapping
Commits
-
199c633
3.31.0 -
fe4ac8a
avoid some extra work -
c22285c
add a workaround inObject.{ entries, values }
for some IE versions bug wit... -
38592f4
workaround IE bug -
57dd86a
fixURLSearchParams#size
in ES3 engines (IE8-) -
d0db6ee
optimizeURLSearchParams.prototype.delete
-
a7c106e
add a pure version special case -
a6a0e29
addvalue
argument ofURLSearchParams.prototype.{ has, delete }
-
eb18d34
drop extraction a method from an object literal since it's not a reserved wor... -
e3a7cac
Array
grouping proposal changes - Additional commits viewable in compare view