From 0f5005835adf9ab58a9fda0a670c2b9f1d5a1a19 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jul 2024 23:12:58 +0000 Subject: [PATCH] fix: upgrade @solana/web3.js from 1.91.7 to 1.94.0 Snyk has created this PR to upgrade @solana/web3.js from 1.91.7 to 1.94.0. See this package in npm: @solana/web3.js See this project in Snyk: https://app.snyk.io/org/chai/project/19a42495-7e59-4973-95e0-414ce14b4003?utm_source=github&utm_medium=referral&page=upgrade-pr --- demo/react-app/package-lock.json | 73 ++++++++++++++++++++++++++------ demo/react-app/package.json | 2 +- 2 files changed, 61 insertions(+), 14 deletions(-) diff --git a/demo/react-app/package-lock.json b/demo/react-app/package-lock.json index 914d625fd..b8d3964eb 100644 --- a/demo/react-app/package-lock.json +++ b/demo/react-app/package-lock.json @@ -8,7 +8,7 @@ "name": "react-test", "version": "0.1.0", "dependencies": { - "@solana/web3.js": "^1.91.7", + "@solana/web3.js": "^1.94.0", "@taquito/signer": "^19.2.0", "@taquito/taquito": "^19.2.0", "@taquito/utils": "^19.2.0", @@ -2034,7 +2034,9 @@ "license": "MIT" }, "node_modules/@babel/runtime": { - "version": "7.24.5", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.8.tgz", + "integrity": "sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -3522,12 +3524,14 @@ } }, "node_modules/@solana/web3.js": { - "version": "1.91.7", + "version": "1.94.0", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.94.0.tgz", + "integrity": "sha512-wMiBebzu5I2fTSz623uj6VXpWFhl0d7qJKqPFK2I4IBLTNUdv+bOeA4H7OBM7Gworv7sOvB3xibRql6l61MeqA==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.4", + "@babel/runtime": "^7.24.7", "@noble/curves": "^1.4.0", - "@noble/hashes": "^1.3.3", + "@noble/hashes": "^1.4.0", "@solana/buffer-layout": "^4.0.1", "agentkeepalive": "^4.5.0", "bigint-buffer": "^1.1.5", @@ -3538,8 +3542,8 @@ "fast-stable-stringify": "^1.0.0", "jayson": "^4.1.0", "node-fetch": "^2.7.0", - "rpc-websockets": "^7.5.1", - "superstruct": "^0.14.2" + "rpc-websockets": "^9.0.2", + "superstruct": "^1.0.4" } }, "node_modules/@solana/web3.js/node_modules/@noble/hashes": { @@ -3904,6 +3908,15 @@ "url": "https://github.com/sponsors/gregberge" } }, + "node_modules/@swc/helpers": { + "version": "0.5.12", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.12.tgz", + "integrity": "sha512-KMZNXiGibsW9kvZAO1Pam2JPTDBm+KSHMMHWdsyI/1DbIZjT2A6Gy3hblVXUMEDvUAKq+e0vL0X0o54owWji7g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@taquito/core": { "version": "19.1.0", "license": "Apache-2.0", @@ -4396,6 +4409,12 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/uuid": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", + "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", + "license": "MIT" + }, "node_modules/@types/ws": { "version": "7.4.7", "license": "MIT", @@ -8255,6 +8274,7 @@ }, "node_modules/eventemitter3": { "version": "4.0.7", + "dev": true, "license": "MIT" }, "node_modules/events": { @@ -15791,11 +15811,16 @@ } }, "node_modules/rpc-websockets": { - "version": "7.6.0", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", + "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", "license": "LGPL-3.0-only", "dependencies": { - "@babel/runtime": "^7.17.2", - "eventemitter3": "^4.0.7", + "@swc/helpers": "^0.5.11", + "@types/uuid": "^8.3.4", + "@types/ws": "^8.2.2", + "buffer": "^6.0.3", + "eventemitter3": "^5.0.1", "uuid": "^8.3.2", "ws": "^8.5.0" }, @@ -15808,8 +15833,25 @@ "utf-8-validate": "^5.0.2" } }, + "node_modules/rpc-websockets/node_modules/@types/ws": { + "version": "8.5.11", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.11.tgz", + "integrity": "sha512-4+q7P5h3SpJxaBft0Dzpbr6lmMaqh0Jr2tbhJZ/luAwvD7ohSCniYkwz/pLxuT2h0EOa6QADgJj1Ko+TzRfZ+w==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/rpc-websockets/node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "license": "MIT" + }, "node_modules/rpc-websockets/node_modules/ws": { - "version": "8.14.0", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -16713,8 +16755,13 @@ } }, "node_modules/superstruct": { - "version": "0.14.2", - "license": "MIT" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-1.0.4.tgz", + "integrity": "sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } }, "node_modules/supports-color": { "version": "5.5.0", diff --git a/demo/react-app/package.json b/demo/react-app/package.json index 1b5320ace..d6682056c 100644 --- a/demo/react-app/package.json +++ b/demo/react-app/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { - "@solana/web3.js": "^1.91.7", + "@solana/web3.js": "^1.94.0", "@taquito/signer": "^19.2.0", "@taquito/taquito": "^19.2.0", "@taquito/utils": "^19.2.0",