From 07b4bc04e64d5f0c2a8c6bf4e379864dfa312f2c Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 11 Nov 2020 10:40:13 +0000 Subject: [PATCH] Update node/npm versions Signed-off-by: James Taylor --- TUTORIAL.md | 4 ++-- apis/fabric-contract-api/package.json | 2 +- apis/fabric-shim-api/package.json | 2 +- ci/azure-pipelines.yml | 4 +++- docs/_jsdoc/tutorials/using-chaincodeinterface.md | 2 +- docs/_jsdoc/tutorials/using-contractinterface.md | 2 +- libraries/fabric-ledger/package.json | 2 +- libraries/fabric-shim-crypto/package.json | 2 +- libraries/fabric-shim/package.json | 2 +- test/chaincodes/annotations/package.json | 2 +- test/chaincodes/clientidentity/package.json | 2 +- test/chaincodes/crosschaincode/package.json | 2 +- test/chaincodes/crosschaincode2/package.json | 2 +- test/chaincodes/crud/package.json | 2 +- test/chaincodes/encryption/package.json | 2 +- test/chaincodes/events/package.json | 2 +- test/chaincodes/ledger/package.json | 2 +- test/chaincodes/query/package.json | 2 +- test/chaincodes/scenario/package.json | 2 +- test/chaincodes/server/package.json | 2 +- test/fv/package.json | 2 +- 21 files changed, 24 insertions(+), 22 deletions(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 2c942773..f38f63f2 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -15,8 +15,8 @@ The dependencies of `fabric-contract-api` and `fabric-shim` will be required. "name": "chaincode", "description": "My first exciting chaincode implemented in node.js", "engines": { - "node": "^12.13.0", - "npm": "^6.13.4" + "node": "^12.16.1", + "npm": "^6.4.1" }, "scripts": { "test":"mocha..... diff --git a/apis/fabric-contract-api/package.json b/apis/fabric-contract-api/package.json index ebbe268b..b3f698e1 100644 --- a/apis/fabric-contract-api/package.json +++ b/apis/fabric-contract-api/package.json @@ -22,7 +22,7 @@ "Fabric Shim" ], "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "license": "Apache-2.0", diff --git a/apis/fabric-shim-api/package.json b/apis/fabric-shim-api/package.json index dd721684..5c102f12 100644 --- a/apis/fabric-shim-api/package.json +++ b/apis/fabric-shim-api/package.json @@ -17,7 +17,7 @@ "Fabric Shim" ], "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1", "eslint": "^6.6.0" }, diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml index aeaeb59c..1d7139c6 100644 --- a/ci/azure-pipelines.yml +++ b/ci/azure-pipelines.yml @@ -41,6 +41,8 @@ variables: - name: pipeline value: ci - name: node_version_spec + value: '12.16.1' + - name: rewire_node_version_spec # see https://github.com/jhnns/rewire/issues/178 value: '12.15.0' - name: FABRIC_VERSION value: 2.2 @@ -66,7 +68,7 @@ stages: steps: - task: NodeTool@0 inputs: - versionSpec: $(node_version_spec) + versionSpec: $(rewire_node_version_spec) - script: | set -ev node common/scripts/install-run-rush.js install diff --git a/docs/_jsdoc/tutorials/using-chaincodeinterface.md b/docs/_jsdoc/tutorials/using-chaincodeinterface.md index 11427709..97a9fa5f 100644 --- a/docs/_jsdoc/tutorials/using-chaincodeinterface.md +++ b/docs/_jsdoc/tutorials/using-chaincodeinterface.md @@ -60,7 +60,7 @@ Finally, update the "start" script in package.json to "node mychaincode.js": "version": "1.0.0", "description": "My first exciting chaincode implemented in node.js", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { "start" : "node mychaincode.js" }, diff --git a/docs/_jsdoc/tutorials/using-contractinterface.md b/docs/_jsdoc/tutorials/using-contractinterface.md index 6c77c064..c020fb29 100644 --- a/docs/_jsdoc/tutorials/using-contractinterface.md +++ b/docs/_jsdoc/tutorials/using-contractinterface.md @@ -15,7 +15,7 @@ The dependencies of `fabric-contract-api` and `fabric-shim` will be required. "name": "chaincode", "description": "My first exciting chaincode implemented in node.js", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/libraries/fabric-ledger/package.json b/libraries/fabric-ledger/package.json index 53160b1f..9fd408c2 100644 --- a/libraries/fabric-ledger/package.json +++ b/libraries/fabric-ledger/package.json @@ -23,7 +23,7 @@ "Fabric Ledger" ], "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "license": "Apache-2.0", diff --git a/libraries/fabric-shim-crypto/package.json b/libraries/fabric-shim-crypto/package.json index 27ee8de1..002d6d66 100644 --- a/libraries/fabric-shim-crypto/package.json +++ b/libraries/fabric-shim-crypto/package.json @@ -20,7 +20,7 @@ "Fabric Shim" ], "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "license": "Apache-2.0", diff --git a/libraries/fabric-shim/package.json b/libraries/fabric-shim/package.json index cd6bfa39..dcb2b25b 100644 --- a/libraries/fabric-shim/package.json +++ b/libraries/fabric-shim/package.json @@ -29,7 +29,7 @@ "Fabric Shim" ], "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "types": "./types/index.d.ts", diff --git a/test/chaincodes/annotations/package.json b/test/chaincodes/annotations/package.json index 899fae09..508f9dc7 100644 --- a/test/chaincodes/annotations/package.json +++ b/test/chaincodes/annotations/package.json @@ -2,7 +2,7 @@ "name": "ts_chaincode", "description": "Chaincode testing typescript functionality and annotations", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/clientidentity/package.json b/test/chaincodes/clientidentity/package.json index a4ec639f..2588008b 100644 --- a/test/chaincodes/clientidentity/package.json +++ b/test/chaincodes/clientidentity/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing ClientIdentity functionality", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/crosschaincode/package.json b/test/chaincodes/crosschaincode/package.json index 840994b2..e1a9ba7a 100644 --- a/test/chaincodes/crosschaincode/package.json +++ b/test/chaincodes/crosschaincode/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing cross chaincode functionality", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/crosschaincode2/package.json b/test/chaincodes/crosschaincode2/package.json index 51d80a5c..e1a9ba7a 100644 --- a/test/chaincodes/crosschaincode2/package.json +++ b/test/chaincodes/crosschaincode2/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing cross chaincode functionality", "engines": { - "node":"^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/crud/package.json b/test/chaincodes/crud/package.json index eed7c193..f1713687 100644 --- a/test/chaincodes/crud/package.json +++ b/test/chaincodes/crud/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing crud functionality", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/encryption/package.json b/test/chaincodes/encryption/package.json index 31d015a6..090211a4 100644 --- a/test/chaincodes/encryption/package.json +++ b/test/chaincodes/encryption/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing encryption functionality", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/events/package.json b/test/chaincodes/events/package.json index 370d11d6..ff59a7d7 100644 --- a/test/chaincodes/events/package.json +++ b/test/chaincodes/events/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing events functionality", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/ledger/package.json b/test/chaincodes/ledger/package.json index 244865d2..3ce1e711 100644 --- a/test/chaincodes/ledger/package.json +++ b/test/chaincodes/ledger/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing ledger functionality", "engines": { - "node": ">=8.4.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/query/package.json b/test/chaincodes/query/package.json index 5aa0cb62..2ba59077 100644 --- a/test/chaincodes/query/package.json +++ b/test/chaincodes/query/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode testing query functionality", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/scenario/package.json b/test/chaincodes/scenario/package.json index e30177ad..7da73f48 100644 --- a/test/chaincodes/scenario/package.json +++ b/test/chaincodes/scenario/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "My first exciting chaincode implemented in node.js", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/chaincodes/server/package.json b/test/chaincodes/server/package.json index d61a01d0..ca1eb6a0 100644 --- a/test/chaincodes/server/package.json +++ b/test/chaincodes/server/package.json @@ -2,7 +2,7 @@ "name": "chaincode", "description": "Chaincode server", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "scripts": { diff --git a/test/fv/package.json b/test/fv/package.json index d0c26c72..5884dafd 100644 --- a/test/fv/package.json +++ b/test/fv/package.json @@ -6,7 +6,7 @@ "testFabricThirdParty": "0.4.15", "docsLatestVersion": "release-1.4", "engines": { - "node": "^12.13.0", + "node": "^12.16.1", "npm": "^6.4.1" }, "engineStrict": true,