Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit 45aad19

Browse files
Add support for Node 14 and 16 (#572)
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
1 parent d52cb4f commit 45aad19

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pr:
2020
- release-1.4
2121

2222
pool:
23-
vmImage: 'ubuntu-18.04'
23+
vmImage: 'ubuntu-20.04'
2424

2525
variables:
2626
- group: credentials
@@ -44,6 +44,10 @@ stages:
4444
versionSpec: '10.x'
4545
Node12:
4646
versionSpec: '12.x'
47+
Node14:
48+
versionSpec: '14.x'
49+
Node16:
50+
versionSpec: '16.x'
4751
steps:
4852
- task: NodeTool@0
4953
inputs:
@@ -85,7 +89,7 @@ stages:
8589
steps:
8690
- task: NodeTool@0
8791
inputs:
88-
versionSpec: '12.x'
92+
versionSpec: '16.x'
8993
displayName: Install Node.js
9094
- script: npm install
9195
displayName: npm install

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ The following tables show versions of Fabric, Node and other dependencies that a
7979

8080
| | Tested | Supported |
8181
| --- | ------ | --------- |
82-
| **Fabric** | 1.4 | 1.4.x, 2.0.x |
83-
| **Node** | 10, 12 | 10.13+, 12.13+ |
84-
| **Platform** | Ubuntu 18.04 | |
82+
| **Fabric** | 1.4 | 1.4.x, 2.2.x |
83+
| **Node** | 10, 12, 14, 16 | 10 LTS, 12 LTS, 14 LTS, 16 LTS |
84+
| **Platform** | Ubuntu 20.04 | |

fabric-ca-client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"url": "https://github.com/hyperledger/fabric-sdk-node"
1616
},
1717
"engines": {
18-
"node": "^10.15.3 || ^12.15.0",
19-
"npm": "^6.4.1"
18+
"node": ">=10.13.0"
2019
},
2120
"types": "./types/index.d.ts",
2221
"dependencies": {

fabric-client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"url": "https://github.com/hyperledger/fabric-sdk-node"
1616
},
1717
"engines": {
18-
"node": "^10.15.3 || ^12.15.0",
19-
"npm": " ^6.4.1"
18+
"node": ">=10.13.0"
2019
},
2120
"types": "./types/index.d.ts",
2221
"dependencies": {

fabric-common/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"email": "fabric@lists.hyperledger.org"
1818
},
1919
"engines": {
20-
"node": "^10.15.3 || ^12.15.0",
21-
"npm": "^6.4.1"
20+
"node": ">=10.13.0"
2221
},
2322
"scripts": {
2423
"test": "nyc mocha --exclude 'test/data/**/*.js' --recursive -t 10000"

fabric-network/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"email": "fabric@lists.hyperledger.org"
1818
},
1919
"engines": {
20-
"node": "^10.15.3 || ^12.15.0",
21-
"npm": "^6.4.1"
20+
"node": ">=10.13.0"
2221
},
2322
"scripts": {
2423
"test": "nyc mocha --exclude 'test/data/**/*.js' --recursive -t 10000"

0 commit comments

Comments
 (0)