Packages

styled-components

6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed

Upgrading styled-components From 4.2.1 to 4.3.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.2.1Newest 4.x4.4.1Latest6.6.0
  1. 4.2.1yours
  2. 4.3.0target
0
changes to make
0
advisories fixed
2
new
2
fixes

Release by release

  1. 4.3.0

    5 Jun 20192 new · 2 fixes
    • New

      Add "forwardedAs" prop to allow deeply passing a different "as" prop value to underlying components when using styled() as a higher-order component (see #2580)

    • New

      Implement defaultProps folding (see #2597)

    • Fixed

      Fix components being folded inappropriately when an interim HOC is present (see #2586)

    • Fixed

      Fix theme prop for styled native components, also fixes theme in defaultProps for them (see #2576)

1 other line we could not sort, mostly version bumps
  • Make it possible to initialize SC_ATTR and SC_DISABLE_SPEEDY via REACT_APP_* .env variables for easier integration with CRA applications (see #2501)

    4.3.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.