From ad081b98fae075d57cab426828db32e9af2b2a40 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 13 Jun 2024 19:35:02 +0000 Subject: [PATCH] fix: upgrade fabric-ca-client from 2.2.15 to 2.2.20 Snyk has created this PR to upgrade fabric-ca-client from 2.2.15 to 2.2.20. See this package in npm: fabric-ca-client See this project in Snyk: https://app.snyk.io/org/sammytezzy/project/f192416d-8f9a-4c05-afcd-a21e7da8ca22?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 95 ++++++++++++++++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 79 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa9d38e4a..dfe0dbc5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2267,6 +2267,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "optional": true, "requires": { "es5-ext": "^0.10.50", "type": "^1.0.1" @@ -2619,6 +2620,7 @@ "version": "0.10.53", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", + "optional": true, "requires": { "es6-iterator": "~2.0.3", "es6-symbol": "~3.1.3", @@ -2635,6 +2637,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "optional": true, "requires": { "d": "1", "es5-ext": "^0.10.35", @@ -2645,6 +2648,7 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "optional": true, "requires": { "d": "^1.0.1", "ext": "^1.1.2" @@ -3280,6 +3284,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", + "optional": true, "requires": { "type": "^2.0.0" }, @@ -3287,7 +3292,8 @@ "type": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", - "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" + "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==", + "optional": true } } }, @@ -3383,14 +3389,65 @@ "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=" }, "fabric-ca-client": { - "version": "2.2.15", - "resolved": "https://registry.npmjs.org/fabric-ca-client/-/fabric-ca-client-2.2.15.tgz", - "integrity": "sha512-ef8TJIDwlg4aJHGCUzDlZtuaEsGFAhG4rxafqky3IK3PRZIDqXj5UwPlNu9TKhOYA74alsOxvttPn+5B68Zmfg==", + "version": "2.2.20", + "resolved": "https://registry.npmjs.org/fabric-ca-client/-/fabric-ca-client-2.2.20.tgz", + "integrity": "sha512-uaVpjPU+Yar2n4sNPJZpRC/jPgeLhw7nbzGl+aInkleg8Zkor4eBfQKpNQQxEORqgqWS5hAHNYu2x0iPEHBmLw==", "requires": { - "fabric-common": "2.2.15", + "fabric-common": "2.2.20", "jsrsasign": "^10.5.25", "url": "^0.11.0", "winston": "^2.4.5" + }, + "dependencies": { + "@grpc/grpc-js": { + "version": "1.9.15", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.15.tgz", + "integrity": "sha512-nqE7Hc0AzI+euzUwDAy0aY5hCp10r734gMGRdU+qOPX0XSceI2ULrcXB5U2xSc5VkWwalCj4M7GzCAygZl2KoQ==", + "requires": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + } + }, + "fabric-common": { + "version": "2.2.20", + "resolved": "https://registry.npmjs.org/fabric-common/-/fabric-common-2.2.20.tgz", + "integrity": "sha512-d7oPqXrEIHlN0yhno1iTSX1aRD0ews5Oq1kdjrUF5TWjV/lQ8ojFNxLb0gDICBlM5C4gYtFNfFt6rD4uvpmbuw==", + "requires": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "pkcs11js": "^1.3.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + } + }, + "fabric-protos": { + "version": "2.2.20", + "resolved": "https://registry.npmjs.org/fabric-protos/-/fabric-protos-2.2.20.tgz", + "integrity": "sha512-fTBpmR0RorMNX29Ks1I/1vpB3ktW1ooDV6mFUiPzaZTk60tpi9YVfPUIIYb3vtPxYSdjD1MZkUaxsMzujDwRoA==", + "requires": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + } + }, + "js-sha3": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.9.3.tgz", + "integrity": "sha512-BcJPCQeLg6WjEx3FE591wVAevlli8lxsxm9/FzV4HXkV49TmBH38Yvrpce6fjbADGMKFrBMGTqrVz3qPIZ88Gg==" + }, + "long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + } } }, "fabric-common": { @@ -4578,7 +4635,8 @@ "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "devOptional": true }, "is-windows": { "version": "1.0.2", @@ -5895,7 +5953,8 @@ "next-tick": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "optional": true }, "nice-try": { "version": "1.0.5", @@ -7875,7 +7934,7 @@ "resolved": "https://registry.npmjs.org/stompjs/-/stompjs-2.3.3.tgz", "integrity": "sha1-NBeKx7uO4pTMXVVK2LUPf1RZ/Y4=", "requires": { - "websocket": "^1.0.34" + "websocket": "latest" }, "dependencies": { "debug": { @@ -7964,6 +8023,14 @@ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", "integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=" }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, "string-argv": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.0.2.tgz", @@ -8024,14 +8091,6 @@ "define-properties": "^1.1.3" } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, "stringify-object": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", @@ -8313,7 +8372,8 @@ "type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", + "optional": true }, "type-check": { "version": "0.4.0", @@ -8352,6 +8412,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "devOptional": true, "requires": { "is-typedarray": "^1.0.0" } diff --git a/package.json b/package.json index 101302b25..c999054ac 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint": "^7.26.0", "express": "^4.17.3", "express-rate-limit": "^5.0.0", - "fabric-ca-client": "^2.2.15", + "fabric-ca-client": "^2.2.20", "fabric-network": "^2.2.15", "fast-stats": "0.0.3", "fs-extra": "^6.0.1",