Repository navigation
Commit 9e17dc0
authored
docs: clarify npm 12 unknown-config breaking change in changelogs (#9805)
## Summary
Fixes #9802.
Before the npm 12 stable cut, #9729 restored warn-by-default for unknown
`.npmrc` keys (with `strict-npmrc` to opt into errors). #9733 updated
the `12.0.0-pre.1` changelog bullet to match, but the aggregated stable
`12.0.0` / `@npmcli/[email protected]` breaking-change notes (and the config
package's `pre.1` note) still said unknown `.npmrc` configs throw.
That stale line also shipped in the published [v12.0.0 GitHub release
notes](https://github.com/npm/cli/releases/tag/v12.0.0).
This aligns those changelog bullets with the corrected wording:
> unknown CLI flags, abbreviated flags, and single-hyphen multi-char
shorthands now throw instead of warning. (Unknown `.npmrc` configs still
warn by default; opt into erroring with the new `strict-npmrc` config.)
Maintainers may also want to refresh the published `v12.0.0` release
body to match; that cannot be updated via this PR alone.
## References
- #9729 (warn instead of error on unknown `.npmrc` configs)
- #9733 (clarified the `pre.1` changelog note)1 parent 74eff59 commit 9e17dc0
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments