diff --git a/package-lock.json b/package-lock.json index 4e28a51a0..918c99a11 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", @@ -4059,14 +4059,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.0", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.3.0.tgz", + "integrity": "sha512-AOxsvRIXfIh0WkebAfITfCQY6NgnEDg3jOH7KfHGQPjPmcxJ+HFj/EZOEuyflDjlB1iTGPDCqK0MqiQ8LjLbag==", "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 d2487b62e..d509d2168 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",