Skip to content

Commit

Permalink
chore(deps): update dependency https-proxy-agent to version .x… (#4242)
Browse files Browse the repository at this point in the history
* chore(deps): Update https-proxy-agent to 2.2.0 🌟

* use rejectUnauthorized: false
  • Loading branch information
renovate[bot] authored and flotwig committed Jul 10, 2019
1 parent e51f87b commit b86e35c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"express-session": "1.16.1",
"express-useragent": "1.0.12",
"http-mitm-proxy": "0.7.0",
"https-proxy-agent": "1.0.0",
"https-proxy-agent": "2.2.0",
"inquirer": "3.3.0",
"istanbul": "0.4.5",
"mocked-env": "1.2.4",
Expand Down
12 changes: 10 additions & 2 deletions packages/server/test/integration/websockets_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ describe "Web Sockets", ->

it "proxies https messages through http", (done) ->
## force node into legit proxy mode like a browser
agent = new httpsAgent("http://localhost:#{cyPort}")
agent = new httpsAgent({
host: "localhost"
port: cyPort
rejectUnauthorized: false
})

@server._onDomainSet("https://localhost:#{wssPort}")

Expand Down Expand Up @@ -145,7 +149,11 @@ describe "Web Sockets", ->
evilDns.add("ws.foobar.com", "127.0.0.1")

## force node into legit proxy mode like a browser
agent = new httpsAgent("http://localhost:#{cyPort}")
agent = new httpsAgent({
host: "localhost"
port: cyPort
rejectUnauthorized: false
})

@server._onDomainSet("https://foobar.com:#{wssPort}")

Expand Down

4 comments on commit b86e35c

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b86e35c Jul 10, 2019

Choose a reason for hiding this comment

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

Circle CI has built linux x64 version of the Test Runner. The build is here
You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.4.0/linux-x64/circle-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-132303/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.4.0/circle-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-132294/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b86e35c Jul 10, 2019

Choose a reason for hiding this comment

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

AppVeyor CI has built win32 ia32 version of the Test Runner.
You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.4.0/win32-ia32/appveyor-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-25882716/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.4.0/win32-ia32/appveyor-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-25882716/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b86e35c Jul 10, 2019

Choose a reason for hiding this comment

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

AppVeyor CI has built win32 x64 version of the Test Runner.
You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.4.0/win32-x64/appveyor-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-25882716/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.4.0/win32-x64/appveyor-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-25882716/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b86e35c Jul 10, 2019

Choose a reason for hiding this comment

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

Circle CI has built darwin x64 version of the Test Runner. The build is here
You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.4.0/darwin-x64/circle-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-132318/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.4.0/circle-develop-b86e35cd8483b1d557a6be2e05f90bafe8ab4692-132316/cypress.tgz

Please sign in to comment.