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
Further building on previous comments and suggestions, for me I needed to wipe the existing node_modules folder, the cache, and then grab the sha512 package-lock.json file from git (which was committed from another computer), and finally do an npm i. Something like this:
npm i -g npm
rm -rf node_modules/
npm cache clear --force
git reset --hard
npm i
After this package-lock.json used sha512 and other changes stabilized.