diff --git a/payment-element/client/react-cra/package-lock.json b/payment-element/client/react-cra/package-lock.json index c99aa636a9..0dc27ac256 100644 --- a/payment-element/client/react-cra/package-lock.json +++ b/payment-element/client/react-cra/package-lock.json @@ -8,7 +8,7 @@ "name": "react-cra", "version": "0.1.0", "dependencies": { - "@stripe/react-stripe-js": "^2.7.3", + "@stripe/react-stripe-js": "^3.0.0", "@stripe/stripe-js": "^4.5.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -1083,14 +1083,14 @@ ] }, "node_modules/@stripe/react-stripe-js": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.7.3.tgz", - "integrity": "sha512-05t6oY7cmAJt7asknmeoI4z4GnutgKRZ7dcdTWCkeYclONzIRMuMTiyjBMQ/q3I2sdNizSl25YZ8G6Lg4nN1aw==", + "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 || ^4.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/payment-element/client/react-cra/package.json b/payment-element/client/react-cra/package.json index b21002239a..7325c572f5 100644 --- a/payment-element/client/react-cra/package.json +++ b/payment-element/client/react-cra/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { - "@stripe/react-stripe-js": "^2.7.3", + "@stripe/react-stripe-js": "^3.0.0", "@stripe/stripe-js": "^4.5.0", "react": "^17.0.2", "react-dom": "^17.0.2",