diff --git a/package-lock.json b/package-lock.json index 6d2b0fec2..ea8946202 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", "@openedx/paragon": "22.1.1", - "@stripe/react-stripe-js": "^1.10.0", + "@stripe/react-stripe-js": "^2.0.0", "@stripe/stripe-js": "^1.36.0", "axios": "^0.27.2", "bootstrap": "4.6.1", @@ -4422,14 +4422,14 @@ } }, "node_modules/@stripe/react-stripe-js": { - "version": "1.16.5", - "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-1.16.5.tgz", - "integrity": "sha512-lVPW3IfwdacyS22pP+nBB6/GNFRRhT/4jfgAK6T2guQmtzPwJV1DogiGGaBNhiKtSY18+yS8KlHSu+PvZNclvQ==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.5.1.tgz", + "integrity": "sha512-95BwDhOkl1TwIn5sldWW35GYt6wx+uYuwGjebaMOpOdHGyBKcDnBhTjIww+bUdmA2oCmpUqKnoB4OZJuqK8tJA==", "dependencies": { "prop-types": "^15.7.2" }, "peerDependencies": { - "@stripe/stripe-js": "^1.44.1", + "@stripe/stripe-js": "^1.44.1 || ^2.0.0 || ^3.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } diff --git a/package.json b/package.json index a8acc8917..9bcb14651 100755 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", "@openedx/paragon": "22.1.1", - "@stripe/react-stripe-js": "^1.10.0", + "@stripe/react-stripe-js": "^2.0.0", "@stripe/stripe-js": "^1.36.0", "axios": "^0.27.2", "bootstrap": "4.6.1",