Skip to content

Commit

Permalink
fix(deps): update dependency https-proxy-agent to v7 (#5789)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency https-proxy-agent to v7

* fix: update import of HttpsProxyAgent

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
  • Loading branch information
renovate[bot] and ericapisani committed Apr 23, 2024
1 parent c20c089 commit b51c01c
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 13 deletions.
127 changes: 117 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -127,7 +127,7 @@
"hasha": "5.2.2",
"http-proxy": "1.18.1",
"http-proxy-middleware": "2.0.6",
"https-proxy-agent": "5.0.1",
"https-proxy-agent": "7.0.4",
"inquirer": "6.5.2",
"inquirer-autocomplete-prompt": "1.4.0",
"ipx": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/http-agent.ts
@@ -1,6 +1,6 @@
import { readFile } from 'fs/promises'

import HttpsProxyAgent from 'https-proxy-agent'
import { HttpsProxyAgent } from 'https-proxy-agent'
import waitPort from 'wait-port'

import { NETLIFYDEVERR, NETLIFYDEVWARN, exit, log } from '../utils/command-helpers.js'
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lib/http-agent.test.js
@@ -1,7 +1,7 @@
import http from 'http'

import ProxyServer from 'http-proxy'
import HttpsProxyAgent from 'https-proxy-agent'
import { HttpsProxyAgent } from 'https-proxy-agent'
import { describe, expect, test } from 'vitest'

import { tryGetAgent } from '../../../dist/lib/http-agent.js'
Expand Down

2 comments on commit b51c01c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,348
  • Package size: 328 MB
  • Number of ts-expect-error directives: 1,007

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,348
  • Package size: 328 MB
  • Number of ts-expect-error directives: 1,007

Please sign in to comment.