1+ ## 7.0.8 (2020-11-03)
2+
3+ ### DOCUMENTATION
4+
5+ * [ ` 052e977b9 ` ] ( https://github.com/npm/cli/commit/052e977b9d071e1b3654976881d10cd3ddcba788 )
6+ [ #1822 ] ( https://github.com/npm/cli/issues/1822 )
7+ [ #1247 ] ( https://github.com/npm/cli/issues/1247 )
8+ add section on peerDependenciesMeta field in package.json
9+ ([ @foxxyz ] ( https://github.com/foxxyz ) )
10+ * [ ` 52d32d175 ` ] ( https://github.com/npm/cli/commit/52d32d1758c5ebc58944a1e8d98d57e30048e527 )
11+ [ #1970 ] ( https://github.com/npm/cli/issues/1970 )
12+ match npm-exec.md -p usage with lib/exec.js
13+ ([ @dr-js ] ( https://github.com/dr-js ) )
14+ * [ ` 48ee8d01e ` ] ( https://github.com/npm/cli/commit/48ee8d01edd11ed6186c483e1169ff4d2070b963 )
15+ [ #2096 ] ( https://github.com/npm/cli/issues/2096 )
16+ Fix RFC links in changelog
17+ ([ @jtojnar ] ( https://github.com/jtojnar ) )
18+
19+
20+ ### BUG FIXES
21+
22+ * [ ` 6cd3cd08a ` ] ( https://github.com/npm/cli/commit/6cd3cd08af56445e13757cac3af87f3e7d54ed27 )
23+ Support * all* conf keys in publishConfig
24+ * [ ` a1f9be8a7 ` ] ( https://github.com/npm/cli/commit/a1f9be8a7f9b7a3a813fc3e5e705bc982470b0e2 )
25+ [ #2074 ] ( https://github.com/npm/cli/issues/2074 )
26+ Support publishing any kind of spec, not just directories
27+
28+ ### DEPENDENCIES
29+
30+ * [ ` 545382df6 ` ] ( https://github.com/npm/cli/commit/545382df62e3014f3e51d7034e52498fb2b01a37 )
31+ 32+ * Support publishing things other than folders
33+ * [ ` 7d88f1719 ` ] ( https://github.com/npm/cli/commit/7d88f17197e3c8cca9b277378d6f9b054b1b7886 )
34+ 35+ * [ ` 823b40a4e ` ] ( https://github.com/npm/cli/commit/823b40a4e9c6ef76388af6fe01a3624f6f7675be )
36+ 37+ * [ ` 90bf57826 ` ] ( https://github.com/npm/cli/commit/90bf57826edf2f78ddf8deb0793115ead8a8b556 )
38+ 39+ * [ ` e5a413577 ` ] ( https://github.com/npm/cli/commit/e5a4135770d13cf114fac439167637181f87d824 )
40+ 41+ * [ ` fc5aa7b4a ` ] ( https://github.com/npm/cli/commit/fc5aa7b4ad45cb65893f734e1229a6720f7966e5 )
42+ 43+ * [ ` 9fc1dee13 ` ] ( https://github.com/npm/cli/commit/9fc1dee138ca33ecdbd57e63142b27c60cf88f9b )
44+ 45+ * [ ` 0ea870ec5 ` ] ( https://github.com/npm/cli/commit/0ea870ec5d2be1d44f050ad8bc24ed936cc45fde )
46+ 47+ * [ ` 32fd744ea ` ] ( https://github.com/npm/cli/commit/32fd744ea745f297f0be79a80955f077a57c4ac7 )
48+ 49+ * [ ` fc76f3d9f ` ] ( https://github.com/npm/cli/commit/fc76f3d9fcf19e65a9373ab3d9068c4326d2f782 )
50+ 51+ * Fix ` cannot read property 'description' of undefined ` in ` npm ls `
52+ when ` package-lock.json ` is corrupted
53+ * Do not allow peerDependencies to be nested under dependents in any
54+ circumstances
55+ * Always resolve peerDependencies in ` --prefer-dedupe ` mode
56+
157## 7.0.7 (2020-10-30)
258
359### BUG FIXES
602658 sources ([ @ruyadorno ] ( https://github.com/ruyadorno ) )
603659* [ ` 3a63ecb6f ` ] ( https://github.com/npm/cli/commit/3a63ecb6f6a0b235660f73a3ffa329b1f131b0c3 )
604660 [ #1718 ] ( https://github.com/npm/cli/pull/1718 )
605- [ RFC-0029] ( https://github.com/npm/rfcs/blob/latest/accepted /0029-add-ability-to-skip-hooks.md )
661+ [ RFC-0029] ( https://github.com/npm/rfcs/blob/latest/implemented /0029-add-ability-to-skip-hooks.md )
606662 add ability to skip pre/post hooks to ` npm run-script ` by using
607663 ` --ignore-scripts ` ([ @ruyadorno ] ( https://github.com/ruyadorno ) )
608664
@@ -829,7 +885,7 @@ Now on to the list of **BREAKING CHANGES**!
829885### Programmatic Usage
830886
831887- [ RFC
832- 20] ( https://github.com/npm/rfcs/blob/latest/accepted /0020-npm-option-handling.md )
888+ 20] ( https://github.com/npm/rfcs/blob/latest/implemented /0020-npm-option-handling.md )
833889 The CLI and its dependencies no longer use the ` figgy-pudding ` library
834890 for configs. Configuration is done using a flat plain old JavaScript
835891 object.
@@ -859,7 +915,7 @@ The environment for lifecycle scripts (eg, build scripts, `npm test`, etc.)
859915has changed.
860916
861917- [ RFC
862- 21] ( https://github.com/npm/rfcs/blob/latest/accepted /0021-reduce-lifecycle-script-environment.md )
918+ 21] ( https://github.com/npm/rfcs/blob/latest/implemented /0021-reduce-lifecycle-script-environment.md )
863919 Environment no longer includes ` npm_package_* ` fields, or ` npm_config_* `
864920 fields for default configs. ` npm_package_json ` , ` npm_package_integrity ` ,
865921 ` npm_package_resolved ` , and ` npm_command ` environment variables added.
@@ -868,13 +924,13 @@ has changed.
868924 release] ( https://github.com/npm/rfcs/pull/183 ) )
869925
870926- [ RFC
871- 22] ( https://github.com/npm/rfcs/blob/latest/accepted /0022-quieter-install-scripts.md )
927+ 22] ( https://github.com/npm/rfcs/blob/latest/implemented /0022-quieter-install-scripts.md )
872928 Scripts run during the normal course of installation are silenced unless
873929 they exit in error (ie, with a signal or non-zero exit status code), and
874930 are for a non-optional dependency.
875931
876932- [ RFC
877- 24] ( https://github.com/npm/rfcs/blob/latest/accepted /0024-npm-run-traverse-directory-tree.md )
933+ 24] ( https://github.com/npm/rfcs/blob/latest/implemented /0024-npm-run-traverse-directory-tree.md )
878934 ` PATH ` environment variable includes all ` node_modules/.bin ` folders,
879935 even if found outside of an existing ` node_modules ` folder hierarchy.
880936
@@ -924,7 +980,7 @@ We do intend to continue supporting the `npx` that npm ships; just not the
924980### Files On Disk
925981
926982- [ RFC
927- 13] ( https://github.com/npm/rfcs/blob/latest/accepted /0013-no-package-json-_fields.md )
983+ 13] ( https://github.com/npm/rfcs/blob/latest/implemented /0013-no-package-json-_fields.md )
928984 Installed ` package.json ` files no longer are mutated to include extra
929985 metadata. (This extra metadata is stored in the lockfile.)
930986- ` package-lock.json ` is updated to a newer format, using
@@ -940,7 +996,7 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`,
940996` update ` , ` prune ` , ` dedupe ` , ` uninstall ` , ` link ` , and ` audit fix ` .
941997
942998- [ RFC
943- 25] ( https://github.com/npm/rfcs/blob/latest/accepted /0025-install-peer-deps.md )
999+ 25] ( https://github.com/npm/rfcs/blob/latest/implemented /0025-install-peer-deps.md )
9441000 ` peerDependencies ` are installed by default. This behavior can be
9451001 disabled by setting the ` legacy-peer-deps ` configuration flag.
9461002
@@ -951,7 +1007,7 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`,
9511007 of correctness. Use the ` --legacy-peer-deps ` config flag if impacted.
9521008
9531009- [ RFC
954- 23] ( https://github.com/npm/rfcs/blob/latest/accepted /0023-acceptDependencies.md )
1010+ 23] ( https://github.com/npm/rfcs/blob/latest/implemented /0023-acceptDependencies.md )
9551011 Support for ` acceptDependencies ` is added. This can result in dependency
9561012 resolutions that previous versions of npm will incorrectly flag as invalid.
9571013
@@ -973,23 +1029,23 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`,
9731029### Workspaces
9741030
9751031- [ RFC
976- 26] ( https://github.com/npm/rfcs/blob/latest/accepted /0026-workspaces.md )
1032+ 26] ( https://github.com/npm/rfcs/blob/latest/implemented /0026-workspaces.md )
9771033 First phase of ` workspaces ` support is added. This changes npm's
9781034 behavior when a root project's ` package.json ` file contains a
9791035 ` workspaces ` field.
9801036
9811037### ` npm update `
9821038
9831039- [ RFC
984- 19] ( https://github.com/npm/rfcs/blob/latest/accepted /0019-remove-update-depth-option.md )
1040+ 19] ( https://github.com/npm/rfcs/blob/latest/implemented /0019-remove-update-depth-option.md )
9851041 Update all dependencies when ` npm update ` is run without any arguments.
9861042 As it is no longer relevant, ` --depth ` config flag removed from `npm
9871043 update`.
9881044
9891045### ` npm outdated `
9901046
9911047- [ RFC
992- 27] ( https://github.com/npm/rfcs/blob/latest/accepted /0027-remove-depth-outdated.md )
1048+ 27] ( https://github.com/npm/rfcs/blob/latest/implemented /0027-remove-depth-outdated.md )
9931049 Remove ` --depth ` config from ` npm outdated ` . Only top-level dependencies
9941050 are shown, unless ` --all ` config option is set.
9951051
0 commit comments