typescript
typescript copied to clipboard
Bump core-js from 3.21.1 to 3.25.1
Bumps core-js from 3.21.1 to 3.25.1.
Changelog
Sourced from core-js's changelog.
3.25.1 - 2022.09.08
- Added some fixes and workarounds of FF30- typed arrays bug that does not properly convert objects to numbers
- Added
sideEffectsfield tocore-js-purepackage.jsonfor better tree shaking, #1117- Dropped
semverdependency fromcore-js-compat
semverpackage (ironically) added a breaking change and dropped NodeJS 8 support in the minor7.1version, after thatsemverincore-js-compatwas pinned to7.0since for avoiding breaking changes it should support NodeJS 8. However, sincecore-js-compatis usually used with other packages that usesemverdependency, it causes multiple duplication ofsemverin dependencies. So I decided to removesemverdependency and replace it with a couple of simple helpers.- Added Bun 0.1.6-0.1.11 compat data
- Added Deno 1.25 compat data mapping
- Updated Electron 21 compat data mapping
- Some stylistic changes, minor fixes, and improvements
3.25.0 - 2022.08.25
- Added
Object.prototype.__proto__polyfill
- It's optional, legacy, and in some cases (mainly because of developers' mistakes) can cause problems, but some libraries depend on it, and most code can't work without the proper libraries' ecosystem
- Only for modern engines where this feature is missed (like Deno), it's not installed in IE10- since here we have no proper way setting of the prototype
- Without fixes of early implementations where it's not an accessor since those fixes are impossible
- Only for the global version
- Considering
document.allas an object in some missed cases, see ECMAScript Annex B 3.6- Avoiding unnecessary promise creation and validation result in
%WrapForValid(Async)IteratorPrototype%.return, proposal-iterator-helpers/215- Fixed omitting the result of proxing
.returnin%IteratorHelperPrototype%.return, #1116- Fixed the order creation of properties of iteration result object of some iterators (
valueshould be created beforedone)- Fixed some cases of Safari < 13 bug - silent on non-writable array
.lengthsetting- Fixed
ArrayBuffer.lengthin V8 ~ Chrome 27-- Relaxed condition of re-usage native
WeakMapfor internal states with multiplecore-jscopies- Availability cloning of
FileListin thestructuredClonepolyfill extended to some more old engines versions- Some stylistic changes and minor fixes
- Throwing a
TypeErrorincore-js-compat/core-js-builderin case of passing invalid module names / filters for avoiding unexpected result, related to #1115- Added missed NodeJS 13.2 to
esmodulescore-js-compat/core-js-buildertarget- Added Electron 21 compat data mapping
- Added Oculus Browser 23.0 compat data mapping
3.24.1 - 2022.07.30
- NodeJS is ignored in
IS_BROWSERdetection to avoid a false positive withjsdom, #1110- Fixed detection of
@@speciessupport inPromisein some old engines{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }marked as shipped in FF104- Added iOS Safari 15.6 compat data mapping
- Fixed Opera 15 compat data mapping
3.24.0 - 2022.07.25
- Recent updates of the iterator helpers proposal, #1101:
.asIndexedPairsrenamed to.indexed, proposal-iterator-helpers/183:
Iterator.prototype.asIndexedPairs->Iterator.prototype.indexedAsyncIterator.prototype.asIndexedPairs->AsyncIterator.prototype.indexed- Avoid exposing spec fiction
%AsyncFromSyncIteratorPrototype%inAsyncIterator.fromandIterator.prototype.toAsync, proposal-iterator-helpers/182, proposal-iterator-helpers/202- Avoid unnecessary promise creation in
%WrapForValidAsyncIteratorPrototype%.next, proposal-iterator-helpers/197- Do not validate value in
%WrapForValid(Async)IteratorPrototype%.next, proposal-iterator-helpers/197 and proposal-iterator-helpers/205- Do not forward the parameter of
.next/.returnto an underlying iterator by the extended iterator protocol, a part of proposal-iterator-helpers/194.throwmethods removed from all wrappers / helpers prototypes, a part of proposal-iterator-helpers/194- Close inner iterators of
{ Iterator, AsyncIterator }.prototype.flatMapproxy iterators on.return, proposal-iterator-helpers/195- Throw
RangeErroronNaNin{ Iterator, AsyncIterator }.prototype.{ drop, take }, proposal-iterator-helpers/181- Many other updates and fixes of this proposal
... (truncated)
Commits
3c2e6013.25.160519bcupdate the changelogbb1de0fupdate dependencies2c1e73eupdate dependenciesce987cbimprove some tests6ca3e61fix some blockseb8ed33fix a typobacfb3fadd "PRs welcome" badge with a link toCONTRIBUTING.mdb534518just in case detect correctness ofglobalThis79ababcadd some tests- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by zloirock, a new releaser for core-js since your current version.
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)