-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(es/preset-env): Update preset-env data #9573
Merged
+419
−334
Merged
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1638c82
yarn lockfile
kdy1 6c69052
Add a test
kdy1 14ba090
Update builtin
kdy1 f60a2fe
Update test refs
kdy1 eafc54f
Update data
kdy1 73605c6
Discard changes to crates/swc_ecma_preset_env/src/corejs3/builtin.rs
kdy1 83157d1
ARRAY_BUFFER_DEPENDENCIES
kdy1 ebbadb9
port
kdy1 3b598a4
SET_DEPENDENCIES
kdy1 93b2489
port mor
kdy1 8c6749f
BUILT_INS
kdy1 e7b2d40
STATIC_PROPERTIES
kdy1 00fda2a
Port all
kdy1 9fbf4e6
fix
kdy1 516a58d
Fix more
kdy1 8ddeeff
more
kdy1 36ba9c3
m,ore fix
kdy1 9de2f6e
non-const
kdy1 af2e76d
fix
kdy1 517f16a
more
kdy1 a7f8503
done
kdy1 aa9e767
Update test refs
kdy1 e402f9e
Create sharp-apricots-tease.md
kdy1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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 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 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://swc.rs/schema.json", | ||
"jsc": { | ||
"parser": { | ||
"syntax": "ecmascript", | ||
}, | ||
}, | ||
"env": { | ||
"targets": { | ||
"chrome": "40" | ||
}, | ||
"mode": "usage", | ||
"coreJs": "3.22" | ||
} | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
document.querySelectorAll('div').forEach(el => { | ||
console.log(el); | ||
}) |
This file contains 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
require("core-js/modules/web.dom-collections.for-each.js"); | ||
document.querySelectorAll('div').forEach(function(el) { | ||
console.log(el); | ||
}); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You are right. I'll reopen it. |
This file contains 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
core-js
doesn't have a module with this name.