diff --git a/package-lock.json b/package-lock.json index 427a965d01..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", @@ -28468,7 +28508,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", @@ -28481,16 +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", - "p-timeout": "^6.0.0", "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", @@ -28864,7 +28903,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 +28948,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,16 +28990,22 @@ "@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", "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", @@ -29306,7 +29351,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 +29394,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", @@ -29357,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" @@ -29718,7 +29769,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 +29800,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 +29849,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 +30207,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 +34311,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", @@ -34277,17 +34328,16 @@ "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", "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", + "puppeteer": "^19.6.3", "rollup": "^3.14.0", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", @@ -34558,7 +34608,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 +34643,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 +34680,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", @@ -34639,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", @@ -34894,7 +34950,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 +34984,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", @@ -34938,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" @@ -35200,7 +35262,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 +35289,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 +35328,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 +35592,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", @@ -48518,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 8053757201..e7436bbc92 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", @@ -120,16 +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", - "p-timeout": "^6.0.0", "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/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..95534c1bb7 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -74,16 +74,22 @@ "@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", "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/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..063dc6a6e4 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", @@ -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" 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", - }, - }); -}; 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",