[BUG] npm update breaks package-lock file (original) (raw)

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