Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE(config): npm 9 should refuse to set deprecated config items. #535

Closed
Tracked by #443
wraithgar opened this issue Aug 15, 2022 · 1 comment
Closed
Tracked by #443
Assignees
Labels
Milestone

Comments

@wraithgar
Copy link
Member

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.

@lukekarrys 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
@lukekarrys lukekarrys mentioned this issue Sep 2, 2022
32 tasks
@lukekarrys lukekarrys added this to the v9.0.0 milestone Sep 2, 2022
@Taishawnk
Copy link

What is the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants