From 5e9f228addf7b15e59b5c56bb75ca31f27136600 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 2 Nov 2021 13:55:13 -0300 Subject: [PATCH] fix warnings and audit fix --- .../puppeteer/package-lock.json | 26 +++++++++---------- bigbluebutton-tests/puppeteer/package.json | 4 +-- bigbluebutton-tests/puppeteer/polling/poll.js | 4 +-- .../puppeteer/user/multiusers.js | 4 +-- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/bigbluebutton-tests/puppeteer/package-lock.json b/bigbluebutton-tests/puppeteer/package-lock.json index 67aa91cacd..c6b20977b8 100644 --- a/bigbluebutton-tests/puppeteer/package-lock.json +++ b/bigbluebutton-tests/puppeteer/package-lock.json @@ -793,9 +793,9 @@ } }, "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "4.3.0", @@ -866,11 +866,11 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "babel-jest": { @@ -1996,9 +1996,9 @@ } }, "follow-redirects": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.2.tgz", - "integrity": "sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA==" + "version": "1.14.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz", + "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==" }, "for-in": { "version": "1.0.2", @@ -4972,9 +4972,9 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "tmpl": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz", - "integrity": "sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==" }, "to-fast-properties": { "version": "2.0.0", diff --git a/bigbluebutton-tests/puppeteer/package.json b/bigbluebutton-tests/puppeteer/package.json index 48c198af0f..6e37bea691 100644 --- a/bigbluebutton-tests/puppeteer/package.json +++ b/bigbluebutton-tests/puppeteer/package.json @@ -6,9 +6,9 @@ "verbose": false }, "dependencies": { - "axios": "^0.21.1", - "child_process": "^1.0.2", + "axios": "^0.21.4", "babel-jest": "^27.0.6", + "child_process": "^1.0.2", "dotenv": "^6.0.0", "fs-extra": "^9.1.0", "jest": "^26.6.3", diff --git a/bigbluebutton-tests/puppeteer/polling/poll.js b/bigbluebutton-tests/puppeteer/polling/poll.js index 66b53a5cea..1234fb5855 100644 --- a/bigbluebutton-tests/puppeteer/polling/poll.js +++ b/bigbluebutton-tests/puppeteer/polling/poll.js @@ -100,9 +100,9 @@ class Polling { e.receivedAnswer, e.answerMessage ); await this.modPage.screenshot(testName, '04-success-to-receive-answer'); - } catch (e) { + } catch (er) { await this.modPage.screenshot(testName, '04-failed-to-receive-answer'); - await this.modPage.logger(e); + await this.modPage.logger(er); return false; } diff --git a/bigbluebutton-tests/puppeteer/user/multiusers.js b/bigbluebutton-tests/puppeteer/user/multiusers.js index 3b5a44820a..ed981e0b29 100644 --- a/bigbluebutton-tests/puppeteer/user/multiusers.js +++ b/bigbluebutton-tests/puppeteer/user/multiusers.js @@ -246,9 +246,9 @@ class MultiUsers { ); await this.userPage.screenshot(testName, '04-connection-network-success'); return true; - } catch (e) { + } catch (er) { await this.userPage.screenshot(testName, '04-connection-network-failed'); - this.userPage.logger(e); + this.userPage.logger(er); return false; } } catch (err) {