[Snyk] Security upgrade styled-components from 5.3.11 to 6.1.0#14
[Snyk] Security upgrade styled-components from 5.3.11 to 6.1.0#14TimCrooker wants to merge 1 commit intomasterfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DEBUG-12552895
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the styled-components dependency from version 5.3.11 to 6.1.0 to address a critical security vulnerability (SNYK-JS-DEBUG-12552895) with a severity score of 965/1000.
- Updates styled-components from ^5.2.1 to ^6.1.0 in package.json
- Addresses a malicious package vulnerability in the debug dependency chain
- Represents a major version upgrade with potential breaking changes
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| { | ||
| "dependencies": { | ||
| "styled-components": "^5.2.1" | ||
| "styled-components": "^6.1.0" |
There was a problem hiding this comment.
The @types/styled-components version (^5.1.14) is incompatible with styled-components ^6.1.0. This type definition package should be updated to a version compatible with styled-components v6 to avoid TypeScript compilation errors.
| "styled-components": "^6.1.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/styled-components": "^5.1.14", |
There was a problem hiding this comment.
The @types/styled-components version (^5.1.14) is incompatible with styled-components ^6.1.0. This type definition package should be updated to a version compatible with styled-components v6 to avoid TypeScript compilation errors.
| "@types/styled-components": "^5.1.14", |
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
plugins/styled-components/package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-DEBUG-12552895
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.