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
a05e27b71
Going forward, record requested ranges not versions in the package-lock. (@iarna)f721eec59
Add 10 to Node.js supported version list. It’s not out yet, but soon my pretties… (@iarna)
DEPENDENCY UPDATES
40aabb94e
libcipm@1.6.1
: Fix bugs on docker and with someprepare
scripts andnpm ci
. Fix a bug where script hooks wouldn’t be called withnpm ci
. Fix a bug wherenpm ci
and--prefix
weren’t compatible. (@isaacseymour) (@umarov) (@mikeshirov) (@billjanitsch)a85372e67
tar@4.4.1
: Switch to safe-buffer and Buffer.from. (@isaacs) (@ChALkeR)588eabd23
lru-cache@4.1.2
07f27ee89
qrcode-terminal@0.12.0
01e4e29bc
request@2.85.0
344ba8819
worker-farm@1.6.0
dc6df1bc4
validate-npm-package-license@3.0.3
97a976696
ssri@5.3.0
9b629d0c6
query-string@5.1.1