Skip to content

Commit

Permalink
Update engines, @types/node to Node.js v12 (#15996)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a authored Jun 28, 2021
1 parent 5b4eac3 commit 5a7c129
Show file tree
Hide file tree
Showing 164 changed files with 526 additions and 435 deletions.
340 changes: 170 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
1 change: 1 addition & 0 deletions sdk/appconfiguration/app-configuration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.2.0-beta.3 (Unreleased)

### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Breaking Changes

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
9 changes: 8 additions & 1 deletion sdk/communication/communication-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@

## 1.1.0-beta.1 (Unreleased)

### Added
### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
- Added support to add `metadata` for `message`
- Added `senderDisplayName` in `sendTypingNotification` operation.

### Breaking Changes

### Key Bugs Fixed

### Fixed

## 1.0.1 (Unreleased)

- Updated to @azure/communication-signaling@1.0.0-beta.5.
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
10 changes: 9 additions & 1 deletion sdk/communication/communication-common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Release History

## 1.0.1 (Unreleased)
## 1.1.0 (Unreleased)

### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Breaking Changes

### Key Bugs Fixed

### Fixed

## 1.0.0 (2021-03-22)

Expand Down
6 changes: 3 additions & 3 deletions sdk/communication/communication-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/communication-common",
"version": "1.0.1",
"version": "1.1.0",
"description": "Common package for Azure Communication services.",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down 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
8 changes: 8 additions & 0 deletions sdk/communication/communication-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

## 1.1.0-beta.1 (Unreleased)

### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
- `CommunicationIdentityClient` added a new method `exchangeTeamsToken` that provides the ability to exchange a Teams token for an ACS access token.

### Breaking Changes

### Key Bugs Fixed

### Fixed

## 1.0.0 (2021-03-29)

- Stable release of `@azure/communication-identity`.
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 @@ -2,6 +2,14 @@

## 1.0.0-beta.2 (Unreleased)

### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Breaking Changes

### Key Bugs Fixed

### Fixed

## 1.0.0-beta.1 (2021-05-24)

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
10 changes: 9 additions & 1 deletion sdk/communication/communication-phone-numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Release History

## 1.0.1 (Unreleased)
## 1.1.0 (Unreleased)

### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Breaking Changes

### Key Bugs Fixed

### Fixed

## 1.0.0 (2021-04-26)
- Update version to 1.0.0
Expand Down
6 changes: 3 additions & 3 deletions sdk/communication/communication-phone-numbers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/communication-phone-numbers",
"version": "1.0.1",
"version": "1.1.0",
"description": "SDK for Azure Communication service which facilitates phone number management.",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down 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
12 changes: 10 additions & 2 deletions sdk/communication/communication-sms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Release History

## 1.0.1 (Unreleased)
## 1.1.0 (Unreleased)

### Features Added
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Breaking Changes

### Key Bugs Fixed

### Fixed

## 1.0.0 (2021-03-29)

Expand Down Expand Up @@ -35,4 +43,4 @@ Updated `@azure/communication-sms` version.
The first preview of the Azure Communication Sms Client has the following features:

- send an SMS message from an acquired phone number.
- optionally enable delivery reports.
- optionally enable delivery reports.
6 changes: 3 additions & 3 deletions sdk/communication/communication-sms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/communication-sms",
"version": "1.0.1",
"version": "1.1.0",
"description": "SDK for Azure Communication SMS service which facilitates the sending of SMS messages.",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down 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
2 changes: 1 addition & 1 deletion sdk/communication/communication-sms/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "1.0.1";
export const SDK_VERSION: string = "1.1.0";
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { SmsApiClientOptionalParams } from "./models";

const packageName = "azure-communication-sms";
const packageVersion = "1.0.0";
const packageVersion = "1.1.0";

export class SmsApiClientContext extends coreHttp.ServiceClient {
endpoint: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-sms/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ use-extension:
"@autorest/typescript": "6.0.0-dev.20200623.2"
azure-arm: false
add-credentials: false
package-version: 1.0.1
package-version: 1.1.0
```
Loading

0 comments on commit 5a7c129

Please sign in to comment.