-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug] yarn up does not properly update non-npm dependencies #1492
Comments
This is particularly dangerous if a dependency's name is something common (eg. I think the expected behavior or Low risk, but in theory, a malicious package could be created on npm to target some internal package used at some company, and run some install script once someone runs |
This comment has been minimized.
This comment has been minimized.
This issue reproduces on master:
|
I'm also getting an error [YN0027] when trying to update a private package using a |
This and other handling of non-npm packages is, frankly, insane. I find it hard to view any of this as an upgrade when previously supported features are non-functional half a decade after release - and in other threads are even referred to as "feature requests"... |
Today I had an internal git npm package replaced with some random package from npm after doing an upgrade. |
I'd really like to see a reply from the maintainers here. This can indeed present serious problems. |
Describe the bug
Running
yarn up pkg
wherepkg
is a git dependency removes the git dependency and replaces it with a npm dependency.To Reproduce
Reproduction
The text was updated successfully, but these errors were encountered: