-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/58206 |
04be1a0
to
a68c0cd
Compare
c68ede8
to
5e26e49
Compare
@JLHwung This is on the agenda for stage 4 at the TC39 meeting next week. |
Thanks. I will update this PR and rename the plugin if it reaches stage 4. |
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. |
5e26e49
to
edd0590
Compare
@@ -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." |
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.
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", |
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.
Should this be transform-?
regexp-modifiers
to preset-env
shipped proposalstransform-regexp-modifiers
to preset-env
5b8fe89
to
0330695
Compare
Rebased due to compat-data updates from Node 23 and Firefox 132. |
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.
This needs another rebase
0330695
to
ba2c6db
Compare
Added the
regexp-modifiers
plugin topreset-env
now that it just reaches Stage 4 in the TC39 Oct 2024 meeting.