feat(deps): make https-proxy-agent optional (#2388)

Bump https-proxy-agent to v7 and a dev dependency. This makes
configuring bundlers easier to configure and removes a direct
dependency of `https-proxy-agent`.

BREAKING CHANGE: Configuring a proxy is done by specifying the
`agent` parameter on the ConnectionOptions config. This can use be
created by libraries such as `https-proxy-agent` or any that
implements `http.Agent`.
This commit is contained in:
Caleb Kniffen
2023-07-25 20:27:31 -05:00
parent 8caf2e45bb
commit 3b7dd4ea87
8 changed files with 76 additions and 91 deletions

View File

@@ -95,7 +95,6 @@ function webpackForTest(testFileName) {
resolve: {
alias: {
ws: './dist/npm/client/WSWrapper.js',
'https-proxy-agent': false,
},
extensions: ['.ts', '.js', '.json'],
fallback: {