Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
7.20.2
7.21.3
7.18.6
7.19.6
7.19.4
7.21.0
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.20.2
->7.21.3
7.18.6
->7.21.3
7.19.6
->7.21.3
7.18.6
->7.20.2
7.19.4
->7.20.2
7.18.6
->7.21.0
Release Notes
babel/babel
### [`v7.21.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7213-2023-03-14) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.0...v7.21.3) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#15479](https://togithub.com/babel/babel/pull/15479) disallow mixins/implements in flow interface ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-parser` - [#15423](https://togithub.com/babel/babel/pull/15423) \[ts] Allow keywords in tuple labels ([@Harpica](https://togithub.com/Harpica)) - `babel-plugin-transform-typescript` - [#15489](https://togithub.com/babel/babel/pull/15489) Register `var` decls generated by `import ... =` TS transform ([@amoeller](https://togithub.com/amoeller)) - [#15494](https://togithub.com/babel/babel/pull/15494) fix: Consider `export { type foo }` as type-only usage ([@magic-akari](https://togithub.com/magic-akari)) ##### :nail_care: Polish - `babel-traverse`, `babel-types` - [#15484](https://togithub.com/babel/babel/pull/15484) Skip node deprecation warnings when used by an old `@babel` package ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#15480](https://togithub.com/babel/babel/pull/15480) chore: Improve `jsonCompatibleStrings` deprecation ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - [#15465](https://togithub.com/babel/babel/pull/15465) Add ESLint-readable package name ([@nzakas](https://togithub.com/nzakas)) ##### :microscope: Output optimization - `babel-plugin-transform-typescript`, `babel-preset-typescript` - [#15467](https://togithub.com/babel/babel/pull/15467) Optimize TS enums output ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`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)) ### [`v7.20.12`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72012-2023-01-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.7...v7.20.12) ##### :bug: Bug Fix - `babel-traverse` - [#15224](https://togithub.com/babel/babel/pull/15224) Fix `TaggedTemplateLiteral` evaluation ([@nmn](https://togithub.com/nmn)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties` - [#15312](https://togithub.com/babel/babel/pull/15312) fix: `delete this` in static class properties initialization ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) ##### :nail_care: Polish - `babel-traverse` - [#15313](https://togithub.com/babel/babel/pull/15313) Implement support for evaluating computed properties. ([@JBYoshi](https://togithub.com/JBYoshi)) ### [`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.20.5...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.20.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7205-2022-11-28) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.2...v7.20.5) ##### :eyeglasses: Spec Compliance - `babel-helpers`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-traverse` - [#15183](https://togithub.com/babel/babel/pull/15183) Improve array destructuring spec compliance ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) - `babel-cli`, `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-transform-classes`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#15182](https://togithub.com/babel/babel/pull/15182) fix: apply toPropertyKey when defining class members ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-private-property-in-object`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#15133](https://togithub.com/babel/babel/pull/15133) fix: validate rhs of `in` when transpiling `#p in C` ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-parser` - [#15225](https://togithub.com/babel/babel/pull/15225) Parse `using[foo]` as computed member expression ([@JLHwung](https://togithub.com/JLHwung)) - [#15207](https://togithub.com/babel/babel/pull/15207) Export `ParseResult` type ([@davydof](https://togithub.com/davydof)) - [#15198](https://togithub.com/babel/babel/pull/15198) fix: parse `import module, ...` ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-wrap-function`, `babel-preset-env`, `babel-traverse` - [#15181](https://togithub.com/babel/babel/pull/15181) fix: Edge cases for async functions and `noNewArrow` assumption ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-parameters`, `babel-traverse` - [#15163](https://togithub.com/babel/babel/pull/15163) fix: Throw error when compiling `super()` in arrow functions with default / rest parameters ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) - `babel-helpers`, `babel-node`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-transform-regenerator`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#15194](https://togithub.com/babel/babel/pull/15194) fix: Bump `regenerator` and add tests ([@SuperSodaSea](https://togithub.com/SuperSodaSea)) - `babel-helper-create-regexp-features-plugin` - [#15192](https://togithub.com/babel/babel/pull/15192) fix: Update `regjsparser` for `@babel/standalone` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-parser`, `babel-types` - [#15109](https://togithub.com/babel/babel/pull/15109) fix: Babel 8 types ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator` - [#15143](https://togithub.com/babel/babel/pull/15143) Don't print inner comments as leading when wrapping in `(``)` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#15167](https://togithub.com/babel/babel/pull/15167) Register `switch`'s `discriminant` in the outer scope ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-generator` - [#15173](https://togithub.com/babel/babel/pull/15173) Improve generator behavior when `comments:false` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-block-scoping` - [#15164](https://togithub.com/babel/babel/pull/15164) Only extract IDs for TDZ checks in assign when necessary ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-core`, `babel-parser` - [#15202](https://togithub.com/babel/babel/pull/15202) Bump typescript to 4.9.3 ([@JLHwung](https://togithub.com/JLHwung))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.