npm v6.0.1-next.0 Release Notes
Release Date: 2018-05-04 // almost 6 years ago-
๐ฆ CTRL-C OUT DURING PACKAGE EXTRACTION AS MUCH AS YOU WANT!
- ๐ฆ
b267bbbb9
npm/lockfile#29[email protected]
: Switches tosignal-exit
to detect abnormal exits and remove locks. (@Redsandro)
SHRONKWRAPS AND LACKFILES
๐ If a published modules had legacy
npm-shrinkwrap.json
we were saving ordinary registry dependencies (name@version
) to yourpackage-lock.json
ashttps://
URLs instead of versions.- ๐
89102c0d9
When saving the lock-file compute how the dependency is being required instead of using_resolved
in thepackage.json
. This fixes the bug that was converting registry dependencies intohttps://
dependencies. (@iarna) - ๐
676f1239a
When encountering ahttps://
URL in our lockfiles that point at our default registry, extract the version and use them as registry dependencies. This lets us healpackage-lock.json
files produced by 6.0.0 (@iarna)
AUDIT AUDIT EVERYWHERE
You can't use it quite yet, but we do have a few last moment patches to
npm audit
to make it even better when it is turned on!b2e4f48f5
Make sure we hide stream errors on background audit submissions. Previously some classes of error could end up being displayed (harmlessly) during installs. (@iarna)1fe0c7fea
Include session and scope in requests (as we do in other requests to the registry). (@iarna)- โ
d04656461
Exit with non-zero status when vulnerabilities are found. So you can havenpm audit
as a test or prepublish step! (@iarna) fcdbcbacc
Verify lockfile integrity before running. You'd get an error either way, but this way it's faster and can give you more concrete instructions on how to fix it. (@iarna)2ac8edd42
Refuse to run in global mode. Audits require a lockfile and globals don't have one. Yet. (@iarna)
๐ DOCUMENTATION IMPROVEMENTS
- โก๏ธ
b7fca1084
#20407 Update the lock-file spec doc to mention that we now generate the from field forgit
-type dependencies. (@watilde) 7a6555e61
#20408 Describe what the colors in outdated mean. (@teameh)
โก๏ธ DEPENDENCY UPDATES
5e56b3209
[email protected]
(@evilpacket)- ๐
58a0b31b4
[email protected]
(@iarna) e7a8c364f
zkat/pacote#148[email protected]
(@redonkulus)46c0090a5
[email protected]
(@isaacs)- โก๏ธ
8a16db3e3
[email protected]
(@alexccl) 696375903
[email protected]
(@feross)c949eb26a
[email protected]
(@sindresorhus)
- ๐ฆ