From a19a90bee1bf81abeafffbced08882ef79487372 Mon Sep 17 00:00:00 2001 From: Harshit Date: Tue, 26 Nov 2024 12:41:33 +0530 Subject: [PATCH] # issue-4306 Fix deprecation warnings while installing Nightwatch #4306. 1. Update Node.js. 2.Update dependencies using --legacy-peer to ignore peer dependency conflicts and proceed with the installation anyway. 3.Update nightwatch to latest version. 4.Check issues with the node modules and package-lock.json. 5.Then , download the dependencies. --- package-lock.json | 71 +++++++++++++++++++++++++++++++++++++++++++++-- package.json | 1 + 2 files changed, 69 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1a8598c89..3d4106ce5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,6 +65,7 @@ "mochawesome-merge": "^4.2.1", "mochawesome-report-generator": "^6.2.0", "mockery": "~2.1.0", + "nightwatch": "^3.9.0", "nock": "^13.2.9", "nyc": "^15.1.0", "react": "^18.2.0", @@ -6510,6 +6511,69 @@ "node-gyp-build": "^4.2.2" } }, + "node_modules/nightwatch": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/nightwatch/-/nightwatch-3.9.0.tgz", + "integrity": "sha512-SIkcvRXtGtPy33fodtZC4xDUXKY444dfYvyiODB2sP1M4Ewt7KqE+cxdPuGY0qr+Hsb982KhOnjDUjhSSaX+AA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nightwatch/chai": "5.0.3", + "@nightwatch/html-reporter-template": "^0.3.0", + "@nightwatch/nightwatch-inspector": "^1.0.1", + "@types/chai": "^4.3.5", + "@types/selenium-webdriver": "^4.1.14", + "ansi-to-html": "0.7.2", + "aria-query": "5.1.3", + "assertion-error": "1.1.0", + "boxen": "5.1.2", + "chai-nightwatch": "^0.5.3", + "chalk": "^4.1.2", + "ci-info": "3.3.0", + "cli-table3": "^0.6.3", + "devtools-protocol": "^0.0.1140464", + "didyoumean": "^1.2.2", + "dotenv": "16.3.1", + "ejs": "^3.1.10", + "envinfo": "7.11.0", + "glob": "7.2.3", + "jsdom": "^24.1.0", + "lodash": "^4.17.21", + "minimatch": "3.1.2", + "minimist": "1.2.6", + "mocha": "10.3.0", + "nightwatch-axe-verbose": "^2.3.0", + "open": "8.4.2", + "ora": "5.4.1", + "piscina": "^4.3.1", + "selenium-webdriver": "4.26.0", + "semver": "7.5.4", + "stacktrace-parser": "0.1.10", + "strip-ansi": "6.0.1", + "untildify": "4.0.0", + "uuid": "8.3.2" + }, + "bin": { + "nightwatch": "bin/nightwatch" + }, + "engines": { + "node": ">= 16" + }, + "peerDependencies": { + "@cucumber/cucumber": "*" + }, + "peerDependenciesMeta": { + "@cucumber/cucumber": { + "optional": true + }, + "chromedriver": { + "optional": true + }, + "geckodriver": { + "optional": true + } + } + }, "node_modules/nightwatch-axe-verbose": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/nightwatch-axe-verbose/-/nightwatch-axe-verbose-2.3.1.tgz", @@ -9127,10 +9191,11 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, + "license": "Apache-2.0", "peer": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index e9c2f0b15..c52e4e6fc 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "mochawesome-merge": "^4.2.1", "mochawesome-report-generator": "^6.2.0", "mockery": "~2.1.0", + "nightwatch": "^3.9.0", "nock": "^13.2.9", "nyc": "^15.1.0", "react": "^18.2.0",