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

Commit 501c45b

Browse files
Add support for Node 16 (#571)
Signed-off-by: Mark S. Lewis <[email protected]>
1 parent c0dc70e commit 501c45b

File tree

7 files changed

+9
-11
lines changed

7 files changed

+9
-11
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ stages:
4848
versionSpec: '12.x'
4949
Node14:
5050
versionSpec: '14.x'
51+
Node16:
52+
versionSpec: '16.x'
5153
steps:
5254
- task: NodeTool@0
5355
inputs:

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following tables show versions of Fabric, Node and other dependencies that a
3535
| | Tested | Supported |
3636
| --- | ------ | --------- |
3737
| **Fabric** | 2.2 | 2.2 |
38-
| **Node** | 10, 12, 14 | 10 LTS, 12 LTS, 14 LTS |
38+
| **Node** | 10, 12, 14, 16 | 10 LTS, 12 LTS, 14 LTS, 16 LTS |
3939
| **Platform** | Ubuntu 20.04 | |
4040

4141

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.13.1 || ^14.13.1",
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
@@ -20,8 +20,7 @@
2020
"test": "nyc mocha --exclude 'test/data/**/*.js' --recursive -t 10000"
2121
},
2222
"engines": {
23-
"node": "^10.15.3 || ^12.13.1 || ^14.13.1",
24-
"npm": "^6.4.1"
23+
"node": ">=10.13.0"
2524
},
2625
"types": "./types/index.d.ts",
2726
"dependencies": {

fabric-network/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"test": "nyc mocha --recursive -t 10000"
2121
},
2222
"engines": {
23-
"node": "^10.15.3 || ^12.13.1 || ^14.13.1",
24-
"npm": "^6.4.1"
23+
"node": ">=10.13.0"
2524
},
2625
"types": "./types/index.d.ts",
2726
"dependencies": {

fabric-protos/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"url": "https://github.com/hyperledger/fabric-sdk-node"
1717
},
1818
"engines": {
19-
"node": "^10.15.3 || ^12.13.1 || ^14.13.1",
20-
"npm": "^6.4.1"
19+
"node": ">=10.13.0"
2120
},
2221
"keywords": [
2322
"hyperledger",

test/ts-scenario/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": "@tsconfig/node10/tsconfig.json",
24
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es2017",
55
"sourceMap": true,
66
"strict": true,
77
"experimentalDecorators": true

0 commit comments

Comments
 (0)