Created by: dependabot[bot]
Bumps core-js from 3.27.2 to 3.28.0.
Changelog
Sourced from core-js's changelog.
3.28.0 - 2023.02.14
I highly recommend reading this: So, what's next?
- Change
Arrayby copy proposal:
- Methods:
Array.prototype.toReversedArray.prototype.toSortedArray.prototype.toSplicedArray.prototype.with%TypedArray%.prototype.toReversed%TypedArray%.prototype.toSorted%TypedArray%.prototype.with- Moved to stable ES, January 2023 TC39 meeting
- Added
es.namespace modules,/es/and/stable/namespaces entries- Added
JSON.parsesource text access Stage 3 proposal
- Methods:
JSON.parsepatched for supportsourceinreviverfunction argumentsJSON.rawJSONJSON.isRawJSONJSON.stringifypatched for supportJSON.rawJSON- Added
ArrayBuffer.prototype.transferand friends Stage 3 proposal:
- Built-ins:
ArrayBuffer.prototype.detachedArrayBuffer.prototype.transfer(only in runtimes with nativestructuredClonewithArrayBuffertransfer support)ArrayBuffer.prototype.transferToFixedLength(only in runtimes with nativestructuredClonewithArrayBuffertransfer support)- In backwards, in runtimes with native
ArrayBuffer.prototype.transfer, but without properstructuredClone, addedArrayBuffertransfer support tostructuredClonepolyfill- Iterator Helpers proposal:
- Splitted into 2 (sync and async) proposals, async version moved back to Stage 2, January 2023 TC39 meeting
- Allowed interleaved mapping in
AsyncIteratorhelpers, proposal-iterator-helpers/262- Explicit Resource Management Stage 3 and Async Explicit Resource Management Stage 2 proposals:
InstallErrorCauseremoved fromSuppressedError, January 2023 TC39 meeting, proposal-explicit-resource-management/145- Simplified internal behaviour of
{ AsyncDisposableStack, DisposableStack }.prototype.use, proposal-explicit-resource-management/143- Added
Symbolpredicates Stage 2 proposal
- Methods:
Symbol.isRegisteredSymbol.isWellKnownNumber.rangeStage 1 proposal and method renamed toIterator.rangeFunction.prototype.unThisStage 0 proposal and method renamed toFunction.prototype.demethodize- Fixed Safari
String.prototype.toWellFormedToStringconversion bug- Improved some cases handling of array-replacer in
JSON.stringifysymbols handling fix- Fixed many other old
JSON.{ parse, stringify }bugs (numbers instead of strings as keys in replacer, handling negative zeroes, spaces, some more handling symbols cases, etc.)- Fixed configurability and
ToStringconversion of some accessors- Added throwing proper errors on an incorrect context in some
ArrayBufferandDataViewmethods- Some minor
DataViewand%TypedArray%polyfills optimizations- Added proper error on the excess number of trailing
=in theatobpolyfill- Fixed theoretically possible ReDoS vulnerabilities in
String.prototype.{ trim, trimEnd, trimRight },parse(Int|Float),Number,atob, andURLpolyfills in some ancient engines- Compat data improvements:
RegExp.prototype.flagsmarked as fixed from V8 ~ Chrome 111- Added Opera Android 73 compat data mapping
- Added TypeScript definitions to
core-js-builder
Commits
-
6f721farefresh -
93ad4673.28.0 -
91e0347so, what's next? -
39c079bthrow proper errors on an incorrect context in someArrayBufferand `DataVi... -
7e0399dsome fixes -
139abbfaddArrayBuffer.prototype.transferand friends Stage 3 proposal -
44cf9e8fix theoretically possible ReDoS vulnerabilities -
2e44954fix Safari 9JSON.parsebug with handling negative zero + some whitespaces -
be7ea2cimprove handling of strings wrapped torawJSON -
e21fe93add some tests - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)