npm Blog (Archive)

The npm blog has been discontinued.

Updates from the npm team are now published on the GitHub Blog and the GitHub Changelog.


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.

* [`74e149da6`]( [`#19883`]( Revert “*: Switch from mkdirp to correctMkdir to preserve perms and owners” This reverts commit [`94227e15`]( ([@zkat](