Skip to content

build(deps): bump proxy-from-env from 1.1.0 to 2.0.0#934

Open
dependabot[bot] wants to merge 1 commit intomain-enterprisefrom
dependabot/npm_and_yarn/proxy-from-env-2.0.0
Open

build(deps): bump proxy-from-env from 1.1.0 to 2.0.0#934
dependabot[bot] wants to merge 1 commit intomain-enterprisefrom
dependabot/npm_and_yarn/proxy-from-env-2.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

Bumps proxy-from-env from 1.1.0 to 2.0.0.

Release notes

Sourced from proxy-from-env's releases.

v2.0.0

What's Changed

  • Remove url.parse usage to avoid DEP0169 DeprecationWarning (#30).

  • Use WHATWG URL constructor to parse strings instead of url.parse. This may cause getProxyForUrl to return an empty string instead of a proxy URL when the input is an invalid URL.

  • Switch from CJS to ESM. When import syntax is used, the minimum compatible Node.js version is v12.17.0. When require is used, the minimum compatible Node.js version is v20.19.0, because that version introduced require(esm) support.

  • Drop detection of npm_config_-prefixed environment variables, which was introduced in 1.1.0. Now the behavior is back to version 1.0.0. This should not affect users in practice, because the npn ecosystem dropped support for these environment variables many years ago (#13).

Full Changelog: Rob--W/proxy-from-env@v1.1.0...v2.0.0

Commits
  • f4d1be8 2.0.0
  • 83cb866 Update README
  • e32b37e Replace url.parse with WHATWG URL API
  • 00ac7ff Drop support for npm_config_* prefixes
  • abefaff Add sideEffects:false to package.json for easier tree shaking
  • 3549220 test: simplify testProxyUrl
  • 2f8948f CI: Run tests with all supported Node.js versions
  • 582fa7f Add test for difference between url.parse and WHATWG URL
  • 7c0264e Migrate from CommonJS to ESM
  • 520d25a Upgrade to eslint 9 with flat config
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 1, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/proxy-from-env-2.0.0 branch from 6122d0d to 5345254 Compare March 2, 2026 22:54
Bumps [proxy-from-env](https://github.com/Rob--W/proxy-from-env?target=https://github.com) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/Rob--W/proxy-from-env/releases?target=https://github.com)
- [Commits](Rob--W/proxy-from-env@v1.1.0...v2.0.0)

---
updated-dependencies:
- dependency-name: proxy-from-env
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/proxy-from-env-2.0.0 branch from 5345254 to f942bd7 Compare March 2, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants