puppeteer/src/node
Dr 3bf5a55289
fix: update to https-proxy-agent@^5.0.0 to fix ERR_INVALID_PROTOCOL (#6555)
With `nodejs@15.0.1`, install puppeteer with `https_proxy` set causes an error like:

```
> puppeteer@5.4.1 install node_modules/puppeteer
> node install.js

ERROR: Failed to set up Chromium r809590! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
    at new NodeError (node:internal/errors:258:15)
    at new ClientRequest (node:_http_client:155:11)
    at Object.request (node:https:313:10)
    at httpRequest (node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:488:17)
    at downloadFile (node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:357:21)
    at BrowserFetcher.download (node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:239:19)
    at async downloadBrowser (node_modules/puppeteer/lib/cjs/puppeteer/node/install.js:48:5) {
  code: 'ERR_INVALID_PROTOCOL'
}
```

The related issue is at https://github.com/TooTallNate/node-agent-base/pull/47, from package `agent-base` under `https-proxy-agent`

And the version bump is for `Refactor to TypeScript` is here: https://github.com/TooTallNate/node-https-proxy-agent/compare/4.0.0...5.0.0
2020-11-26 12:42:18 +01:00
..
BrowserFetcher.ts fix: update to https-proxy-agent@^5.0.0 to fix ERR_INVALID_PROTOCOL (#6555) 2020-11-26 12:42:18 +01:00
BrowserRunner.ts chore(agnostification): agnostify web socket connections (#6520) 2020-10-19 10:32:41 +01:00
install.ts chore(agnostification): split up root Puppeteer class (#6504) 2020-10-13 16:19:26 +01:00
Launcher.ts fix(launcher): support relative userDataDir on headless Windows (#6506) 2020-10-13 12:59:58 +02:00
LaunchOptions.ts chore(agnostification): split up launcher class (#6484) 2020-10-12 10:08:57 +01:00
NodeWebSocketTransport.ts chore(agnostification): agnostify web socket connections (#6520) 2020-10-19 10:32:41 +01:00
PipeTransport.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
Puppeteer.ts chore(agnostification): split up root Puppeteer class (#6504) 2020-10-13 16:19:26 +01:00