-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Snyk] Upgrade @emotion/styled from 11.8.1 to 11.14.0 #1737
base: canary
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade @emotion/styled from 11.8.1 to 11.14.0. See this package in npm: @emotion/styled See this project in Snyk: https://app.snyk.io/org/sammyfilly/project/dfc63244-4b68-4d04-ba0c-34441e18443d?utm_source=github&utm_medium=referral&page=upgrade-pr
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Run & review this pull request in StackBlitz Codeflow. |
Deployment failed with the following error:
|
|
Reviewer's Guide by SourceryThis PR upgrades @emotion/styled from 11.8.1 to 11.14.0. The upgrade includes migration of the source code to TypeScript, a fix for inconsistent hashes when using development vs production bundles with @emotion/babel-plugin and sourceMap enabled, and other dependency updates. Class diagram showing TypeScript migration changesclassDiagram
class EmotionStyled {
<<After v11.14.0>>
+createStyled()
+withTheme()
+ThemeContext
}
note for EmotionStyled "Migrated to TypeScript
Improved type definitions"
class StyledComponent {
+displayName: string
+toString(): string
+withComponent()
}
EmotionStyled --> StyledComponent: creates
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.
Snyk has created this PR to upgrade @emotion/styled from 11.8.1 to 11.14.0.
ℹ️ 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 12 versions ahead of your current version.
The recommended version was released 23 days ago.
Release notes
Package name: @emotion/styled
Minor Changes
a19d019
Thanks @ Andarist! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.Patch Changes
e1bf17e
]:Patch Changes
#3270
77d930d
Thanks @ emmatown! - Fix inconsistent hashes using development vs production bundles/exports
conditions when using@ emotion/babel-plugin
withsourceMap: true
(the default). This is particularly visible when using Emotion with the Next.js Pages router where thedevelopment
condition is used when bundling code but not when importing external code with Node.js.Updated dependencies [
77d930d
]: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
Build: