From 76170e803227cac014f247dd24d2114eb2d09867 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Fri, 29 Apr 2022 00:52:07 +0000 Subject: [PATCH 1/2] [engsys] upgrade mocha to v9 for some core libraries - mocha to ^9.2.0 and @types/mocha to ^9.0.0 Currently ts-node doesn't support ESM. It's recommended to set ``` TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' ``` See details at https://github.com/mochajs/mocha-examples/blob/443a3e3b3591206b94fabc55739cc384f39d13f6/packages/typescript/README.md#es-modules --- common/tools/dev-tool/package.json | 4 ++-- common/tools/eslint-plugin-azure-sdk/package.json | 4 ++-- sdk/core/abort-controller/package.json | 6 +++--- sdk/core/core-amqp/package.json | 4 ++-- sdk/core/core-auth/package.json | 6 +++--- sdk/core/core-client/package.json | 6 +++--- sdk/core/core-http-compat/package.json | 4 ++-- sdk/core/core-lro/package.json | 4 ++-- sdk/core/core-paging/package.json | 7 ++++--- sdk/core/core-tracing/package.json | 6 +++--- sdk/core/core-util/package.json | 6 +++--- sdk/core/core-xml/package.json | 6 +++--- sdk/core/logger/package.json | 6 +++--- sdk/test-utils/test-utils/package.json | 6 +++--- 14 files changed, 38 insertions(+), 37 deletions(-) diff --git a/common/tools/dev-tool/package.json b/common/tools/dev-tool/package.json index dde68a2392cd..9e9ddfa8c274 100644 --- a/common/tools/dev-tool/package.json +++ b/common/tools/dev-tool/package.json @@ -60,14 +60,14 @@ "@types/chai-as-promised": "^7.1.0", "@types/fs-extra": "^9.0.13", "@types/minimist": "~1.2.0", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/prettier": "^2.0.1", "builtin-modules": "^3.1.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "eslint": "^7.15.0", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "rimraf": "^3.0.0", "rollup": "^2.60.2", "rollup-plugin-polyfill-node": "^0.8.0", diff --git a/common/tools/eslint-plugin-azure-sdk/package.json b/common/tools/eslint-plugin-azure-sdk/package.json index 8e85ad767002..6f1a4bb50699 100644 --- a/common/tools/eslint-plugin-azure-sdk/package.json +++ b/common/tools/eslint-plugin-azure-sdk/package.json @@ -81,14 +81,14 @@ "@types/chai": "^4.1.6", "@types/glob": "^7.1.1", "@types/json-schema": "^7.0.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@typescript-eslint/eslint-plugin": "~4.19.0", "@typescript-eslint/experimental-utils": "~4.19.0", "@typescript-eslint/parser": "~4.19.0", "chai": "^4.2.0", "eslint": "^7.15.0", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/core/abort-controller/package.json b/sdk/core/abort-controller/package.json index 6126bc278711..f559bdd417c4 100644 --- a/sdk/core/abort-controller/package.json +++ b/sdk/core/abort-controller/package.json @@ -26,7 +26,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "types": "./types/src/index.d.ts", @@ -76,7 +76,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", @@ -93,7 +93,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index b5da5abb2e09..1782ac5326cd 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -93,7 +93,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/debug": "^4.1.4", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/ws": "^7.2.4", @@ -105,7 +105,7 @@ "karma": "^6.2.0", "karma-chrome-launcher": "^3.0.0", "karma-mocha": "^2.0.1", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", diff --git a/sdk/core/core-auth/package.json b/sdk/core/core-auth/package.json index 53d5539648ed..dcd2fa1c5812 100644 --- a/sdk/core/core-auth/package.json +++ b/sdk/core/core-auth/package.json @@ -34,7 +34,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "echo skipped", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -70,14 +70,14 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "downlevel-dts": "^0.8.0", "eslint": "^7.15.0", "inherits": "^2.0.3", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index d443a53dc1b4..91503b3b3317 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -40,7 +40,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "cross-env TS_NODE_FILES=true mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -79,7 +79,7 @@ "@azure/core-xml": "^1.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@azure/eslint-plugin-azure-sdk": "^3.0.0", @@ -100,7 +100,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", diff --git a/sdk/core/core-http-compat/package.json b/sdk/core/core-http-compat/package.json index 5a3765e54bf7..6b295d69f878 100644 --- a/sdk/core/core-http-compat/package.json +++ b/sdk/core/core-http-compat/package.json @@ -27,7 +27,7 @@ "test:node": "echo skipped", "test": "npm run clean && npm run build && npm run unit-test:node && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "echo skipped", - "unit-test:node": "cross-env TS_NODE_FILES=true mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -64,7 +64,7 @@ "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "7.18.11", "mocha-junit-reporter": "^2.0.0", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "eslint": "^7.15.0", "rimraf": "^3.0.0", "downlevel-dts": "^0.8.0", diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index a87ca169cdc9..da98a6900b66 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -103,7 +103,7 @@ "@azure/test-utils": "^1.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", @@ -119,7 +119,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "npm-run-all": "^4.1.5", "nyc": "^15.0.0", diff --git a/sdk/core/core-paging/package.json b/sdk/core/core-paging/package.json index 0fac50a0474c..e4ebc903891b 100644 --- a/sdk/core/core-paging/package.json +++ b/sdk/core/core-paging/package.json @@ -62,7 +62,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "sideEffects": true, @@ -75,9 +75,10 @@ "@microsoft/api-extractor": "7.18.11", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "chai": "^4.2.0", + "cross-env": "^7.0.2", "downlevel-dts": "^0.8.0", "eslint": "^7.15.0", "karma": "^6.2.0", @@ -91,7 +92,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index ef10e5ee786e..fd0902cbd1dd 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -30,7 +30,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -65,7 +65,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", @@ -82,7 +82,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", diff --git a/sdk/core/core-util/package.json b/sdk/core/core-util/package.json index 320b08278711..8f4f5e907d1a 100644 --- a/sdk/core/core-util/package.json +++ b/sdk/core/core-util/package.json @@ -40,7 +40,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -74,7 +74,7 @@ "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@azure/eslint-plugin-azure-sdk": "^3.0.0", @@ -94,7 +94,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", diff --git a/sdk/core/core-xml/package.json b/sdk/core/core-xml/package.json index a4f35a0c122e..e6c5e5d231bb 100644 --- a/sdk/core/core-xml/package.json +++ b/sdk/core/core-xml/package.json @@ -41,7 +41,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ @@ -76,7 +76,7 @@ "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@azure/eslint-plugin-azure-sdk": "^3.0.0", @@ -96,7 +96,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index 04cba94e11a4..b7582647bacb 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -36,7 +36,7 @@ "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "types": "./types/logger.d.ts", @@ -74,7 +74,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "7.18.11", "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", @@ -93,7 +93,7 @@ "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", diff --git a/sdk/test-utils/test-utils/package.json b/sdk/test-utils/test-utils/package.json index e9723780e0f2..4a92f21b2ccb 100644 --- a/sdk/test-utils/test-utils/package.json +++ b/sdk/test-utils/test-utils/package.json @@ -27,7 +27,7 @@ "lint": "eslint --no-eslintrc -c ../../.eslintrc.internal.json package.json src test --ext .ts", "pack": "npm pack 2>&1", "unit-test:browser": "cross-env karma start --single-run", - "unit-test:node": "mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 120000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"", + "unit-test:node": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 120000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "test:browser": "npm run clean && npm run build:test npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", @@ -66,14 +66,14 @@ "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-exclude": "^2.1.0", - "mocha": "^7.1.1", + "mocha": "^9.2.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "7.18.11", - "@types/mocha": "^7.0.2", + "@types/mocha": "^9.0.0", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "cross-env": "^7.0.2", From 4305e18c37437b678538e3e45359059651dd3afc Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Fri, 29 Apr 2022 16:16:44 +0000 Subject: [PATCH 2/2] update pnpm-lock.yaml --- common/config/rush/pnpm-lock.yaml | 340 +++++++++++++++++++++++------- 1 file changed, 261 insertions(+), 79 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 971e0b73c5b2..d1e7ab7626da 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -927,7 +927,7 @@ packages: resolution: {integrity: sha512-Q71Buur3RMcg6lCnisLL8Im562DBw+ybzgm+YQj/FbAaI8ZNu/zl/5z1fE4k3Q9LSIzYrz6HLRzlhdSBXpydlQ==} engines: {node: '>=8.0.0'} dependencies: - '@azure/core-http': 1.2.3 + '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.3 '@azure/msal-node': 1.0.0-beta.6_debug@4.3.4 @@ -2398,7 +2398,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/chai-as-promised/7.1.5: @@ -2424,7 +2424,7 @@ packages: /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/cookie/0.4.1: @@ -2459,7 +2459,7 @@ packages: /@types/express-serve-static-core/4.17.28: resolution: {integrity: sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -2476,26 +2476,26 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/is-buffer/2.0.0: resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/json-schema/7.0.11: @@ -2509,13 +2509,13 @@ packages: /@types/jsonwebtoken/8.5.8: resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/jws/3.2.4: resolution: {integrity: sha512-aqtH4dPw1wUjFZaeMD1ak/pf8iXlu/odFe+trJrvw0g1sTh93i+SCykg0Ek8C6B7rVK3oBORbfZAsKO7P10etg==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/long/4.0.2: @@ -2552,16 +2552,20 @@ packages: resolution: {integrity: sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w==} dev: false + /@types/mocha/9.1.1: + resolution: {integrity: sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==} + dev: false + /@types/mock-fs/4.13.1: resolution: {integrity: sha512-m6nFAJ3lBSnqbvDZioawRvpLXSaPyn52Srf7OfzjubYbYX8MTUdIgDxQl0wEapm4m/pNYSd9TXocpQ0TvZFlYA==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/mock-require/2.0.1: resolution: {integrity: sha512-O7U5DVGboY/Crueb5/huUCIRjKtRVRaLmRDbZJBlDQgJn966z3aiFDN+6AtYviu2ExwMkl34LjT/IiC0OPtKuQ==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/ms/0.7.31: @@ -2575,7 +2579,7 @@ packages: /@types/node-fetch/2.6.1: resolution: {integrity: sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 form-data: 3.0.1 dev: false @@ -2618,7 +2622,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/semaphore/1.1.1: @@ -2629,7 +2633,7 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/sinon/10.0.11: @@ -2651,7 +2655,7 @@ packages: /@types/stoppable/1.1.1: resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/tough-cookie/4.0.2: @@ -2661,13 +2665,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/underscore/1.11.4: @@ -2685,26 +2689,26 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/ws/8.5.3: resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/xml2js/0.4.11: resolution: {integrity: sha512-JdigeAKmCyoJUiQljjr7tQG3if9NkqGUgwEUqBvV0N7LM4HyQk7UXCnusRa1lnvXAEYJ8mw8GtZWioagNztOwA==} dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false /@types/yauzl/2.10.0: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 12.20.50 + '@types/node': 17.0.29 dev: false optional: true @@ -2814,6 +2818,10 @@ packages: eslint-visitor-keys: 2.1.0 dev: false + /@ungap/promise-all-settled/1.1.2: + resolution: {integrity: sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==} + dev: false + /abort-controller/3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -2980,6 +2988,10 @@ packages: sprintf-js: 1.0.3 dev: false + /argparse/2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + dev: false + /arr-union/3.1.0: resolution: {integrity: sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=} engines: {node: '>=0.10.0'} @@ -3288,6 +3300,11 @@ packages: engines: {node: '>=6'} dev: false + /camelcase/6.3.0: + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} + dev: false + /caniuse-lite/1.0.30001334: resolution: {integrity: sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw==} dev: false @@ -3677,7 +3694,7 @@ packages: resolution: {integrity: sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==} deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dependencies: - ms: 2.1.1 + ms: 2.1.3 dev: false /debug/3.2.7: @@ -3686,6 +3703,19 @@ packages: ms: 2.1.3 dev: false + /debug/4.3.3_supports-color@8.1.1: + resolution: {integrity: sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + supports-color: 8.1.1 + dev: false + /debug/4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -3703,6 +3733,11 @@ packages: engines: {node: '>=0.10.0'} dev: false + /decamelize/4.0.0: + resolution: {integrity: sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==} + engines: {node: '>=10'} + dev: false + /decode-uri-component/0.2.0: resolution: {integrity: sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=} engines: {node: '>=0.10'} @@ -3925,7 +3960,7 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.12 - '@types/node': 12.20.50 + '@types/node': 17.0.29 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -4563,6 +4598,14 @@ packages: path-exists: 4.0.0 dev: false + /find-up/5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: false + /flat-cache/3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -4578,6 +4621,11 @@ packages: is-buffer: 2.0.5 dev: false + /flat/5.0.2: + resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} + hasBin: true + dev: false + /flatted/3.2.5: resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} dev: false @@ -4815,7 +4863,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.0.4 + minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 dev: false @@ -5276,6 +5324,11 @@ packages: engines: {node: '>=0.12.0'} dev: false + /is-plain-obj/2.1.0: + resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} + engines: {node: '>=8'} + dev: false + /is-reference/1.2.1: resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} dependencies: @@ -5344,6 +5397,11 @@ packages: resolution: {integrity: sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=} dev: false + /is-unicode-supported/0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + dev: false + /is-valid-glob/1.0.0: resolution: {integrity: sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=} engines: {node: '>=0.10.0'} @@ -5550,6 +5608,13 @@ packages: esprima: 4.0.1 dev: false + /js-yaml/4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + dependencies: + argparse: 2.0.1 + dev: false + /jsbi/3.2.5: resolution: {integrity: sha512-aBE4n43IPvjaddScbvWRA2YlTzKEynHzu7MqOyTipdHucf/VxS63ViCjxYRg86M8Rxwbt/GfzHl1kKERkt45fQ==} dev: false @@ -5907,6 +5972,13 @@ packages: p-locate: 4.1.0 dev: false + /locate-path/6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: false + /lodash.flattendeep/4.4.0: resolution: {integrity: sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=} dev: false @@ -5977,6 +6049,14 @@ packages: chalk: 2.4.2 dev: false + /log-symbols/4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + dev: false + /log4js/6.4.6: resolution: {integrity: sha512-1XMtRBZszmVZqPAOOWczH+Q94AI42mtNWjvjA5RduKTSWjEc56uOBbyM1CJnfN4Ym0wSd8cQ43zOojlSHgRDAw==} engines: {node: '>=8.0'} @@ -6207,6 +6287,13 @@ packages: brace-expansion: 1.1.11 dev: false + /minimatch/4.2.1: + resolution: {integrity: sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 1.1.11 + dev: false + /minimist/1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} dev: false @@ -6261,6 +6348,19 @@ packages: xml: 1.0.1 dev: false + /mocha-junit-reporter/2.0.2_mocha@9.2.2: + resolution: {integrity: sha512-vYwWq5hh3v1lG0gdQCBxwNipBfvDiAM1PHroQRNp96+2l72e9wEUTw+mzoK+O0SudgfQ7WvTQZ9Nh3qkAYAjfg==} + peerDependencies: + mocha: '>=2.2.5' + dependencies: + debug: 2.6.9 + md5: 2.3.0 + mkdirp: 0.5.6 + mocha: 9.2.2 + strip-ansi: 6.0.1 + xml: 1.0.1 + dev: false + /mocha/7.2.0: resolution: {integrity: sha512-O9CIypScywTVpNaRrCAgoUnJgozpIofjKUYmJhiCIJMiuYnLI6otcb1/kpW9/n/tJODHGZ7i8aLQoDVsMtOKQQ==} engines: {node: '>= 8.10.0'} @@ -6292,6 +6392,37 @@ packages: yargs-unparser: 1.6.0 dev: false + /mocha/9.2.2: + resolution: {integrity: sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==} + engines: {node: '>= 12.0.0'} + hasBin: true + dependencies: + '@ungap/promise-all-settled': 1.1.2 + ansi-colors: 4.1.1 + browser-stdout: 1.3.1 + chokidar: 3.5.3 + debug: 4.3.3_supports-color@8.1.1 + diff: 5.0.0 + escape-string-regexp: 4.0.0 + find-up: 5.0.0 + glob: 7.2.0 + growl: 1.10.5 + he: 1.2.0 + js-yaml: 4.1.0 + log-symbols: 4.1.0 + minimatch: 4.2.1 + ms: 2.1.3 + nanoid: 3.3.1 + serialize-javascript: 6.0.0 + strip-json-comments: 3.1.1 + supports-color: 8.1.1 + which: 2.0.2 + workerpool: 6.2.0 + yargs: 16.2.0 + yargs-parser: 20.2.4 + yargs-unparser: 2.0.0 + dev: false + /mock-fs/5.1.2: resolution: {integrity: sha512-YkjQkdLulFrz0vD4BfNQdQRVmgycXTV7ykuHMlyv+C8WCHazpkiQRDthwa02kSyo8wKnY9wRptHfQLgmf0eR+A==} engines: {node: '>=12.0.0'} @@ -6340,6 +6471,12 @@ packages: resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==} dev: false + /nanoid/3.3.1: + resolution: {integrity: sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: false + /nanoid/3.3.3: resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -6724,6 +6861,13 @@ packages: p-try: 2.2.0 dev: false + /p-limit/3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: false + /p-locate/2.0.0: resolution: {integrity: sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=} engines: {node: '>=4'} @@ -6745,6 +6889,13 @@ packages: p-limit: 2.3.0 dev: false + /p-locate/5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 + dev: false + /p-map/3.0.0: resolution: {integrity: sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==} engines: {node: '>=8'} @@ -7557,6 +7708,12 @@ packages: randombytes: 2.1.0 dev: false + /serialize-javascript/6.0.0: + resolution: {integrity: sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==} + dependencies: + randombytes: 2.1.0 + dev: false + /serve-static/1.15.0: resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} engines: {node: '>= 0.8.0'} @@ -8612,7 +8769,7 @@ packages: /wide-align/1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: - string-width: 1.0.2 + string-width: 4.2.3 dev: false /word-wrap/1.2.3: @@ -8620,6 +8777,10 @@ packages: engines: {node: '>=0.10.0'} dev: false + /workerpool/6.2.0: + resolution: {integrity: sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==} + dev: false + /wrap-ansi/5.1.0: resolution: {integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==} engines: {node: '>=6'} @@ -8771,6 +8932,11 @@ packages: decamelize: 1.2.0 dev: false + /yargs-parser/20.2.4: + resolution: {integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==} + engines: {node: '>=10'} + dev: false + /yargs-parser/20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} @@ -8790,6 +8956,16 @@ packages: yargs: 13.3.2 dev: false + /yargs-unparser/2.0.0: + resolution: {integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==} + engines: {node: '>=10'} + dependencies: + camelcase: 6.3.0 + decamelize: 4.0.0 + flat: 5.0.2 + is-plain-obj: 2.1.0 + dev: false + /yargs/13.3.2: resolution: {integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==} dependencies: @@ -8860,6 +9036,11 @@ packages: engines: {node: '>=6'} dev: false + /yocto-queue/0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: false + /z-schema/3.18.4: resolution: {integrity: sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw==} hasBin: true @@ -8884,13 +9065,13 @@ packages: dev: false file:projects/abort-controller.tgz: - resolution: {integrity: sha512-GLzZR7fYZG2X6pI3w3g8iOVOR1K6m+GpAo90U4boApn+J/Bnk8WcMwHa1uCiWQO1kCObSw8U7k7OhEOHI3zSBw==, tarball: file:projects/abort-controller.tgz} + resolution: {integrity: sha512-Y8MeIFGk7kpT0ZzLh/JkTxqws/RDol3w5V130iBt+44WRntbjFpE1Xi/kz7rg+Dq5CtNoBnuAcg+wz9JdJKcYw==, tarball: file:projects/abort-controller.tgz} name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 chai: 4.3.6 cross-env: 7.0.3 @@ -8907,8 +9088,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 @@ -14338,7 +14519,7 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-cv7xJtq5a6/na2KUemeOpFkd9rbX6ojqqZqnD0D9nK2MCbyV4iUSbk37nWJRfbncc0go+dTtQOhkvukS0VVKeA==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-K6u7j2jY9dwywEf8IKN81HF6wJixShM4VHj9NtE7+a4O9/rphazmAVOwoMKJRFTUI0DuEz0Z/H2couvFeiSFWw==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: @@ -14351,7 +14532,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@2.70.2 '@types/chai': 4.3.1 '@types/debug': 4.1.7 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 '@types/ws': 7.4.7 @@ -14366,8 +14547,8 @@ packages: karma: 6.3.19_debug@4.3.4 karma-chrome-launcher: 3.1.1 karma-mocha: 2.0.1 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 nyc: 15.1.0 prettier: 2.6.2 process: 0.11.10 @@ -14396,21 +14577,21 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-BbDM67RL6A/eiVl8pRZT4ucXvxQa/l46hn0ZJcBzGie8AlLyR3E89ikGvs/KnV2zwYBfzvGNn6QxpTa74UJyxw==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-9zs6++xmPkOoQdC+FL3D6tFzOKhUwfp69ZRVJJ3nYKzeBlfbeRqEKzL24CCZ4ws/UC/MeIdx5HjfpnPJuMnITQ==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 tslib: 2.4.0 @@ -14421,13 +14602,13 @@ packages: dev: false file:projects/core-client-1.tgz: - resolution: {integrity: sha512-YVRueduM5XqOb2/bGEpUPclRvtfNt94OijJSFZBuobcIG+rjBny/AjYlBA3WCorxiRykA1pgO5iOWwrL8X061A==, tarball: file:projects/core-client-1.tgz} + resolution: {integrity: sha512-PJjVBDC8NKn24gP6kFGXiZZTnVnc1B4Itim7rJ01FsVarzi5BTVflqhCLe9tMiIGXZVVZnBx9dpd9EK/MLSlQQ==, tarball: file:projects/core-client-1.tgz} name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 chai: 4.3.6 @@ -14446,8 +14627,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 @@ -14548,7 +14729,7 @@ packages: dev: false file:projects/core-http-compat.tgz: - resolution: {integrity: sha512-Sk1riwGJW9D2B0n8WU3eqR3Cz/qhkvopkdOlkK4/qu0v6bWnQk+X3mIE5ylzsFEaxnSd0iOXoynhvC3rYn3ZSQ==, tarball: file:projects/core-http-compat.tgz} + resolution: {integrity: sha512-j/gcKc53aXF79SR+zPCqTjyZPWpBmQNkXai9cJNUKOo0oe1W787eRYZB8dWQn+Pc+5m8qzLxjyDLK8xuW7C6KA==, tarball: file:projects/core-http-compat.tgz} name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: @@ -14556,8 +14737,8 @@ packages: cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 typescript: 4.6.3 @@ -14632,13 +14813,13 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-LoClo7EXEGCpcyu5WzYeZb6n21f6ncFq2PL1nDg+8hVeo1vvB1udtfSQYH+yL0MSRhJvX/lC+zaY/VubIx615g==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-8WYrWbr1eM5Zmjg3oiuPGrCtahRVPPHiWQjy9gopfrgno/g4cc21zrBStcdK0Xb5XOGU0RRL7GwiQlcs8UzFjg==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 chai: 4.3.6 cross-env: 7.0.3 @@ -14654,8 +14835,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 npm-run-all: 4.1.5 nyc: 15.1.0 prettier: 2.6.2 @@ -14674,15 +14855,16 @@ packages: dev: false file:projects/core-paging.tgz: - resolution: {integrity: sha512-YDB2hJvSowIdsN2yYGUX18/tfJrAnvMIFuJyNkUvzz8zTL2KBA8cOs1bCyA0kl4d2cDaFShmTzblm9gQFmzEfw==, tarball: file:projects/core-paging.tgz} + resolution: {integrity: sha512-bxCqoviNb5Av+Bw5Udn9DwU2cWksWgAF0IMuskdB10gqEHqEpyaxSMDSu4ET7J/p3fSad0sOPIS5efXMaTTwdA==, tarball: file:projects/core-paging.tgz} name: '@rush-temp/core-paging' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 chai: 4.3.6 + cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 karma: 6.3.19 @@ -14696,8 +14878,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 tslib: 2.4.0 @@ -14762,13 +14944,13 @@ packages: dev: false file:projects/core-tracing.tgz: - resolution: {integrity: sha512-B/4iHuJF+oEYUFK5Lzty6PddFdNxJnciPchgZnUaYbXYnUj/8QGNbuimRz2HutrMtUu2Xjs+iedaGfz/sSgQrg==, tarball: file:projects/core-tracing.tgz} + resolution: {integrity: sha512-dSXcqtvTH00QYin2qYZ7HCZ8PNlPZanaOv6Q+k2MVVZLYqzAuia0c8NsiGhS2hXpqXqtj9AExU2GpOCCi1fEzg==, tarball: file:projects/core-tracing.tgz} name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 chai: 4.3.6 @@ -14786,8 +14968,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 @@ -14802,13 +14984,13 @@ packages: dev: false file:projects/core-util.tgz: - resolution: {integrity: sha512-SNlm3nf9CUIOMR/qwIJoUZbtCGOtnjogos4sEQYWkyp/TRAm2/l6XBIf/VAwQWHtSFrN6rHrBxKoGQ9hPx8lgA==, tarball: file:projects/core-util.tgz} + resolution: {integrity: sha512-BC2Tjt5ppZ4TKWdIGqP2nStExKXuVn740XXu03xPIT/vfy0TBo+6B1+oeO1xHOniMkgK9ZNpuHiqlMmIT4pHvQ==, tarball: file:projects/core-util.tgz} name: '@rush-temp/core-util' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 chai: 4.3.6 @@ -14827,8 +15009,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 @@ -14843,13 +15025,13 @@ packages: dev: false file:projects/core-xml.tgz: - resolution: {integrity: sha512-cfK24RRDd87QmpyHwhxKxXwyhXCNOUjb/XN84igbPkg7hyWRp3os7/u7TGqA50UVwM9NVtNKmdfdJ3qLIx0Lqg==, tarball: file:projects/core-xml.tgz} + resolution: {integrity: sha512-4DVNT90el87OhLizDvStb+KIFLra9WCct+pMmPqDXBEqMBoo4/6WZMb2z8pSpFSsxHcvq9f4tLHCXZtdOMwR9g==, tarball: file:projects/core-xml.tgz} name: '@rush-temp/core-xml' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 chai: 4.3.6 @@ -14869,8 +15051,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 @@ -14979,7 +15161,7 @@ packages: dev: false file:projects/dev-tool.tgz: - resolution: {integrity: sha512-6NcEOriNLfmtKee0Swj5lmTpCIoNCVoCT2Xyyg5PE/uqh0Gah6qdc40rTTUsSAgFOV02205ybEHH9Qf3kS0QAA==, tarball: file:projects/dev-tool.tgz} + resolution: {integrity: sha512-KYMOsBO/bLvmTua1i/shodzqz72Hvee/qJN0BONQni+mJQIF6YtNu8B0GsTfo5+bGqkyzRUwroTHfKFyVBGh9g==, tarball: file:projects/dev-tool.tgz} name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: @@ -14991,7 +15173,7 @@ packages: '@types/chai-as-promised': 7.1.5 '@types/fs-extra': 9.0.13 '@types/minimist': 1.2.2 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/prettier': 2.6.0 builtin-modules: 3.2.0 @@ -15003,7 +15185,7 @@ packages: eslint: 7.32.0 fs-extra: 10.1.0 minimist: 1.2.6 - mocha: 7.2.0 + mocha: 9.2.2 prettier: 2.6.2 rimraf: 3.0.2 rollup: 2.70.2 @@ -15126,7 +15308,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-TbTRI/L8IaCaN0rhK1Emy5igUmmHz+tbrsvfWTVvwOW9h43KzUxrJf2QtCWgHmJtS9P8zQTlt/bumJz7kbeNBA==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-JsR9ihhnOnuE8aKmlX7KUmxTaf1AYlfxaolo1hxuvQdQvZ+whBh/3HH+3mCjhBxbYC9WcjWNDMb7L/ri9UUItQ==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -15135,7 +15317,7 @@ packages: '@types/estree': 0.0.51 '@types/glob': 7.2.0 '@types/json-schema': 7.0.11 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@typescript-eslint/eslint-plugin': 4.19.0_359354e87b989469ccdce12bde18eddc '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.32.0+typescript@4.2.4 @@ -15151,8 +15333,8 @@ packages: eslint-plugin-tsdoc: 0.2.16 glob: 7.2.0 json-schema: 0.4.0 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 prettier: 2.6.2 rimraf: 3.0.2 source-map-support: 0.5.21 @@ -15795,13 +15977,13 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-4oFLfXF58h4vd0ye9yIrJqV8ICk41YWvs7BAp3qJK08zbvY4hS3bdm5DmsuW313e61nlxd+eTEebgd1lWzIOpA==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-wqLFV4ASZkh3xnXoel4Nz5fanOXjwGTKMcRffY3Br+qk9wAZMKGxsyLyKmjBxZfDGI8ire6VEh3hU+6AxGSaSw==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 chai: 4.3.6 @@ -15820,8 +16002,8 @@ packages: karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@6.3.19 karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 + mocha: 9.2.2 + mocha-junit-reporter: 2.0.2_mocha@9.2.2 nyc: 15.1.0 prettier: 2.6.2 puppeteer: 13.7.0 @@ -17689,7 +17871,7 @@ packages: dev: false file:projects/test-utils.tgz: - resolution: {integrity: sha512-d+ms8U+QXf7ZI9tnpZW7CPE08tZxKCZCTUN2Xd8sQBpUMg74lzWHWJeVwyWkLAu4CG7gd+LGMt6bFvcAEzsSCg==, tarball: file:projects/test-utils.tgz} + resolution: {integrity: sha512-nufWa4H/P745ECo8rC5G7qdaKD3jubCpGO84eDWskwXjVrLBuUCgGeaadNhJLMX8qDSE9Ai71Clg1Z3pcrKVAA==, tarball: file:projects/test-utils.tgz} name: '@rush-temp/test-utils' version: 0.0.0 dependencies: @@ -17698,7 +17880,7 @@ packages: '@opentelemetry/api': 1.1.0 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 - '@types/mocha': 7.0.2 + '@types/mocha': 9.1.1 '@types/node': 12.20.50 '@types/sinon': 9.0.11 chai: 4.3.6 @@ -17710,7 +17892,7 @@ packages: karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 karma-env-preprocessor: 0.1.1 - mocha: 7.2.0 + mocha: 9.2.2 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4