-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pre-transpiled code (#379) #380
Conversation
Re-posting this from the issue.
We've tested this PR in our dev environment and it fixes our issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omg thank you, sorry I didn’t see this sooner
[![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://togithub.com/babel/babel/tree/HEAD/packages/babel-cli)) | [`^7.21.0` -> `^7.23.4`](https://renovatebot.com/diffs/npm/@babel%2fcli/7.21.0/7.23.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcli/7.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcli/7.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcli/7.21.0/7.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcli/7.21.0/7.23.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/core](https://babel.dev/docs/en/next/babel-core) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-core)) | [`^7.21.0` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.0/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.21.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.21.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/eslint-parser](https://babel.dev/) ([source](https://togithub.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser)) | [`^7.19.1` -> `^7.23.3`](https://renovatebot.com/diffs/npm/@babel%2feslint-parser/7.19.1/7.23.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2feslint-parser/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2feslint-parser/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2feslint-parser/7.19.1/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2feslint-parser/7.19.1/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/eslint-plugin](https://babel.dev/) ([source](https://togithub.com/babel/babel/tree/HEAD/eslint/babel-eslint-plugin)) | [`^7.19.1` -> `^7.23.5`](https://renovatebot.com/diffs/npm/@babel%2feslint-plugin/7.19.1/7.23.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2feslint-plugin/7.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2feslint-plugin/7.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2feslint-plugin/7.19.1/7.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2feslint-plugin/7.19.1/7.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/generator](https://babel.dev/docs/en/next/babel-generator) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-generator)) | [`^7.21.1` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fgenerator/7.23.0/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fgenerator/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fgenerator/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fgenerator/7.23.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fgenerator/7.23.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/helper-plugin-utils](https://babel.dev/docs/en/next/babel-helper-plugin-utils) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-helper-plugin-utils)) | [`^7.20.2` -> `^7.22.5`](https://renovatebot.com/diffs/npm/@babel%2fhelper-plugin-utils/7.20.2/7.22.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fhelper-plugin-utils/7.22.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fhelper-plugin-utils/7.22.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fhelper-plugin-utils/7.20.2/7.22.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fhelper-plugin-utils/7.20.2/7.22.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/parser](https://babel.dev/docs/en/next/babel-parser) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-parser)) | [`^7.21.2` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fparser/7.23.0/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fparser/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fparser/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fparser/7.23.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fparser/7.23.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/plugin-transform-runtime](https://babel.dev/docs/en/next/babel-plugin-transform-runtime) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime)) | [`^7.21.0` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-runtime/7.21.0/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-runtime/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-runtime/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-runtime/7.21.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-runtime/7.21.0/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/preset-env](https://babel.dev/docs/en/next/babel-preset-env) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-env)) | [`^7.20.2` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fpreset-env/7.20.2/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-env/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-env/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-env/7.20.2/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-env/7.20.2/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/preset-react](https://babel.dev/docs/en/next/babel-preset-react) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-react)) | [`^7.18.6` -> `^7.23.3`](https://renovatebot.com/diffs/npm/@babel%2fpreset-react/7.18.6/7.23.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-react/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-react/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-react/7.18.6/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-react/7.18.6/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/preset-typescript](https://babel.dev/docs/en/next/babel-preset-typescript) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-typescript)) | [`^7.21.0` -> `^7.23.3`](https://renovatebot.com/diffs/npm/@babel%2fpreset-typescript/7.21.0/7.23.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-typescript/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-typescript/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-typescript/7.21.0/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-typescript/7.21.0/7.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/register](https://babel.dev/docs/en/next/babel-register) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-register)) | [`^7.21.0` -> `^7.22.15`](https://renovatebot.com/diffs/npm/@babel%2fregister/7.21.0/7.22.15) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fregister/7.22.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fregister/7.22.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fregister/7.21.0/7.22.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fregister/7.21.0/7.22.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-runtime)) | [`^7.21.0` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.22.11/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fruntime/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fruntime/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fruntime/7.22.11/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fruntime/7.22.11/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-traverse)) | [`^7.23.2` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.23.2/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftraverse/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftraverse/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftraverse/7.23.2/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftraverse/7.23.2/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@babel/types](https://babel.dev/docs/en/next/babel-types) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-types)) | [`^7.21.2` -> `^7.23.6`](https://renovatebot.com/diffs/npm/@babel%2ftypes/7.21.2/7.23.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftypes/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftypes/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftypes/7.21.2/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftypes/7.21.2/7.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/babel__core](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__core) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/babel__core)) | [`^7.20.0` -> `^7.20.5`](https://renovatebot.com/diffs/npm/@types%2fbabel__core/7.20.0/7.20.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fbabel__core/7.20.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fbabel__core/7.20.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fbabel__core/7.20.0/7.20.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fbabel__core/7.20.0/7.20.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [babel-plugin-styled-components](https://styled-components.com/docs/tooling#babel-plugin) ([source](https://togithub.com/styled-components/babel-plugin-styled-components)) | [`^2.0.7` -> `^2.1.4`](https://renovatebot.com/diffs/npm/babel-plugin-styled-components/2.0.7/2.1.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/babel-plugin-styled-components/2.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/babel-plugin-styled-components/2.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/babel-plugin-styled-components/2.0.7/2.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/babel-plugin-styled-components/2.0.7/2.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>babel/babel (@​babel/cli)</summary> ### [`v7.23.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7234-2023-11-20) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.0...v7.23.4) ##### :bug: Bug Fix - `babel-generator` - [#​16104](https://togithub.com/babel/babel/pull/16104) fix: Pure comments missing parentheses ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`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.15...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.15`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.10...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.10`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72210-2023-08-07) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.9...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.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7229-2023-07-12) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.6...v7.22.9) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#​15774](https://togithub.com/babel/babel/pull/15774) fix: `Infinity` in enums ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-generator` - [#​15757](https://togithub.com/babel/babel/pull/15757) `recordAndTupleSyntaxType` defaults to `"hash"` ([@​coderaiser](https://togithub.com/coderaiser)) ##### :house: Internal - [#​15748](https://togithub.com/babel/babel/pull/15748) Migrate to `eslint.config.js` ([@​JLHwung](https://togithub.com/JLHwung)) - [#​15758](https://togithub.com/babel/babel/pull/15758) Use Prettier 3 stable ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`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.21.5...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.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.0...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)) </details> <details> <summary>babel/babel (@​babel/parser)</summary> ### [`v7.23.6`](https://togithub.com/babel/babel/releases/tag/v7.23.6) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.5...v7.23.6) #### v7.23.6 (2023-12-11) Thanks [@​martinez-hugo](https://togithub.com/martinez-hugo) and [@​odinho](https://togithub.com/odinho) for your first pull requests! ##### :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)) ##### Committers: 7 - Babel Bot ([@​babel-bot](https://togithub.com/babel-bot)) - Hugo Martinez ([@​martinez-hugo](https://togithub.com/martinez-hugo)) - Huáng Jùnliàng ([@​JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Odin Hørthe-Omdal Urdland ([@​odinho](https://togithub.com/odinho)) - [@​liuxingbaoyu](https://togithub.com/liuxingbaoyu) - fisker Cheung ([@​fisker](https://togithub.com/fisker)) ### [`v7.23.5`](https://togithub.com/babel/babel/releases/tag/v7.23.5) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.4...v7.23.5) #### v7.23.5 (2023-11-29) ##### :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)) ##### :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)) - `babel-eslint-plugin` - [#​16023](https://togithub.com/babel/babel/pull/16023) Add `@babel/eslint-plugin/no-undef` to fix `no-undef` with accessor props ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-helpers` - [#​16129](https://togithub.com/babel/babel/pull/16129) Optimize `decorator` helper size ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### Committers: 4 - Babel Bot ([@​babel-bot](https://togithub.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [@​liuxingbaoyu](https://togithub.com/liuxingbaoyu) ### [`v7.23.4`](https://togithub.com/babel/babel/releases/tag/v7.23.4) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.3...v7.23.4) ##### v7.23.4 (2023-11-20) ##### :bug: Bug Fix - `babel-generator` - [#​16104](https://togithub.com/babel/babel/pull/16104) fix: Pure comments missing parentheses ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### Committers: 4 - Babel Bot ([@​babel-bot](https://togithub.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [@​liuxingbaoyu](https://togithub.com/liuxingbaoyu) ### [`v7.23.3`](https://togithub.com/babel/babel/releases/tag/v7.23.3) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.0...v7.23.3) #### v7.23.3 (2023-11-09) ##### :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)) ##### Committers: 9 - Babel Bot ([@​babel-bot](https://togithub.com/babel-bot)) - Colin ([@​colinaaa](https://togithub.com/colinaaa)) - Huáng Jùnliàng ([@​JLHwung](https://togithub.com/JLHwung)) - Mateusz Burzyński ([@​Andarist](https://togithub.com/Andarist)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [@​aryehb](https://togithub.com/aryehb) - [@​liuxingbaoyu](https://togithub.com/liuxingbaoyu) - [@​magic-akari](https://togithub.com/magic-akari) - [@​yepitschunked](https://togithub.com/yepitschunked) </details> <details> <summary>styled-components/babel-plugin-styled-components (babel-plugin-styled-components)</summary> ### [`v2.1.4`](https://togithub.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.4) [Compare Source](https://togithub.com/styled-components/babel-plugin-styled-components/compare/v2.1.3...v2.1.4) - Bump ansi-regex from 5.0.0 to 5.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/391](https://togithub.com/styled-components/babel-plugin-styled-components/pull/391) - migrate off an EOL babel package **Full Changelog**: https://github.com/styled-components/babel-plugin-styled-components/compare/v2.1.3...v2.1.4 ### [`v2.1.3`](https://togithub.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.3) [Compare Source](https://togithub.com/styled-components/babel-plugin-styled-components/compare/b8d2954fa6b17be4d5f0fe840bfd95af3d278a79...v2.1.3) #### What's Changed - When testing import paths, only use string literals. by [@​maisano-patreon](https://togithub.com/maisano-patreon) in [https://github.com/styled-components/babel-plugin-styled-components/pull/389](https://togithub.com/styled-components/babel-plugin-styled-components/pull/389) - chore: update babel deps and jest (https://github.com/styled-components/babel-plugin-styled-components/commit/911fc097794d300fcb7944b422d49811c10b35f7) #### New Contributors - [@​maisano-patreon](https://togithub.com/maisano-patreon) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/389](https://togithub.com/styled-components/babel-plugin-styled-components/pull/389) **Full Changelog**: https://github.com/styled-components/babel-plugin-styled-components/compare/v2.1.1...v2.1.3 ### [`v2.1.2`](https://togithub.com/styled-components/babel-plugin-styled-components/compare/v2.1.1...b8d2954fa6b17be4d5f0fe840bfd95af3d278a79) [Compare Source](https://togithub.com/styled-components/babel-plugin-styled-components/compare/v2.1.1...b8d2954fa6b17be4d5f0fe840bfd95af3d278a79) ### [`v2.1.1`](https://togithub.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.1) [Compare Source](https://togithub.com/styled-components/babel-plugin-styled-components/compare/dacdac6e6bc49f720adeacf3c0fba2bcff9f150e...v2.1.1) #### What's Changed - Add tricky expression on object expression by [@​healtheloper](https://togithub.com/healtheloper) in [https://github.com/styled-components/babel-plugin-styled-components/pull/381](https://togithub.com/styled-components/babel-plugin-styled-components/pull/381) - bump codeql GH Action to v2 by [@​dmaklygin](https://togithub.com/dmaklygin) in [https://github.com/styled-components/babel-plugin-styled-components/pull/383](https://togithub.com/styled-components/babel-plugin-styled-components/pull/383) - Support pre-transpiled code ([#​379](https://togithub.com/styled-components/babel-plugin-styled-components/issues/379)) by [@​rbong](https://togithub.com/rbong) in [https://github.com/styled-components/babel-plugin-styled-components/pull/380](https://togithub.com/styled-components/babel-plugin-styled-components/pull/380) - Bump minimatch from 3.0.4 to 3.1.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/385](https://togithub.com/styled-components/babel-plugin-styled-components/pull/385) - Bump minimist from 1.2.5 to 1.2.8 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/384](https://togithub.com/styled-components/babel-plugin-styled-components/pull/384) - updated lodash from 4.17.11 to 4.17.21 by [@​FatemehOstad](https://togithub.com/FatemehOstad) in [https://github.com/styled-components/babel-plugin-styled-components/pull/378](https://togithub.com/styled-components/babel-plugin-styled-components/pull/378) - chore: yarn 3 by [@​probablyup](https://togithub.com/probablyup) in [https://github.com/styled-components/babel-plugin-styled-components/pull/386](https://togithub.com/styled-components/babel-plugin-styled-components/pull/386) - Bump json5 from 2.2.0 to 2.2.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/382](https://togithub.com/styled-components/babel-plugin-styled-components/pull/382) #### New Contributors - [@​healtheloper](https://togithub.com/healtheloper) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/381](https://togithub.com/styled-components/babel-plugin-styled-components/pull/381) - [@​dmaklygin](https://togithub.com/dmaklygin) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/383](https://togithub.com/styled-components/babel-plugin-styled-components/pull/383) - [@​rbong](https://togithub.com/rbong) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/380](https://togithub.com/styled-components/babel-plugin-styled-components/pull/380) - [@​FatemehOstad](https://togithub.com/FatemehOstad) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/378](https://togithub.com/styled-components/babel-plugin-styled-components/pull/378) **Full Changelog**: https://github.com/styled-components/babel-plugin-styled-components/compare/v2.0.7...v2.1.1 ### [`v2.1.0`](https://togithub.com/styled-components/babel-plugin-styled-components/compare/v2.0.7...dacdac6e6bc49f720adeacf3c0fba2bcff9f150e) [Compare Source](https://togithub.com/styled-components/babel-plugin-styled-components/compare/v2.0.7...dacdac6e6bc49f720adeacf3c0fba2bcff9f150e) </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Budzenski <[email protected]>
This adds support for identifying styled components imports using
_interopRequiredDefault
and calls to styled components that use sequence expressions (ex.(0, _styled)('div')()
).This should improve support for MUI + Next with SSR.
In
isStyled
, I added equivalent checks for sequence expressions wherever they could be used instead of member expressions. However, there's one case that I'm not sure will ever apply:Please let me know if this needs an equivalent sequence expression check.
I thought maybe this PR might add some new errors on re-transpilation, but I ran tests using outputs as inputs and didn't see any new problems.