babel/babel
### [`v7.21.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7210-2023-02-20)
[Compare Source](https://togithub.com/babel/babel/compare/v7.20.12...v7.21.0)
##### :rocket: New Feature
- `babel-core`, `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`
- [#15435](https://togithub.com/babel/babel/pull/15435) feat: Implement `privateFieldsAsSymbols` assumption for classes ([@fwienber](https://togithub.com/fwienber))
- `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-regexp-modifiers`, `babel-standalone`
- [#15226](https://togithub.com/babel/babel/pull/15226) feat: Support regexp modifiers proposal ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-cli`, `babel-core`, `babel-generator`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-jsx`, `babel-traverse`
- [#15022](https://togithub.com/babel/babel/pull/15022) feat: Generate sourcemaps of friendly call frames ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-parser`, `babel-types`
- [#15384](https://togithub.com/babel/babel/pull/15384) \[ts] Support `const` modifier in type parameters ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-generator`, `babel-helpers`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-decorators`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#15405](https://togithub.com/babel/babel/pull/15405) Implement decorators as presented at `2023-01` TC39 meeting ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-parser`
- [#15114](https://togithub.com/babel/babel/pull/15114) Parser option to allow `new.target` outside functions ([@overlookmotel](https://togithub.com/overlookmotel))
- [#15320](https://togithub.com/babel/babel/pull/15320) Add `annexb: false` parser option to disable Annex B ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`
- [#15283](https://togithub.com/babel/babel/pull/15283) feat: Support `.cts` as configuration file ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-generator`, `babel-parser`, `babel-plugin-transform-typescript`
- [#15381](https://togithub.com/babel/babel/pull/15381) \[ts] Support `export type * from` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :bug: Bug Fix
- `babel-plugin-transform-typescript`
- [#15379](https://togithub.com/babel/babel/pull/15379) \[ts5.0] Better inlining of constants in enums ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-core`
- [#15366](https://togithub.com/babel/babel/pull/15366) handling circular/shared structures in deep-clone ([@azizghuloum](https://togithub.com/azizghuloum))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-private-methods`, `babel-plugin-transform-classes`, `babel-plugin-transform-new-target`
- [#15406](https://togithub.com/babel/babel/pull/15406) Preserve class elements comments in class transform ([@JLHwung](https://togithub.com/JLHwung))
- `babel-parser`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-types`
- [#15414](https://togithub.com/babel/babel/pull/15414) \[ts] Fix restrictions for optional parameters ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-parser`
- [#15400](https://togithub.com/babel/babel/pull/15400) polish: improve "`await` as identifier" error in modules ([@JLHwung](https://togithub.com/JLHwung))
##### :house: Internal
- `babel-core`
- [#15137](https://togithub.com/babel/babel/pull/15137) Improve CJS compat with ESM-based `@babel/core` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :microscope: Output optimization
- `babel-plugin-transform-typescript`
- [#15418](https://togithub.com/babel/babel/pull/15418) \[ts] Handle exponentiation operator in constant folding ([@ehoogeveen-medweb](https://togithub.com/ehoogeveen-medweb))
Configuration
📅 Schedule: Branch creation - "after 12am and before 5am every weekday,every weekend" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^7.20.12
->^7.21.0
Release Notes
babel/babel
### [`v7.21.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7210-2023-02-20) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.12...v7.21.0) ##### :rocket: New Feature - `babel-core`, `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object` - [#15435](https://togithub.com/babel/babel/pull/15435) feat: Implement `privateFieldsAsSymbols` assumption for classes ([@fwienber](https://togithub.com/fwienber)) - `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-regexp-modifiers`, `babel-standalone` - [#15226](https://togithub.com/babel/babel/pull/15226) feat: Support regexp modifiers proposal ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-cli`, `babel-core`, `babel-generator`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-jsx`, `babel-traverse` - [#15022](https://togithub.com/babel/babel/pull/15022) feat: Generate sourcemaps of friendly call frames ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-parser`, `babel-types` - [#15384](https://togithub.com/babel/babel/pull/15384) \[ts] Support `const` modifier in type parameters ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-helpers`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-decorators`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#15405](https://togithub.com/babel/babel/pull/15405) Implement decorators as presented at `2023-01` TC39 meeting ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#15114](https://togithub.com/babel/babel/pull/15114) Parser option to allow `new.target` outside functions ([@overlookmotel](https://togithub.com/overlookmotel)) - [#15320](https://togithub.com/babel/babel/pull/15320) Add `annexb: false` parser option to disable Annex B ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#15283](https://togithub.com/babel/babel/pull/15283) feat: Support `.cts` as configuration file ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator`, `babel-parser`, `babel-plugin-transform-typescript` - [#15381](https://togithub.com/babel/babel/pull/15381) \[ts] Support `export type * from` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#15379](https://togithub.com/babel/babel/pull/15379) \[ts5.0] Better inlining of constants in enums ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-core` - [#15366](https://togithub.com/babel/babel/pull/15366) handling circular/shared structures in deep-clone ([@azizghuloum](https://togithub.com/azizghuloum)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-private-methods`, `babel-plugin-transform-classes`, `babel-plugin-transform-new-target` - [#15406](https://togithub.com/babel/babel/pull/15406) Preserve class elements comments in class transform ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-types` - [#15414](https://togithub.com/babel/babel/pull/15414) \[ts] Fix restrictions for optional parameters ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-parser` - [#15400](https://togithub.com/babel/babel/pull/15400) polish: improve "`await` as identifier" error in modules ([@JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - `babel-core` - [#15137](https://togithub.com/babel/babel/pull/15137) Improve CJS compat with ESM-based `@babel/core` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-plugin-transform-typescript` - [#15418](https://togithub.com/babel/babel/pull/15418) \[ts] Handle exponentiation operator in constant folding ([@ehoogeveen-medweb](https://togithub.com/ehoogeveen-medweb))Configuration
📅 Schedule: Branch creation - "after 12am and before 5am every weekday,every weekend" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.