From 3b5a825c21e6713b1183035ee016f5edaf275ef8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Mar 2021 20:14:09 +0000 Subject: [PATCH 1/2] Bump uuid from 3.4.0 to 8.3.2 in /web/wats Bumps [uuid](https://github.com/uuidjs/uuid) from 3.4.0 to 8.3.2. - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v3.4.0...v8.3.2) Signed-off-by: dependabot[bot] --- web/wats/package.json | 2 +- web/wats/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/wats/package.json b/web/wats/package.json index 05893674055..cb14a803b52 100644 --- a/web/wats/package.json +++ b/web/wats/package.json @@ -9,7 +9,7 @@ "color": "^3.1.2", "puppeteer": "^8.0.0", "tmp-promise": "^3.0.2", - "uuid": "^3.3.2" + "uuid": "^8.3.2" }, "devDependencies": {}, "scripts": { diff --git a/web/wats/yarn.lock b/web/wats/yarn.lock index a7ed8058886..6e375174f3f 100644 --- a/web/wats/yarn.lock +++ b/web/wats/yarn.lock @@ -2666,10 +2666,10 @@ util-deprecate@^1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== +uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== validate-npm-package-license@^3.0.1: version "3.0.4" From d18009e768e302b84e9540047d789feda0a151ce Mon Sep 17 00:00:00 2001 From: Bohan Chen Date: Tue, 23 Mar 2021 10:29:19 -0400 Subject: [PATCH 2/2] wats: fix imports Signed-off-by: Bohan Chen --- web/wats/helpers/fly.js | 2 +- web/wats/helpers/suite.js | 2 +- web/wats/helpers/web.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/wats/helpers/fly.js b/web/wats/helpers/fly.js index 45709419488..7bdb6191544 100644 --- a/web/wats/helpers/fly.js +++ b/web/wats/helpers/fly.js @@ -1,7 +1,7 @@ 'use strict'; const { exec, spawn } = require('child-process-promise'); -const uuidv4 = require('uuid/v4'); +const { v4: uuidv4 } = require('uuid'); const tmp = require('tmp-promise'); class Fly { diff --git a/web/wats/helpers/suite.js b/web/wats/helpers/suite.js index 8c623d36674..ce61125b82f 100644 --- a/web/wats/helpers/suite.js +++ b/web/wats/helpers/suite.js @@ -1,6 +1,6 @@ const Fly = require('./fly'); const Web = require('./web'); -const uuidv4 = require('uuid/v4'); +const { v4: uuidv4 } = require('uuid'); // silence warning caused by starting many puppeteer process.setMaxListeners(Infinity); diff --git a/web/wats/helpers/web.js b/web/wats/helpers/web.js index 4f088b03984..90a67b1af9c 100644 --- a/web/wats/helpers/web.js +++ b/web/wats/helpers/web.js @@ -2,7 +2,7 @@ const puppeteer = require('puppeteer'); const { exec } = require('child-process-promise'); -const uuidv4 = require('uuid/v4'); +const { v4: uuidv4 } = require('uuid'); class Web { constructor(url, username, password) {