Skip to content

Commit a512440

Browse files
committed
Bump mocha to v11, together with eslint-mocha and @types/mocha
1 parent 942d9af commit a512440

File tree

10 files changed

+74
-115
lines changed

10 files changed

+74
-115
lines changed

pnpm-lock.yaml

+52-93
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v-next/example-project/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
"@nomicfoundation/hardhat-viem": "workspace:^3.0.0-next.0",
3939
"@openzeppelin/contracts": "5.1.0",
4040
"@types/chai": "^4.2.0",
41-
"@types/mocha": ">=9.1.0",
41+
"@types/mocha": ">=10.0.10",
4242
"@types/node": "^20.14.9",
4343
"chai": "^5.1.2",
4444
"ethers": "^6.13.4",
4545
"forge-std": "foundry-rs/forge-std#v1.9.4",
46-
"mocha": "^10.0.0",
46+
"mocha": "^11.0.0",
4747
"prettier": "3.2.5",
4848
"rimraf": "^5.0.5",
4949
"typescript": "~5.5.0",

v-next/hardhat-ethers-chai-matchers/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@types/chai": "^4.2.0",
5353
"@types/debug": "^4.1.7",
5454
"@types/deep-eql": "^4.0.2",
55-
"@types/mocha": ">=9.1.0",
55+
"@types/mocha": ">=10.0.10",
5656
"@types/node": "^20.14.9",
5757
"@typescript-eslint/eslint-plugin": "^7.7.1",
5858
"@typescript-eslint/parser": "^7.7.1",
@@ -63,7 +63,7 @@
6363
"eslint-plugin-import": "2.29.1",
6464
"eslint-plugin-no-only-tests": "3.1.0",
6565
"expect-type": "^0.19.0",
66-
"mocha": "^10.0.0",
66+
"mocha": "^11.0.0",
6767
"prettier": "3.2.5",
6868
"rimraf": "^5.0.5",
6969
"tsx": "^4.19.3",

v-next/hardhat-ignition-core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/chai-as-promised": "^8.0.1",
5555
"@types/debug": "^4.1.7",
5656
"@types/lodash-es": "^4.17.12",
57-
"@types/mocha": ">=9.1.0",
57+
"@types/mocha": ">=10.0.10",
5858
"@types/ndjson": "2.0.1",
5959
"@types/node": "^20.14.9",
6060
"@typescript-eslint/eslint-plugin": "^7.7.1",
@@ -66,9 +66,9 @@
6666
"eslint-config-prettier": "9.1.0",
6767
"eslint-import-resolver-typescript": "^3.6.1",
6868
"eslint-plugin-import": "2.29.1",
69-
"eslint-plugin-mocha": "^9.0.0",
69+
"eslint-plugin-mocha": "^10.0.0",
7070
"eslint-plugin-no-only-tests": "3.1.0",
71-
"mocha": "^10.0.0",
71+
"mocha": "^11.0.0",
7272
"nyc": "15.1.0",
7373
"prettier": "3.2.5",
7474
"rimraf": "^5.0.5",

v-next/hardhat-ignition-ethers/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@nomicfoundation/hardhat-test-utils": "workspace:^",
4141
"@types/chai": "^4.2.0",
4242
"@types/chai-as-promised": "^8.0.1",
43-
"@types/mocha": ">=9.1.0",
43+
"@types/mocha": ">=10.0.10",
4444
"@types/node": "^20.14.9",
4545
"@types/sinon": "^10.0.13",
4646
"@typescript-eslint/eslint-plugin": "^7.7.1",
@@ -52,10 +52,10 @@
5252
"eslint-config-prettier": "9.1.0",
5353
"eslint-import-resolver-typescript": "^3.6.1",
5454
"eslint-plugin-import": "2.29.1",
55-
"eslint-plugin-mocha": "^9.0.0",
55+
"eslint-plugin-mocha": "^10.0.0",
5656
"eslint-plugin-no-only-tests": "3.1.0",
5757
"ethers": "^6.13.4",
58-
"mocha": "^10.0.0",
58+
"mocha": "^11.0.0",
5959
"nyc": "15.1.0",
6060
"prettier": "3.2.5",
6161
"rimraf": "^5.0.5",

v-next/hardhat-ignition-ui/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@nomicfoundation/ignition-core": "workspace:^3.0.0-next.0",
2424
"@types/chai": "^4.2.0",
2525
"@types/chai-as-promised": "^8.0.1",
26-
"@types/mocha": ">=9.1.0",
26+
"@types/mocha": ">=10.0.10",
2727
"@types/react": "^18.0.28",
2828
"@types/react-dom": "^18.0.11",
2929
"@types/styled-components": "5.1.26",
@@ -36,11 +36,11 @@
3636
"eslint-import-resolver-typescript": "^3.6.1",
3737
"eslint-plugin-import": "2.29.1",
3838
"eslint-plugin-no-only-tests": "3.1.0",
39-
"eslint-plugin-mocha": "^9.0.0",
39+
"eslint-plugin-mocha": "^10.0.0",
4040
"eslint-plugin-react-hooks": "^5.1.0",
4141
"eslint-plugin-react-refresh": "^0.4.18",
4242
"mermaid": "10.9.3",
43-
"mocha": "^10.0.0",
43+
"mocha": "^11.0.0",
4444
"prettier": "3.2.5",
4545
"react": "^18.2.0",
4646
"react-dom": "^18.2.0",

v-next/hardhat-ignition-viem/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@nomicfoundation/hardhat-test-utils": "workspace:^",
4242
"@types/chai": "^4.2.0",
4343
"@types/chai-as-promised": "^8.0.1",
44-
"@types/mocha": ">=9.1.0",
44+
"@types/mocha": ">=10.0.10",
4545
"@types/node": "^20.14.9",
4646
"@types/sinon": "^10.0.13",
4747
"@typescript-eslint/eslint-plugin": "^7.7.1",
@@ -53,9 +53,9 @@
5353
"eslint-config-prettier": "9.1.0",
5454
"eslint-import-resolver-typescript": "^3.6.1",
5555
"eslint-plugin-import": "2.29.1",
56-
"eslint-plugin-mocha": "^9.0.0",
56+
"eslint-plugin-mocha": "^10.0.0",
5757
"eslint-plugin-no-only-tests": "3.1.0",
58-
"mocha": "^10.0.0",
58+
"mocha": "^11.0.0",
5959
"nyc": "15.1.0",
6060
"prettier": "3.2.5",
6161
"rimraf": "^5.0.5",

v-next/hardhat-ignition/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/chai": "^4.2.0",
5555
"@types/chai-as-promised": "^8.0.1",
5656
"@types/debug": "^4.1.7",
57-
"@types/mocha": ">=9.1.0",
57+
"@types/mocha": ">=10.0.10",
5858
"@types/node": "^20.14.9",
5959
"@types/prompts": "^2.4.2",
6060
"@types/sinon": "^10.0.13",
@@ -68,9 +68,9 @@
6868
"eslint-import-resolver-typescript": "^3.6.1",
6969
"eslint-plugin-import": "2.29.1",
7070
"eslint-plugin-no-only-tests": "3.1.0",
71-
"eslint-plugin-mocha": "^9.0.0",
71+
"eslint-plugin-mocha": "^10.0.0",
7272
"eslint-plugin-prettier": "4.0.0",
73-
"mocha": "^10.0.0",
73+
"mocha": "^11.0.0",
7474
"nyc": "15.1.0",
7575
"prettier": "3.2.5",
7676
"rimraf": "^5.0.5",

v-next/hardhat-mocha/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
4343
"@nomicfoundation/hardhat-node-test-reporter": "workspace:^3.0.0-next.0",
4444
"@nomicfoundation/hardhat-test-utils": "workspace:^",
45-
"@types/mocha": ">=9.1.0",
45+
"@types/mocha": ">=10.0.10",
4646
"@types/node": "^20.14.9",
4747
"@typescript-eslint/eslint-plugin": "^7.7.1",
4848
"@typescript-eslint/parser": "^7.7.1",
@@ -62,7 +62,7 @@
6262
"@nomicfoundation/hardhat-errors": "workspace:^3.0.0-next.0",
6363
"@nomicfoundation/hardhat-utils": "workspace:^3.0.0-next.0",
6464
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.0-next.0",
65-
"mocha": "^10.0.0",
65+
"mocha": "^11.0.0",
6666
"tsx": "^4.19.3",
6767
"zod": "^3.23.8"
6868
}

v-next/hardhat/templates/02-mocha-ethers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"chai": "^5.1.2",
2222
"ethers": "^6.13.4",
2323
"forge-std": "foundry-rs/forge-std#v1.9.4",
24-
"mocha": "^10.0.0",
24+
"mocha": "^11.0.0",
2525
"typescript": "~5.5.0"
2626
}
2727
}

0 commit comments

Comments
 (0)