From cb6d464021cf116ede891ad4237e8881fa983ba6 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 10 Feb 2023 16:00:58 +1100 Subject: [PATCH 1/4] chore: bump cspell --- package-lock.json | 40 ++++++++++++------------ packages/core/package.json | 2 +- packages/create/package.json | 2 +- packages/dns-discovery/package.json | 2 +- packages/enr/package.json | 2 +- packages/interfaces/package.json | 2 +- packages/message-encryption/package.json | 2 +- packages/peer-exchange/package.json | 2 +- packages/proto/package.json | 2 +- packages/tests/package.json | 2 +- packages/utils/package.json | 2 +- 11 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index 427a965d01..8242a6f79d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28468,7 +28468,7 @@ "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -28864,7 +28864,7 @@ "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -28909,7 +28909,7 @@ "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -28951,7 +28951,7 @@ "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -29306,7 +29306,7 @@ "@multiformats/multiaddr": "^11.4.0", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -29349,7 +29349,7 @@ "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -29718,7 +29718,7 @@ "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -29749,7 +29749,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -29798,7 +29798,7 @@ "@waku/message-encryption": "*", "@waku/peer-exchange": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", @@ -30156,7 +30156,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -34260,7 +34260,7 @@ "@waku/proto": "*", "@waku/utils": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", @@ -34558,7 +34558,7 @@ "@waku/dns-discovery": "*", "@waku/interfaces": "*", "@waku/peer-exchange": "*", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -34593,7 +34593,7 @@ "@waku/interfaces": "*", "@waku/utils": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "dns-query": "^0.11.2", "eslint": "^8.33.0", @@ -34630,7 +34630,7 @@ "@waku/interfaces": "*", "@waku/utils": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", @@ -34894,7 +34894,7 @@ "@multiformats/multiaddr": "^11.4.0", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -34928,7 +34928,7 @@ "@waku/proto": "*", "@waku/utils": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", @@ -35200,7 +35200,7 @@ "@waku/proto": "*", "@waku/utils": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", @@ -35227,7 +35227,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -35266,7 +35266,7 @@ "@waku/utils": "*", "app-root-path": "^3.1.0", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", @@ -35530,7 +35530,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", diff --git a/packages/core/package.json b/packages/core/package.json index 8053757201..d072857892 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -107,7 +107,7 @@ "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/create/package.json b/packages/create/package.json index 7b7ac5cfb6..1002f9f0cd 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -79,7 +79,7 @@ "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/dns-discovery/package.json b/packages/dns-discovery/package.json index a35e55a1b9..4e1fca19ba 100644 --- a/packages/dns-discovery/package.json +++ b/packages/dns-discovery/package.json @@ -80,7 +80,7 @@ "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/enr/package.json b/packages/enr/package.json index 6501468b3c..af1a966601 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -74,7 +74,7 @@ "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index 5501dea518..6fb8d4e49d 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -59,7 +59,7 @@ "@multiformats/multiaddr": "^11.4.0", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index 8a79795d2a..23c822c278 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -96,7 +96,7 @@ "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/peer-exchange/package.json b/packages/peer-exchange/package.json index ff56daa8a0..6f000c0556 100644 --- a/packages/peer-exchange/package.json +++ b/packages/peer-exchange/package.json @@ -74,7 +74,7 @@ "@typescript-eslint/parser": "^5.51.0", "@waku/interfaces": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/proto/package.json b/packages/proto/package.json index 6544c00fee..f5688241aa 100644 --- a/packages/proto/package.json +++ b/packages/proto/package.json @@ -55,7 +55,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/tests/package.json b/packages/tests/package.json index 897f82bb44..d75f8ee16a 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -81,7 +81,7 @@ "@waku/message-encryption": "*", "@waku/peer-exchange": "*", "chai": "^4.3.7", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "debug": "^4.3.4", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index 9718863879..1d0e0fd807 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -65,7 +65,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/parser": "^5.51.0", - "cspell": "^6.17.0", + "cspell": "^6.22.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-eslint-comments": "^3.2.0", From f473e751f7738653a65e04ae7a89f18361da5e36 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 10 Feb 2023 16:02:54 +1100 Subject: [PATCH 2/4] chore: remove p-timeout from core, bump it in tests --- package-lock.json | 2 -- packages/core/package.json | 1 - 2 files changed, 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8242a6f79d..46616c75fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28487,7 +28487,6 @@ "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", - "p-timeout": "^6.0.0", "prettier": "^2.8.4", "process": "^0.11.10", "puppeteer": "^13.0.1", @@ -34284,7 +34283,6 @@ "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "p-event": "^5.0.1", - "p-timeout": "^6.0.0", "prettier": "^2.8.4", "process": "^0.11.10", "puppeteer": "^13.0.1", diff --git a/packages/core/package.json b/packages/core/package.json index d072857892..a3da25c477 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -126,7 +126,6 @@ "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", - "p-timeout": "^6.0.0", "prettier": "^2.8.4", "process": "^0.11.10", "puppeteer": "^13.0.1", From 985dcb6414934bcda67dbfcb549fb9c52e60c67a Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 10 Feb 2023 16:30:18 +1100 Subject: [PATCH 3/4] chore: bump karma, puppeteer and plugins and install where used --- package-lock.json | 154 ++++++++++++++++++----- packages/core/package.json | 6 +- packages/enr/package.json | 6 + packages/message-encryption/package.json | 6 + 4 files changed, 137 insertions(+), 35 deletions(-) diff --git a/package-lock.json b/package-lock.json index 46616c75fa..f93426687a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23450,28 +23450,20 @@ } }, "node_modules/puppeteer": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-13.7.0.tgz", - "integrity": "sha512-U1uufzBjz3+PkpCxFrWzh4OrMIdIb2ztzCu0YEPfRHjHswcSwHZswnK+WdsOQJsRV8WeTg3jLhJR4D867+fjsA==", - "deprecated": "< 18.1.0 is no longer supported", + "version": "19.6.3", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.6.3.tgz", + "integrity": "sha512-K03xTtGDwS6cBXX/EoqoZxglCUKcX2SLIl92fMnGMRjYpPGXoAV2yKEh3QXmXzKqfZXd8TxjjFww+tEttWv8kw==", "dev": true, "hasInstallScript": true, "dependencies": { - "cross-fetch": "3.1.5", - "debug": "4.3.4", - "devtools-protocol": "0.0.981744", - "extract-zip": "2.0.1", + "cosmiconfig": "8.0.0", "https-proxy-agent": "5.0.1", - "pkg-dir": "4.2.0", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "rimraf": "3.0.2", - "tar-fs": "2.1.1", - "unbzip2-stream": "1.4.3", - "ws": "8.5.0" + "puppeteer-core": "19.6.3" }, "engines": { - "node": ">=10.18.1" + "node": ">=14.1.0" } }, "node_modules/puppeteer-core": { @@ -23497,6 +23489,54 @@ "node": ">=10.18.1" } }, + "node_modules/puppeteer/node_modules/devtools-protocol": { + "version": "0.0.1082910", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1082910.tgz", + "integrity": "sha512-RqoZ2GmqaNxyx+99L/RemY5CkwG9D0WEfOKxekwCRXOGrDCep62ngezEJUVMq6rISYQ+085fJnWDQqGHlxVNww==", + "dev": true + }, + "node_modules/puppeteer/node_modules/puppeteer-core": { + "version": "19.6.3", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.6.3.tgz", + "integrity": "sha512-8MbhioSlkDaHkmolpQf9Z7ui7jplFfOFTnN8d5kPsCazRRTNIH6/bVxPskn0v5Gh9oqOBlknw0eHH0/OBQAxpQ==", + "dev": true, + "dependencies": { + "cross-fetch": "3.1.5", + "debug": "4.3.4", + "devtools-protocol": "0.0.1082910", + "extract-zip": "2.0.1", + "https-proxy-agent": "5.0.1", + "proxy-from-env": "1.1.0", + "rimraf": "3.0.2", + "tar-fs": "2.1.1", + "unbzip2-stream": "1.4.3", + "ws": "8.11.0" + }, + "engines": { + "node": ">=14.1.0" + } + }, + "node_modules/puppeteer/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/pure-rand": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.0.tgz", @@ -28481,15 +28521,15 @@ "isomorphic-fetch": "^3.0.0", "jsdom": "^19.0.0", "jsdom-global": "^3.0.2", - "karma": "^6.3.12", - "karma-chrome-launcher": "^3.1.0", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", "process": "^0.11.10", - "puppeteer": "^13.0.1", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", @@ -28957,9 +28997,15 @@ "eslint-plugin-functional": "^5.0.4", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", + "process": "^0.11.10", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.4.1", "typescript": "^4.9.5", @@ -29356,9 +29402,15 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.6.3", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", + "process": "^0.11.10", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.4.1", "typescript": "^4.9.5" @@ -34276,8 +34328,8 @@ "it-pipe": "^2.0.5", "jsdom": "^19.0.0", "jsdom-global": "^3.0.2", - "karma": "^6.3.12", - "karma-chrome-launcher": "^3.1.0", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.0", "mocha": "^10.2.0", @@ -34285,7 +34337,7 @@ "p-event": "^5.0.1", "prettier": "^2.8.4", "process": "^0.11.10", - "puppeteer": "^13.0.1", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", @@ -34637,9 +34689,15 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "js-sha3": "^0.8.0", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", + "process": "^0.11.10", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.4.1", "typescript": "^4.9.5", @@ -34936,9 +34994,15 @@ "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.6.3", "js-sha3": "^0.8.0", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", + "process": "^0.11.10", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.4.1", "typescript": "^4.9.5" @@ -48516,23 +48580,49 @@ } }, "puppeteer": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-13.7.0.tgz", - "integrity": "sha512-U1uufzBjz3+PkpCxFrWzh4OrMIdIb2ztzCu0YEPfRHjHswcSwHZswnK+WdsOQJsRV8WeTg3jLhJR4D867+fjsA==", + "version": "19.6.3", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.6.3.tgz", + "integrity": "sha512-K03xTtGDwS6cBXX/EoqoZxglCUKcX2SLIl92fMnGMRjYpPGXoAV2yKEh3QXmXzKqfZXd8TxjjFww+tEttWv8kw==", "dev": true, "requires": { - "cross-fetch": "3.1.5", - "debug": "4.3.4", - "devtools-protocol": "0.0.981744", - "extract-zip": "2.0.1", + "cosmiconfig": "8.0.0", "https-proxy-agent": "5.0.1", - "pkg-dir": "4.2.0", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "rimraf": "3.0.2", - "tar-fs": "2.1.1", - "unbzip2-stream": "1.4.3", - "ws": "8.5.0" + "puppeteer-core": "19.6.3" + }, + "dependencies": { + "devtools-protocol": { + "version": "0.0.1082910", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1082910.tgz", + "integrity": "sha512-RqoZ2GmqaNxyx+99L/RemY5CkwG9D0WEfOKxekwCRXOGrDCep62ngezEJUVMq6rISYQ+085fJnWDQqGHlxVNww==", + "dev": true + }, + "puppeteer-core": { + "version": "19.6.3", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.6.3.tgz", + "integrity": "sha512-8MbhioSlkDaHkmolpQf9Z7ui7jplFfOFTnN8d5kPsCazRRTNIH6/bVxPskn0v5Gh9oqOBlknw0eHH0/OBQAxpQ==", + "dev": true, + "requires": { + "cross-fetch": "3.1.5", + "debug": "4.3.4", + "devtools-protocol": "0.0.1082910", + "extract-zip": "2.0.1", + "https-proxy-agent": "5.0.1", + "proxy-from-env": "1.1.0", + "rimraf": "3.0.2", + "tar-fs": "2.1.1", + "unbzip2-stream": "1.4.3", + "ws": "8.11.0" + } + }, + "ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "requires": {} + } } }, "puppeteer-core": { diff --git a/packages/core/package.json b/packages/core/package.json index a3da25c477..e7436bbc92 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -120,15 +120,15 @@ "isomorphic-fetch": "^3.0.0", "jsdom": "^19.0.0", "jsdom-global": "^3.0.2", - "karma": "^6.3.12", - "karma-chrome-launcher": "^3.1.0", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", "process": "^0.11.10", - "puppeteer": "^13.0.1", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", diff --git a/packages/enr/package.json b/packages/enr/package.json index af1a966601..95534c1bb7 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -81,9 +81,15 @@ "eslint-plugin-functional": "^5.0.4", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", + "process": "^0.11.10", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.4.1", "typescript": "^4.9.5", diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index 23c822c278..063dc6a6e4 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -104,9 +104,15 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.6.3", + "karma": "^6.4.1", + "karma-chrome-launcher": "^3.1.1", + "karma-mocha": "^2.0.1", + "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", + "process": "^0.11.10", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.4.1", "typescript": "^4.9.5" From f2706c21b65415f1b7906537241ff3b904ee6bfc Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 10 Feb 2023 16:34:52 +1100 Subject: [PATCH 4/4] chore: remove unused test configs --- packages/peer-exchange/.mocharc.json | 11 ------- packages/peer-exchange/karma.conf.cjs | 45 --------------------------- 2 files changed, 56 deletions(-) delete mode 100644 packages/peer-exchange/.mocharc.json delete mode 100644 packages/peer-exchange/karma.conf.cjs diff --git a/packages/peer-exchange/.mocharc.json b/packages/peer-exchange/.mocharc.json deleted file mode 100644 index db9dd73531..0000000000 --- a/packages/peer-exchange/.mocharc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extension": ["ts"], - "spec": "src/**/*.spec.ts", - "require": ["ts-node/register", "isomorphic-fetch", "jsdom-global/register"], - "loader": "ts-node/esm", - "node-option": [ - "experimental-specifier-resolution=node", - "loader=ts-node/esm" - ], - "exit": true -} diff --git a/packages/peer-exchange/karma.conf.cjs b/packages/peer-exchange/karma.conf.cjs deleted file mode 100644 index 8ee5033706..0000000000 --- a/packages/peer-exchange/karma.conf.cjs +++ /dev/null @@ -1,45 +0,0 @@ -process.env.CHROME_BIN = require("puppeteer").executablePath(); -const webpack = require("webpack"); - -module.exports = function (config) { - config.set({ - frameworks: ["webpack", "mocha"], - files: ["src/**/*.ts"], - preprocessors: { - "src/**/*.ts": ["webpack"], - }, - envPreprocessor: ["CI"], - reporters: ["progress"], - browsers: ["ChromeHeadless"], - singleRun: true, - client: { - mocha: { - timeout: 6000, // Default is 2s - }, - }, - webpack: { - mode: "development", - module: { - rules: [{ test: /\.([cm]?ts|tsx)$/, loader: "ts-loader" }], - }, - plugins: [ - new webpack.DefinePlugin({ - "process.env.CI": process.env.CI || false, - }), - new webpack.ProvidePlugin({ - process: "process/browser.js", - }), - ], - resolve: { - extensions: [".ts", ".tsx", ".js"], - extensionAlias: { - ".js": [".js", ".ts"], - ".cjs": [".cjs", ".cts"], - ".mjs": [".mjs", ".mts"], - }, - }, - stats: { warnings: false }, - devtool: "inline-source-map", - }, - }); -};