The npm blog has been discontinued.
Updates from the npm team are now published on the GitHub Blog and the GitHub Changelog.
v5.9.0-next.0
Coming to you this week are a fancy new package view, pack/publish previews and a handful of bug fixes! Let’s get right in!
NEW PACKAGE VIEW
There’s a new npm view in town. You might it as npm info or npm show. The new output gives you a nicely summarized view that for most packages fits on one screen. If you ask it for --json you’ll still get the same results, so your scripts should still work fine.
143cdbf13#19910 Add humanized default view. (@zkat)ca84be91c#19910tiny-relative-date@1.3.0(@zkat)9a5807c4f#19910cli-columns@3.1.2(@zkat)23b4a4fac#19910byte-size@4.0.2
PACK AND PUBLISH PREVIEWS
The npm pack and npm publish commands print out a summary of the files included in the package. They also both now take the --dry-run flag, so you can double check your .npmignore settings before doing a publish.
116e9d827#19908 Add package previews to pack and publish. Also add –dry-run and –json flags. (@zkat)
MERGE CONFLICT, SMERGE CONFLICT
If you resolve a package-lock.json merge conflict with npm install we now suggest you setup a merge driver to handle these automatically for you. If you’re reading this and you’d like to set it up now, run:
npx npm-merge-driver install -g
MISC BITS
a05e27b71Going forward, record requested ranges not versions in the package-lock. (@iarna)f721eec59Add 10 to Node.js supported version list. It’s not out yet, but soon my pretties… (@iarna)
DEPENDENCY UPDATES
40aabb94elibcipm@1.6.1: Fix bugs on docker and with somepreparescripts andnpm ci. Fix a bug where script hooks wouldn’t be called withnpm ci. Fix a bug wherenpm ciand--prefixweren’t compatible. (@isaacseymour) (@umarov) (@mikeshirov) (@billjanitsch)a85372e67tar@4.4.1: Switch to safe-buffer and Buffer.from. (@isaacs) (@ChALkeR)588eabd23lru-cache@4.1.207f27ee89qrcode-terminal@0.12.001e4e29bcrequest@2.85.0344ba8819worker-farm@1.6.0dc6df1bc4validate-npm-package-license@3.0.397a976696ssri@5.3.09b629d0c6query-string@5.1.1