Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

v5.7.1

Compare
Choose a tag to compare
@zkat zkat released this 22 Feb 17:30
· 300 commits to latest since this release
v5.7.1

This release reverts a patch that could cause some ownership changes on system files when running from some directories when also using sudo. 馃槻

Thankfully, it only affected users running npm@next, which is part of our staggered release system, which we use to prevent issues like this from going out into the wider world before we can catch them. Users on latest would have never seen this!

The original patch was added to increase consistency and reliability of methods npm uses to avoid writing files as root in places it shouldn't, but the change was applied in places that should have used regular mkdirp`. This release reverts that patch.