forked from preactjs/preact
-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Upgrade styled-components from 4.4.1 to 6.1.15 #94
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
Open
nerdy-tech-com-gitub
wants to merge
1
commit into
main
Choose a base branch
from
snyk-upgrade-6cb9c49166aae181d78a85d5fba55a8c
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Snyk] Upgrade styled-components from 4.4.1 to 6.1.15 #94
nerdy-tech-com-gitub
wants to merge
1
commit into
main
from
snyk-upgrade-6cb9c49166aae181d78a85d5fba55a8c
Conversation
This file contains hidden or 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
Snyk has created this PR to upgrade styled-components from 4.4.1 to 6.1.15. See this package in npm: styled-components See this project in Snyk: https://app.snyk.io/org/nerds-github/project/80f4c8d5-acb5-40fd-a6de-0077ecc460bf?utm_source=github&utm_medium=referral&page=upgrade-pr
Reviewer's Guide by SourceryThis pull request upgrades the Updated class diagram for styled-componentsclassDiagram
class StyledComponent {
<<interface>>
-displayName: string
-componentStyle: ComponentStyle
-construct: (target: Target, styles: Styles, options: Options) => StyledComponent
+render(props: Props): ReactElement
}
class ComponentStyle {
-rules: CSSRules
+generateAndInjectStyles(executionContext: ExecutionContext, styleSheet: StyleSheet): void
}
class StyleSheet {
+insertRule(rule: CSSRule): void
+rehydrate(serialized: SerializedStyles): void
}
note for StyledComponent "Represents a styled component with dynamic styles and theming."
note for ComponentStyle "Manages the CSS rules and injection into the stylesheet."
note for StyleSheet "Handles the insertion and rehydration of CSS rules."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
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.
Snyk has created this PR to upgrade styled-components from 4.4.1 to 6.1.15.
ℹ️ 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.
The recommended version is 138 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-VITE-5664718
SNYK-JS-VITE-6182924
SNYK-JS-VITE-8023174
SNYK-JS-VITE-8648411
SNYK-JS-BABELTRAVERSE-5962462
SNYK-JS-NANOID-8492085
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-POSTCSS-5926692
SNYK-JS-ROLLUP-8073097
SNYK-JS-VITE-6531286
SNYK-JS-VITE-8022916
Release notes
Package name: styled-components
Patch Changes
Patch Changes
What's Changed
New Contributors
Full Changelog: v6.1.12...v6.1.13
What's Changed
New Contributors
Full Changelog: v6.1.11...v6.1.12
What's Changed
Full Changelog: v6.1.10...v6.1.11
What's Changed
New Contributors
Full Changelog: v6.1.9...v6.1.10
What's Changed
New Contributors
Full Changelog: v6.1.8...v6.1.9
Revert adding
peerDependencies
from v6.1.7; apparently some package managers have differing behaviors aroundpeerDependenciesMeta[package].optional
which is causing issues. Will revisit at a later date if possible.Full Changelog: v6.1.7...v6.1.8
What's Changed
chore: add all missing peer dependency statements by @ quantizor in #4243
NOTE: this change may cause some installed dependency duplication until this NPM bug is addressed but yarn and pnpm have correct behavior. Bun also has a similar bug.
Overall these changes ensure that styled-components is specifying a known working version of all utilized libraries, while instructing the client package manager that higher semver-compliant versions are permissible and should work, assuming the relevant libraries are compliant in practice.
Full Changelog: v6.1.6...v6.1.7
What's Changed
Full Changelog: v6.1.5...v6.1.6
Important
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:
Summary by Sourcery
Chores: