Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency http-proxy-agent to v6 - autoclosed #1951

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented May 14, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
http-proxy-agent ^5.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

TooTallNate/proxy-agents

v6.1.0

Compare Source

Minor Changes
Patch Changes
  • Updated dependencies [66b4c63]
    • agent-base@7.0.2

v6.0.1

Patch Changes
  • 7674748: Update @types/node to v14.18.45
  • Updated dependencies [7674748]
    • agent-base@7.0.1

v6.0.0

Major Changes
  • d99a7c8: Major version bump for all packages
    • ⚠️ This is a breaking change! The HttpProxyAgent constructor argument has been split into two arguments.
Upgrading from 5.x to 6.x

In version 5.x, the HttpProxyAgent constructor took a single argument of either (A) a string, or (B) an object matching the output of
the deprecated url.parse() method
and various extra options.

Now the constructor takes two separate arguments:

  • Argument 1: Either (A) a string, or (B) a WHATWG URL object
  • Argument 2 (optional): An object with standard http.Agent,
    net.TcpNetConnectOpts, and tls.ConnectionOptions properties.

If you were using an object argument in 5.x, you'll need to change the first argument to match the structure of the URL class, and move
any other options to the second argument.

5.x usage:

const agent = new HttpProxyAgent({
  protocol: 'https:',
  host: 'myproxy.mydomain.com'
  port: '1234',
  auth: 'proxyUser:proxyPass',
  timeout: 1000
});

Updated 6.x usage:

const agent = new HttpProxyAgent(
  {
    protocol: 'https:',
    hostname: 'myproxy.mydomain.com'
    port: '1234',
    username: 'proxyUser',
    password: 'proxyPass'
  },
  {
    timeout: 1000
  }
);
Minor Changes
  • 4333067: Add support for core keepAlive: true
Patch Changes
  • c169ced: Convert mocha tests to jest for all packages
  • Updated dependencies [c169ced]
  • Updated dependencies [d99a7c8]
  • Updated dependencies [4333067]
    • agent-base@7.0.0

Configuration

📅 Schedule: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested review from a team as code owners May 14, 2023 14:01
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label May 14, 2023
@renovate-bot renovate-bot force-pushed the renovate/http-proxy-agent-6.x branch from 7931334 to 7957576 Compare May 23, 2023 13:51
@renovate-bot renovate-bot changed the title fix(deps): update dependency http-proxy-agent to v6 fix(deps): update dependency http-proxy-agent to v6 - autoclosed May 25, 2023
@renovate-bot renovate-bot deleted the renovate/http-proxy-agent-6.x branch May 25, 2023 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants