-
Notifications
You must be signed in to change notification settings - Fork 43
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
[Discussion]: Remove package-lock.json #124
Comments
Personally I'm a fan of having the It shouldn't result in anyone downloading any extra packages afaik? |
Thank you for your input! It could result in someone downloading extra versions of the same package. If in audit-ci's I am still leaning towards keeping the |
That's true, but only for people checking out this repo, not when using the published package.
In the situation you describe, both npm & yarn should remove the (This is the main area where npm & yarn differ in their locks: npm strives for the most accurate tree possible, whereas yarn aims for the most deduplicated, so in these situations yarn can result in slightly few packages as it'll choose to downgrade/not-upgrade instead of have two packages installed when adding a package to an existing tree) |
To reduce the number of packages for clients to download, we can remove the
package-lock.json
.This does have security implications under-the-hood since the entire dependency tree is managed through package-lock.json for more consistent installations.
The text was updated successfully, but these errors were encountered: