Created by: dependabot[bot]
Bumps core-js from 3.21.1 to 3.22.0.
Changelog
Sourced from core-js's changelog.
3.22.0 - 2022.04.15
- Change
Arrayby copy proposal:
- Moved to Stage 3, March TC39 meeting
- Disabled forced replacement and added
/actual/entry points for methods from this proposalArray.prototype.toSplicedthrows aTypeErrorinstead ofRangeErrorif the result length is more thanMAX_SAFE_INTEGER, proposal-change-array-by-copy/70- Added some more
atob/btoafixes:
- NodeJS <17.9
atobdoes not ignore spaces, node/42530- Actual NodeJS
atobdoes not validate encoding, node/42646- FF26- implementation does not properly convert argument to string
- IE / Edge <16 implementation have wrong arity
- Added
/full/namespace as the replacement for/features/since it's more descriptive in context of the rest namespaces (/es/⊆/stable/⊆/actual/⊆/full/)- Avoided propagation of removed parts of proposals to upper stages. For example,
%TypedArray%.prototype.groupBywas removed from theArraygrouping proposal a long time ago. We can't completely remove this method since it's a breaking change. But this proposal has been promoted to stage 3 - so the proposal should be promoted without this method, this method should not be available in/actual/entries - but it should be available in early-stage entries to avoid breakage.- Significant internal refactoring and splitting of modules (but without exposing to public API since it will be a breaking change - it will be exposed in the next major version)
- Bug fixes:
- Tooling:
- Stabilized proposals are filtered out from the
core-js-compat->core-js-builder->core-js-bundleoutput. That mean that if the output contains, for example,es.object.has-own, the legacy reference to it,esnext.object.has-own, no longer added.- Aligned modules filters of
core-js-builderandcore-js-compat, now it'smodulesandexcludeoptions- Added support of entry points, modules, regexes, and arrays of them to those filters
- Missed
targetsoption ofcore-js-compatmeans that thetargetsfilter just will not be applied, so the result will contain modules required for all possible engines- Compat data:
.stackproperty onDOMExceptionmarked as supported from Deno 1.15- Added Deno 1.21 compat data mapping
- Added Electron 19.0 and updated 18.0 compat data mapping
- Added Samsung Internet 17.0 compat data mapping
- Added Opera Android 68 compat data mapping
Commits
-
c5e56b63.22.0 -
01b057cupdate entries in the readme -
06c6a56useimportin some examples -
0f3c603avoid propagation of removed parts of proposals to upper stages -
24d2e5ddrop splitted / renamed modules frommodules-by-versions -
8c91babupdate dependencies -
1e07b0caddget-modules-list-for-target-versiontests -
eff765fdisable forced replacement for methods from "ChangeArrayby copy" proposal -
a7aab7fuseimportinstead ofrequire -
7717637add 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)