Skip to content

Commit

Permalink
fix(deps): update dependency uuid to version .x 馃専 (#8002)
Browse files Browse the repository at this point in the history
* fix(deps): update uuid to 7.0.3 馃専

* Update require statement with new breaking change

* Fix call to uuid method

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
  • Loading branch information
3 people committed Jul 17, 2020
1 parent 0bf7785 commit 3197056
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/server/lib/automation/index.js
@@ -1,5 +1,5 @@
const _ = require('lodash')
const uuid = require('uuid')
const { v4: uuidv4 } = require('uuid')
const Promise = require('bluebird')
const Cookies = require('./cookies')
const Screenshot = require('./screenshot')
Expand Down Expand Up @@ -43,7 +43,7 @@ module.exports = {

const requestAutomationResponse = (message, data, fn) => {
return new Promise((resolve, reject) => {
const id = uuid.v4()
const id = uuidv4()

requests[id] = function (obj) {
// normalize the error from automation responses
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Expand Up @@ -115,7 +115,7 @@
"underscore": "1.9.1",
"underscore.string": "3.3.5",
"url-parse": "1.4.7",
"uuid": "3.4.0",
"uuid": "7.0.3",
"which": "2.0.2",
"widest-line": "3.1.0",
"winston": "2.4.4"
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Expand Up @@ -25246,7 +25246,12 @@ uuid@3.3.2:
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==

uuid@3.4.0, uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3:
uuid@7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b"
integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==

uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3:
version "3.4.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
Expand Down

4 comments on commit 3197056

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3197056 Jul 17, 2020

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/4.10.1/linux-x64/circle-develop-319705626b27f9ade96180a6a88d9afc0b483124-398057/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/circle-develop-319705626b27f9ade96180a6a88d9afc0b483124-398043/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3197056 Jul 17, 2020

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.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.10.1/win32-x64/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.10.1/win32-x64/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.10.1/win32-x64/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.10.1/win32-x64/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3197056 Jul 17, 2020

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.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.10.1/win32-ia32/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/4.10.1/win32-ia32/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.10.1/win32-ia32/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/4.10.1/win32-ia32/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.zip npm install https://cdn.cypress.io/beta/npm/4.10.1/appveyor-develop-319705626b27f9ade96180a6a88d9afc0b483124-34149564/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3197056 Jul 17, 2020

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/4.10.1/darwin-x64/circle-develop-319705626b27f9ade96180a6a88d9afc0b483124-398126/cypress.zip
npm install https://cdn.cypress.io/beta/npm/4.10.1/circle-develop-319705626b27f9ade96180a6a88d9afc0b483124-398070/cypress.tgz

Please sign in to comment.