You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`npm` now outputs some json errors on stdout. Previously `npm` 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 as `E404` and `ERESOLVE`, 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.
8
+
*`npm config set` will no longer accept deprecated or invalid config options.
9
+
*`timing` and `loglevel` changes
10
+
-`timing` has been removed as a value for `--loglevel`
11
+
-`--timing` will show timing information regardless of
12
+
`--loglevel`, except when `--silent`
13
+
* deprecate boolean install flags in favor of `--install-strategy`
14
+
* deprecate --global-style, --global now sets --install-strategy=shallow
15
+
* deprecate --legacy-bundling, now sets --install-strategy=nested
16
+
* npm will no longer attempt to modify ownership of files it creates
17
+
* this package no longer attempts to change file ownership automatically
18
+
* this package no longer attempts to change file ownership automatically
19
+
20
+
### Features
21
+
22
+
*[`d3543e9`](https://github.com/npm/cli/commit/d3543e945e721783dcb83385935f282a4bb32cf3) output json formatted errors on stdout (#5716) (@lukekarrys)
23
+
*[`be642c6`](https://github.com/npm/cli/commit/be642c6b8e3df40fd43b0110b30d3ecd44086016) refuse to set deprecated/invalid config (#5719) (@wraithgar)
24
+
*[`332914b`](https://github.com/npm/cli/commit/332914b48b616099e586893b1df21480b7ddb733) separate configs for `--timing` and `--loglevel` (@lukekarrys)
*[`58065bc`](https://github.com/npm/cli/commit/58065bc679e6968742b5b15fa2fb82dd9e8ae988)[#5704](https://github.com/npm/cli/pull/5704) do not alter file ownership (@nlf)
28
+
*[`475e9b6`](https://github.com/npm/cli/commit/475e9b6c0c978a104dd2ee47bde22b0a031a95f9)[#5703](https://github.com/npm/cli/pull/5703) do not alter file ownership (@nlf)
29
+
30
+
### Bug Fixes
31
+
32
+
*[`6ffa5b7`](https://github.com/npm/cli/commit/6ffa5b7bbb8fd7cae1a0b955a1f762661ec5e9ed)`npm hook ls` duplicates hook name prefixes (#5295) (@gennadiygashev)
33
+
*[`1afe5ba`](https://github.com/npm/cli/commit/1afe5ba9647d1f0f55bf0a4bace543965d05daed) account for new npm-package-arg behavior (@wraithgar)
34
+
*[`353b5bb`](https://github.com/npm/cli/commit/353b5bb92c3f7899526536b597252b44aa8a712d)[#5710](https://github.com/npm/cli/pull/5710) remove chownr and mkdirp-infer-owner (@nlf)
35
+
36
+
### Documentation
37
+
38
+
*[`9e74d3e`](https://github.com/npm/cli/commit/9e74d3e847c4bc0abc630fbe81328e011d6f0187) update supported engines in readme (#5725) (@lukekarrys)
*[`aa01072`](https://github.com/npm/cli/commit/aa010722996ef6de46e1bb937c6f8a94dc2844fa)[#5707](https://github.com/npm/cli/pull/5707) update the following dependencies
*[`475e9b6`](https://github.com/npm/cli/commit/475e9b6c0c978a104dd2ee47bde22b0a031a95f9)[#5703](https://github.com/npm/cli/pull/5703) do not alter file ownership (@nlf)
16
+
17
+
### Bug Fixes
18
+
19
+
*[`1afe5ba`](https://github.com/npm/cli/commit/1afe5ba9647d1f0f55bf0a4bace543965d05daed) account for new npm-package-arg behavior (@wraithgar)
*[`aa01072`](https://github.com/npm/cli/commit/aa010722996ef6de46e1bb937c6f8a94dc2844fa)[#5707](https://github.com/npm/cli/pull/5707) update the following dependencies
*[`aa01072`](https://github.com/npm/cli/commit/aa010722996ef6de46e1bb937c6f8a94dc2844fa)[#5707](https://github.com/npm/cli/pull/5707) update the following dependencies
*[`aa01072`](https://github.com/npm/cli/commit/aa010722996ef6de46e1bb937c6f8a94dc2844fa)[#5707](https://github.com/npm/cli/pull/5707) update the following dependencies
0 commit comments