From 612c468480ee1f0e37e7c3cd0aba7a3d0168824c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 23 Aug 2024 09:39:28 +0000 Subject: [PATCH] fix: upgrade @stripe/stripe-js from 1.11.0 to 1.54.2 Snyk has created this PR to upgrade @stripe/stripe-js from 1.11.0 to 1.54.2. See this package in npm: @stripe/stripe-js See this project in Snyk: https://app.snyk.io/org/johnpraveen1902/project/995aedf7-b81e-4f68-936e-8b60d31d57dc?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 36 ++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1cbfabee..7fd9646d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1843,9 +1843,9 @@ } }, "@stripe/stripe-js": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-1.11.0.tgz", - "integrity": "sha512-SDNZKuETBEVkernd1tq8tL6wNfVKrl24Txs3p+4NYxoaIbNaEO7mrln/2Y/WRcQBWjagvhDIM5I6+X1rfK0qhQ==" + "version": "1.54.2", + "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-1.54.2.tgz", + "integrity": "sha512-R1PwtDvUfs99cAjfuQ/WpwJ3c92+DAMy9xGApjqlWQMj0FKQabUAys2swfTRNzuYAYJh7NqK2dzcYVNkKLEKUg==" }, "@surma/rollup-plugin-off-main-thread": { "version": "1.4.2", @@ -13675,6 +13675,21 @@ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, "string-length": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", @@ -13746,21 +13761,6 @@ "define-properties": "^1.1.3" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - } - } - }, "stringify-object": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", diff --git a/package.json b/package.json index 2e9e757e..9bea2a8b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@material-ui/core": "^4.11.2", "@material-ui/icons": "^4.11.2", "@stripe/react-stripe-js": "^1.1.2", - "@stripe/stripe-js": "^1.11.0", + "@stripe/stripe-js": "^1.54.2", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10",