npm/pacote

[BUG] Proxy settings appear to be ignored.

Opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Proxy settings are ignored. Requests assume that a proxy is not required.

Expected Behavior

Proxy settings should be honoured.

Steps To Reproduce

  1. Run pacote.packument("any-name", {proxy: "http://localhost:8080"})
  2. Requests made should fail (unless you happen to have a proxy set up at that address)

(Note, bug originally raised here: raineorshine/npm-check-updates#1069)

Environment

  • npm: 8.5.4
  • Node: 17.7.1
  • OS: Windows 11
  • platform: Windows