Skip to content

Commit

Permalink
fix(deps): update dependency parse-domain to version 2.3.4 馃専 (#5726)
Browse files Browse the repository at this point in the history
* fix(deps): update parse-domain to 2.3.4 馃専

* update details now that s3.amazonaws.com is a public suffix

* bump max size


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
  • Loading branch information
3 people committed Nov 19, 2019
1 parent b03b25c commit 6bb3a48
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"moment": "2.24.0",
"morgan": "1.9.1",
"npm-install-version": "6.0.2",
"parse-domain": "2.0.0",
"parse-domain": "2.3.4",
"setimmediate": "1.0.5",
"sinon": "3.3.0",
"strict-cookie-parser": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"opn": "cypress-io/opn#2f4e9a216ca7bdb95dfae9d46d99ddf004b3cbb5",
"ospath": "1.2.2",
"p-queue": "6.1.0",
"parse-domain": "2.0.0",
"parse-domain": "2.3.4",
"pluralize": "8.0.0",
"pumpify": "1.5.1",
"ramda": "0.24.1",
Expand Down
12 changes: 6 additions & 6 deletions packages/server/test/integration/server_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -1124,11 +1124,11 @@ describe "Server", ->
origin: "https://s3.amazonaws.com"
strategy: "http"
visiting: false
domainName: "amazonaws.com"
domainName: "s3.amazonaws.com"
fileServer: null
props: {
domain: "amazonaws"
tld: "com"
domain: ""
tld: "s3.amazonaws.com"
port: "443"
}
})
Expand Down Expand Up @@ -1199,10 +1199,10 @@ describe "Server", ->
strategy: "http"
visiting: false
fileServer: null
domainName: "amazonaws.com"
domainName: "s3.amazonaws.com"
props: {
domain: "amazonaws"
tld: "com"
domain: ""
tld: "s3.amazonaws.com"
port: "443"
}
})
4 changes: 2 additions & 2 deletions scripts/binary/zip.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ checkZipSize = (zipPath) ->
stats = fs.statSync(zipPath)
zipSize = filesize(stats.size, {round: 0})
console.log("zip file size #{zipSize}")
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 245 else 150
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 245 else 160
MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if stats.size > MAX_ZIP_FILE_SIZE
throw new Error("Zip file is too large: #{zipSize} exceeds #{MAX_ZIP_FILE_SIZE}")
throw new Error("Zip file is too large: #{zipSize} (#{stats.size} bytes) exceeds #{MAX_ZIP_FILE_SIZE} bytes")

# resolves with zipped filename
linuxZip = (src, dest) ->
Expand Down

4 comments on commit 6bb3a48

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6bb3a48 Nov 19, 2019

Choose a reason for hiding this comment

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

Circle has built the linux 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.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.7.0/linux-x64/circle-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-194754/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.7.0/circle-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-194744/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6bb3a48 Nov 19, 2019

Choose a reason for hiding this comment

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

AppVeyor has built the 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.7.0/win32-x64/appveyor-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-28973489/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.7.0/win32-x64/appveyor-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-28973489/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6bb3a48 Nov 19, 2019

Choose a reason for hiding this comment

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

AppVeyor has built the 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.7.0/win32-ia32/appveyor-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-28973489/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.7.0/win32-ia32/appveyor-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-28973489/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6bb3a48 Nov 19, 2019

Choose a reason for hiding this comment

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

Circle has built the darwin 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.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.7.0/darwin-x64/circle-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-194763/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.7.0/circle-develop-6bb3a483f9a594d2266a767a5bbdcc1726354022-194757/cypress.tgz

Please sign in to comment.