docs: add v8 migration entries for inclusive terminology renames#3184
Open
stuckvgn wants to merge 1 commit intobabel:mainfrom
Open
docs: add v8 migration entries for inclusive terminology renames#3184stuckvgn wants to merge 1 commit intobabel:mainfrom
stuckvgn wants to merge 1 commit intobabel:mainfrom
Conversation
Document the option renames introduced in babel/babel#17830: - @babel/plugin-external-helpers: whitelist -> allowlist - @babel/template: placeholderWhitelist -> placeholderAllowlist - @babel/traverse: blacklist -> denylist All renames support cross-version compatibility by accepting both old and new option names simultaneously.
👷 Deploy request for babel-next pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for babel ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Author
|
Closing this PR — on reflection, this change may not be the right fit for this project. Thanks for your time! |
Author
|
Reopening — this is the companion docs PR to babel/babel#17830. |
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.
Summary
Documents the option renames introduced in babel/babel#17830:
@babel/plugin-external-helpers:whitelistoption renamed toallowlist(inv8-migration.md)@babel/template:placeholderWhitelistoption renamed toplaceholderAllowlist(inv8-migration-api.md)@babel/traverse:blacklistvisitor option renamed todenylist(inv8-migration-api.md)All entries document the cross-version compatibility path (passing both old and new option names simultaneously).
Requested by @nicolo-ribaudo in babel/babel#17830 (review).