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
Our deprecation warnings show items as flags, which means if you npm config set foo where foo is deprecated you get a warning that implies you used --foo. We can't really change our deprecation warnings because then folks would inevitably complain that foo is an invalid param (without the --).
A simple solution is to stop allowing npm config itself setting deprecated configs.
The text was updated successfully, but these errors were encountered:
lukekarrys
changed the title
[Breaking] npm 9 should refuse to set deprecated config items.
BREAKING CHANGE(config): npm 9 should refuse to set deprecated config items.
Sep 2, 2022
Our deprecation warnings show items as flags, which means if you
npm config set foo
wherefoo
is deprecated you get a warning that implies you used--foo
. We can't really change our deprecation warnings because then folks would inevitably complain thatfoo
is an invalid param (without the--
).A simple solution is to stop allowing
npm config
itself setting deprecated configs.The text was updated successfully, but these errors were encountered: