diff --git a/custom-payment-flow/client/react-cra/package-lock.json b/custom-payment-flow/client/react-cra/package-lock.json index e18405ee1b..148bcd9740 100644 --- a/custom-payment-flow/client/react-cra/package-lock.json +++ b/custom-payment-flow/client/react-cra/package-lock.json @@ -8,7 +8,7 @@ "name": "accept-a-payment", "version": "0.2.0", "dependencies": { - "@stripe/react-stripe-js": "^2.6.2", + "@stripe/react-stripe-js": "^3.0.0", "@stripe/stripe-js": "^4.5.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -1172,14 +1172,14 @@ ] }, "node_modules/@stripe/react-stripe-js": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.6.2.tgz", - "integrity": "sha512-FSjNg4v7BiCfojvx25PQ8DugOa09cGk1t816R/DLI/lT+1bgRAYpMvoPirLT4ZQ3ev/0VDtPdWNaabPsLDTOMA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-3.0.0.tgz", + "integrity": "sha512-Crn9t+uvfEJnFSEE8Le9Boj3+J4QdB7DrIa+VyhDgTAHC1z9fk7d/cfSrjNO2RcdRh9zN9Blk/XKccHq9kUlTw==", "dependencies": { "prop-types": "^15.7.2" }, "peerDependencies": { - "@stripe/stripe-js": "^1.44.1 || ^2.0.0 || ^3.0.0", + "@stripe/stripe-js": "^1.44.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.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/custom-payment-flow/client/react-cra/package.json b/custom-payment-flow/client/react-cra/package.json index 416e893c23..37706caab1 100644 --- a/custom-payment-flow/client/react-cra/package.json +++ b/custom-payment-flow/client/react-cra/package.json @@ -3,7 +3,7 @@ "version": "0.2.0", "private": true, "dependencies": { - "@stripe/react-stripe-js": "^2.6.2", + "@stripe/react-stripe-js": "^3.0.0", "@stripe/stripe-js": "^4.5.0", "react": "^17.0.2", "react-dom": "^17.0.2",