Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
7.18.6
7.21.0
7.20.7
7.20.2
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
7.18.6
->7.21.0
7.18.6
->7.21.0
7.18.6
->7.20.7
7.18.6
->7.21.0
7.18.6
->7.20.2
7.18.6
->7.21.0
7.18.6
->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.7...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)) ### [`v7.20.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7207-2022-12-22) [Compare Source](https://togithub.com/babel/babel/compare/v7.19.3...v7.20.7) ##### :eyeglasses: Spec Compliance - `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#15223](https://togithub.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) - `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super` - [#15241](https://togithub.com/babel/babel/pull/15241) fix: Throw correct error types from sed ant class TDZ helpers ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) ##### :bug: Bug Fix - `babel-parser`, `babel-plugin-transform-typescript` - [#15209](https://togithub.com/babel/babel/pull/15209) fix: Support auto accessors with TypeScript annotations ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-traverse` - [#15287](https://togithub.com/babel/babel/pull/15287) Fix `.parentPath` after rename in `SwitchCase` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript`, `babel-traverse` - [#15284](https://togithub.com/babel/babel/pull/15284) fix: Ts import type and func with duplicate name ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-block-scoping` - [#15278](https://togithub.com/babel/babel/pull/15278) Fix tdz analysis for reassigned captured for bindings ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-async-generator-functions`, `babel-preset-env` - [#15235](https://togithub.com/babel/babel/pull/15235) fix: Transform `for await` with shadowed variables ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator`, `babel-plugin-proposal-optional-chaining` - [#15258](https://togithub.com/babel/babel/pull/15258) fix: Correctly generate `(a ?? b) as T` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-react-jsx`, `babel-types` - [#15233](https://togithub.com/babel/babel/pull/15233) fix: Emit correct sourcemap ranges for `JSXText` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-core`, `babel-helpers`, `babel-plugin-transform-computed-properties`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#15232](https://togithub.com/babel/babel/pull/15232) fix: Computed properties should keep original definition order ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) - `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#15223](https://togithub.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) - `babel-generator` - [#15216](https://togithub.com/babel/babel/pull/15216) fix: Print newlines for leading Comments of `TSEnumMember` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#15275](https://togithub.com/babel/babel/pull/15275) Improve relative execution tracking in fn exprs ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-define-map`, `babel-plugin-transform-property-mutators` - [#15274](https://togithub.com/babel/babel/pull/15274) Inline & simplify `@babel/helper-define-map` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-parameters`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-traverse` - [#15200](https://togithub.com/babel/babel/pull/15200) Rewrite `transform-block-scoping` plugin ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-helper-compilation-targets` - [#15228](https://togithub.com/babel/babel/pull/15228) perf: Speed up `getTargets` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.19.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7193-2022-09-27) [Compare Source](https://togithub.com/babel/babel/compare/v7.18.10...v7.19.3) ##### :bug: Bug Fix - `babel-plugin-proposal-decorators` - [#8566](https://togithub.com/babel/babel/pull/8566) Correctly update bindings of decorated class declarations ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#14974](https://togithub.com/babel/babel/pull/14974) fix: Normal parsing of `JSXText` following `JSXSpreadChild` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - [#14941](https://togithub.com/babel/babel/pull/14941) fix: Support local exports in TS `declare module`s ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - [#14940](https://togithub.com/babel/babel/pull/14940) fix: allow ts redeclaration with `import =` and `var` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator` - [#14962](https://togithub.com/babel/babel/pull/14962) Fix printing of Flow internal slot functions ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-cli` - [#14950](https://togithub.com/babel/babel/pull/14950) Emit `@babel/cli` source maps based on configuration files ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-typescript` - [#14946](https://togithub.com/babel/babel/pull/14946) fix: ts exported vars are shadowed by `declare` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-core` - [#14954](https://togithub.com/babel/babel/pull/14954) Optional filename when preset uses fn test/include/exclude ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-compilation-targets`, `babel-helper-transform-fixture-test-runner`, `babel-parser`, `babel-preset-env`, `babel-traverse` - [#14961](https://togithub.com/babel/babel/pull/14961) chore: use `c8` for coverage testing ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-plugin-transform-typescript` - [#14952](https://togithub.com/babel/babel/pull/14952) \[ts] remove nested `declare namespace` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.18.10`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v71810-2022-08-01) [Compare Source](https://togithub.com/babel/babel/compare/v7.18.9...v7.18.10) ##### :rocket: New Feature - `babel-helper-string-parser`, `babel-types` - [#14757](https://togithub.com/babel/babel/pull/14757) feat: Automatically generate `cooked` for `templateElement` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-parser` - [#14817](https://togithub.com/babel/babel/pull/14817) fix(parser): allow TS declare readonly fields with initializers ([@Josh-Cena](https://togithub.com/Josh-Cena)) - `babel-helper-string-parser`, `babel-parser` - [#14798](https://togithub.com/babel/babel/pull/14798) Fix position of errors in template literals after newlines ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript` - [#14774](https://togithub.com/babel/babel/pull/14774) fix: TS `declare class` in namespace should be removed ([@yimingjfe](https://togithub.com/yimingjfe)) - `babel-plugin-transform-react-jsx` - [#14759](https://togithub.com/babel/babel/pull/14759) fix: skip flattening spread object with **proto** ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator` - [#14762](https://togithub.com/babel/babel/pull/14762) fix: Types containing comments generate invalid code ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-wrap-function`, `babel-plugin-transform-async-to-generator`, `babel-traverse` - [#14752](https://togithub.com/babel/babel/pull/14752) Fix compiling async arrows in uncompiled class fields ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#14800](https://togithub.com/babel/babel/pull/14800) chore: Remove `.yarnrc` file ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - [#14802](https://togithub.com/babel/babel/pull/14802) chore: Fix coverage test ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - [#14671](https://togithub.com/babel/babel/pull/14671) feat: Make most `make` commands cross-platform ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - [#14790](https://togithub.com/babel/babel/pull/14790) enable typescript incremental builds ([@zxbodya](https://togithub.com/zxbodya)) - `babel-traverse` - [#14799](https://togithub.com/babel/babel/pull/14799) Restructure virtual types validator ([@JLHwung](https://togithub.com/JLHwung)) - `babel-cli` - [#14779](https://togithub.com/babel/babel/pull/14779) chore: expand prettier-e2e test and update typings/deps ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-parser` - [#14796](https://togithub.com/babel/babel/pull/14796) Make ParseError Much Simpler now that we can use TypeScript ([@tolmasky](https://togithub.com/tolmasky)) - `babel-core`, `babel-parser` - [#14785](https://togithub.com/babel/babel/pull/14785) chore: remove flow check scripts ([@JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-parser`, `babel-plugin-transform-unicode-escapes`, `babel-preset-env`, `babel-template`, `babel-traverse` - [#14783](https://togithub.com/babel/babel/pull/14783) Convert `@babel/parser` to TypeScript ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-string-parser`, `babel-parser` - [#14772](https://togithub.com/babel/babel/pull/14772) Extract string parsing to a separate package ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli`, `babel-node` - [#14765](https://togithub.com/babel/babel/pull/14765) Enforce type checking on `babel-{cli,node}` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-plugin-proposal-export-default-from` - [#14768](https://togithub.com/babel/babel/pull/14768) optimize: Simplify the `export-default-from` transform ([@magic-akari](https://togithub.com/magic-akari)) ### [`v7.18.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7189-2022-07-18) [Compare Source](https://togithub.com/babel/babel/compare/v7.18.6...v7.18.9) ##### :bug: Bug Fix - `babel-plugin-transform-modules-systemjs`, `babel-types` - [#14763](https://togithub.com/babel/babel/pull/14763) fix: allow exporting `TSDeclareFunction` as default ([@zxbodya](https://togithub.com/zxbodya)) - `babel-generator` - [#14758](https://togithub.com/babel/babel/pull/14758) fix: `returnType` with comments generates incorrect code ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-cli` - [#14748](https://togithub.com/babel/babel/pull/14748) Print a message when the watcher of `babel-cli` is ready. ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - `babel-core`, `babel-helper-remap-async-to-generator`, `babel-helpers`, `babel-parser`, `babel-plugin-transform-block-scoping`, `babel-preset-env` - [#13414](https://togithub.com/babel/babel/pull/13414) Prepare for compiling Babel to native ESM ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-helper-wrap-function`, `babel-helpers`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-traverse`, `babel-types` - [#14739](https://togithub.com/babel/babel/pull/14739) Provide better parentPath typings ([@JLHwung](https://togithub.com/JLHwung)) ##### :running_woman: Performance - `babel-generator` - [#14701](https://togithub.com/babel/babel/pull/14701) perf: Improve generator perf ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.