Closed renovate[bot] closed 8 months ago
Latest commit: 4dedf4c1d4e7d87efd30e1be1772b3f425b5af97
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
~7.23.0
->~7.24.0
~7.23.0
->~7.24.0
Release Notes
babel/babel (@babel/core)
### [`v7.24.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7240-2024-02-28) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.9...v7.24.0) ##### :rocket: New Feature - `babel-standalone` - [#11696](https://togithub.com/babel/babel/pull/11696) Export babel tooling packages in `@babel/standalone` ([@ajihyf](https://togithub.com/ajihyf)) - `babel-core`, `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-transform-class-properties` - [#16267](https://togithub.com/babel/babel/pull/16267) Implement `noUninitializedPrivateFieldAccess` assumption ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-syntax-decorators`, `babel-plugin-transform-class-properties`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16242](https://togithub.com/babel/babel/pull/16242) Support decorator 2023-11 normative updates ([@JLHwung](https://togithub.com/JLHwung)) - `babel-preset-flow` - [#16309](https://togithub.com/babel/babel/pull/16309) \[babel 7] Allow setting `ignoreExtensions` in Flow preset ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16284](https://togithub.com/babel/babel/pull/16284) Add `experimental_useHermesParser` option in `preset-flow` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-import-to-platform-api`, `babel-plugin-proposal-import-wasm-source`, `babel-plugin-proposal-json-modules`, `babel-standalone` - [#16172](https://togithub.com/babel/babel/pull/16172) Add transform support for JSON modules imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-runtime` - [#16241](https://togithub.com/babel/babel/pull/16241) Add back `moduleName` option to `@babel/plugin-transform-runtime` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser`, `babel-types` - [#16277](https://togithub.com/babel/babel/pull/16277) Allow import attributes for `TSImportType` ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) ##### :bug: Bug Fix - `babel-plugin-proposal-do-expressions`, `babel-traverse` - [#16305](https://togithub.com/babel/babel/pull/16305) fix: avoid `popContext` on unvisited node paths ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object` - [#16312](https://togithub.com/babel/babel/pull/16312) Fix class private properties when `privateFieldsAsSymbols` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-private-methods` - [#16307](https://togithub.com/babel/babel/pull/16307) Fix the support of `arguments` in private `get/set` method ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators` - [#16287](https://togithub.com/babel/babel/pull/16287) Reduce decorator static property size ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16281](https://togithub.com/babel/babel/pull/16281) Fix evaluation order of decorators with cached receiver ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16279](https://togithub.com/babel/babel/pull/16279) Fix decorator this memoization ([@JLHwung](https://togithub.com/JLHwung)) - [#16266](https://togithub.com/babel/babel/pull/16266) Preserve `static` on decorated private `accessor` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16258](https://togithub.com/babel/babel/pull/16258) fix: handle decorated async private method and generator ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#16275](https://togithub.com/babel/babel/pull/16275) Fix class private properties when `privateFieldsAsProperties` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers` - [#16268](https://togithub.com/babel/babel/pull/16268) Do not consider `arguments` in a helper as a global reference ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#16270](https://togithub.com/babel/babel/pull/16270) Handle symbol key class elements decoration ([@JLHwung](https://togithub.com/JLHwung)) - [#16265](https://togithub.com/babel/babel/pull/16265) Do not define `access.get` for public setter decorators ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-core`, `babel-helper-create-class-features-plugin`, `babel-preset-env` - [#12428](https://togithub.com/babel/babel/pull/12428) Suggest using `BABEL_SHOW_CONFIG_FOR` for config problems ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-transform-fixture-test-runner` - [#16278](https://togithub.com/babel/babel/pull/16278) Continue writing `output.js` when `exec.js` throws ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16306](https://togithub.com/babel/babel/pull/16306) Avoid intermediate functions for private accessors with decs ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties` - [#16294](https://togithub.com/babel/babel/pull/16294) More aggressively inline decorators in the static block ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-transform-private-methods` - [#16283](https://togithub.com/babel/babel/pull/16283) Do not use `classPrivateMethodGet` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators` - [#16287](https://togithub.com/babel/babel/pull/16287) Reduce decorator static property size ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties` - [#16280](https://togithub.com/babel/babel/pull/16280) Reduce element decorator temp variables ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helper-fixtures`, `babel-helpers`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-optional-chaining-assign`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16261](https://togithub.com/babel/babel/pull/16261) Do not use descriptors for private class elements ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#16263](https://togithub.com/babel/babel/pull/16263) Reduce helper size for decorator 2023-11 ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.23.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7239-2024-01-25) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.7...v7.23.9) ##### :bug: Bug Fix - `babel-helper-transform-fixture-test-runner`, `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-systemjs`, `babel-preset-env` - [#16225](https://togithub.com/babel/babel/pull/16225) fix: `systemjs` re-traverses helpers ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16226](https://togithub.com/babel/babel/pull/16226) Improve decorated private method check ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-decorators`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#16224](https://togithub.com/babel/babel/pull/16224) Properly sort `core-js@3` imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#15383](https://togithub.com/babel/babel/pull/15383) fix: Don't throw in `getTypeAnnotation` when using TS+inference ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - Other - [#16210](https://togithub.com/babel/babel/pull/16210) \[eslint] Fix `no-use-before-define` for class ref in fields ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-core`, `babel-parser`, `babel-template` - [#16222](https://togithub.com/babel/babel/pull/16222) Migrate `eslint-parser` to cts ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-types` - [#16213](https://togithub.com/babel/babel/pull/16213) Remove `@babel/types` props that are not produced by the parser ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :running_woman: Performance - `babel-parser` - [#16072](https://togithub.com/babel/babel/pull/16072) perf: Improve parser performance for typescript ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-new-target`, `babel-plugin-transform-parameters`, `babel-plugin-transform-private-methods`, `babel-preset-env` - [#16218](https://togithub.com/babel/babel/pull/16218) Improve temporary variables for decorators ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#15959](https://togithub.com/babel/babel/pull/15959) Improve output of `using` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.23.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7237-2023-12-29) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.6...v7.23.7) ##### :bug: Bug Fix - `babel-traverse` - [#16191](https://togithub.com/babel/babel/pull/16191) fix: Crash when removing without `Program` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#16180](https://togithub.com/babel/babel/pull/16180) fix: Class decorator `ctx.kind` is wrong ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-proposal-decorators` - [#16170](https://togithub.com/babel/babel/pull/16170) Fix decorator initProto usage in derived classes ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core` - [#16167](https://togithub.com/babel/babel/pull/16167) Avoid unpreventable `unhandledRejection` events ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-create-class-features-plugin` - [#16186](https://togithub.com/babel/babel/pull/16186) chore: Update deps ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16177](https://togithub.com/babel/babel/pull/16177) Merge decorators into class features ([@JLHwung](https://togithub.com/JLHwung)) ### [`v7.23.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7236-2023-12-11) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.5...v7.23.6) ##### :eyeglasses: Spec Compliance - `babel-generator`, `babel-parser`, `babel-types` - [#16154](https://togithub.com/babel/babel/pull/16154) Remove `TSPropertySignature.initializer` ([@fisker](https://togithub.com/fisker)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-types` - [#16139](https://togithub.com/babel/babel/pull/16139) Apply `toPropertyKey` on decorator context name ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-generator` - [#16166](https://togithub.com/babel/babel/pull/16166) fix: Correctly indenting when `retainLines` is enabled ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management` - [#16150](https://togithub.com/babel/babel/pull/16150) `using`: Allow looking up `Symbol.dispose` on a function ([@odinho](https://togithub.com/odinho)) - `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties` - [#16161](https://togithub.com/babel/babel/pull/16161) Ensure the `[[@@toPrimitive]]` call of a decorated class member key is invoked once ([@JLHwung](https://togithub.com/JLHwung)) - [#16148](https://togithub.com/babel/babel/pull/16148) Support named evaluation for decorated anonymous class exp ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-for-of`, `babel-preset-env` - [#16011](https://togithub.com/babel/babel/pull/16011) fix: `for of` with `iterableIsArray` and shadowing variable ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16144](https://togithub.com/babel/babel/pull/16144) Set function name for decorated private non-field elements ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-typescript` - [#16137](https://togithub.com/babel/babel/pull/16137) Fix references to enum values with merging ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties` - [#16159](https://togithub.com/babel/babel/pull/16159) Reuse computed key memoiser ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#16160](https://togithub.com/babel/babel/pull/16160) Optimize decorator helper size ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.23.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7235-2023-11-29) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.3...v7.23.5) ##### :eyeglasses: Spec Compliance - `babel-plugin-proposal-decorators` - [#16138](https://togithub.com/babel/babel/pull/16138) Class binding is in TDZ during decorators initialization ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#16132](https://togithub.com/babel/babel/pull/16132) Allow addInitializer in field decorator context ([@JLHwung](https://togithub.com/JLHwung)) ##### :rocket: New Feature - [#16023](https://togithub.com/babel/babel/pull/16023) Add `@babel/eslint-plugin/no-undef` for accessor props ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-traverse`, `babel-types` - [#16131](https://togithub.com/babel/babel/pull/16131) Do not remove bindings when removing assignment expression path ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-classes` - [#16135](https://togithub.com/babel/babel/pull/16135) Require class properties transform when compiling class with private fields ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#16122](https://togithub.com/babel/babel/pull/16122) fix: Missing parentheses after line break ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers` - [#16130](https://togithub.com/babel/babel/pull/16130) Fix helpers internal fns names conflict resolution ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-typescript` - [#16123](https://togithub.com/babel/babel/pull/16123) Simplify class fields injetion after `super()` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-parameters`, `babel-plugin-transform-typescript`, `babel-traverse` - [#16110](https://togithub.com/babel/babel/pull/16110) fix: Unexpected duplication of comments ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-helpers` - [#16129](https://togithub.com/babel/babel/pull/16129) Optimize `decorator` helper size ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.23.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7233-2023-11-09) [Compare Source](https://togithub.com/babel/babel/compare/@babel/core@7.23.2...v7.23.3) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#16071](https://togithub.com/babel/babel/pull/16071) Strip type-only TS namespaces ([@colinaaa](https://togithub.com/colinaaa)) - `babel-generator` - [#16078](https://togithub.com/babel/babel/pull/16078) Fix indentation when generating comments with `concise: true` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-compat-data`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-preset-env` - [#14295](https://togithub.com/babel/babel/pull/14295) Add a bugfix plugin for https://crbug.com/v8/12421 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-object-super` - [#15948](https://togithub.com/babel/babel/pull/15948) fix: `super.x` in a loop ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#16015](https://togithub.com/babel/babel/pull/16015) fix: handle `__proto__` exports name in CJS/AMD/UMD ([@magic-akari](https://togithub.com/magic-akari)) ##### :memo: Documentation - [#16044](https://togithub.com/babel/babel/pull/16044) docs: Update links in [@babel/eslint-parser](https://togithub.com/babel/eslint-parser) README ([@aryehb](https://togithub.com/aryehb)) ##### :house: Internal - `babel-core`, `babel-preset-env` - [#15988](https://togithub.com/babel/babel/pull/15988) Refactor handling of modules plugins in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-generator` - [#16061](https://togithub.com/babel/babel/pull/16061) perf: Improve `@babel/generator` performance ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-traverse` - [#16060](https://togithub.com/babel/babel/pull/16060) Avoid dynamic dispatch when calling wrapCheck ([@yepitschunked](https://togithub.com/yepitschunked)) ##### :microscope: Output optimization - `babel-plugin-transform-computed-properties` - [#6652](https://togithub.com/babel/babel/pull/6652) Optimize computed properties output (byte-wise) ([@Andarist](https://togithub.com/Andarist)) ### [`v7.23.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7232-2023-10-11) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.0...@babel/core@7.23.2) ##### :bug: Bug Fix - `babel-traverse` - [#16033](https://togithub.com/babel/babel/pull/16033) Only evaluate own String/Number/Math methods ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-preset-typescript` - [#16022](https://togithub.com/babel/babel/pull/16022) Rewrite `.tsx` extension when using `rewriteImportExtensions` ([@jimmydief](https://togithub.com/jimmydief)) - `babel-helpers` - [#16017](https://togithub.com/babel/babel/pull/16017) Fix: fallback to typeof when toString is applied to incompatible object ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-modules-commonjs`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16025](https://togithub.com/babel/babel/pull/16025) Avoid override mistake in namespace imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.