Skip to content

Commit 4a50c5a

Browse files
committed
deps: https-proxy-agent@7.0.4
1 parent ed3f254 commit 4a50c5a

File tree

4 files changed

+29
-6
lines changed

4 files changed

+29
-6
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
(The MIT License)
2+
3+
Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
'Software'), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

node_modules/https-proxy-agent/dist/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const tls = __importStar(require("tls"));
3232
const assert_1 = __importDefault(require("assert"));
3333
const debug_1 = __importDefault(require("debug"));
3434
const agent_base_1 = require("agent-base");
35+
const url_1 = require("url");
3536
const parse_proxy_response_1 = require("./parse-proxy-response");
3637
const debug = (0, debug_1.default)('https-proxy-agent');
3738
/**
@@ -50,7 +51,7 @@ class HttpsProxyAgent extends agent_base_1.Agent {
5051
constructor(proxy, opts) {
5152
super(opts);
5253
this.options = { path: undefined };
53-
this.proxy = typeof proxy === 'string' ? new URL(proxy) : proxy;
54+
this.proxy = typeof proxy === 'string' ? new url_1.URL(proxy) : proxy;
5455
this.proxyHeaders = opts?.headers ?? {};
5556
debug('Creating new HttpsProxyAgent instance: %o', this.proxy.href);
5657
// Trim off the brackets from IPv6 addresses
@@ -84,7 +85,7 @@ class HttpsProxyAgent extends agent_base_1.Agent {
8485
const servername = this.connectOpts.servername || this.connectOpts.host;
8586
socket = tls.connect({
8687
...this.connectOpts,
87-
servername: servername && net.isIP(servername) ? undefined : servername
88+
servername: servername && net.isIP(servername) ? undefined : servername,
8889
});
8990
}
9091
else {

node_modules/https-proxy-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "https-proxy-agent",
3-
"version": "7.0.2",
3+
"version": "7.0.4",
44
"description": "An HTTP(s) proxy `http.Agent` implementation for HTTPS",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6227,9 +6227,9 @@
62276227
}
62286228
},
62296229
"node_modules/https-proxy-agent": {
6230-
"version": "7.0.2",
6231-
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
6232-
"integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
6230+
"version": "7.0.4",
6231+
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz",
6232+
"integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==",
62336233
"inBundle": true,
62346234
"dependencies": {
62356235
"agent-base": "^7.0.2",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy