diff --git a/package-lock.json b/package-lock.json index 69173adf9..35c296aa2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@material-ui/lab": "^4.0.0-alpha.61", "@paypal/react-paypal-js": "^8.7.0", "@shopify/react-intersection-observer": "^4.0.4", - "@stripe/react-stripe-js": "^2.8.1", + "@stripe/react-stripe-js": "^3.1.1", "@stripe/stripe-js": "^4.9.0", "@supabase/supabase-js": "^2.47.1", "blurhash": "^2.0.5", @@ -2983,16 +2983,16 @@ } }, "node_modules/@stripe/react-stripe-js": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.8.1.tgz", - "integrity": "sha512-C410jVKOATinXLalWotab6E6jlWAlbqUDWL9q1km0p5UHrvnihjjYzA8imYXc4xc4Euf9GeKDQc4n35HKZvgwg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-3.1.1.tgz", + "integrity": "sha512-+JzYFgUivVD7koqYV7LmLlt9edDMAwKH7XhZAHFQMo7NeRC+6D2JmQGzp9tygWerzwttwFLlExGp4rAOvD6l9g==", "dependencies": { "prop-types": "^15.7.2" }, "peerDependencies": { - "@stripe/stripe-js": "^1.44.1 || ^2.0.0 || ^3.0.0 || ^4.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + "@stripe/stripe-js": "^1.44.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0", + "react": ">=16.8.0 <20.0.0", + "react-dom": ">=16.8.0 <20.0.0" } }, "node_modules/@stripe/stripe-js": { diff --git a/package.json b/package.json index a00fd0f76..cb50ea8e2 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@material-ui/lab": "^4.0.0-alpha.61", "@paypal/react-paypal-js": "^8.7.0", "@shopify/react-intersection-observer": "^4.0.4", - "@stripe/react-stripe-js": "^2.8.1", + "@stripe/react-stripe-js": "^3.1.1", "@stripe/stripe-js": "^4.9.0", "@supabase/supabase-js": "^2.47.1", "blurhash": "^2.0.5",