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

libnpmconfig is deprecated in favor of @npmcli/config #13

Closed
JounQin opened this issue May 16, 2022 · 3 comments
Closed

libnpmconfig is deprecated in favor of @npmcli/config #13

JounQin opened this issue May 16, 2022 · 3 comments

Comments

@JounQin
Copy link

JounQin commented May 16, 2022

No description provided.

@wooorm
Copy link
Owner

wooorm commented May 16, 2022

Open to that, but last I checked that didn’t do what we use libnpmconfig for 🤷‍♂️

load-plugin/index.js

Lines 39 to 44 in 1dfd259

/**
* Note: `libnpmconfig` uses `figgy-pudding` which is slated for archival.
* Either `libnpmconfig` will switch to an alternative or we’ll have to.
* @type {string}
*/
let npmPrefix = libNpmConfig.read(null, builtinNpmConfig).prefix

@JounQin
Copy link
Author

JounQin commented May 17, 2022

Maybe we should raise an issue for alternative on upstream?

@wooorm
Copy link
Owner

wooorm commented May 24, 2022

Solved! I think it’s a potentially breaking change though, so went with a major

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

No branches or pull requests

2 participants