Skip to content

fix(deps): bump styled-components from 6.3.8 to 6.3.11 in /web#174

Merged
AchoArnold merged 1 commit intomainfrom
dependabot/npm_and_yarn/web/styled-components-6.3.11
Mar 4, 2026
Merged

fix(deps): bump styled-components from 6.3.8 to 6.3.11 in /web#174
AchoArnold merged 1 commit intomainfrom
dependabot/npm_and_yarn/web/styled-components-6.3.11

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

Bumps styled-components from 6.3.8 to 6.3.11.

Release notes

Sourced from styled-components's releases.

styled-components@6.3.11

Patch Changes

  • 752f5ec: fix: resolve "React is not defined" ReferenceError introduced in 6.3.10 when loading the CJS build in Node.js

styled-components@6.3.10

Patch Changes

  • f674224: fix: RSC style tags for extended components have correct href and include base CSS (#5663)

    • Fix spaces in <style href> attribute that caused React 19 hydration failures when using styled() inheritance
    • Fix missing base component CSS in RSC output when only the extended component renders
    • Emit a separate <style> tag per inheritance level with content-aware hrefs, enabling React 19 deduplication of shared base styles
    • Preserve correct CSS ordering (base before extended) for proper specificity override behavior
  • f674224: Reduce standalone/browser bundle size by making IS_RSC a build-time constant, enabling dead code elimination of RSC-specific branches

styled-components@6.3.9

Patch Changes

  • ca61aca: Fix CSS block comments containing // (e.g. URLs) causing subsequent styles to not be applied.
  • a2cd792: Fix createGlobalStyle styles not being removed when unmounted in RSC environments. React 19's precedence attribute on style tags makes them persist as permanent resources; global styles now render without precedence so they follow normal component lifecycle.
  • dbe0aae: In RSC environments, theme is now undefined instead of {} for styled components, matching the existing behavior of withTheme and createGlobalStyle. This ensures accessing theme properties without a ThemeProvider correctly throws rather than silently returning undefined.
  • 1888c73: Fix withTheme HOC types: ref now correctly resolves to the component instance type instead of the constructor, and theme is properly optional in the wrapped component's props.
  • f84f3fa: Fix SSR styles hydration and global style cleanup in Shadow DOM
  • 43a5b4b: Optimize internal style processing hot paths: cached GroupedTag index lookups, string fast path in flatten, direct string concatenation in dynamic style generation, pre-built stylis middleware chain with lazy RegExp creation, single-lookup Map operations, VirtualTag append fast-path, and manual string concat in SSR output.
  • 788e8c0: Revert exports field and restore browser/server build split with browser field in package.json. Fixes require('stream') resolution errors in browser bundlers like webpack 5.
Commits
  • 6ac911d Version Packages (#5669)
  • 752f5ec fix: resolve React is not defined ReferenceError in CJS server build (#5668)
  • 197b64a Version Packages (#5666)
  • f674224 fix: RSC edge case (#5665)
  • b5bb591 Version Packages (#5647)
  • f84f3fa fix: Shadow DOM SSR Hydration Support (#5656)
  • 43a5b4b perf: optimize internal style processing hot paths
  • 788e8c0 fix: revert exports field and restore browser/server build split
  • a2cd792 fix: remove precedence from createGlobalStyle RSC output for proper unmount
  • 1888c73 fix: improve withTheme HOC type safety and eliminate double type cast
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [styled-components](https://github.com/styled-components/styled-components) from 6.3.8 to 6.3.11.
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Commits](https://github.com/styled-components/styled-components/compare/styled-components@6.3.8...styled-components@6.3.11)

---
updated-dependencies:
- dependency-name: styled-components
  dependency-version: 6.3.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 1, 2026
@AchoArnold AchoArnold merged commit 746700f into main Mar 4, 2026
1 check passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/web/styled-components-6.3.11 branch March 4, 2026 20:51
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant