Skip to content

Commit

Permalink
Add support for Node 16 (#571)
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 c0dc70e commit 501c45b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ stages:
versionSpec: '12.x'
Node14:
versionSpec: '14.x'
Node16:
versionSpec: '16.x'
steps:
- task: NodeTool@0
inputs:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The following tables show versions of Fabric, Node and other dependencies that a
| | Tested | Supported |
| --- | ------ | --------- |
| **Fabric** | 2.2 | 2.2 |
| **Node** | 10, 12, 14 | 10 LTS, 12 LTS, 14 LTS |
| **Node** | 10, 12, 14, 16 | 10 LTS, 12 LTS, 14 LTS, 16 LTS |
| **Platform** | Ubuntu 20.04 | |


Expand Down
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.13.1 || ^14.13.1",
"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 @@ -20,8 +20,7 @@
"test": "nyc mocha --exclude 'test/data/**/*.js' --recursive -t 10000"
},
"engines": {
"node": "^10.15.3 || ^12.13.1 || ^14.13.1",
"npm": "^6.4.1"
"node": ">=10.13.0"
},
"types": "./types/index.d.ts",
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions fabric-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"test": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": "^10.15.3 || ^12.13.1 || ^14.13.1",
"npm": "^6.4.1"
"node": ">=10.13.0"
},
"types": "./types/index.d.ts",
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions fabric-protos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"engines": {
"node": "^10.15.3 || ^12.13.1 || ^14.13.1",
"npm": "^6.4.1"
"node": ">=10.13.0"
},
"keywords": [
"hyperledger",
Expand Down
4 changes: 2 additions & 2 deletions test/ts-scenario/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node10/tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"sourceMap": true,
"strict": true,
"experimentalDecorators": true
Expand Down

0 comments on commit 501c45b

Please sign in to comment.