Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update babel to ^7.20.7 (main) (#148177)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/cli](https://babel.dev/docs/en/next/babel-cli) ([source](https://github.com/babel/babel)) | [`^7.19.3` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fcli/7.19.3/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fcli/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcli/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcli/7.20.7/compatibility-slim/7.19.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcli/7.20.7/confidence-slim/7.19.3)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/core](https://babel.dev/docs/en/next/babel-core) ([source](https://github.com/babel/babel)) | [`^7.20.5` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.5/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/generator](https://babel.dev/docs/en/next/babel-generator) ([source](https://github.com/babel/babel)) | [`^7.20.5` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fgenerator/7.20.5/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/parser](https://babel.dev/docs/en/next/babel-parser) ([source](https://github.com/babel/babel)) | [`^7.20.5` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fparser/7.20.5/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/plugin-proposal-object-rest-spread](https://babel.dev/docs/en/next/babel-plugin-proposal-object-rest-spread) ([source](https://github.com/babel/babel)) | [`^7.20.2` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fplugin-proposal-object-rest-spread/7.20.2/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-object-rest-spread/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-object-rest-spread/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-object-rest-spread/7.20.7/compatibility-slim/7.20.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-object-rest-spread/7.20.7/confidence-slim/7.20.2)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/plugin-proposal-optional-chaining](https://babel.dev/docs/en/next/babel-plugin-proposal-optional-chaining) ([source](https://github.com/babel/babel)) | [`^7.18.9` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fplugin-proposal-optional-chaining/7.18.9/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-optional-chaining/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-optional-chaining/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-optional-chaining/7.20.7/compatibility-slim/7.18.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fplugin-proposal-optional-chaining/7.20.7/confidence-slim/7.18.9)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime) ([source](https://github.com/babel/babel)) | [`^7.20.6` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.20.6/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.7/compatibility-slim/7.20.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.7/confidence-slim/7.20.6)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse) ([source](https://github.com/babel/babel)) | [`^7.20.5` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.20.5/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/types](https://babel.dev/docs/en/next/babel-types) ([source](https://github.com/babel/babel)) | [`^7.20.5` -> `^7.20.7`](https://renovatebot.com/diffs/npm/@babel%2ftypes/7.20.5/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>babel/babel (@​babel/cli)</summary> ### [`v7.20.7`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7207-2022-12-22) [Compare Source](https://github.com/babel/babel/compare/v7.19.3...v7.20.7) ##### 👓 Spec Compliance - `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#​15223](https://github.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super` - [#​15241](https://github.com/babel/babel/pull/15241) fix: Throw correct error types from sed ant class TDZ helpers ([@​SuperSodaSea](https://github.com/SuperSodaSea)) ##### 🐛 Bug Fix - `babel-parser`, `babel-plugin-transform-typescript` - [#​15209](https://github.com/babel/babel/pull/15209) fix: Support auto accessors with TypeScript annotations ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-traverse` - [#​15287](https://github.com/babel/babel/pull/15287) Fix `.parentPath` after rename in `SwitchCase` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript`, `babel-traverse` - [#​15284](https://github.com/babel/babel/pull/15284) fix: Ts import type and func with duplicate name ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-plugin-transform-block-scoping` - [#​15278](https://github.com/babel/babel/pull/15278) Fix tdz analysis for reassigned captured for bindings ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-plugin-proposal-async-generator-functions`, `babel-preset-env` - [#​15235](https://github.com/babel/babel/pull/15235) fix: Transform `for await` with shadowed variables ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-generator`, `babel-plugin-proposal-optional-chaining` - [#​15258](https://github.com/babel/babel/pull/15258) fix: Correctly generate `(a ?? b) as T` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-plugin-transform-react-jsx`, `babel-types` - [#​15233](https://github.com/babel/babel/pull/15233) fix: Emit correct sourcemap ranges for `JSXText` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-core`, `babel-helpers`, `babel-plugin-transform-computed-properties`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​15232](https://github.com/babel/babel/pull/15232) fix: Computed properties should keep original definition order ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#​15223](https://github.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - `babel-generator` - [#​15216](https://github.com/babel/babel/pull/15216) fix: Print newlines for leading Comments of `TSEnumMember` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### 💅 Polish - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#​15275](https://github.com/babel/babel/pull/15275) Improve relative execution tracking in fn exprs ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### 🏠 Internal - `babel-helper-define-map`, `babel-plugin-transform-property-mutators` - [#​15274](https://github.com/babel/babel/pull/15274) Inline & simplify `@babel/helper-define-map` ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15200) Rewrite `transform-block-scoping` plugin ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### 🏃♀️ Performance - `babel-helper-compilation-targets` - [#​15228](https://github.com/babel/babel/pull/15228) perf: Speed up `getTargets` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) </details> <details> <summary>babel/babel (@​babel/parser)</summary> ### [`v7.20.7`](https://github.com/babel/babel/releases/tag/v7.20.7) [Compare Source](https://github.com/babel/babel/compare/v7.20.5...v7.20.7) #### v7.20.7 (2022-12-22) Thanks [@​wsypower](https://github.com/wsypower) for your first PR! ##### 👓 Spec Compliance - `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#​15223](https://github.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super` - [#​15241](https://github.com/babel/babel/pull/15241) fix: Throw correct error types from sed ant class TDZ helpers ([@​SuperSodaSea](https://github.com/SuperSodaSea)) ##### 🐛 Bug Fix - `babel-parser`, `babel-plugin-transform-typescript` - [#​15209](https://github.com/babel/babel/pull/15209) fix: Support auto accessors with TypeScript annotations ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-traverse` - [#​15287](https://github.com/babel/babel/pull/15287) Fix `.parentPath` after rename in `SwitchCase` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript`, `babel-traverse` - [#​15284](https://github.com/babel/babel/pull/15284) fix: Ts import type and func with duplicate name ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-plugin-transform-block-scoping` - [#​15278](https://github.com/babel/babel/pull/15278) Fix tdz analysis for reassigned captured for bindings ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-plugin-proposal-async-generator-functions`, `babel-preset-env` - [#​15235](https://github.com/babel/babel/pull/15235) fix: Transform `for await` with shadowed variables ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-generator`, `babel-plugin-proposal-optional-chaining` - [#​15258](https://github.com/babel/babel/pull/15258) fix: Correctly generate `(a ?? b) as T` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-plugin-transform-react-jsx`, `babel-types` - [#​15233](https://github.com/babel/babel/pull/15233) fix: Emit correct sourcemap ranges for `JSXText` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-core`, `babel-helpers`, `babel-plugin-transform-computed-properties`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​15232](https://github.com/babel/babel/pull/15232) fix: Computed properties should keep original definition order ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#​15223](https://github.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - `babel-generator` - [#​15216](https://github.com/babel/babel/pull/15216) fix: Print newlines for leading Comments of `TSEnumMember` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### 💅 Polish - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#​15275](https://github.com/babel/babel/pull/15275) Improve relative execution tracking in fn exprs ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### 🏠 Internal - `babel-helper-define-map`, `babel-plugin-transform-property-mutators` - [#​15274](https://github.com/babel/babel/pull/15274) Inline & simplify `@babel/helper-define-map` ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15200) Rewrite `transform-block-scoping` plugin ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### 🏃♀️ Performance - `babel-helper-compilation-targets` - [#​15228](https://github.com/babel/babel/pull/15228) perf: Speed up `getTargets` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### Committers: 6 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - Tianlan Zhou ([@​SuperSodaSea](https://github.com/SuperSodaSea)) - [@​liuxingbaoyu](https://github.com/liuxingbaoyu) - 魏 ([@​wsypower](https://github.com/wsypower)) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: spalger <[email protected]>
- Loading branch information