Skip to content
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

chore(deps): remove package-lock.json name property #1686

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Jan 5, 2025

Description

Due to npm/cli#4608, a "name" property was added to the package-lock.json file by npm audit fix in 01fe042 even though npm install removes it again.

This commits the diff caused by running npm install. Of course, if the linked issue gets resolved in the other direction (always creating a name property in package-lock.json based on the folder name if there is no name in package.json), this would be incorrect, but this is how it is at the moment. (Also, that wouldn't make much sense as a resolution, imho).

Testing steps

n/a

Copy link
Owner

@AprilSylph AprilSylph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol i thought it would just stay there. thanks npm

@AprilSylph AprilSylph merged commit f1890e1 into AprilSylph:master Jan 5, 2025
1 check passed
@marcustyphoon
Copy link
Collaborator Author

I guess I could, alternatively, have added the name property to package.json. Eh, works either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants