Skip to content

Commit

Permalink
Update engines, @types/node to Node.js v12
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Jun 25, 2021
1 parent b729674 commit 7b8a515
Show file tree
Hide file tree
Showing 125 changed files with 405 additions and 386 deletions.
343 changes: 173 additions & 170 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/tools/dev-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@types/fs-extra": "^8.0.0",
"@types/minimist": "~1.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/prettier": "~2.0.1",
"builtin-modules": "~3.1.0",
"chai": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion common/tools/eslint-plugin-azure-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@types/glob": "^7.1.1",
"@types/json-schema": "^7.0.6",
"@types/mocha": "^7.0.2",
"@types/node": "^10.12.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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { getRuleMetaData, getVerifiers, stripPath } from "../utils";
* definition of LTS Node versions
* * needs updating as definitions change
*/
const LTS = ">=8.0.0";
const LTS = ">=12.0.0";

//------------------------------------------------------------------------------
// Rule Definition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ ruleTester.run("ts-package-json-engine-is-present", rule, {
valid: [
{
// only the fields we care about
code: '{"engines": { "node": ">=8.0.0" }}',
code: '{"engines": { "node": ">=12.0.0" }}',
filename: "package.json"
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@types/gulp": "^4.0.0",
"@types/js-yaml": "^3.11.2",
"@types/minimist": "^1.2.0",
"@types/node": "^10.10.0",
"@types/node": "^12.0.0",
"@types/nodegit": "^0.22.5",
"@types/yargs": "^11.0.0",
"colors": "^1.3.2",
Expand Down
4 changes: 2 additions & 2 deletions sdk/agrifood/agrifood-farming-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"LICENSE"
],
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"//metadata": {
"constantPaths": [
Expand Down Expand Up @@ -99,7 +99,7 @@
"@microsoft/api-extractor": "7.13.2",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/anomalydetector/ai-anomaly-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"LICENSE"
],
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"repository": "github:Azure/azure-sdk-for-js",
"keywords": [
Expand Down Expand Up @@ -81,7 +81,7 @@
"@rollup/plugin-replace": "^2.2.0",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"csv-parse": "^4.4.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/appconfiguration/app-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"sideEffects": false,
"autoPublish": false,
Expand Down Expand Up @@ -108,7 +108,7 @@
"@rollup/plugin-replace": "^2.2.0",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"assert": "^1.4.1",
"chai": "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@types/uuid": "^8.0.0",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"eslint": "^7.15.0",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/attestation/attestation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
],
"repository": "github:Azure/azure-sdk-for-js",
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"keywords": [
"node",
Expand Down Expand Up @@ -104,7 +104,7 @@
"@types/chai": "^4.1.6",
"@types/chai-as-promised": "^7.1.0",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"buffer": "^5.2.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat/",
"sideEffects": false,
Expand Down Expand Up @@ -88,7 +88,7 @@
"@rollup/plugin-replace": "^2.2.0",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"assert": "^1.4.1",
"chai": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-common/",
"sideEffects": false,
Expand All @@ -84,7 +84,7 @@
"@types/chai": "^4.1.6",
"@types/jwt-decode": "~2.2.1",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"assert": "^1.4.1",
"chai-as-promised": "^7.1.1",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"author": "Microsoft Corporation",
"license": "MIT",
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity/",
"repository": "github:Azure/azure-sdk-for-js",
Expand Down Expand Up @@ -99,7 +99,7 @@
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/sinon": "^9.0.4",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"assert": "^1.4.1",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"author": "Microsoft Corporation",
"license": "MIT",
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/",
"repository": "github:Azure/azure-sdk-for-js",
Expand Down Expand Up @@ -97,7 +97,7 @@
"@rollup/plugin-replace": "^2.2.0",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"assert": "^1.4.1",
"chai": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-phone-numbers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"author": "Microsoft Corporation",
"license": "MIT",
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-phone-numbers/",
"repository": "github:Azure/azure-sdk-for-js",
Expand Down Expand Up @@ -87,7 +87,7 @@
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/sinon": "^9.0.4",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"assert": "^1.4.1",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-sms/",
"sideEffects": false,
Expand Down Expand Up @@ -88,7 +88,7 @@
"@rollup/plugin-replace": "^2.2.0",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"assert": "^1.4.1",
"chai": "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@microsoft/api-extractor": "7.13.2",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/containerregistry/container-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
],
"repository": "github:Azure/azure-sdk-for-js",
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"keywords": [
"azure",
Expand Down Expand Up @@ -94,7 +94,7 @@
"@types/chai": "^4.1.6",
"@types/chai-as-promised": "^7.1.0",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"LICENSE"
],
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"repository": "github:Azure/azure-sdk-for-js",
"keywords": [
Expand Down Expand Up @@ -87,7 +87,7 @@
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"assert": "^1.4.1",
"cross-env": "^7.0.2",
"delay": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/core-amqp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-amqp/README.md",
"sideEffects": false,
Expand Down Expand Up @@ -95,7 +95,7 @@
"@types/chai-as-promised": "^7.1.0",
"@types/debug": "^4.1.4",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"@types/ws": "^7.2.4",
"assert": "^1.4.1",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/core-asynciterator-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"LICENSE"
],
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"license": "MIT",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-asynciterator-polyfill/README.md",
Expand Down Expand Up @@ -58,7 +58,7 @@
"private": false,
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"eslint": "^7.15.0",
"prettier": "^1.16.4",
"typescript": "~4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/core-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-auth/README.md",
"sideEffects": false,
Expand All @@ -78,7 +78,7 @@
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"assert": "^1.4.1",
"cross-env": "^7.0.2",
"downlevel-dts": "~0.4.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/core-client-paging-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/",
"sideEffects": false,
Expand All @@ -70,7 +70,7 @@
"@microsoft/api-extractor": "7.13.2",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"chai": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/core-client-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-rest/",
"sideEffects": false,
Expand All @@ -69,7 +69,7 @@
"@microsoft/api-extractor": "7.13.2",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"chai": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/core/core-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client/",
"sideEffects": false,
Expand All @@ -93,7 +93,7 @@
"@rollup/plugin-replace": "^2.2.0",
"@types/chai": "^4.1.6",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/node": "^12.0.0",
"@types/sinon": "^9.0.4",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
Expand Down
Loading

0 comments on commit 7b8a515

Please sign in to comment.