-
Notifications
You must be signed in to change notification settings - Fork 262
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
Fix ASI after a colon #228
Conversation
Related PR in stylis: thysultan/stylis#33 |
package.json
Outdated
@@ -62,7 +62,7 @@ | |||
"escape-string-regexp": "1.0.5", | |||
"source-map": "0.5.6", | |||
"string-hash": "1.1.1", | |||
"stylis": "3.0.15" | |||
"stylis": "^3.0.17" |
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.
please pin this version, i.e. remove the ^
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.
Thank you for the PR! Just fix the small dependency thing and I'll merge
yarn.lock
Outdated
stylis@3.0.15: | ||
version "3.0.15" | ||
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.0.15.tgz#e0f9bf403048511043b479d39422c835141e0fbb" | ||
stylis@^3.0.17: |
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.
you should update this too
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.
Sorry, that's the limit of what I can do on my phone 😉 I'll take care of this later when I'm in front of the PC.
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.
hah, ok no worries. Thank you!
I installed manually and updated the |
@fatfisz thank you for helping out!! I'll release today or tomorrow - I need to squeeze in another fix. |
There is a regression compared to 0.5.7, where this worked correctly:
One of the newer versions of styled-jsx broke this - a semicolon is added after
background-image:
.This is fixed in stylis 3.0.17. This branch updates stylis and adds a test to prevent regressions.