Skip to content

Commit

Permalink
Add support for Node 14 and 16 (#572)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S. Lewis <[email protected]>
  • Loading branch information
bestbeforetoday committed Apr 29, 2022
1 parent d52cb4f commit 45aad19
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pr:
- release-1.4

pool:
vmImage: 'ubuntu-18.04'
vmImage: 'ubuntu-20.04'

variables:
- group: credentials
Expand All @@ -44,6 +44,10 @@ stages:
versionSpec: '10.x'
Node12:
versionSpec: '12.x'
Node14:
versionSpec: '14.x'
Node16:
versionSpec: '16.x'
steps:
- task: NodeTool@0
inputs:
Expand Down Expand Up @@ -85,7 +89,7 @@ stages:
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
versionSpec: '16.x'
displayName: Install Node.js
- script: npm install
displayName: npm install
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ The following tables show versions of Fabric, Node and other dependencies that a

| | Tested | Supported |
| --- | ------ | --------- |
| **Fabric** | 1.4 | 1.4.x, 2.0.x |
| **Node** | 10, 12 | 10.13+, 12.13+ |
| **Platform** | Ubuntu 18.04 | |
| **Fabric** | 1.4 | 1.4.x, 2.2.x |
| **Node** | 10, 12, 14, 16 | 10 LTS, 12 LTS, 14 LTS, 16 LTS |
| **Platform** | Ubuntu 20.04 | |
3 changes: 1 addition & 2 deletions fabric-ca-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"engines": {
"node": "^10.15.3 || ^12.15.0",
"npm": "^6.4.1"
"node": ">=10.13.0"
},
"types": "./types/index.d.ts",
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions fabric-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"engines": {
"node": "^10.15.3 || ^12.15.0",
"npm": " ^6.4.1"
"node": ">=10.13.0"
},
"types": "./types/index.d.ts",
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions fabric-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"email": "[email protected]"
},
"engines": {
"node": "^10.15.3 || ^12.15.0",
"npm": "^6.4.1"
"node": ">=10.13.0"
},
"scripts": {
"test": "nyc mocha --exclude 'test/data/**/*.js' --recursive -t 10000"
Expand Down
3 changes: 1 addition & 2 deletions fabric-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"email": "[email protected]"
},
"engines": {
"node": "^10.15.3 || ^12.15.0",
"npm": "^6.4.1"
"node": ">=10.13.0"
},
"scripts": {
"test": "nyc mocha --exclude 'test/data/**/*.js' --recursive -t 10000"
Expand Down

0 comments on commit 45aad19

Please sign in to comment.