unstale

npm / proxy-from-env

proxy-from-env

What changed in proxy-from-env 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

3 breaking1 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

proxy-from-env 24 changes

Breaking changes 3

  • The package switches from CJS to ESM; import requires Node.js v12.17.0 or later, while require requires Node.js v20.19.0 or later.

    2.0.0release notes

  • Invalid URL inputs may now return an empty string instead of a proxy URL because strings are parsed with the WHATWG URL constructor.

    2.0.0release notes

  • Detection of npm_config_-prefixed environment variables is dropped, reverting behavior to version 1.0.0.

    2.0.0release notes

Behavior and default changes 1

  • Supports older Node.js versions, as old as Node v10.0.0.

    2.1.0release notes