Skip to content

Commit

Permalink
[EngSys] upgrade dev dependency mocha to ^11.0.2 (Azure#32129)
Browse files Browse the repository at this point in the history
v11 drops supports for NodeJS < 18.18.0, it doesn't impact us.

***NO_CI***
  • Loading branch information
jeremymeng authored Dec 10, 2024
1 parent 13ee6b8 commit 3dfc94b
Show file tree
Hide file tree
Showing 251 changed files with 777 additions and 750 deletions.
1,021 changes: 524 additions & 497 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const examplePackageGood = `{
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"mocha-junit-reporter": "^1.18.0",
"moment": "^2.24.0",
"nyc": "^14.0.0",
Expand Down Expand Up @@ -301,7 +301,7 @@ const examplePackageBad = `{
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"mocha-junit-reporter": "^1.18.0",
"moment": "^2.24.0",
"nyc": "^14.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/advisor/arm-advisor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/agrifood/agrifood-farming-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-source-map-support": "~1.4.0",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"nyc": "^17.0.0",
"source-map-support": "^0.5.9",
"ts-node": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/agrifood/arm-agrifood/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/analysisservices/arm-analysisservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/anomalydetector/ai-anomaly-detector-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-source-map-support": "~1.4.0",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"nyc": "^17.0.0",
"source-map-support": "^0.5.9",
"ts-node": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/apicenter/arm-apicenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/apimanagement/arm-apimanagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
Expand Down
4 changes: 2 additions & 2 deletions sdk/appconfiguration/arm-appconfiguration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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 Expand Up @@ -115,4 +115,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appconfiguration?view=azure-node-preview"
}
}
}
2 changes: 1 addition & 1 deletion sdk/appcontainers/arm-appcontainers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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
2 changes: 1 addition & 1 deletion sdk/applicationinsights/arm-appinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/appplatform/arm-appplatform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/appservice/arm-appservice-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-source-map-support": "~1.4.0",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"nyc": "^17.0.0",
"source-map-support": "^0.5.9",
"ts-node": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/appservice/arm-appservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion sdk/astro/arm-astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/attestation/arm-attestation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/authorization/arm-authorization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/automanage/arm-automanage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/automation/arm-automation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/avs/arm-avs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/azurestack/arm-azurestack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/azurestackhci/arm-azurestackhci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/arm-batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"moment": "^2.29.1",
"puppeteer": "^23.4.0",
"rimraf": "^6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/billing/arm-billing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion sdk/billingbenefits/arm-billingbenefits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/botservice/arm-botservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/cdn/arm-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/changeanalysis/arm-changeanalysis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/changes/arm-changes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/chaos/arm-chaos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/cognitiveservices/arm-cognitiveservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/commerce/arm-commerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/arm-communication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"dotenv": "^16.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/arm-compute-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-source-map-support": "~1.4.0",
"karma-sourcemap-loader": "^0.3.8",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"nyc": "^17.0.0",
"source-map-support": "^0.5.9",
"ts-node": "^10.0.0",
Expand Down
Loading

0 comments on commit 3dfc94b

Please sign in to comment.