Skip to content

chore(deps): bump the dependencies group in /website with 2 updates#993

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/website/dependencies-ec7c7a2a83
Open

chore(deps): bump the dependencies group in /website with 2 updates#993
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/website/dependencies-ec7c7a2a83

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps the dependencies group in /website with 2 updates: styled-components and babel-plugin-styled-components.

Updates styled-components from 6.4.1 to 6.4.2

Release notes

Sourced from styled-components's releases.

styled-components@6.4.2

Patch Changes

  • 9945904: Restore TypeScript prop autocomplete inside the JSX of a styled component once the first attribute is typed.
  • 9945904: Apply all chain levels' styles when an extended styled component renders with the as prop under Preact's react-compat.
  • 9945904: Respect a custom toString on plain value objects (e.g. design tokens) when interpolated into a styled component, rather than walking the object's keys as CSS declarations.
  • 9945904: Fix a TypeScript error when wrapping a component whose props include an as prop with a non-string type (such as Next.js Link's as?: Url). The styled component now accepts either the styled-components polymorphism value or the wrapped component's own as type, so spreading the wrapped component's props onto the styled component is assignable again.
  • 9945904: Restore reliable styling in production browser bundles built without a runtime process global.

styled-components@6.4.2-prerelease-20260516150535

d20b88e9bc16e234f5f2c2b3a7c7d7c0472d0edd Fix a TypeScript error when wrapping a component whose props include an as prop with a non-string type (such as Next.js Link's as?: Url). The styled component now accepts either the styled-components polymorphism value or the wrapped component's own as type, so spreading the wrapped component's props onto the styled component is assignable again.

Full Changelog: styled-components/styled-components@styled-components@6.4.2-prerelease-20260514185513...styled-components@6.4.2-prerelease-20260516150535

styled-components@6.4.2-prerelease-20260514185513

Internal changes only.

Full Changelog: styled-components/styled-components@styled-components@6.4.2-prerelease-20260514184932...styled-components@6.4.2-prerelease-20260514185513

styled-components@6.4.2-prerelease-20260514184932

No new changes since the previous release. (Debugging the changelog generation in the prerelease builds.)

Full Changelog: styled-components/styled-components@styled-components@6.4.2-prerelease-20260514182414...styled-components@6.4.2-prerelease-20260514184932

styled-components@6.4.2-prerelease-20260514182414

Patch Changes

  • 9945904e: Restore TypeScript prop autocomplete inside the JSX of a styled component once the first attribute is typed.

  • 9945904e: Apply all chain levels' styles when an extended styled component renders with the as prop under Preact's react-compat.

  • 9945904e: Respect a custom toString on plain value objects (e.g. design tokens) when interpolated into a styled component, rather than walking the object's keys as CSS declarations.

  • 9945904e: Fix a TypeScript error when wrapping a component whose props include an as prop with a non-string type (such as Next.js Link's as?: Url). The styled-components as and forwardedAs props now consistently override the wrapped component's same-named props instead of colliding with them.

  • 9945904e: Restore reliable styling in production browser bundles built without a runtime process global.

Full Changelog: styled-components/styled-components@styled-components@6.4.1...styled-components@6.4.2-prerelease-20260514182414

Commits
  • f9f6546 Version Packages
  • 1794522 fix: include changesets re-touched since the last prerelease [skip ci]
  • 0097cdb ci: branch-scoped Version Packages PR title
  • d20b88e fix(types): accept wrapped component's own as type when spreading props (#5...
  • 786cd8b fix: don't double-count changesets already posted in a prior prerelease
  • 0dd1325 chore: adjust release script
  • 4f2923a chore: get 6.x prereleases working properly
  • 9945904 6.x bugfixes (#5746)
  • f7cddb5 chore: run workflows for 6.x
  • 499664e chore: prep to allow 6.x point releases
  • See full diff in compare view

Updates babel-plugin-styled-components from 2.1.4 to 2.3.0

Release notes

Sourced from babel-plugin-styled-components's releases.

v2.3.0

Minor Changes

  • 0c5f21d: Add a cssPropImportPath option to control which package the css-prop transform auto-imports styled from when the file has no existing styled import. Defaults to 'styled-components' (existing behavior). React Native targets can set it to 'styled-components/native' so the auto-injected import resolves to the right runtime.
  • 0c5f21d: Detect styled declarations that go through a local alias of the import, including the TypeScript theme-typing pattern const styled = baseStyled as ThemedStyledInterface<MyTheme>. After type-stripping Babel sees a plain const styled = baseStyled, and the detector now follows single-identifier alias chains so styled.div resolves back to the original import.

Patch Changes

  • 0c5f21d: Fix invalid output when a css={{ ... }} object key matches a local binding name (e.g. ({ position }) => <div css={{ position: 'absolute' }} />). The reducer no longer mis-treats non-computed property names as scope references, so plain keys stay literal while only computed [expr] keys are extracted as prop interpolations.
  • 0c5f21d: Recognize TypeScript's __importDefault interop helper alongside Babel's _interopRequireDefault. Files compiled through tsc / ts-jest (which emit var sc_1 = __importDefault(require('styled-components'))) now flow into the same detection path as Babel-compiled output, so styled declarations downstream pick up displayName and componentId as expected.

v2.2.0

Minor Changes

  • a40e3f7: Refresh the toolchain and fix a handful of css-prop transform bugs that had crept in under recent Babel versions.
    • When a file already imports styled and also uses one or more css={…} props, every styled component now keeps its display name and stable component id. Previously the cache that tracks the local default import could be overwritten on each css-prop usage, which silently dropped the display name and id for the surrounding styled.div declarations.
    • css={{ [foo]: bar }} with a non-primitive value no longer fails Babel's validator. Computed keys are preserved through the css-prop object rewrite.
    • Friendlier error messages when the css-prop transform encounters a JSX name shape it can't infer, instead of a confusing internal ReferenceError.
    • Long-running watch processes (Next dev, webpack-dev-server, jest watch) no longer leak import-detection state between files.
    • Removed the runtime lodash dependency. The plugin now ships with @babel/core as a declared peer.
    • Dev tooling moved to pnpm and changesets. Plugin behavior is unchanged.
Changelog

Sourced from babel-plugin-styled-components's changelog.

2.3.0

Minor Changes

  • 0c5f21d: Add a cssPropImportPath option to control which package the css-prop transform auto-imports styled from when the file has no existing styled import. Defaults to 'styled-components' (existing behavior). React Native targets can set it to 'styled-components/native' so the auto-injected import resolves to the right runtime.
  • 0c5f21d: Detect styled declarations that go through a local alias of the import, including the TypeScript theme-typing pattern const styled = baseStyled as ThemedStyledInterface<MyTheme>. After type-stripping Babel sees a plain const styled = baseStyled, and the detector now follows single-identifier alias chains so styled.div resolves back to the original import.

Patch Changes

  • 0c5f21d: Fix invalid output when a css={{ ... }} object key matches a local binding name (e.g. ({ position }) => <div css={{ position: 'absolute' }} />). The reducer no longer mis-treats non-computed property names as scope references, so plain keys stay literal while only computed [expr] keys are extracted as prop interpolations.
  • 0c5f21d: Recognize TypeScript's __importDefault interop helper alongside Babel's _interopRequireDefault. Files compiled through tsc / ts-jest (which emit var sc_1 = __importDefault(require('styled-components'))) now flow into the same detection path as Babel-compiled output, so styled declarations downstream pick up displayName and componentId as expected.

2.2.0

Minor Changes

  • a40e3f7: Refresh the toolchain and fix a handful of css-prop transform bugs that had crept in under recent Babel versions.
    • When a file already imports styled and also uses one or more css={…} props, every styled component now keeps its display name and stable component id. Previously the cache that tracks the local default import could be overwritten on each css-prop usage, which silently dropped the display name and id for the surrounding styled.div declarations.
    • css={{ [foo]: bar }} with a non-primitive value no longer fails Babel's validator. Computed keys are preserved through the css-prop object rewrite.
    • Friendlier error messages when the css-prop transform encounters a JSX name shape it can't infer, instead of a confusing internal ReferenceError.
    • Long-running watch processes (Next dev, webpack-dev-server, jest watch) no longer leak import-detection state between files.
    • Removed the runtime lodash dependency. The plugin now ships with @babel/core as a declared peer.
    • Dev tooling moved to pnpm and changesets. Plugin behavior is unchanged.
Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for babel-plugin-styled-components since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group in /website with 2 updates: [styled-components](https://github.com/styled-components/styled-components) and [babel-plugin-styled-components](https://github.com/styled-components/babel-plugin-styled-components).


Updates `styled-components` from 6.4.1 to 6.4.2
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Commits](https://github.com/styled-components/styled-components/compare/styled-components@6.4.1...styled-components@6.4.2)

Updates `babel-plugin-styled-components` from 2.1.4 to 2.3.0
- [Release notes](https://github.com/styled-components/babel-plugin-styled-components/releases)
- [Changelog](https://github.com/styled-components/babel-plugin-styled-components/blob/main/CHANGELOG.md)
- [Commits](styled-components/babel-plugin-styled-components@v2.1.4...v2.3.0)

---
updated-dependencies:
- dependency-name: styled-components
  dependency-version: 6.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: babel-plugin-styled-components
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file website Related to the Website labels May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file website Related to the Website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants