Skip to content

[BUG] npm install changes integrity hashes back to SHA1 in package-lock.json #450

@Ionaru

Description

@Ionaru

What / Why

When running npm install, the integrity hashes in package-lock.json change to SHA1 hashes instead of SHA512.

When

  • When running npm install

Where

  • n/a

How

Current Behavior

  • Some hashes are changed to a SHA1 format.
    image

Steps to Reproduce

  • Update npm to 6.13.0
  • Run npm install

Expected Behavior

  • Hashes should be in SHA512 format.

Who

  • @Ionaru
  • Multiple people at my workplace.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions