Docs for importAssertions and importReflection removal#2948
Merged
nicolo-ribaudo merged 3 commits intoSep 16, 2024
Conversation
✅ Deploy Preview for babel-next ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for babel ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
c037dfa to
b2b3ae3
Compare
JLHwung
reviewed
Sep 4, 2024
| | `exportDefaultFrom` ([proposal](https://github.com/tc39/ecmascript-export-default-from)) | `export v from "mod"` | | ||
| | `functionBind` ([proposal](https://github.com/zenparsing/es-function-bind)) | `a::b`, `::console.log` | | ||
| | `functionSent` ([proposal](https://github.com/tc39/proposal-function.sent)) | `function.sent` | | ||
| | `importAttributes` ([proposal](https://github.com/tc39/proposal-import-attributes)) [<br/> `importAssertions` (⚠️ deprecated)](:::babel7) | `import json from "./foo.json" with { type: "json" };` | |
Contributor
There was a problem hiding this comment.
I think it would be very confusing hacking around the link syntax for conditional rendering. How about we set up a new table listing the deprecated parser plugins and toggle off that table in Babel 8?
8fa68a7 to
c12e21a
Compare
importAssertions removalimportAssertions and importReflection removal
JLHwung
approved these changes
Sep 7, 2024
Contributor
|
I just realize that the diff highlight seems broken, I recall previously the removed line is marked as red and the added one marked as green. I will investigate and open a new PR. For example, https://deploy-preview-2948--babel-next.netlify.app/docs/v8-migration
|
This was referenced Dec 8, 2024
This was referenced Feb 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

For babel/babel#16770