Why did package-lock.json change the integrity hash from sha1 to sha512?

后端 未结 7 935
日久生厌
日久生厌 2021-01-31 23:50

I just generated a new npm lockfile, package-lock.json, as part of my typical workflow. But I noticed that this time all of the integrity hashes have been changed from sha1 to s

相关标签:
7条回答
  • 2021-02-01 00:46

    See also https://github.com/npm/npm/issues/17749 which although claims the issue is 'fixed', it isn't. Removing node_modules is a workaround.

    There may be a relationship with operating systems. We're hitting this right now with developers on Linux and Windows platforms.

    0 讨论(0)
提交回复
热议问题