Skip to content

[BUG] npm update breaks package-lock file #1997

Closed
@ruyadorno

Description

@ruyadorno

Current Behavior:

Running npm update removes name, version, dependencies and package[""] from the package-lock.json file.

Expected Behavior:

Running npm update should not remove these expected fields from package-lock.json file

Steps To Reproduce:

in any npm7-powered project:
Run: npm update

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions