Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docs for importAssertions and importReflection removal#2948

Merged
nicolo-ribaudo merged 3 commits into
babel:mainfrom
nicolo-ribaudo:import-assertions-removed
Sep 16, 2024
Merged

Docs for importAssertions and importReflection removal#2948
nicolo-ribaudo merged 3 commits into
babel:mainfrom
nicolo-ribaudo:import-assertions-removed

Conversation

@nicolo-ribaudo
Copy link
Copy Markdown
Member

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 4, 2024

Deploy Preview for babel-next ready!

Name Link
🔨 Latest commit c12e21a
🔍 Latest deploy log https://app.netlify.com/sites/babel-next/deploys/66dc144441f5c50008597b9d
😎 Deploy Preview https://deploy-preview-2948--babel-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 4, 2024

Deploy Preview for babel ready!

Name Link
🔨 Latest commit c12e21a
🔍 Latest deploy log https://app.netlify.com/sites/babel/deploys/66dc14441b08ab000816728b
😎 Deploy Preview https://deploy-preview-2948--babel.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nicolo-ribaudo nicolo-ribaudo force-pushed the import-assertions-removed branch 2 times, most recently from c037dfa to b2b3ae3 Compare September 4, 2024 15:40
Comment thread docs/parser.md Outdated
| `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" };` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@nicolo-ribaudo nicolo-ribaudo force-pushed the import-assertions-removed branch from 8fa68a7 to c12e21a Compare September 7, 2024 08:52
@nicolo-ribaudo nicolo-ribaudo changed the title Docs for importAssertions removal Docs for importAssertions and importReflection removal Sep 7, 2024
@JLHwung
Copy link
Copy Markdown
Contributor

JLHwung commented Sep 7, 2024

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants