[Snyk] Upgrade styled-components from 6.0.0-rc.1 to 6.0.2 #4
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade styled-components from 6.0.0-rc.1 to 6.0.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: styled-components
-
6.0.2 - 2023-07-03
- fix: StyleSheetManager must accept undefined props by @ gineika in #4069
- fix: replace slow Omit type by @ gineika in #4068
- drop
- refactor use of
- @ gineika made their first contribution in #4069
-
6.0.1 - 2023-06-28
-
6.0.0 - 2023-06-28
- fix(types): prevent prop bleed on styling properties (fixes #4053, c0f8015)
- feat(types): ship csstype via "CSS" namespace (e6c4f0a)
- chore: bump stylis to 4.3 (fixes #4007, fa58875)
- reduced some sources of unnecessary branching logic
- now using
- styled-components now provides its own types; if you installed
- dropped
- dropped automatic prop filtering; use transient props (
- replaced
- dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
- dropped deprecated
- node >= 14 needed
-
6.0.0-rc.2-4007 - 2023-05-26
-
6.0.0-rc.6 - 2023-06-23
- fix: stylis types are now included as a direct dependency #4051 (235a62b)
- refactor: simplify code related to style tag injection #4040 (c3939a4)
- chore: don't warn if shouldForwardProp is in use and the prop is forwarded (00ab9c4)
- now using
- styled-components now provides its own types; if you installed
- dropped
- dropped automatic prop filtering; use transient props (
- replaced
- dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
- dropped deprecated
- node >= 14 needed
-
6.0.0-rc.5 - 2023-06-22
- Compatibility with frozen Object prototype, part 2 by @ jportner in #4042
- ensure useTheme hook returns theme object by @ nksfrank in #4033
- revert rc.3 type changes, investigate alternate fixes by @ probablyup in #4037
- finalize rc.4 inclusions by @ probablyup in #4047
- object styles now have strong typing
- add dev-time warning if
- @ nksfrank made their first contribution in #4033
- now using
- styled-components now provides its own types; if you installed
- dropped
- dropped automatic prop filtering; use transient props (
- replaced
- dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
- dropped deprecated
- node >= 14 needed
-
6.0.0-rc.4 - 2023-06-22
-
6.0.0-rc.3 - 2023-06-04
- fix(types): several regression fixes and improved CSSProp typing by @ justinbhopper, @ aliceHendicott, @ probablyup in #4028
- fix(stylis): ensure rules are split coming out of stylis by @ probablyup in #4021 (this is a partial fix for #4007, the remainder requires thysultan/stylis#315)
-
6.0.0-rc.2 - 2023-05-24
-
6.0.0-rc.1 - 2023-05-06
- bump stylis to 4.2.0 to enable
- v6 migration documentation
- now using
- styled-components now provides its own types; if you installed
- dropped
- dropped automatic prop filtering; use transient props (
- replaced
- dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
- dropped deprecated
- node >= 14 needed
from styled-components GitHub release notesWhat's Changed
displayNamein production to save bytes, it's already present in the static className if you're using the babel plugin or equivalentflatMapandatwith ES5-compliant variantsNew Contributors
Full Changelog: v6.0.1...v6.0.2
Fixed an issue where a dev-time warning was being triggered too eagerly.
Full Changelog: v6.0.0...v6.0.1
Changed in this version
Breaking changes in v6
Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version)@ types/styled-componentsin the past, you'll want to remove it$asand$forwardedAsprops (useasorforwardedAs)$prefix) for stuff you don't want to be passed to child component / HTMLStyleSheetManagerdisableVendorPrefixeswithenableVendorPrefixespropwithComponentAPI (87f511a); use "as" prop insteadFull Changelog: v5.3.7...v6.0.0
Changed in this version
Breaking changes in v6
Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version)@ types/styled-componentsin the past, you'll want to remove it$asand$forwardedAsprops (useasorforwardedAs)$prefix) for stuff you don't want to be passed to child component / HTMLStyleSheetManagerdisableVendorPrefixeswithenableVendorPrefixespropwithComponentAPI (87f511a); use "as" prop insteadFull Changelog: https://github.com/styled-components/styled-components/compare/v6.0.0-rc.5..v6.0.0-rc.6
Changed in this version
enableVendorPrefixesneeds to be enabled based on prop usageNew Contributors
Breaking changes in v6
Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version)@ types/styled-componentsin the past, you'll want to remove it$asand$forwardedAsprops (useasorforwardedAs)$prefix) for stuff you don't want to be passed to child component / HTMLStyleSheetManagerdisableVendorPrefixeswithenableVendorPrefixespropwithComponentAPI (87f511a); use "as" prop insteadFull Changelog: https://github.com/styled-components/styled-components/compare/v6.0.0-rc.3..v6.0.0-rc.5
v6.0.0-rc.4
Full Changelog: v6.0.0-rc.2...v6.0.0-rc.3
Read more
Changed in this version
@ layerrule supportUpcoming
Breaking changes in v6
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version)@ types/styled-componentsin the past, you'll want to remove it$asand$forwardedAsprops (useasorforwardedAs)$prefix) for stuff you don't want to be passed to child component / HTMLStyleSheetManagerdisableVendorPrefixeswithenableVendorPrefixespropwithComponentAPI (87f511a); use "as" prop insteadFull Changelog: v6.0.0-rc.0...v6.0.0-rc.1
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs