v9.0.0-pre.6
Pre-release
Pre-release
9.0.0-pre.6 (2022-10-19)
⚠️ BREAKING CHANGES
npm
now outputs some json errors on stdout. Previouslynpm
would output all json formatted errors on stderr, making it difficult to parse as the stderr stream usually has logs already written to it. In the future,npm
will differentiate between errors and crashes. Errors, such asE404
andERESOLVE
, will be handled and will continue to be output on stdout. In the case of a crash,npm
will log the error as usual but will not attempt to display it as json, even in--json
mode. Moving a case from the category of an error to a crash will not be considered a breaking change. For more information see npm/rfcs#482.npm config set
will no longer accept deprecated or invalid config options.timing
andloglevel
changestiming
has been removed as a value for--loglevel
--timing
will show timing information regardless of
--loglevel
, except when--silent
- deprecate boolean install flags in favor of
--install-strategy
- deprecate --global-style, --global now sets --install-strategy=shallow
- deprecate --legacy-bundling, now sets --install-strategy=nested
- npm will no longer attempt to modify ownership of files it creates
- this package no longer attempts to change file ownership automatically
- this package no longer attempts to change file ownership automatically
Features
d3543e9
output json formatted errors on stdout (#5716) (@lukekarrys)be642c6
refuse to set deprecated/invalid config (#5719) (@wraithgar)332914b
separate configs for--timing
and--loglevel
(@lukekarrys)f653785
deprecatedkey
,cert
config options and updated registry scoped auth docs (@fritzy)de2d33f
add --install-strategy=hoisted|nested|shallow, deprecate --global-style, --legacy-bundling (#5709) (@fritzy)58065bc
#5704 do not alter file ownership (@nlf)475e9b6
#5703 do not alter file ownership (@nlf)
Bug Fixes
6ffa5b7
npm hook ls
duplicates hook name prefixes (#5295) (@gennadiygashev)1afe5ba
account for new npm-package-arg behavior (@wraithgar)353b5bb
#5710 remove chownr and mkdirp-infer-owner (@nlf)
Documentation
9e74d3e
update supported engines in readme (#5725) (@lukekarrys)
Dependencies
88137a3
npmlog@7.0.1
2008ea6
npm-package-arg@10.0.0
,pacote@15.0.2
aa01072
#5707 update the following dependencies- Workspace:
@npmcli/arborist@6.0.0-pre.5
- Workspace:
libnpmaccess@7.0.0-pre.2
- Workspace:
libnpmdiff@5.0.0-pre.3
- Workspace:
libnpmexec@5.0.0-pre.5
- Workspace:
libnpmfund@4.0.0-pre.5
- Workspace:
libnpmhook@9.0.0-pre.1
- Workspace:
libnpmorg@5.0.0-pre.1
- Workspace:
libnpmpack@5.0.0-pre.4
- Workspace:
libnpmpublish@7.0.0-pre.4
- Workspace:
libnpmsearch@6.0.0-pre.1
- Workspace:
libnpmteam@5.0.0-pre.1
- Workspace:
libnpmversion@4.0.0-pre.1