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

Commit b57dd6c

Browse files
Ensure supported Node versions for all dependencies (#562)
klaw 4.x was named as a dependency of fabric-client and is also a transient dependency of recent versions of jsdoc. This version of klaw requires Node 14 and broke client applications using engine-strict. Some other transient dev dependencies also caused issues with engine-strict enable so the versions of dependencies that reference them are locked down more tightly. Add a .npmrc with engine-strict=true so Node version incompatibilities break the build. Signed-off-by: Mark S. Lewis <[email protected]>
1 parent 4fa61e0 commit b57dd6c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

fabric-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"js-sha3": "^0.7.0",
3333
"js-yaml": "^3.9.0",
3434
"jsrsasign": "^10.4.1",
35-
"klaw": "^4.0.1",
35+
"klaw": "^3.0.0",
3636
"lodash.clone": "4.5.0",
3737
"long": "^4.0.0",
3838
"nano": "^6.4.4",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
"heapdump": "^0.3.9",
6060
"ink-docstrap": "^1.3.2",
6161
"intercept-stdout": "^0.1.2",
62-
"jsdoc": "^3.6.3",
62+
"jsdoc": "3.6.7",
6363
"jsrsasign": "^10.4.1",
64-
"log4js": "^6.1.1",
64+
"log4js": "~6.3.0",
6565
"mocha": "^7.1.2",
6666
"mock-couch": "^0.1.11",
6767
"nano": "^6.4.4",

0 commit comments

Comments
 (0)