Skip to content

proxy quirks #635

Closed
Closed
@aep-sunlife

Description

@aep-sunlife
  • I don't see the node-proxy-agent dependency registered in package.json. Is this truly the HTTP client framework that corepack uses to download components when running corepack install?
  • node-proxy-agent is a dead project with a successor "proxy-agents". When can we replace the dead proxy dependency with a live one?
  • Despite both corepack and node-proxy-agent documenting uppercase HTTP_PROXY, HTTPS_PROXY environment variables, on my machine only the lowercase ones http_proxy, https_proxy have any effect on whether package installation occurs through a proxy or not.
  • Unlike many other applications, including NPM, corepack fails when presented with the proxy URL's http:// or https:// (no address). The user's intention here is to indicate that no proxy should be used. And these URL values make larger configuration scripting a lot easier.
  • Why not use the same HTTP client as NPM, so that proxy configuration at least behaves identically? Then any questions about configuration can simply link to official NPM documentation. Smaller technology stack, smaller attack surface, less maintenance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions