From b1865136600dfa0207584f1355ceb9490d477609 Mon Sep 17 00:00:00 2001 From: eggplantzzz Date: Wed, 16 Nov 2022 11:27:51 -0500 Subject: [PATCH] bump mocha to 10.1.0 --- packages/artifactor/package.json | 2 +- packages/blockchain-utils/package.json | 2 +- packages/box/package.json | 2 +- packages/code-utils/package.json | 2 +- packages/compile-common/package.json | 2 +- packages/compile-solidity-tests/package.json | 2 +- packages/compile-solidity/package.json | 2 +- packages/compile-vyper/package.json | 2 +- packages/config/package.json | 2 +- packages/contract-schema/package.json | 2 +- packages/contract-tests/package.json | 2 +- packages/core/package.json | 2 +- packages/debug-utils/package.json | 2 +- packages/debugger/package.json | 2 +- packages/decoder/package.json | 2 +- packages/deployer/package.json | 2 +- packages/expect/package.json | 2 +- packages/external-compile/package.json | 2 +- packages/hdwallet-provider/package.json | 2 +- packages/hdwallet/package.json | 2 +- packages/interface-adapter/package.json | 2 +- packages/migrate/package.json | 2 +- packages/provider/package.json | 2 +- packages/require/package.json | 2 +- packages/resolver/package.json | 2 +- packages/spinners/package.json | 2 +- packages/test/package.json | 2 +- packages/truffle/package.json | 2 +- packages/workflow-compile/package.json | 2 +- yarn.lock | 27 ++++++++++++++++++++ 30 files changed, 56 insertions(+), 29 deletions(-) diff --git a/packages/artifactor/package.json b/packages/artifactor/package.json index 310f8ca88fa..dce26da3642 100644 --- a/packages/artifactor/package.json +++ b/packages/artifactor/package.json @@ -34,7 +34,7 @@ "chai": "^4.2.0", "debug": "^4.3.1", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "require-nocache": "^1.0.0", "sinon": "^9.0.2", "tmp": "^0.2.1", diff --git a/packages/blockchain-utils/package.json b/packages/blockchain-utils/package.json index f6b0cfda060..eb354b71df0 100644 --- a/packages/blockchain-utils/package.json +++ b/packages/blockchain-utils/package.json @@ -25,7 +25,7 @@ "@types/mocha": "^5.2.7", "@types/node": "~12.12.0", "@types/web3": "^1.0.20", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/box/package.json b/packages/box/package.json index 9e0f190bb86..a12efba70b9 100644 --- a/packages/box/package.json +++ b/packages/box/package.json @@ -35,7 +35,7 @@ "@types/fs-extra": "^8.1.0", "@types/inquirer": "9.0.1", "@types/tmp": "^0.1.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "ts-node": "10.7.0", "typescript": "^4.7.4" diff --git a/packages/code-utils/package.json b/packages/code-utils/package.json index 6fd1aaa5bee..84e455debd2 100644 --- a/packages/code-utils/package.json +++ b/packages/code-utils/package.json @@ -27,7 +27,7 @@ "@types/cbor": "^5.0.1", "@types/mocha": "^5.2.7", "@types/node": "~12.12.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/compile-common/package.json b/packages/compile-common/package.json index e0a83f5af3d..2f0cf2a07d1 100644 --- a/packages/compile-common/package.json +++ b/packages/compile-common/package.json @@ -28,7 +28,7 @@ "@truffle/contract-schema": "^3.4.10", "@types/mocha": "^5.2.7", "@types/node": "~12.12.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/compile-solidity-tests/package.json b/packages/compile-solidity-tests/package.json index 549097b727d..cd14a253087 100644 --- a/packages/compile-solidity-tests/package.json +++ b/packages/compile-solidity-tests/package.json @@ -33,7 +33,7 @@ "chai": "^4.2.0", "debug": "^4.3.1", "fs-extra": "^9.1.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "tmp": "^0.2.1", "ts-node": "10.7.0", diff --git a/packages/compile-solidity/package.json b/packages/compile-solidity/package.json index e7f02533f63..9e7cfa23e9e 100644 --- a/packages/compile-solidity/package.json +++ b/packages/compile-solidity/package.json @@ -46,7 +46,7 @@ "babel-preset-env": "^1.6.1", "chai": "^4.2.0", "glob": "^7.1.6", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "tmp": "^0.2.1", "ts-node": "10.7.0", diff --git a/packages/compile-vyper/package.json b/packages/compile-vyper/package.json index 755ad8fe100..109850ad818 100644 --- a/packages/compile-vyper/package.json +++ b/packages/compile-vyper/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@truffle/code-utils": "^3.0.0", - "mocha": "9.2.2" + "mocha": "10.1.0" }, "keywords": [ "compile", diff --git a/packages/config/package.json b/packages/config/package.json index c1e266c0521..e1370ff0587 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -35,7 +35,7 @@ "@types/lodash": "^4.14.179", "@types/node": "~12.12.0", "@types/sinon": "^9.0.10", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "ts-node": "10.7.0", "typescript": "^4.7.4" diff --git a/packages/contract-schema/package.json b/packages/contract-schema/package.json index 3db1a37e99f..4b980b1b38d 100644 --- a/packages/contract-schema/package.json +++ b/packages/contract-schema/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "json-schema-to-typescript": "^5.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "solc": "0.8.17" }, "keywords": [ diff --git a/packages/contract-tests/package.json b/packages/contract-tests/package.json index 7df7f77801e..0a635881705 100644 --- a/packages/contract-tests/package.json +++ b/packages/contract-tests/package.json @@ -28,7 +28,7 @@ "chai": "^4.2.0", "debug": "^4.3.1", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "web3": "1.7.4", "web3-core-promievent": "1.7.4" diff --git a/packages/core/package.json b/packages/core/package.json index 20047fcf7e2..1b712534daf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -70,7 +70,7 @@ "inquirer": "8.2.2", "js-interpreter": "2.2.0", "lodash": "^4.17.21", - "mocha": "9.2.2", + "mocha": "10.1.0", "node-emoji": "^1.8.1", "original-require": "^1.0.1", "sane": "^4.0.2", diff --git a/packages/debug-utils/package.json b/packages/debug-utils/package.json index 15f57e5d833..ab031883972 100644 --- a/packages/debug-utils/package.json +++ b/packages/debug-utils/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "chai": "^4.2.0", - "mocha": "9.2.2" + "mocha": "10.1.0" }, "publishConfig": { "access": "public" diff --git a/packages/debugger/package.json b/packages/debugger/package.json index bb40bf47a84..2353f608d9d 100644 --- a/packages/debugger/package.json +++ b/packages/debugger/package.json @@ -49,7 +49,7 @@ "faker": "5.5.3", "fs-extra": "^9.1.0", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "mochapack": "^2.1.2", "nyc": "^13.0.1", "tmp": "^0.2.1", diff --git a/packages/decoder/package.json b/packages/decoder/package.json index de2382739ed..a0700674ab4 100644 --- a/packages/decoder/package.json +++ b/packages/decoder/package.json @@ -47,7 +47,7 @@ "chai": "^4.2.0", "ganache": "7.5.0", "lodash": "^4.17.21", - "mocha": "9.2.2", + "mocha": "10.1.0", "tmp": "^0.2.1", "typescript": "^4.7.4", "web3": "1.7.4" diff --git a/packages/deployer/package.json b/packages/deployer/package.json index 468c074c5b3..ae82104a963 100644 --- a/packages/deployer/package.json +++ b/packages/deployer/package.json @@ -31,7 +31,7 @@ "@truffle/environment": "^0.2.129", "@truffle/workflow-compile": "^4.0.40", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "web3": "1.7.4" }, diff --git a/packages/expect/package.json b/packages/expect/package.json index 86414f221c0..ab56b85d567 100644 --- a/packages/expect/package.json +++ b/packages/expect/package.json @@ -29,7 +29,7 @@ "types": "dist/src/index.d.ts", "devDependencies": { "@types/node": "~12.12.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "tsd": "^0.15.1", "ttypescript": "1.5.13", "typescript": "^4.7.4", diff --git a/packages/external-compile/package.json b/packages/external-compile/package.json index 2feeb6ff949..003d9b241ee 100644 --- a/packages/external-compile/package.json +++ b/packages/external-compile/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "chai": "^4.2.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "tmp": "^0.2.1" }, "keywords": [ diff --git a/packages/hdwallet-provider/package.json b/packages/hdwallet-provider/package.json index 11ee6e16921..56388496990 100644 --- a/packages/hdwallet-provider/package.json +++ b/packages/hdwallet-provider/package.json @@ -39,7 +39,7 @@ "@types/mocha": "^5.2.7", "@types/web3-provider-engine": "^14.0.0", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/hdwallet/package.json b/packages/hdwallet/package.json index eb328516ab4..96bf0522bea 100644 --- a/packages/hdwallet/package.json +++ b/packages/hdwallet/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@types/keccak": "3.0.1", "bip39": "3.0.4", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/interface-adapter/package.json b/packages/interface-adapter/package.json index 63ddf050a1b..82fe9ff12b4 100644 --- a/packages/interface-adapter/package.json +++ b/packages/interface-adapter/package.json @@ -34,7 +34,7 @@ "@types/mocha": "^5.2.7", "chai": "^4.2.0", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/migrate/package.json b/packages/migrate/package.json index a78e5a7783c..8b1fedcdf61 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@types/inquirer": "9.0.1", "chai": "^4.2.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "ts-node": "10.7.0", "typescript": "^4.7.4", diff --git a/packages/provider/package.json b/packages/provider/package.json index 7f3ee06329d..c5f9a76626d 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "ganache": "7.5.0", - "mocha": "9.2.2" + "mocha": "10.1.0" }, "keywords": [ "ethereum", diff --git a/packages/require/package.json b/packages/require/package.json index 6658976d9dc..e86fb419a17 100644 --- a/packages/require/package.json +++ b/packages/require/package.json @@ -40,7 +40,7 @@ "@types/mocha": "^9.0.0", "@types/node": "~12.12.0", "copyfiles": "^2.4.1", - "mocha": "9.2.2", + "mocha": "10.1.0", "npm-run-all": "^4.1.5", "ts-node": "10.7.0", "typescript": "^4.7.4", diff --git a/packages/resolver/package.json b/packages/resolver/package.json index 1f6b6bf83f5..69805ee1cac 100644 --- a/packages/resolver/package.json +++ b/packages/resolver/package.json @@ -43,7 +43,7 @@ "devDependencies": { "@types/node": "~12.12.0", "@types/sinon": "^9.0.10", - "mocha": "9.2.2", + "mocha": "10.1.0", "sinon": "^9.0.2", "ts-node": "10.7.0", "typescript": "^4.7.4" diff --git a/packages/spinners/package.json b/packages/spinners/package.json index 4671e757d17..6185af3b839 100644 --- a/packages/spinners/package.json +++ b/packages/spinners/package.json @@ -32,7 +32,7 @@ "@types/mocha": "^9.0.0", "@types/node": "~12.12.0", "@types/semver": "^7.3.9", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/packages/test/package.json b/packages/test/package.json index 11efc8ade2c..4e31bb51eae 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -35,7 +35,7 @@ "chai": "^4.2.0", "colors": "1.4.0", "debug": "^4.3.1", - "mocha": "9.2.2", + "mocha": "10.1.0", "original-require": "^1.0.1", "web3-utils": "1.7.4" }, diff --git a/packages/truffle/package.json b/packages/truffle/package.json index af0fb93b4f9..b3c5ba3ba49 100644 --- a/packages/truffle/package.json +++ b/packages/truffle/package.json @@ -38,7 +38,7 @@ "@truffle/debugger": "^11.0.16", "app-module-path": "^2.2.0", "ganache": "7.5.0", - "mocha": "9.2.2", + "mocha": "10.1.0", "original-require": "^1.0.1" }, "devDependencies": { diff --git a/packages/workflow-compile/package.json b/packages/workflow-compile/package.json index 98fdae58572..1e1eece4579 100644 --- a/packages/workflow-compile/package.json +++ b/packages/workflow-compile/package.json @@ -33,7 +33,7 @@ }, "devDependencies": { "debug": "^4.3.1", - "mocha": "9.2.2", + "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.7.4" }, diff --git a/yarn.lock b/yarn.lock index b12d67353fc..97ed8a11fd1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21327,6 +21327,33 @@ mnemonist@^0.38.0: dependencies: obliterator "^2.0.0" +mocha@10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.1.0.tgz#dbf1114b7c3f9d0ca5de3133906aea3dfc89ef7a" + integrity sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg== + dependencies: + ansi-colors "4.1.1" + browser-stdout "1.3.1" + chokidar "3.5.3" + debug "4.3.4" + diff "5.0.0" + escape-string-regexp "4.0.0" + find-up "5.0.0" + glob "7.2.0" + he "1.2.0" + js-yaml "4.1.0" + log-symbols "4.1.0" + minimatch "5.0.1" + ms "2.1.3" + nanoid "3.3.3" + serialize-javascript "6.0.0" + strip-json-comments "3.1.1" + supports-color "8.1.1" + workerpool "6.2.1" + yargs "16.2.0" + yargs-parser "20.2.4" + yargs-unparser "2.0.0" + mocha@9.2.2: version "9.2.2" resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.2.2.tgz#d70db46bdb93ca57402c809333e5a84977a88fb9"