Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @babel/traverse to ~7.23.0 [security] (c…
…arbon-design-system#11042) [![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/traverse](https://babel.dev/docs/en/next/babel-traverse) ([source](https://togithub.com/babel/babel)) | [`~7.12.0` -> `~7.23.0`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.12.17/7.23.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftraverse/7.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftraverse/7.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftraverse/7.12.17/7.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftraverse/7.12.17/7.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | ### GitHub Vulnerability Alerts #### [CVE-2023-45133](https://togithub.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92) ### Impact Using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the `path.evaluate()`or `path.evaluateTruthy()` internal Babel methods. Known affected plugins are: - `@babel/plugin-transform-runtime` - `@babel/preset-env` when using its [`useBuiltIns`](https://babeljs.io/docs/babel-preset-env#usebuiltins) option - Any "polyfill provider" plugin that depends on `@babel/helper-define-polyfill-provider`, such as `babel-plugin-polyfill-corejs3`, `babel-plugin-polyfill-corejs2`, `babel-plugin-polyfill-es-shims`, `babel-plugin-polyfill-regenerator` No other plugins under the `@babel/` namespace are impacted, but third-party plugins might be. **Users that only compile trusted code are not impacted.** ### Patches The vulnerability has been fixed in `@babel/[email protected]`. Babel 6 does not receive security fixes anymore (see [Babel's security policy](https://togithub.com/babel/babel/security/policy)), hence there is no patch planned for `babel-traverse@6`. ### Workarounds - Upgrade `@babel/traverse` to v7.23.2 or higher. You can do this by deleting it from your package manager's lockfile and re-installing the dependencies. `@babel/core` >=7.23.2 will automatically pull in a non-vulnerable version. - If you cannot upgrade `@babel/traverse` and are using one of the affected packages mentioned above, upgrade them to their latest version to avoid triggering the vulnerable code path in affected `@babel/traverse` versions: - `@babel/plugin-transform-runtime` v7.23.2 - `@babel/preset-env` v7.23.2 - `@babel/helper-define-polyfill-provider` v0.4.3 - `babel-plugin-polyfill-corejs2` v0.4.6 - `babel-plugin-polyfill-corejs3` v0.8.5 - `babel-plugin-polyfill-es-shims` v0.10.0 - `babel-plugin-polyfill-regenerator` v0.5.3 --- ### Release Notes <details> <summary>babel/babel (@​babel/traverse)</summary> ### [`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...v7.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)) ### [`v7.23.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7230-2023-09-25) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.20...v7.23.0) ##### :rocket: New Feature - `babel-plugin-proposal-import-wasm-source`, `babel-plugin-syntax-import-source`, `babel-plugin-transform-dynamic-import` - [#​15870](https://togithub.com/babel/babel/pull/15870) Support transforming `import source` for wasm ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-module-transforms`, `babel-helpers`, `babel-plugin-proposal-import-defer`, `babel-plugin-syntax-import-defer`, `babel-plugin-transform-modules-commonjs`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-standalone` - [#​15878](https://togithub.com/babel/babel/pull/15878) Implement `import defer` proposal transform support ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-types` - [#​15845](https://togithub.com/babel/babel/pull/15845) Implement `import defer` parsing support ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​15829](https://togithub.com/babel/babel/pull/15829) Add parsing support for the "source phase imports" proposal ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-traverse`, `babel-types` - [#​15682](https://togithub.com/babel/babel/pull/15682) Add `createImportExpressions` parser option ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-standalone` - [#​15671](https://togithub.com/babel/babel/pull/15671) Pass through nonce to the transformed script element ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-function-name`, `babel-helper-member-expression-to-functions`, `babel-helpers`, `babel-parser`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-optional-chaining-assign`, `babel-plugin-syntax-optional-chaining-assign`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`, `babel-types` - [#​15751](https://togithub.com/babel/babel/pull/15751) Add support for optional chain in assignments ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#​15895](https://togithub.com/babel/babel/pull/15895) Implement the "decorator metadata" proposal ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse`, `babel-types` - [#​15893](https://togithub.com/babel/babel/pull/15893) Add `t.buildUndefinedNode` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-preset-typescript` - [#​15913](https://togithub.com/babel/babel/pull/15913) Add `rewriteImportExtensions` option to TS preset ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#​15896](https://togithub.com/babel/babel/pull/15896) Allow TS tuples to have both labeled and unlabeled elements ([@​yukukotani](https://togithub.com/yukukotani)) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#​15962](https://togithub.com/babel/babel/pull/15962) fix: `transform-block-scoping` captures the variables of the method in the loop ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-traverse` - [#​15797](https://togithub.com/babel/babel/pull/15797) Expand evaluation of global built-ins in `@babel/traverse` ([@​lorenzoferre](https://togithub.com/lorenzoferre)) - `babel-plugin-proposal-explicit-resource-management` - [#​15985](https://togithub.com/babel/babel/pull/15985) Improve source maps for blocks with `using` declarations ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-core`, `babel-helper-module-transforms`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-classes`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#​15984](https://togithub.com/babel/babel/pull/15984) Inline `exports.XXX =` update in simple variable declarations ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.20`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72220-2023-09-16) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.19...v7.22.20) ##### :house: Internal - `babel-helper-validator-identifier` - [#​15973](https://togithub.com/babel/babel/pull/15973) Remove special-casing of U+200C and U+200D ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-dotall-regex` - [#​15974](https://togithub.com/babel/babel/pull/15974) Update Unicode test fixtures ([@​JLHwung](https://togithub.com/JLHwung)) ##### :leftwards_arrow_with_hook: Revert - `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-function-sent`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#​15979](https://togithub.com/babel/babel/pull/15979) Revert "Improve output when wrapping functions" ([@​jjonescz](https://togithub.com/jjonescz)) ### [`v7.22.19`](https://togithub.com/babel/babel/releases/tag/v7.22.19) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.18...v7.22.19) #### v7.22.19 (2023-09-14) Re-published 7.22.18, due to a releasing error. ### [`v7.22.18`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72218-2023-09-14) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.17...v7.22.18) ##### :bug: Bug Fix - `babel-helper-validator-identifier` - [#​15957](https://togithub.com/babel/babel/pull/15957) Update identifier name definitions to Unicode 15.1 ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#​15898](https://togithub.com/babel/babel/pull/15898) Fix transform of named import with shadowed namespace import ([@​dhlolo](https://togithub.com/dhlolo)) ##### :leftwards_arrow_with_hook: Revert - [#​15965](https://togithub.com/babel/babel/pull/15965) Revert Node.js 20.6.0 bug workaround ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.17`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72217-2023-09-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.15...v7.22.17) ##### :bug: Bug Fix - `babel-core` - [#​15947](https://togithub.com/babel/babel/pull/15947) Fix compatibility with Node.js 20.6 ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#​15941](https://togithub.com/babel/babel/pull/15941) Fix compiling duplicate ns imports to lazy CommonJS ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-types` - [#​15920](https://togithub.com/babel/babel/pull/15920) Make `ClassDeclaration["id"]` optional in babel-types ([@​jordanbtucker](https://togithub.com/jordanbtucker)) ##### :microscope: Output optimization - `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-function-sent`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#​15922](https://togithub.com/babel/babel/pull/15922) Improve output when wrapping functions (e.g. `async` functions) ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.22.15`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.11...v7.22.15) ##### :bug: Bug Fix - `babel-core` - [#​15923](https://togithub.com/babel/babel/pull/15923) Only perform config loading re-entrancy check for cjs ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-builder-binary-assignment-operator-visitor`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-module-imports`, `babel-helper-module-transforms`, `babel-helper-transform-fixture-test-runner`, `babel-helper-validator-identifier`, `babel-helper-validator-option`, `babel-helpers`, `babel-node`, `babel-parser`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-for-of`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-parameters`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`, `babel-register`, `babel-standalone`, `babel-template`, `babel-traverse`, `babel-types` - [#​15892](https://togithub.com/babel/babel/pull/15892) Add explicit `.ts`/`.js` extension to all imports in `src` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.11`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72211-2023-08-24) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.10...v7.22.11) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#​15882](https://togithub.com/babel/babel/pull/15882) Fix: fully remove TS nested type-only exported namespaces ([@​yangguansen](https://togithub.com/yangguansen)) - `babel-types` - [#​15867](https://togithub.com/babel/babel/pull/15867) fix: definition of TS function type params ([@​danez](https://togithub.com/danez)) - `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-export-namespace-from`, `babel-plugin-transform-json-strings`, `babel-plugin-transform-logical-assignment-operators`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-numeric-separator`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-catch-binding`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-property-in-object` - [#​15858](https://togithub.com/babel/babel/pull/15858) fix(standalone): strip archived syntax plugins ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-core` - [#​15850](https://togithub.com/babel/babel/pull/15850) Support configuring cache in ESM configs ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-parser` - [#​10940](https://togithub.com/babel/babel/pull/10940) Do not record trailing comma pos when `maybeAsyncArrow: false` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-helper-compilation-targets`, `babel-parser`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-syntax-decorators`, `babel-preset-env`, `babel-preset-react`, `babel-register`, `babel-traverse`, `babel-types` - [#​15872](https://togithub.com/babel/babel/pull/15872) enable jest/no-standalone-expect ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-helpers`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-regenerator`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​15833](https://togithub.com/babel/babel/pull/15833) bump json5, terser and webpack, further minimize babel helpers ([@​JLHwung](https://togithub.com/JLHwung)) - Other - [#​15846](https://togithub.com/babel/babel/pull/15846) Use Babel 8.0 alpha to build babel ([@​JLHwung](https://togithub.com/JLHwung)) - [#​15856](https://togithub.com/babel/babel/pull/15856) Exclude redundant files from publish process ([@​JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-optional-chaining`, `babel-preset-env` - [#​15871](https://togithub.com/babel/babel/pull/15871) Simplify `?.` output when chain result is ignored ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.10`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72210-2023-08-07) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.8...v7.22.10) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#​15799](https://togithub.com/babel/babel/pull/15799) \[ts] Strip type-only namespaces ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​15798](https://togithub.com/babel/babel/pull/15798) \[ts] Fix compiling extended exported nested namespace ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-new-target`, `babel-plugin-transform-private-methods`, `babel-preset-env` - [#​15701](https://togithub.com/babel/babel/pull/15701) Memoize class binding when compiling private methods and static elements ([@​JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-cli` - [#​15824](https://togithub.com/babel/babel/pull/15824) Add `meta` object to `@babel/eslint-plugin` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-traverse`, `babel-types` - [#​15661](https://togithub.com/babel/babel/pull/15661) Improve the type definition of `path.isX` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator`, `babel-types` - [#​15776](https://togithub.com/babel/babel/pull/15776) improve SourceLocation typing ([@​JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - Other - [#​15818](https://togithub.com/babel/babel/pull/15818) build: generate flow typings in prepublish job ([@​JLHwung](https://togithub.com/JLHwung)) - [#​15777](https://togithub.com/babel/babel/pull/15777) chore: bump dev dependencies and remove .eslintignore ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-builder-react-jsx`, `babel-preset-env`, `babel-standalone` - [#​15794](https://togithub.com/babel/babel/pull/15794) Enable `@typescript-eslint/no-redundant-type-constituents` rule ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-compilation-targets` - [#​15811](https://togithub.com/babel/babel/pull/15811) Remove `@babel/core` peerDep from `helper-compilation-targets` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#​15793](https://togithub.com/babel/babel/pull/15793) Use const enum in babel-parser ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-runtime`, `babel-traverse`, `babel-types` - [#​15716](https://togithub.com/babel/babel/pull/15716) chore: Use `typescript-eslint@v6` with reworked configs ([@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg)) ##### :microscope: Output optimization - `babel-plugin-transform-block-scoping`, `babel-plugin-transform-parameters`, `babel-plugin-transform-regenerator` - [#​15746](https://togithub.com/babel/babel/pull/15746) Reduce `transform-block-scoping` loops output size ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.22.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7228-2023-07-06) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.7...v7.22.8) ##### :leftwards_arrow_with_hook: Revert - `babel-core`, `babel-traverse` - [#​15754](https://togithub.com/babel/babel/pull/15754) Revert "Use `NodePath#hub` as part of the paths cache key" ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7227-2023-07-06) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.6...v7.22.7) ##### :bug: Bug Fix - `babel-generator` - [#​15719](https://togithub.com/babel/babel/pull/15719) fix: Avoid internally generating negative source maps columns ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-core`, `babel-traverse` - [#​15725](https://togithub.com/babel/babel/pull/15725) Use `NodePath#hub` as part of the paths cache key ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Other - [#​15747](https://togithub.com/babel/babel/pull/15747) fix: export `meta` from `eslint-parser/experimental-worker` ([@​JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - `babel-core`, `babel-traverse` - [#​15702](https://togithub.com/babel/babel/pull/15702) Refactor visitors merging ([@​nullableVoidPtr](https://togithub.com/nullableVoidPtr)) ### [`v7.22.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7226-2023-07-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.5...v7.22.6) ##### :bug: Bug Fix - `babel-compat-data`, `babel-helper-compilation-targets`, `babel-preset-env` - [#​15727](https://togithub.com/babel/babel/pull/15727) Add opera mobile compat data ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-optional-chaining` - [#​15739](https://togithub.com/babel/babel/pull/15739) Fix transform of `delete a?.b` in function params ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-split-export-declaration`, `babel-plugin-transform-modules-commonjs` - [#​15736](https://togithub.com/babel/babel/pull/15736) fix: Default export for duplicate names ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-compat-data`, `babel-preset-env` - [#​15726](https://togithub.com/babel/babel/pull/15726) update compat-data sources ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3`, `babel-runtime` - [#​15705](https://togithub.com/babel/babel/pull/15705) Fix handling of sync error in `@@​asyncDispose` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-standalone` - [#​15707](https://togithub.com/babel/babel/pull/15707) fix: Support transforming Explicit Resource Management in `stage-2` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-core` - [#​15626](https://togithub.com/babel/babel/pull/15626) fix: Works correctly with `--frozen-intrinsics` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-classes` - [#​15700](https://togithub.com/babel/babel/pull/15700) Minor class transform cleanups ([@​JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-typescript` - [#​15740](https://togithub.com/babel/babel/pull/15740) Compress output for optional chain with multiple `?.` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-property-in-object`, `babel-traverse` - [#​15741](https://togithub.com/babel/babel/pull/15741) Inject tmp vars in the params list of IIFEs when possible ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.4...v7.22.5) ##### :bug: Bug Fix - `babel-preset-env`, `babel-standalone` - [#​15675](https://togithub.com/babel/babel/pull/15675) Fix using `syntax-unicode-sets-regex` in standalone ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-core` - [#​15683](https://togithub.com/babel/babel/pull/15683) Suggest `-transform-` when resolving missing plugins ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7224-2023-05-29) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.1...v7.22.4) ##### :bug: Bug Fix - `babel-traverse` - [#​15649](https://togithub.com/babel/babel/pull/15649) Set `shorthand: false` when renaming an identifier inside an object property ([@​coderaiser](https://togithub.com/coderaiser)) ##### :house: Internal - `babel-types` - [#​15666](https://togithub.com/babel/babel/pull/15666) Add missing `attributes`/`assertions` to `VISITOR_KEYS` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#​15667](https://togithub.com/babel/babel/pull/15667) Mark `assert` attributes with `extra.deprecatedAssertSyntax` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72218-2023-09-14) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.0...v7.22.1) ##### :bug: Bug Fix - `babel-helper-validator-identifier` - [#​15957](https://togithub.com/babel/babel/pull/15957) Update identifier name definitions to Unicode 15.1 ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#​15898](https://togithub.com/babel/babel/pull/15898) Fix transform of named import with shadowed namespace import ([@​dhlolo](https://togithub.com/dhlolo)) ##### :leftwards_arrow_with_hook: Revert - [#​15965](https://togithub.com/babel/babel/pull/15965) Revert Node.js 20.6.0 bug workaround ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7220-2023-05-26) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.5...v7.22.0) ##### :rocket: New Feature - `babel-parser`, `babel-plugin-transform-typescript` - [#​15497](https://togithub.com/babel/babel/pull/15497) \[ts] Support `import ... =` and `export =` in scripts ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-core`, `babel-plugin-proposal-unicode-sets-regex`, `babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`, `babel-standalone` - [#​15636](https://togithub.com/babel/babel/pull/15636) Add `unicode-sets-regex` transform to `preset-env` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-standalone` - [#​15633](https://togithub.com/babel/babel/pull/15633) Implement transform support for `using` declarations ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-import-attributes-to-assertions` - [#​15620](https://togithub.com/babel/babel/pull/15620) Create `@babel/plugin-proposal-import-attributes-to-assertions` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-import-attributes`, `babel-preset-env`, `babel-standalone`, `babel-types` - [#​15536](https://togithub.com/babel/babel/pull/15536) Add support for the updated import attributes proposal ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-traverse`, `babel-types` - [#​15520](https://togithub.com/babel/babel/pull/15520) Parse `await using` declarations ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-helper-create-regexp-features-plugin`, `babel-parser` - [#​15638](https://togithub.com/babel/babel/pull/15638) Enable regexp unicode sets parsing by default ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-decorators`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​15570](https://togithub.com/babel/babel/pull/15570) Add decorators version `2023-05` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-jsx`, `babel-traverse`, `babel-types` - [#​15549](https://togithub.com/babel/babel/pull/15549) Improve type definitions for validators ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - `babel-parser` - [#​15630](https://togithub.com/babel/babel/pull/15630) Unify parsing of import/export modifiers (type/typeof/module) ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-helper-transform-fixture-test-runner`, `babel-node`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs3` - [#​15531](https://togithub.com/babel/babel/pull/15531) Allow polyfill providers to specify custom `@babel/runtime` pkg ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-dynamic-import`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-json-strings`, `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-nullish-coalescing-operator`, `babel-plugin-proposal-numeric-separator`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-proposal-optional-catch-binding`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`, `babel-plugin-proposal-unicode-property-regex`, `babel-preset-env`, `babel-standalone` - [#​15614](https://togithub.com/babel/babel/pull/15614) Rename `-proposal-`s that became standard to `-transform-` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.21.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7215-2023-04-28) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.4...v7.21.5) ##### :eyeglasses: Spec Compliance - `babel-generator`, `babel-parser`, `babel-types` - [#​15539](https://togithub.com/babel/babel/pull/15539) fix: Remove `mixins` and `implements` for `DeclareInterface` and `InterfaceDeclaration` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-core`, `babel-generator`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-jsx` - [#​15515](https://togithub.com/babel/babel/pull/15515) fix: `)` position with `createParenthesizedExpressions` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-preset-env` - [#​15580](https://togithub.com/babel/babel/pull/15580) Add syntax import meta to preset env ([@​JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-types` - [#​15546](https://togithub.com/babel/babel/pull/15546) Improve the layout of generated validators ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-core` - [#​15535](https://togithub.com/babel/babel/pull/15535) Use `lt` instead of `lte` to check TS version for .cts config ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-core` - [#​15575](https://togithub.com/babel/babel/pull/15575) Use synchronous `import.meta.resolve` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-fixtures`, `babel-preset-typescript` - [#​15568](https://togithub.com/babel/babel/pull/15568) Handle `.overrides` and `.env` when resolving plugins/presets from fixture options ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin` - [#​15548](https://togithub.com/babel/babel/pull/15548) Use `semver` package to compare versions ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.21.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7214-2023-03-31) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.3...v7.21.4) ##### :bug: Bug Fix - `babel-core`, `babel-helper-module-imports`, `babel-preset-typescript` - [#​15478](https://togithub.com/babel/babel/pull/15478) Fix support for `import/export` in `.cts` files ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator` - [#​15496](https://togithub.com/babel/babel/pull/15496) Fix compact printing of non-null assertion operators ([@​rtsao](https://togithub.com/rtsao)) ##### :nail_care: Polish - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-typescript`, `babel-traverse` - [#​15427](https://togithub.com/babel/babel/pull/15427) Fix moving comments of removed nodes ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#​15519](https://togithub.com/babel/babel/pull/15519) Update Prettier integration test ([@​fisker](https://togithub.com/fisker)) - `babel-parser` - [#​15510](https://togithub.com/babel/babel/pull/15510) refactor: introduce `lookaheadInLineCharCode` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-code-frame`, `babel-highlight` - [#​15499](https://togithub.com/babel/babel/pull/15499) Polish babel-code-frame highlight test ([@​JLHwung](https://togithub.com/JLHwung)) ### [`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.2...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.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7212-2023-02-23) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.0...v7.21.2) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#​15439](https://togithub.com/babel/babel/pull/15439) fix: Throws on `new foo?.bar!()` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-traverse`, `babel-types` - [#​15448](https://togithub.com/babel/babel/pull/15448) Reduce warnings for deprecated node aliases ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-types` - [#​15451](https://togithub.com/babel/babel/pull/15451) Update babel-types docs generator ([@​JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#​15449](https://togithub.com/babel/babel/pull/15449) Avoid unnecessary code for unused lazy imports ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`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.13...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.13`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72013-2023-01-21) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.12...v7.20.13) ##### :bug: Bug Fix - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​15332](https://togithub.com/babel/babel/pull/15332) Ensure class decorators can access decorated non-static members ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-typescript` - [#​15349](https://togithub.com/babel/babel/pull/15349) fix: Preserve `import {type T} from 'x'` when `onlyRemoveTypeImports:true` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - [#​15344](https://togithub.com/babel/babel/pull/15344) fix: Properties that are `abstract` should not be initialized. ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-parser` - [#​15338](https://togithub.com/babel/babel/pull/15338) Allow negative number in ambient const initializer ([@​JLHwung](https://togithub.com/JLHwung)) ##### :leftwards_arrow_with_hook: Revert - `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx` - [#​15355](https://togithub.com/babel/babel/pull/15355) Reverts "Re-use common JSX element transform for <>...\</>" ([@​JLHwung](https://togithub.com/JLHwung)) ### [`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.10...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.10`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72010-2022-12-23) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.8...v7.20.10) ##### :bug: Bug Fix - `babel-traverse` - [#​15305](https://togithub.com/babel/babel/pull/15305) fix: `guessExecutionStatusRelativeTo` exception ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.20.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7208-2022-12-22) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.7...v7.20.8) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#​15301](https://togithub.com/babel/babel/pull/15301) fix: `transform-block-scoping` accesses properties of `null` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-proposal-class-properties`, `babel-traverse` - [#​15294](https://togithub.com/babel/babel/pull/15294) Properly transpile exported classes that shadowed builtins ([@​JLHwung](https://togithub.com/JLHwung)) ### [`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.1...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)) ### [`v7.20.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72015-2023-02-02) [Compare Source](https://togithub.com/babel/babel/compare/v7.20.0...v7.20.1) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#​15391](https://togithub.com/babel/babel/pull/15391) Disallow await as bound name in using declaration ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-plugin-proposal-export-namespace-from` - [#​15385](https://togithub.com/babel/babel/pull/15385) Disallows specifiers after export \* as ns ([@​JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#​15398](https://togithub.com/babel/babel/pull/15398) fix: Loop was converted wrong ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-parser` - [#​15377](https://togithub.com/babel/babel/pull/15377) fix: `new (foo?.bar)()` incorrectly throws exception `OptionalChainingNoNew` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.20.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7200-2022-10-27) [Compare Source](https://togithub.com/babel/babel/compare/v7.19.6...v7.20.0) ##### :rocket: New Feature - `babel-compat-data`, `babel-helper-compilation-targets`, `babel-preset-env` - [#​14944](https://togithub.com/babel/babel/pull/14944) Add `deno` compilation target ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-syntax-typescript` - [#​14923](https://togithub.com/babel/babel/pull/14923) Expose `dts` option in `@babel/plugin-syntax-typescript` ([@​oceandrama](https://togithub.com/oceandrama)) - `babel-generator`, `babe </details> --- ### Configuration 📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update 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://developer.mend.io/github/carbon-design-system/carbon-for-ibm-dotcom). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
- Loading branch information