-
-
Notifications
You must be signed in to change notification settings - Fork 668
feat(tasks/compat_data): add custom compat data for export namespace from #14317
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
base: main
Are you sure you want to change the base?
feat(tasks/compat_data): add custom compat data for export namespace from #14317
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #14317 will not alter performanceComparing Summary
Footnotes
|
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.
Pull Request Overview
This PR adds support for custom compatibility data that doesn't exist in the compat-table by creating a new infrastructure for manually maintained browser support information. The key change is the addition of compatibility data for the "export namespace from" ES2020 feature.
- Creates a custom compatibility data system for features not in compat-table
- Adds specific browser version support data for "export namespace from" syntax
- Integrates custom data into the build process alongside existing compat-table data
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
tasks/compat_data/custom-compat-data.js | New file defining custom compatibility data structure and ES2020 export namespace from support |
tasks/compat_data/build.js | Integrates custom compatibility data into the build process |
tasks/compat_data/data.json | Generated output containing the new ExportNamespaceFrom compatibility data |
crates/oxc_compat/src/es_features.rs | Adds ES2020ExportNamespaceFrom enum variant and corresponding engine targets |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
7261530
to
13f3e7b
Compare
13f3e7b
to
be53dad
Compare
Added a way to add custom compat data that doesn't exist in compat table. Also added the data for "export namespace from".