Skip to content

Commit

Permalink
Upgrade mocha to ^11.0.2 for generated packages (#2945)
Browse files Browse the repository at this point in the history
Now NodeJS version "^18.18.0 || ^20.9.0 || >=21.1.0" is required

Co-authored-by: Mary Gao <[email protected]>
  • Loading branch information
jeremymeng and MaryGao authored Dec 25, 2024
1 parent 90519cf commit 8210d5b
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function regularAutorestPackage(
packageInfo.devDependencies["@azure/identity"] = "^4.2.1";
packageInfo.devDependencies["@azure-tools/test-recorder"] = "^3.0.0";
packageInfo.devDependencies["@azure-tools/test-credential"] = "^1.1.0";
packageInfo.devDependencies["mocha"] = "^10.0.0";
packageInfo.devDependencies["mocha"] = "^11.0.2";
packageInfo.devDependencies["@types/mocha"] = "^10.0.0";
packageInfo.devDependencies["tsx"] = "^4.7.1";
packageInfo.devDependencies["@types/chai"] = "^4.2.8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"nyc": "^15.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"nyc": "^15.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"nyc": "^15.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function getAzurePackageCjsDevDependencies({
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
nyc: "^15.1.0",
mocha: "^10.0.0",
mocha: "^11.0.2",
"@types/mocha": "^10.0.0",
"@types/chai": "^4.2.8",
chai: "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function getCjsDevDependencies({
if (withTests) {
testDevDependencies = {
dotenv: "^16.0.0",
mocha: "^10.0.0",
mocha: "^11.0.2",
"@types/mocha": "^10.0.0",
"@types/chai": "^4.2.8",
chai: "^4.2.0",
Expand Down

0 comments on commit 8210d5b

Please sign in to comment.