Thursday, 22 February, 2018 UTC


Summary

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 `[email protected]`, 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.
* [`74e149da6`](https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0) [`#19883`](https://github.com/npm/npm/issue/19883) Revert “*: Switch from mkdirp to correctMkdir to preserve perms and owners” This reverts commit [`94227e15`](https://github.com/npm/npm/commit/94227e15eeced836b3d7b3d2b5e5cc41d4959cff). ([@zkat](https://github.com/zkat))