nodejs / corepack

Zero-runtime-dependency package acting as bridge between Node projects and their package managers
MIT License
2.36k stars 150 forks source link

feat: support http urls #361

Closed everett1992 closed 5 months ago

everett1992 commented 6 months ago

I use an localhost http npm registry but corepack always uses the https module and errors on http:// urls.

I do not handle http to https redirects (https to http), I'm open to suggestions, like explicitly failing or only supporting secure upgrades.

everett1992 commented 5 months ago

I'll close this in favor of https://github.com/nodejs/corepack/pull/365