From 100d5a8e1ab7a08619710cd0039c13a72caf5427 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 9 Nov 2023 06:33:54 +0000 Subject: [PATCH] fix: upgrade @dashevo/grpc-common from 0.5.4 to 0.25.6 Snyk has created this PR to upgrade @dashevo/grpc-common from 0.5.4 to 0.25.6. See this package in npm: https://www.npmjs.com/package/@dashevo/grpc-common See this project in Snyk: https://app.snyk.io/org/mhmoni25/project/e04e3d64-e425-4257-95de-46a78ff70d21?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 239 ++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 199 insertions(+), 42 deletions(-) diff --git a/package-lock.json b/package-lock.json index 28646ef9..763b7b5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@dashevo/dashcore-lib": "~0.19.26", "@dashevo/dashd-rpc": "^2.3.0", "@dashevo/dpp": "~0.21.0", - "@dashevo/grpc-common": "~0.5.4", + "@dashevo/grpc-common": "^0.25.6", "@grpc/grpc-js": "^1.3.6", "ajv": "^8.6.0", "bs58": "^4.0.1", @@ -237,6 +237,20 @@ "node-inspect-extracted": "^1.0.7" } }, + "node_modules/@dashevo/dapi-client/node_modules/@dashevo/grpc-common": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.5.4.tgz", + "integrity": "sha512-2VEQJsTgE1HToiQ2XhfnPWqQW/2lnPE32z6QSz8YUoAjWCIFddhbYbGqNX8YNqSqnoQhcDGkVd1hD2udNA4oOQ==", + "dev": true, + "dependencies": { + "@grpc/grpc-js": "^1.3.6", + "@grpc/proto-loader": "^0.5.2", + "cbor": "^7.0.6", + "lodash.get": "^4.4.2", + "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion", + "semver": "^7.3.2" + } + }, "node_modules/@dashevo/dapi-client/node_modules/cbor": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", @@ -270,6 +284,39 @@ "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion" } }, + "node_modules/@dashevo/dapi-grpc/node_modules/@dashevo/grpc-common": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.5.4.tgz", + "integrity": "sha512-2VEQJsTgE1HToiQ2XhfnPWqQW/2lnPE32z6QSz8YUoAjWCIFddhbYbGqNX8YNqSqnoQhcDGkVd1hD2udNA4oOQ==", + "dependencies": { + "@grpc/grpc-js": "^1.3.6", + "@grpc/proto-loader": "^0.5.2", + "cbor": "^7.0.6", + "lodash.get": "^4.4.2", + "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion", + "semver": "^7.3.2" + } + }, + "node_modules/@dashevo/dapi-grpc/node_modules/cbor": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", + "integrity": "sha512-rgt2RFogHGDLFU5r0kSfyeBc+de55DwYHP73KxKsQxsR5b0CYuQPH6AnJaXByiohpLdjQqj/K0SFcOV+dXdhSA==", + "dependencies": { + "@cto.af/textdecoder": "^0.0.0", + "nofilter": "^2.0.3" + }, + "engines": { + "node": ">=10.18.0" + }, + "peerDependencies": { + "bignumber.js": "^9.0.1" + }, + "peerDependenciesMeta": { + "bignumber.js": { + "optional": true + } + } + }, "node_modules/@dashevo/dashcore-lib": { "version": "0.19.26", "resolved": "https://registry.npmjs.org/@dashevo/dashcore-lib/-/dashcore-lib-0.19.26.tgz", @@ -361,38 +408,73 @@ "integrity": "sha512-OnKpFX498ZcJVAEv1MRF/bNpDY0DUHSd+5MjGtSBkZ9plv+E2p6UWHK77479l59ZJWun+Ix2BsYPY7PSd+11yA==" }, "node_modules/@dashevo/grpc-common": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.5.4.tgz", - "integrity": "sha512-2VEQJsTgE1HToiQ2XhfnPWqQW/2lnPE32z6QSz8YUoAjWCIFddhbYbGqNX8YNqSqnoQhcDGkVd1hD2udNA4oOQ==", + "version": "0.25.6", + "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.25.6.tgz", + "integrity": "sha512-g4kZOds2VmJ7U1i5L1fBLtANZrtjfxsi1kfzuoKjmW+n/FkPzJG+M4BlEUZb+Yfsygz11oAL98VAYIT9/0vYBg==", "dependencies": { - "@grpc/grpc-js": "^1.3.6", + "@dashevo/protobufjs": "6.10.5", + "@grpc/grpc-js": "^1.3.7", "@grpc/proto-loader": "^0.5.2", - "cbor": "^7.0.6", - "lodash.get": "^4.4.2", - "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion", - "semver": "^7.3.2" + "cbor": "^8.0.0", + "lodash": "^4.17.21", + "long": "^5.2.0", + "semver": "^7.5.3" } }, "node_modules/@dashevo/grpc-common/node_modules/cbor": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", - "integrity": "sha512-rgt2RFogHGDLFU5r0kSfyeBc+de55DwYHP73KxKsQxsR5b0CYuQPH6AnJaXByiohpLdjQqj/K0SFcOV+dXdhSA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-8.1.0.tgz", + "integrity": "sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==", "dependencies": { - "@cto.af/textdecoder": "^0.0.0", - "nofilter": "^2.0.3" + "nofilter": "^3.1.0" }, "engines": { - "node": ">=10.18.0" - }, - "peerDependencies": { - "bignumber.js": "^9.0.1" + "node": ">=12.19" + } + }, + "node_modules/@dashevo/grpc-common/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "node_modules/@dashevo/grpc-common/node_modules/nofilter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", + "integrity": "sha512-l2NNj07e9afPnhAhvgVrCD/oy2Ai1yfLpuo3EpiO1jFTsB4sFz6oIfAfSZyQzVpkZQ9xS8ZS5g1jCBgq4Hwo0g==", + "engines": { + "node": ">=12.19" + } + }, + "node_modules/@dashevo/protobufjs": { + "version": "6.10.5", + "resolved": "https://registry.npmjs.org/@dashevo/protobufjs/-/protobufjs-6.10.5.tgz", + "integrity": "sha512-Hb7wymxGshyrbZlJYSTculJ2iAr0CI46v8DnO0fk/TxZbHkpg6DjJNrdQOO+COJmdky4JqL1o9RCmi5e5a8lrQ==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": "^13.7.0", + "long": "^4.0.0" }, - "peerDependenciesMeta": { - "bignumber.js": { - "optional": true - } + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" } }, + "node_modules/@dashevo/protobufjs/node_modules/@types/node": { + "version": "13.13.52", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz", + "integrity": "sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ==" + }, "node_modules/@dashevo/re2-wasm": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@dashevo/re2-wasm/-/re2-wasm-1.0.4.tgz", @@ -5098,9 +5180,9 @@ } }, "node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -6432,6 +6514,20 @@ "node-inspect-extracted": "^1.0.7" }, "dependencies": { + "@dashevo/grpc-common": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.5.4.tgz", + "integrity": "sha512-2VEQJsTgE1HToiQ2XhfnPWqQW/2lnPE32z6QSz8YUoAjWCIFddhbYbGqNX8YNqSqnoQhcDGkVd1hD2udNA4oOQ==", + "dev": true, + "requires": { + "@grpc/grpc-js": "^1.3.6", + "@grpc/proto-loader": "^0.5.2", + "cbor": "^7.0.6", + "lodash.get": "^4.4.2", + "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion", + "semver": "^7.3.2" + } + }, "cbor": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", @@ -6454,6 +6550,30 @@ "google-protobuf": "^3.12.2", "grpc-web": "^1.2.0", "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion" + }, + "dependencies": { + "@dashevo/grpc-common": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.5.4.tgz", + "integrity": "sha512-2VEQJsTgE1HToiQ2XhfnPWqQW/2lnPE32z6QSz8YUoAjWCIFddhbYbGqNX8YNqSqnoQhcDGkVd1hD2udNA4oOQ==", + "requires": { + "@grpc/grpc-js": "^1.3.6", + "@grpc/proto-loader": "^0.5.2", + "cbor": "^7.0.6", + "lodash.get": "^4.4.2", + "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion", + "semver": "^7.3.2" + } + }, + "cbor": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", + "integrity": "sha512-rgt2RFogHGDLFU5r0kSfyeBc+de55DwYHP73KxKsQxsR5b0CYuQPH6AnJaXByiohpLdjQqj/K0SFcOV+dXdhSA==", + "requires": { + "@cto.af/textdecoder": "^0.0.0", + "nofilter": "^2.0.3" + } + } } }, "@dashevo/dashcore-lib": { @@ -6539,26 +6659,63 @@ "integrity": "sha512-OnKpFX498ZcJVAEv1MRF/bNpDY0DUHSd+5MjGtSBkZ9plv+E2p6UWHK77479l59ZJWun+Ix2BsYPY7PSd+11yA==" }, "@dashevo/grpc-common": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.5.4.tgz", - "integrity": "sha512-2VEQJsTgE1HToiQ2XhfnPWqQW/2lnPE32z6QSz8YUoAjWCIFddhbYbGqNX8YNqSqnoQhcDGkVd1hD2udNA4oOQ==", + "version": "0.25.6", + "resolved": "https://registry.npmjs.org/@dashevo/grpc-common/-/grpc-common-0.25.6.tgz", + "integrity": "sha512-g4kZOds2VmJ7U1i5L1fBLtANZrtjfxsi1kfzuoKjmW+n/FkPzJG+M4BlEUZb+Yfsygz11oAL98VAYIT9/0vYBg==", "requires": { - "@grpc/grpc-js": "^1.3.6", + "@dashevo/protobufjs": "6.10.5", + "@grpc/grpc-js": "^1.3.7", "@grpc/proto-loader": "^0.5.2", - "cbor": "^7.0.6", - "lodash.get": "^4.4.2", - "protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion", - "semver": "^7.3.2" + "cbor": "^8.0.0", + "lodash": "^4.17.21", + "long": "^5.2.0", + "semver": "^7.5.3" }, "dependencies": { "cbor": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", - "integrity": "sha512-rgt2RFogHGDLFU5r0kSfyeBc+de55DwYHP73KxKsQxsR5b0CYuQPH6AnJaXByiohpLdjQqj/K0SFcOV+dXdhSA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-8.1.0.tgz", + "integrity": "sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==", "requires": { - "@cto.af/textdecoder": "^0.0.0", - "nofilter": "^2.0.3" + "nofilter": "^3.1.0" } + }, + "long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "nofilter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", + "integrity": "sha512-l2NNj07e9afPnhAhvgVrCD/oy2Ai1yfLpuo3EpiO1jFTsB4sFz6oIfAfSZyQzVpkZQ9xS8ZS5g1jCBgq4Hwo0g==" + } + } + }, + "@dashevo/protobufjs": { + "version": "6.10.5", + "resolved": "https://registry.npmjs.org/@dashevo/protobufjs/-/protobufjs-6.10.5.tgz", + "integrity": "sha512-Hb7wymxGshyrbZlJYSTculJ2iAr0CI46v8DnO0fk/TxZbHkpg6DjJNrdQOO+COJmdky4JqL1o9RCmi5e5a8lrQ==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": "^13.7.0", + "long": "^4.0.0" + }, + "dependencies": { + "@types/node": { + "version": "13.13.52", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz", + "integrity": "sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ==" } } }, @@ -10229,9 +10386,9 @@ } }, "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" } diff --git a/package.json b/package.json index 8bbaf7f8..b00dd6a2 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@dashevo/dashcore-lib": "~0.19.26", "@dashevo/dashd-rpc": "^2.3.0", "@dashevo/dpp": "~0.21.0", - "@dashevo/grpc-common": "~0.5.4", + "@dashevo/grpc-common": "~0.25.6", "@grpc/grpc-js": "^1.3.6", "ajv": "^8.6.0", "bs58": "^4.0.1",