bitwarden / directory-connector

A tool for syncing a directory (AD, LDAP, Azure, G Suite, Okta) to an organization.
https://bitwarden.com
GNU General Public License v3.0
250 stars 82 forks source link

[AC-2219] [deps]: Update https-proxy-agent to v7 #451

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
https-proxy-agent (source) 5.0.1 -> 7.0.4 age adoption passing confidence

Release Notes

TooTallNate/proxy-agents (https-proxy-agent) ### [`v7.0.4`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#704) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@7.0.3...https-proxy-agent@7.0.4) ##### Patch Changes - [`b88ab46`](https://togithub.com/TooTallNate/proxy-agents/commit/b88ab46): Import `url` instead of `node:url` πŸ€·β€β™‚οΈ ### [`v7.0.3`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#703) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@7.0.2...https-proxy-agent@7.0.3) ##### Patch Changes - [`c3c405e`](https://togithub.com/TooTallNate/proxy-agents/commit/c3c405e): Add missing `URL` type import ### [`v7.0.2`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#702) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@7.0.1...https-proxy-agent@7.0.2) ##### Patch Changes - [`e625d10`](https://togithub.com/TooTallNate/proxy-agents/commit/e625d10): Support SNI for proxy servers ### [`v7.0.1`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#701) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@7.0.0...https-proxy-agent@7.0.1) ##### Patch Changes - [`23fe1e3`](https://togithub.com/TooTallNate/proxy-agents/commit/23fe1e3): Correct the header parsing logic to stop before the response content to avoid generating an exception. ### [`v7.0.0`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#700) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@6.2.1...https-proxy-agent@7.0.0) ##### Major Changes - [`b3860aa`](https://togithub.com/TooTallNate/proxy-agents/commit/b3860aa): Remove `secureProxy` getter It was not meant to be a public property. If you were using it, just use `agent.proxy.protocol === 'https:'` instead. ### [`v6.2.1`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#621) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@6.2.0...https-proxy-agent@6.2.1) ##### Patch Changes - [`0b8a0b7`](https://togithub.com/TooTallNate/proxy-agents/commit/0b8a0b7): Properly reject errors during proxy `CONNECT` response ### [`v6.2.0`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#620) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@6.1.0...https-proxy-agent@6.2.0) ##### Minor Changes - [`8ff9faa`](https://togithub.com/TooTallNate/proxy-agents/commit/8ff9faa): "headers" option can now be a function ##### Patch Changes - Updated dependencies \[[`66b4c63`](https://togithub.com/TooTallNate/proxy-agents/commit/66b4c63)] - agent-base@7.0.2 ### [`v6.1.0`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#610) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/https-proxy-agent@6.0.0...https-proxy-agent@6.1.0) ##### Minor Changes - [`fd6209c`](https://togithub.com/TooTallNate/proxy-agents/commit/fd6209c): Emit "proxyConnect" event on HTTP `request` object (part of [#​153](https://togithub.com/TooTallNate/proxy-agents/issues/153)) - [`c573dbe`](https://togithub.com/TooTallNate/proxy-agents/commit/c573dbe): Emit "proxyConnect" event on Agent instance ##### Patch Changes - [`7674748`](https://togithub.com/TooTallNate/proxy-agents/commit/7674748): Update `@types/node` to v14.18.45 - Updated dependencies \[[`7674748`](https://togithub.com/TooTallNate/proxy-agents/commit/7674748)] - agent-base@7.0.1 ### [`v6.0.0`](https://togithub.com/TooTallNate/proxy-agents/blob/HEAD/packages/https-proxy-agent/CHANGELOG.md#600) [Compare Source](https://togithub.com/TooTallNate/proxy-agents/compare/5.0.1...https-proxy-agent@6.0.0) ##### Major Changes - [`d99a7c8`](https://togithub.com/TooTallNate/proxy-agents/commit/d99a7c8): Major version bump for all packages - ⚠️ This is a breaking change! The `HttpsProxyAgent` constructor argument has been split into two arguments. ##### Upgrading from 5.x to 6.x In version 5.x, the `HttpsProxyAgent` constructor took a single argument of either (A) a `string`, or (B) an object matching the output of the [deprecated `url.parse()` method](https://nodejs.org/docs/latest-v14.x/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost) *and* various extra options. Now the constructor takes two *separate* arguments: - Argument 1: Either (A) a `string`, or (B) a [WHATWG `URL` object](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api) - Argument 2 (optional): An object with standard [`http.Agent`](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api), `net.TcpNetConnectOpts`, and `tls.ConnectionOptions` properties and/or custom options supported by this package. 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: ```ts const agent = new HttpsProxyAgent({ protocol: 'https:', host: 'myproxy.mydomain.com' port: '1234', auth: 'proxyUser:proxyPass', timeout: 1000, headers: { 'trace', 'foo' } }); ``` Updated 6.x usage: ```ts const agent = new HttpsProxyAgent( 'https://proxyUser:proxyPass@myproxy.mydomain.com:1234', { timeout: 1000, headers: { 'trace', 'foo' } } ); ``` ##### Minor Changes - [`4333067`](https://togithub.com/TooTallNate/proxy-agents/commit/4333067): Add support for core `keepAlive: true` ##### Patch Changes - [`c169ced`](https://togithub.com/TooTallNate/proxy-agents/commit/c169ced): Convert mocha tests to jest for all packages - [`06775a8`](https://togithub.com/TooTallNate/proxy-agents/commit/06775a8): Add test for `rejectUnauthorized: false` missing on request options - Updated dependencies \[[`c169ced`](https://togithub.com/TooTallNate/proxy-agents/commit/c169ced)] - Updated dependencies \[[`d99a7c8`](https://togithub.com/TooTallNate/proxy-agents/commit/d99a7c8)] - Updated dependencies \[[`4333067`](https://togithub.com/TooTallNate/proxy-agents/commit/4333067)] - agent-base@7.0.0

Configuration

πŸ“… Schedule: Branch creation - "every weekend" (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.



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

AC-2219

bitwarden-bot commented 7 months ago

Internal tracking:

bitwarden-bot commented 7 months ago

Logo Checkmarx One – Scan Summary & Details – fa318343-eb22-487a-80de-42864a2c31f1

No New Or Fixed Issues Found

addisonbeck commented 7 months ago

We construct this object with a string, so the breaking change in v6 does not apply