From 374d92f16318d4a101b6c7e57561140d4e408d07 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 Nov 2024 05:56:46 +0000 Subject: [PATCH] fix: upgrade @hashgraph/sdk from 2.51.0 to 2.52.0 Snyk has created this PR to upgrade @hashgraph/sdk from 2.51.0 to 2.52.0. See this package in npm: @hashgraph/sdk See this project in Snyk: https://app.snyk.io/org/json-rpc-relay/project/baf29319-5e17-4aff-8e1f-4108d3e10c45?utm_source=github&utm_medium=referral&page=upgrade-pr --- dapp-example/package-lock.json | 92 +++++++++++++++++++++++++++------- dapp-example/package.json | 2 +- 2 files changed, 76 insertions(+), 18 deletions(-) diff --git a/dapp-example/package-lock.json b/dapp-example/package-lock.json index d06c0cbd2..ef0554bb4 100644 --- a/dapp-example/package-lock.json +++ b/dapp-example/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", - "@hashgraph/sdk": "^2.51.0", + "@hashgraph/sdk": "^2.52.0", "@mui/material": "^5.16.7", "ethers": "^6.13.4", "react": "^18.3.1", @@ -3263,9 +3263,9 @@ } }, "node_modules/@hashgraph/cryptography": { - "version": "1.4.8-beta.8", - "resolved": "https://registry.npmjs.org/@hashgraph/cryptography/-/cryptography-1.4.8-beta.8.tgz", - "integrity": "sha512-RK1SL5B6IGsYM4HyepC24rsMGr1qOvHFbNiJPlK+AGV5lApjxGpyNVWC80GusYqwRD9B1ljw43wJBSbHdaZIgw==", + "version": "1.4.8-beta.9", + "resolved": "https://registry.npmjs.org/@hashgraph/cryptography/-/cryptography-1.4.8-beta.9.tgz", + "integrity": "sha512-U6XeX2TsTg7XT6tDRJOfVTO17ltvjcfMtoK42OCUbN28UPBHuxO7ZOy7z0qVqtjX8knOwbURTjrt9bIrU96AsQ==", "license": "Apache-2.0", "dependencies": { "asn1js": "^3.0.5", @@ -3314,9 +3314,9 @@ } }, "node_modules/@hashgraph/sdk": { - "version": "2.51.0", - "resolved": "https://registry.npmjs.org/@hashgraph/sdk/-/sdk-2.51.0.tgz", - "integrity": "sha512-+RtBs8wmPr9g93fDSMCnQnAX27w+i5itw0bbYDFiAcFZ0F3Vb+TyxdPw7jfcHRgFDvwkyblEsPBzG7DO2lt5Ow==", + "version": "2.52.0", + "resolved": "https://registry.npmjs.org/@hashgraph/sdk/-/sdk-2.52.0.tgz", + "integrity": "sha512-Gv/U9bM744lPGwctKFl27iaQogEq3jWcTRKoGkBC9HYJwsiKnEGxjwGaI4sM/4+Y24tyhDTngLa4nV/QxbjbaA==", "license": "Apache-2.0", "dependencies": { "@ethersproject/abi": "^5.7.0", @@ -3324,7 +3324,7 @@ "@ethersproject/bytes": "^5.7.0", "@ethersproject/rlp": "^5.7.0", "@grpc/grpc-js": "1.8.2", - "@hashgraph/cryptography": "1.4.8-beta.8", + "@hashgraph/cryptography": "1.4.8-beta.9", "@hashgraph/proto": "2.15.0-beta.4", "axios": "^1.6.4", "bignumber.js": "^9.1.1", @@ -3334,7 +3334,7 @@ "long": "^4.0.0", "pino": "^8.14.1", "pino-pretty": "^10.0.0", - "protobufjs": "^7.2.5", + "protobufjs": "7.2.5", "rfc4648": "^1.5.3", "utf8": "^3.0.0" }, @@ -3350,6 +3350,36 @@ } } }, + "node_modules/@hashgraph/sdk/node_modules/protobufjs": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", + "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "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/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@hashgraph/sdk/node_modules/protobufjs/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", @@ -29252,9 +29282,9 @@ } }, "@hashgraph/cryptography": { - "version": "1.4.8-beta.8", - "resolved": "https://registry.npmjs.org/@hashgraph/cryptography/-/cryptography-1.4.8-beta.8.tgz", - "integrity": "sha512-RK1SL5B6IGsYM4HyepC24rsMGr1qOvHFbNiJPlK+AGV5lApjxGpyNVWC80GusYqwRD9B1ljw43wJBSbHdaZIgw==", + "version": "1.4.8-beta.9", + "resolved": "https://registry.npmjs.org/@hashgraph/cryptography/-/cryptography-1.4.8-beta.9.tgz", + "integrity": "sha512-U6XeX2TsTg7XT6tDRJOfVTO17ltvjcfMtoK42OCUbN28UPBHuxO7ZOy7z0qVqtjX8knOwbURTjrt9bIrU96AsQ==", "requires": { "asn1js": "^3.0.5", "bignumber.js": "^9.1.1", @@ -29279,16 +29309,16 @@ } }, "@hashgraph/sdk": { - "version": "2.51.0", - "resolved": "https://registry.npmjs.org/@hashgraph/sdk/-/sdk-2.51.0.tgz", - "integrity": "sha512-+RtBs8wmPr9g93fDSMCnQnAX27w+i5itw0bbYDFiAcFZ0F3Vb+TyxdPw7jfcHRgFDvwkyblEsPBzG7DO2lt5Ow==", + "version": "2.52.0", + "resolved": "https://registry.npmjs.org/@hashgraph/sdk/-/sdk-2.52.0.tgz", + "integrity": "sha512-Gv/U9bM744lPGwctKFl27iaQogEq3jWcTRKoGkBC9HYJwsiKnEGxjwGaI4sM/4+Y24tyhDTngLa4nV/QxbjbaA==", "requires": { "@ethersproject/abi": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/rlp": "^5.7.0", "@grpc/grpc-js": "1.8.2", - "@hashgraph/cryptography": "1.4.8-beta.8", + "@hashgraph/cryptography": "1.4.8-beta.9", "@hashgraph/proto": "2.15.0-beta.4", "axios": "^1.6.4", "bignumber.js": "^9.1.1", @@ -29298,9 +29328,37 @@ "long": "^4.0.0", "pino": "^8.14.1", "pino-pretty": "^10.0.0", - "protobufjs": "^7.2.5", + "protobufjs": "7.2.5", "rfc4648": "^1.5.3", "utf8": "^3.0.0" + }, + "dependencies": { + "protobufjs": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", + "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", + "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/node": ">=13.7.0", + "long": "^5.0.0" + }, + "dependencies": { + "long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + } + } + } } }, "@humanwhocodes/config-array": { diff --git a/dapp-example/package.json b/dapp-example/package.json index 4eded0dba..79e498eb0 100644 --- a/dapp-example/package.json +++ b/dapp-example/package.json @@ -5,7 +5,7 @@ "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", - "@hashgraph/sdk": "^2.51.0", + "@hashgraph/sdk": "^2.52.0", "@mui/material": "^5.16.7", "ethers": "^6.13.4", "react": "^18.3.1",