You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
The reason will be displayed to describe this comment to others. Learn more.
@nmoinvaz no, that's incorrect. ^ is a semver range, so intermediate packages need never do anything for you to update transitive deps to nonbreaking versions. You just need to update your lockfiles.
5680a1f
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.
Hello! Any chance this will be released soon?
5680a1f
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.
@lucashaensch there's no need; the dependency uses
^
- the semver range - so these updates are automatic. You just need to update your lockfile.5680a1f
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.
I think there needs to be a release in order for that to happen right? Unless we are using
@main
..5680a1f
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.
@nmoinvaz no, that's incorrect.
^
is a semver range, so intermediate packages need never do anything for you to update transitive deps to nonbreaking versions. You just need to update your lockfiles.5680a1f
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.
I don't know how it works but here's a Dependabot alert. Which package should update what to get this fixed?
5680a1f
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.
It says yarn.lock, so, yarn update json5. 1.0.2 fixes the issue, but it’s possible the security warning hasn’t been updated to acknowledge that yet.
5680a1f
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.
Thanks, @ljharb but I tried
yarn update json5 1.0.2
,yarn update json5
, andyarn upgrade-interactive --latest
.None of these changed my
yarn.lock
😞5680a1f
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're right :) Just deleted yarn.lock and
yarn build
did the trick. Thanks!