Skip to content
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

Add transform-regexp-modifiers to preset-env #16692

Merged
merged 13 commits into from
Oct 23, 2024

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Jul 29, 2024

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? Yes
Tests Added + Pass? Yes
Documentation PR Link babel/website#2977
Any Dependency Changes?
License MIT

Added the regexp-modifiers plugin to preset-env now that it just reaches Stage 4 in the TC39 Oct 2024 meeting.

@JLHwung JLHwung added PR: New Feature 🚀 A type of pull request used for our changelog categories pkg: preset-env PR: Needs Docs labels Jul 29, 2024
@JLHwung JLHwung marked this pull request as draft July 29, 2024 17:00
@babel-bot
Copy link
Collaborator

babel-bot commented Jul 29, 2024

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/58206

@JLHwung JLHwung force-pushed the add-modifiers-preset-env branch from 04be1a0 to a68c0cd Compare July 29, 2024 19:19
@JLHwung JLHwung force-pushed the add-modifiers-preset-env branch 2 times, most recently from c68ede8 to 5e26e49 Compare July 30, 2024 12:50
@JLHwung JLHwung marked this pull request as ready for review July 30, 2024 12:52
@nicolo-ribaudo nicolo-ribaudo added this to the v7.26.0 milestone Aug 13, 2024
@nicolo-ribaudo nicolo-ribaudo added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Sep 9, 2024
@nicolo-ribaudo
Copy link
Member

@JLHwung This is on the agenda for stage 4 at the TC39 meeting next week.

@JLHwung
Copy link
Contributor Author

JLHwung commented Oct 1, 2024

Thanks. I will update this PR and rename the plugin if it reaches stage 4.

@nicolo-ribaudo
Copy link
Member

This reached consensus for stage 4.

The extra change proposed by @JLHwung did not reach consensus, as the proposal has already been implemented as-is and implementations didn't consider it to be worth the change at this point.

@JLHwung JLHwung force-pushed the add-modifiers-preset-env branch from 5e26e49 to edd0590 Compare October 8, 2024 13:32
@nicolo-ribaudo nicolo-ribaudo removed the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Oct 8, 2024
@@ -20,4 +20,5 @@ jobs:
Please run these commands:
```
npm deprecate @babel/plugin-proposal-duplicate-named-capturing-groups-regex "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-duplicate-named-capturing-groups-regex instead."
npm deprecate @babel/plugin-proposal-regexp-modifiers "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-regexp-modifiers instead."
Copy link
Member

Choose a reason for hiding this comment

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

Can you update the cronjob schedule to be at the end of november?

@@ -153,6 +155,7 @@ if (!process.env.BABEL_8_BREAKING) {
"bugfix/transform-safari-id-destructuring-collision-in-function-expression":
"7.16.0",
"bugfix/transform-v8-static-class-fields-redefine-readonly": "7.12.0",
"proposal-regexp-modifiers": "7.19.0",
Copy link
Member

Choose a reason for hiding this comment

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

Should this be transform-?

@nicolo-ribaudo nicolo-ribaudo changed the title Add regexp-modifiers to preset-env shipped proposals Add transform-regexp-modifiers to preset-env Oct 8, 2024
@JLHwung JLHwung force-pushed the add-modifiers-preset-env branch from 5b8fe89 to 0330695 Compare October 18, 2024 18:07
@JLHwung
Copy link
Contributor Author

JLHwung commented Oct 18, 2024

Rebased due to compat-data updates from Node 23 and Firefox 132.

Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

This needs another rebase

@nicolo-ribaudo nicolo-ribaudo added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Oct 23, 2024
@nicolo-ribaudo nicolo-ribaudo force-pushed the add-modifiers-preset-env branch from 0330695 to ba2c6db Compare October 23, 2024 14:23
@nicolo-ribaudo nicolo-ribaudo merged commit 816b293 into babel:main Oct 23, 2024
54 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the add-modifiers-preset-env branch October 23, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: preset-env PR: New Feature 🚀 A type of pull request used for our changelog categories PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants