diff --git a/package-lock.json b/package-lock.json index 725f9d33c..3050c8374 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@aws-sdk/lib-dynamodb": "^3.540.0", "@headlessui/react": "^1.7.19", "@heroicons/react": "^2.2.0", - "@stripe/react-stripe-js": "^2.9.0", + "@stripe/react-stripe-js": "^3.4.0", "@stripe/stripe-js": "^3.5.0", "decap-cms-app": "^3.0.12", "gatsby": "^5.14.1", @@ -9717,17 +9717,17 @@ } }, "node_modules/@stripe/react-stripe-js": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-2.9.0.tgz", - "integrity": "sha512-+/j2g6qKAKuWSurhgRMfdlIdKM+nVVJCy/wl0US2Ccodlqx0WqfIIBhUkeONkCG+V/b+bZzcj4QVa3E/rXtT4Q==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-3.4.0.tgz", + "integrity": "sha512-5m0vProlV2qyB7qXHSn25Ao79BjgJW/oiv2ynJ645dpdjeR7fyeb+KSrA4Esk7jqy+aKmdyn70TAIN0BVgh0MA==", "license": "MIT", "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 <7.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 4f0594df9..726f23389 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@aws-sdk/lib-dynamodb": "^3.540.0", "@headlessui/react": "^1.7.19", "@heroicons/react": "^2.2.0", - "@stripe/react-stripe-js": "^2.9.0", + "@stripe/react-stripe-js": "^3.4.0", "@stripe/stripe-js": "^3.5.0", "decap-cms-app": "^3.0.12", "gatsby": "^5.14.1",