Repository navigation
Update to core-js@3
#7646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+18,538
−1,577
Merged
Update to core-js@3
#7646
Changes from all commits
Commits
Show all changes
112 commits
Select commit
Hold shift + click to select a range
31d062a
update `core-js` in `babel-polyfill`
zloirock 55ad89b
update `core-js` in `babel-register`
zloirock ad28f33
add `@babel/runtime-corejs3`
zloirock da31d39
remove an old runtime-related hack from `applyDecoratedDescriptor` fo…
zloirock d48087a
build runtime package with usage of ES3 related transforms for make s…
zloirock e4b31fb
remove a special case for `Object.defineProperty` from runtime for ma…
zloirock 79e8924
use `get-iterator-method` helper for getting iterators in runtime, fi…
zloirock d711daf
add fixtures for `runtime-corejs3`
zloirock 4674236
split `runtime-corejs2` and `runtime-corejs3` built-ins definitions
zloirock bec4c51
update definitions for `runtime-corejs3`
zloirock b9168c9
add some runtime tests
zloirock fa6f9a4
add support of instance methods to runtime
zloirock aaa1316
update `core-js` in `preset-env`, initial
zloirock 0348804
update built-ins data in preset-env
zloirock 95656be
update to `[email protected]`
zloirock c0b895e
add some tests
zloirock 0a0dfa7
update to `[email protected]`
zloirock a51ef45
revert back `@babel/polyfill` to `core-js@2` for leaving a major vers…
zloirock 580a003
move preset-env built-ins plugins to separate folder, split usage plu…
zloirock 18e07fb
some stylistic changes
zloirock 72fbcfb
update core-js@2 version in babel-polyfill for prevent problems relat…
zloirock a5c223e
extract `isPluginRequired` and `filterItems`
zloirock f2560dc
get rid of `logMessage`
zloirock f991a66
fix linting
zloirock 241bb3c
get rid of `onDebug` callback, remove incorrect debug targets output …
zloirock e784f8d
don't add regenerator-usage plugin where it's not required
zloirock 40691ee
update to `[email protected]`
zloirock d2eafb2
simplify `getBuiltInTargets`
zloirock 7ab1386
add `core-js@2` usage and entry plugins
zloirock 4e2d213
fix `addCommonIterators` helper, add `Promise` polyfill on async func…
zloirock b42ad16
add a carcass of regenerator entry plugin
zloirock 74f5687
template of polyfills plugins injection
zloirock 0e2b229
integrate core-js-compat
zloirock b8aef21
revert back core-js@2 data
zloirock 2bc2eff
revert back `defaultWebIncludes` to core-js@2
zloirock bbf0f99
update definitions for core-js@3
zloirock 7106699
add `corejs` option to `preset-env` as a temporal solution for suppor…
zloirock 5362421
fix `defaultWebIncludes` in options normalization with core-js@2
zloirock fe1318b
add warning about missed core-js version option
zloirock 08f1e0c
update debug-fixtures
zloirock 11d012a
add debug fixtures for different core-js versions
zloirock f84ea73
add fixtures for different core-js versions
zloirock 28268d9
implicit core-js version is 2
zloirock ae4e787
move `objectToBrowserslist` to `targets-parser`
zloirock 3e97772
update to [email protected]
zloirock 60cfd2e
update to [email protected], use core-js /instance/ entries
zloirock c6c8923
add to runtime core-js definitions information about stability of fea…
zloirock fd427ab
add `proposal` option to `babel-transform-runtime`
zloirock 33462ab
some fixes of instance methods injection logic
zloirock ce6e083
allow minor core-js versions in preset-env config
zloirock 472b16c
allow polyfilling proposals in preset-env
zloirock 8e7323f
remove generated core-js runtime files from git
zloirock ed2063e
update to [email protected]
zloirock 81c071e
replace top level entry points of core-js and regenerator-runtime ins…
zloirock 768bddc
add some more tests
zloirock cd5e780
transform all possible core-js entry points
zloirock 9a99f90
add some more tests
zloirock e9b2b32
update core-js@2 stuff
zloirock 6c927f0
some stylistic changes, move built-ins related code to related plugin…
zloirock 3dd80cf
make usage plugins little more object oriented
zloirock dee18ff
improve preset-env CONTRIBUTING.md
zloirock 2a36a1e
deprecation warning on `@babel/polyfill` in `preset-env` with `core-j…
zloirock ebe8252
Update packages/babel-plugin-transform-runtime/src/index.js
nicolo-ribaudo 7a8d958
some fixes
zloirock 52383a2
use `t.cloneNode` on invocation of instance methods in runtime
zloirock 362e2b3
refactoring
zloirock 895f285
some stylistic changes
zloirock cab6e6b
some improvements of built-in-definitions
zloirock 122af9c
some stylistic changes
zloirock 7af124d
unify writeCoreJS
zloirock 5295aae
fix instance methods optimisation
zloirock 2103a57
inject polyfills in the order from core-js-compat on post stage for p…
zloirock 18ca001
use isSomething helpers instead of direct `.type` check
zloirock b6ab5b6
add `Promise` dependencies on dynamic import, fixes #7402
zloirock 0d4564d
add `Promise` dependencies on `fetch` usage
zloirock 569af66
Update packages/babel-preset-env/CONTRIBUTING.md
nicolo-ribaudo 7b99bde
fix some typos in CONTRIBUTING.md
zloirock 564c408
use Program(path) { } instead of Program: { enter(path) { } }
zloirock 5cb279e
simplify MemberExpression visitor, get rid of some extra isReferenced
zloirock 3930d36
rework corejs3/usage plugin, fix many destructuring-ralated cases
zloirock 5fa3233
rework the way of determination of keys and sources in corejs3/usage-…
zloirock 2e04224
inject dependencies on getting built-ins as properties of global object
zloirock 2a86728
update to `[email protected]`
zloirock f421b95
inject polyfills on `in` operator
zloirock 0833f85
determinate source of object destructuring in IIFE arguments
zloirock d0ecc3f
some stylistic changes
zloirock 5537762
don't exit from `addPropertyDependencies` after `PossibleGlobalObject…
zloirock 70f70d7
simplify identification sources of `import` and `require`
zloirock bd6d0de
some stylistic changes
zloirock 8e86ef9
remove obsolete note from `preset-env` CONTRIBUTING.md
zloirock c4e75b2
add support `samsung` target (for Samsung Internet) since `core-js-co…
zloirock ed59f4d
add some more tests of specific `core-js` entry points by `preset-env…
zloirock bebd5cf
sync with master
zloirock 71fde5a
simplify adding `Promise` dependencies on `import` pseudo-expression
zloirock 2f189b9
sync with master
zloirock 6ff31a9
use `corejs: { version, proposals }` options format
zloirock d09d699
don't add common iterators dependencies on `SpreadElement` in `Object…
zloirock ad41bbf
bump `regenerator-runtime` version
zloirock f46e4fe
update to `[email protected]`
zloirock d02ffb8
fix an error in `core-js@2` definitions: `es6.object.get-own-property…
zloirock 0f5b26a
fix `core-js@2` `es6.object.to-string` definition
zloirock 689f6b5
add a few more simple tests
zloirock bb40189
add a warning on `corejs` option without `useBuiltIns`
zloirock 6998ed9
inject `es.promise.finally` only on `.finally` usage
zloirock c33d52e
get rid of some warnings in tests
zloirock 2572d72
remove `web.dom.iterable` from `.forEach` dependencies in `core-js@2`…
zloirock 2268d73
update to `[email protected]`
zloirock f40e7f5
sync with master
zloirock 331e634
add required `Promise` dependencies on `.finally` method in `core-js@…
zloirock 48bbb4b
Add back types to preset-env (#9687)
nicolo-ribaudo 7af14c5
Merge master
nicolo-ribaudo 3856bc3
update to `[email protected]`
zloirock File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-proposal-decorators/test/fixtures/legacy-decl-to-expression/method-decorators/output.mjs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/8041/output.mjs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,8 @@ | |
| "targets": { | ||
| "node": 8 | ||
| }, | ||
| "useBuiltIns": "usage" | ||
| "useBuiltIns": "usage", | ||
| "corejs": 3 | ||
| } | ||
| ] | ||
| ], | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.