-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
Npm messes up lockfile when updating unrelated dependencies. I suspect this PR is the reason: #8431
Expected Behavior
Npm doesn't remove packages from the lockfile.
Steps To Reproduce
- Install newest Npm.
- Checkout this commit: jakubmazanec/tools@78bacfc
- Run
npm install
- Dependencies are removed, e.g.: jakubmazanec/tools@28fa06f#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
Environment
- npm: 11.5.2
- Node.js: 24.6.0
- OS Name: Windows 11
raviqqe
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps