diff --git a/package-lock.json b/package-lock.json index ce30106bb..62e0e1537 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@fortawesome/free-regular-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", - "@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", @@ -4179,14 +4179,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.3.1", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.3.1.tgz", + "integrity": "sha512-vXiwcG2ZjAF4AezjP7DJ8jiwxfCWCen/X2rBhyXaKrfQ7+pwmXhsoUlKRa0eLWioY1oelOQOafauNUiwTwFHgQ==", "dependencies": { "prop-types": "^15.7.2" }, "peerDependencies": { - "@stripe/stripe-js": "^1.44.1", + "@stripe/stripe-js": "^1.44.1 || ^2.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 df36b7b24..639f6cd04 100755 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@fortawesome/free-regular-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", - "@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",