-
-
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
When testing import paths, only use string literals. #389
Merged
quantizor
merged 1 commit into
styled-components:main
from
maisano-patreon:template-literals
May 19, 2023
Merged
When testing import paths, only use string literals. #389
quantizor
merged 1 commit into
styled-components:main
from
maisano-patreon:template-literals
May 19, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prior to this change, code with template literals inside of `require` calls would break. This is because the check of `t.isLiteral` is far too broad for this usage, and assumes that all literals have a `value` property. Since `TemplateLiteral` nodes do not, they would cause `picomatch` to fail on an `undefined` input.
@probablyup any thoughts on this? |
quantizor
approved these changes
May 19, 2023
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.
LGTM!
jbudz
referenced
this pull request
in elastic/kibana
Dec 26, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/cli](https://babel.dev/docs/en/next/babel-cli) ([source](https://github.com/babel/babel/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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__core) ([source](https://github.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://github.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://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7234-2023-11-20) [Compare Source](https://github.com/babel/babel/compare/v7.23.0...v7.23.4) ##### :bug: Bug Fix - `babel-generator` - [#​16104](https://github.com/babel/babel/pull/16104) fix: Pure comments missing parentheses ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ### [`v7.23.0`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7230-2023-09-25) [Compare Source](https://github.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://github.com/babel/babel/pull/15870) Support transforming `import source` for wasm ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15878) Implement `import defer` proposal transform support ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-types` - [#​15845](https://github.com/babel/babel/pull/15845) Implement `import defer` parsing support ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - [#​15829](https://github.com/babel/babel/pull/15829) Add parsing support for the "source phase imports" proposal ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15682) Add `createImportExpressions` parser option ([@​JLHwung](https://github.com/JLHwung)) - `babel-standalone` - [#​15671](https://github.com/babel/babel/pull/15671) Pass through nonce to the transformed script element ([@​JLHwung](https://github.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://github.com/babel/babel/pull/15751) Add support for optional chain in assignments ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#​15895](https://github.com/babel/babel/pull/15895) Implement the "decorator metadata" proposal ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-traverse`, `babel-types` - [#​15893](https://github.com/babel/babel/pull/15893) Add `t.buildUndefinedNode` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-preset-typescript` - [#​15913](https://github.com/babel/babel/pull/15913) Add `rewriteImportExtensions` option to TS preset ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-parser` - [#​15896](https://github.com/babel/babel/pull/15896) Allow TS tuples to have both labeled and unlabeled elements ([@​yukukotani](https://github.com/yukukotani)) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#​15962](https://github.com/babel/babel/pull/15962) fix: `transform-block-scoping` captures the variables of the method in the loop ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-traverse` - [#​15797](https://github.com/babel/babel/pull/15797) Expand evaluation of global built-ins in `@babel/traverse` ([@​lorenzoferre](https://github.com/lorenzoferre)) - `babel-plugin-proposal-explicit-resource-management` - [#​15985](https://github.com/babel/babel/pull/15985) Improve source maps for blocks with `using` declarations ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15984) Inline `exports.XXX =` update in simple variable declarations ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ### [`v7.22.15`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04) [Compare Source](https://github.com/babel/babel/compare/v7.22.10...v7.22.15) ##### :bug: Bug Fix - `babel-core` - [#​15923](https://github.com/babel/babel/pull/15923) Only perform config loading re-entrancy check for cjs ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15892) Add explicit `.ts`/`.js` extension to all imports in `src` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ### [`v7.22.10`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v72210-2023-08-07) [Compare Source](https://github.com/babel/babel/compare/v7.22.9...v7.22.10) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#​15799](https://github.com/babel/babel/pull/15799) \[ts] Strip type-only namespaces ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - [#​15798](https://github.com/babel/babel/pull/15798) \[ts] Fix compiling extended exported nested namespace ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15701) Memoize class binding when compiling private methods and static elements ([@​JLHwung](https://github.com/JLHwung)) ##### :nail_care: Polish - `babel-cli` - [#​15824](https://github.com/babel/babel/pull/15824) Add `meta` object to `@babel/eslint-plugin` ([@​JLHwung](https://github.com/JLHwung)) - `babel-traverse`, `babel-types` - [#​15661](https://github.com/babel/babel/pull/15661) Improve the type definition of `path.isX` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-generator`, `babel-types` - [#​15776](https://github.com/babel/babel/pull/15776) improve SourceLocation typing ([@​JLHwung](https://github.com/JLHwung)) ##### :house: Internal - Other - [#​15818](https://github.com/babel/babel/pull/15818) build: generate flow typings in prepublish job ([@​JLHwung](https://github.com/JLHwung)) - [#​15777](https://github.com/babel/babel/pull/15777) chore: bump dev dependencies and remove .eslintignore ([@​JLHwung](https://github.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-builder-react-jsx`, `babel-preset-env`, `babel-standalone` - [#​15794](https://github.com/babel/babel/pull/15794) Enable `@typescript-eslint/no-redundant-type-constituents` rule ([@​JLHwung](https://github.com/JLHwung)) - `babel-helper-compilation-targets` - [#​15811](https://github.com/babel/babel/pull/15811) Remove `@babel/core` peerDep from `helper-compilation-targets` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-parser` - [#​15793](https://github.com/babel/babel/pull/15793) Use const enum in babel-parser ([@​JLHwung](https://github.com/JLHwung)) - `babel-plugin-transform-runtime`, `babel-traverse`, `babel-types` - [#​15716](https://github.com/babel/babel/pull/15716) chore: Use `typescript-eslint@v6` with reworked configs ([@​JoshuaKGoldberg](https://github.com/JoshuaKGoldberg)) ##### :microscope: Output optimization - `babel-plugin-transform-block-scoping`, `babel-plugin-transform-parameters`, `babel-plugin-transform-regenerator` - [#​15746](https://github.com/babel/babel/pull/15746) Reduce `transform-block-scoping` loops output size ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ### [`v7.22.9`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7229-2023-07-12) [Compare Source](https://github.com/babel/babel/compare/v7.22.6...v7.22.9) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#​15774](https://github.com/babel/babel/pull/15774) fix: `Infinity` in enums ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-generator` - [#​15757](https://github.com/babel/babel/pull/15757) `recordAndTupleSyntaxType` defaults to `"hash"` ([@​coderaiser](https://github.com/coderaiser)) ##### :house: Internal - [#​15748](https://github.com/babel/babel/pull/15748) Migrate to `eslint.config.js` ([@​JLHwung](https://github.com/JLHwung)) - [#​15758](https://github.com/babel/babel/pull/15758) Use Prettier 3 stable ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ### [`v7.22.6`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7226-2023-07-04) [Compare Source](https://github.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://github.com/babel/babel/pull/15727) Add opera mobile compat data ([@​JLHwung](https://github.com/JLHwung)) - `babel-plugin-transform-optional-chaining` - [#​15739](https://github.com/babel/babel/pull/15739) Fix transform of `delete a?.b` in function params ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-helper-split-export-declaration`, `babel-plugin-transform-modules-commonjs` - [#​15736](https://github.com/babel/babel/pull/15736) fix: Default export for duplicate names ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-compat-data`, `babel-preset-env` - [#​15726](https://github.com/babel/babel/pull/15726) update compat-data sources ([@​JLHwung](https://github.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3`, `babel-runtime` - [#​15705](https://github.com/babel/babel/pull/15705) Fix handling of sync error in `@@​asyncDispose` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-standalone` - [#​15707](https://github.com/babel/babel/pull/15707) fix: Support transforming Explicit Resource Management in `stage-2` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-core` - [#​15626](https://github.com/babel/babel/pull/15626) fix: Works correctly with `--frozen-intrinsics` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### :house: Internal - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-classes` - [#​15700](https://github.com/babel/babel/pull/15700) Minor class transform cleanups ([@​JLHwung](https://github.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://github.com/babel/babel/pull/15740) Compress output for optional chain with multiple `?.` ([@​nicolo-ribaudo](https://github.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://github.com/babel/babel/pull/15741) Inject tmp vars in the params list of IIFEs when possible ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ### [`v7.22.5`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08) [Compare Source](https://github.com/babel/babel/compare/v7.21.5...v7.22.5) ##### :bug: Bug Fix - `babel-preset-env`, `babel-standalone` - [#​15675](https://github.com/babel/babel/pull/15675) Fix using `syntax-unicode-sets-regex` in standalone ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-core` - [#​15683](https://github.com/babel/babel/pull/15683) Suggest `-transform-` when resolving missing plugins ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ### [`v7.21.5`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7215-2023-04-28) [Compare Source](https://github.com/babel/babel/compare/v7.21.0...v7.21.5) ##### :eyeglasses: Spec Compliance - `babel-generator`, `babel-parser`, `babel-types` - [#​15539](https://github.com/babel/babel/pull/15539) fix: Remove `mixins` and `implements` for `DeclareInterface` and `InterfaceDeclaration` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-core`, `babel-generator`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-jsx` - [#​15515](https://github.com/babel/babel/pull/15515) fix: `)` position with `createParenthesizedExpressions` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-preset-env` - [#​15580](https://github.com/babel/babel/pull/15580) Add syntax import meta to preset env ([@​JLHwung](https://github.com/JLHwung)) ##### :nail_care: Polish - `babel-types` - [#​15546](https://github.com/babel/babel/pull/15546) Improve the layout of generated validators ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-core` - [#​15535](https://github.com/babel/babel/pull/15535) Use `lt` instead of `lte` to check TS version for .cts config ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### :house: Internal - `babel-core` - [#​15575](https://github.com/babel/babel/pull/15575) Use synchronous `import.meta.resolve` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-helper-fixtures`, `babel-preset-typescript` - [#​15568](https://github.com/babel/babel/pull/15568) Handle `.overrides` and `.env` when resolving plugins/presets from fixture options ([@​JLHwung](https://github.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin` - [#​15548](https://github.com/babel/babel/pull/15548) Use `semver` package to compare versions ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) </details> <details> <summary>babel/babel (@​babel/parser)</summary> ### [`v7.23.6`](https://github.com/babel/babel/releases/tag/v7.23.6) [Compare Source](https://github.com/babel/babel/compare/v7.23.5...v7.23.6) #### v7.23.6 (2023-12-11) Thanks [@​martinez-hugo](https://github.com/martinez-hugo) and [@​odinho](https://github.com/odinho) for your first pull requests! ##### :eyeglasses: Spec Compliance - `babel-generator`, `babel-parser`, `babel-types` - [#​16154](https://github.com/babel/babel/pull/16154) Remove `TSPropertySignature.initializer` ([@​fisker](https://github.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://github.com/babel/babel/pull/16139) Apply `toPropertyKey` on decorator context name ([@​JLHwung](https://github.com/JLHwung)) ##### :bug: Bug Fix - `babel-generator` - [#​16166](https://github.com/babel/babel/pull/16166) fix: Correctly indenting when `retainLines` is enabled ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management` - [#​16150](https://github.com/babel/babel/pull/16150) `using`: Allow looking up `Symbol.dispose` on a function ([@​odinho](https://github.com/odinho)) - `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties` - [#​16161](https://github.com/babel/babel/pull/16161) Ensure the `[[@​@​toPrimitive]]` call of a decorated class member key is invoked once ([@​JLHwung](https://github.com/JLHwung)) - [#​16148](https://github.com/babel/babel/pull/16148) Support named evaluation for decorated anonymous class exp ([@​JLHwung](https://github.com/JLHwung)) - `babel-plugin-transform-for-of`, `babel-preset-env` - [#​16011](https://github.com/babel/babel/pull/16011) fix: `for of` with `iterableIsArray` and shadowing variable ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​16144](https://github.com/babel/babel/pull/16144) Set function name for decorated private non-field elements ([@​JLHwung](https://github.com/JLHwung)) - `babel-plugin-transform-typescript` - [#​16137](https://github.com/babel/babel/pull/16137) Fix references to enum values with merging ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties` - [#​16159](https://github.com/babel/babel/pull/16159) Reuse computed key memoiser ([@​JLHwung](https://github.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#​16160](https://github.com/babel/babel/pull/16160) Optimize decorator helper size ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### Committers: 7 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Hugo Martinez ([@​martinez-hugo](https://github.com/martinez-hugo)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - Odin Hørthe-Omdal Urdland ([@​odinho](https://github.com/odinho)) - [@​liuxingbaoyu](https://github.com/liuxingbaoyu) - fisker Cheung ([@​fisker](https://github.com/fisker)) ### [`v7.23.5`](https://github.com/babel/babel/releases/tag/v7.23.5) [Compare Source](https://github.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://github.com/babel/babel/pull/16138) Class binding is in TDZ during decorators initialization ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#​16132](https://github.com/babel/babel/pull/16132) Allow addInitializer in field decorator context ([@​JLHwung](https://github.com/JLHwung)) ##### :bug: Bug Fix - `babel-traverse`, `babel-types` - [#​16131](https://github.com/babel/babel/pull/16131) Do not remove bindings when removing assignment expression path ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-plugin-transform-classes` - [#​16135](https://github.com/babel/babel/pull/16135) Require class properties transform when compiling class with private fields ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-generator` - [#​16122](https://github.com/babel/babel/pull/16122) fix: Missing parentheses after line break ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-helpers` - [#​16130](https://github.com/babel/babel/pull/16130) Fix helpers internal fns names conflict resolution ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-typescript` - [#​16123](https://github.com/babel/babel/pull/16123) Simplify class fields injetion after `super()` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-parameters`, `babel-plugin-transform-typescript`, `babel-traverse` - [#​16110](https://github.com/babel/babel/pull/16110) fix: Unexpected duplication of comments ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-eslint-plugin` - [#​16023](https://github.com/babel/babel/pull/16023) Add `@babel/eslint-plugin/no-undef` to fix `no-undef` with accessor props ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-helpers` - [#​16129](https://github.com/babel/babel/pull/16129) Optimize `decorator` helper size ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### Committers: 4 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - [@​liuxingbaoyu](https://github.com/liuxingbaoyu) ### [`v7.23.4`](https://github.com/babel/babel/releases/tag/v7.23.4) [Compare Source](https://github.com/babel/babel/compare/v7.23.3...v7.23.4) ##### v7.23.4 (2023-11-20) ##### :bug: Bug Fix - `babel-generator` - [#​16104](https://github.com/babel/babel/pull/16104) fix: Pure comments missing parentheses ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) ##### Committers: 4 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - [@​liuxingbaoyu](https://github.com/liuxingbaoyu) ### [`v7.23.3`](https://github.com/babel/babel/releases/tag/v7.23.3) [Compare Source](https://github.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://github.com/babel/babel/pull/16071) Strip type-only TS namespaces ([@​colinaaa](https://github.com/colinaaa)) - `babel-generator` - [#​16078](https://github.com/babel/babel/pull/16078) Fix indentation when generating comments with `concise: true` ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-compat-data`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-preset-env` - [#​14295](https://github.com/babel/babel/pull/14295) Add a bugfix plugin for https://crbug.com/v8/12421 ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - `babel-plugin-transform-object-super` - [#​15948](https://github.com/babel/babel/pull/15948) fix: `super.x` in a loop ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#​16015](https://github.com/babel/babel/pull/16015) fix: handle `__proto__` exports name in CJS/AMD/UMD ([@​magic-akari](https://github.com/magic-akari)) ##### :memo: Documentation - [#​16044](https://github.com/babel/babel/pull/16044) docs: Update links in [@​babel/eslint-parser](https://github.com/babel/eslint-parser) README ([@​aryehb](https://github.com/aryehb)) ##### :house: Internal - `babel-core`, `babel-preset-env` - [#​15988](https://github.com/babel/babel/pull/15988) Refactor handling of modules plugins in `preset-env` ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-generator` - [#​16061](https://github.com/babel/babel/pull/16061) perf: Improve `@babel/generator` performance ([@​liuxingbaoyu](https://github.com/liuxingbaoyu)) - `babel-traverse` - [#​16060](https://github.com/babel/babel/pull/16060) Avoid dynamic dispatch when calling wrapCheck ([@​yepitschunked](https://github.com/yepitschunked)) ##### :microscope: Output optimization - `babel-plugin-transform-computed-properties` - [#​6652](https://github.com/babel/babel/pull/6652) Optimize computed properties output (byte-wise) ([@​Andarist](https://github.com/Andarist)) ##### Committers: 9 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Colin ([@​colinaaa](https://github.com/colinaaa)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) - Mateusz Burzyński ([@​Andarist](https://github.com/Andarist)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://github.com/nicolo-ribaudo)) - [@​aryehb](https://github.com/aryehb) - [@​liuxingbaoyu](https://github.com/liuxingbaoyu) - [@​magic-akari](https://github.com/magic-akari) - [@​yepitschunked](https://github.com/yepitschunked) </details> <details> <summary>styled-components/babel-plugin-styled-components (babel-plugin-styled-components)</summary> ### [`v2.1.4`](https://github.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.4) [Compare Source](https://github.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://github.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/391](https://github.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://github.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.3) [Compare Source](https://github.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://github.com/maisano-patreon) in [https://github.com/styled-components/babel-plugin-styled-components/pull/389](https://github.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://github.com/maisano-patreon) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/389](https://github.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://github.com/styled-components/babel-plugin-styled-components/compare/v2.1.1...b8d2954fa6b17be4d5f0fe840bfd95af3d278a79) [Compare Source](https://github.com/styled-components/babel-plugin-styled-components/compare/v2.1.1...b8d2954fa6b17be4d5f0fe840bfd95af3d278a79) ### [`v2.1.1`](https://github.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.1) [Compare Source](https://github.com/styled-components/babel-plugin-styled-components/compare/dacdac6e6bc49f720adeacf3c0fba2bcff9f150e...v2.1.1) #### What's Changed - Add tricky expression on object expression by [@​healtheloper](https://github.com/healtheloper) in [https://github.com/styled-components/babel-plugin-styled-components/pull/381](https://github.com/styled-components/babel-plugin-styled-components/pull/381) - bump codeql GH Action to v2 by [@​dmaklygin](https://github.com/dmaklygin) in [https://github.com/styled-components/babel-plugin-styled-components/pull/383](https://github.com/styled-components/babel-plugin-styled-components/pull/383) - Support pre-transpiled code ([#​379](https://github.com/styled-components/babel-plugin-styled-components/issues/379)) by [@​rbong](https://github.com/rbong) in [https://github.com/styled-components/babel-plugin-styled-components/pull/380](https://github.com/styled-components/babel-plugin-styled-components/pull/380) - Bump minimatch from 3.0.4 to 3.1.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/385](https://github.com/styled-components/babel-plugin-styled-components/pull/385) - Bump minimist from 1.2.5 to 1.2.8 by [@​dependabot](https://github.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/384](https://github.com/styled-components/babel-plugin-styled-components/pull/384) - updated lodash from 4.17.11 to 4.17.21 by [@​FatemehOstad](https://github.com/FatemehOstad) in [https://github.com/styled-components/babel-plugin-styled-components/pull/378](https://github.com/styled-components/babel-plugin-styled-components/pull/378) - chore: yarn 3 by [@​probablyup](https://github.com/probablyup) in [https://github.com/styled-components/babel-plugin-styled-components/pull/386](https://github.com/styled-components/babel-plugin-styled-components/pull/386) - Bump json5 from 2.2.0 to 2.2.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/styled-components/babel-plugin-styled-components/pull/382](https://github.com/styled-components/babel-plugin-styled-components/pull/382) #### New Contributors - [@​healtheloper](https://github.com/healtheloper) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/381](https://github.com/styled-components/babel-plugin-styled-components/pull/381) - [@​dmaklygin](https://github.com/dmaklygin) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/383](https://github.com/styled-components/babel-plugin-styled-components/pull/383) - [@​rbong](https://github.com/rbong) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/380](https://github.com/styled-components/babel-plugin-styled-components/pull/380) - [@​FatemehOstad](https://github.com/FatemehOstad) made their first contribution in [https://github.com/styled-components/babel-plugin-styled-components/pull/378](https://github.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://github.com/styled-components/babel-plugin-styled-components/compare/v2.0.7...dacdac6e6bc49f720adeacf3c0fba2bcff9f150e) [Compare Source](https://github.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://github.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 <jon@elastic.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prior to this change, code with template literals inside of
require
calls would break. This is because the check oft.isLiteral
is far too broad for this usage, and assumes that all literals have avalue
property. SinceTemplateLiteral
nodes do not, they would causepicomatch
to fail on anundefined
input.