diff --git a/package-lock.json b/package-lock.json index 884eed1..7cb3da2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "dependencies": { "@hookform/resolvers": "^3.9.1", - "@paypal/react-paypal-js": "^7.8.3", + "@paypal/react-paypal-js": "^8.7.0", "bootstrap": "^5.3.3", "eslint-config-next": "^14.2.6", "next": "^15.1.2", @@ -705,24 +705,24 @@ } }, "node_modules/@paypal/paypal-js": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/@paypal/paypal-js/-/paypal-js-5.1.6.tgz", - "integrity": "sha512-1upF06pv0AUtTftRVSra44p8ibqGa3ruKLArvdhpZla25zcrND7R+nDUIMrJ0iteVYZowhujZStFs6NoruExfg==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@paypal/paypal-js/-/paypal-js-8.1.2.tgz", + "integrity": "sha512-EKshGSWRxLWU1NyPB9P1TiOkPajVmpTo5I9HuZKoSv8y2uk0XIskXqMkAJ/Y9qAg9iJyP102Jb/atX63tTy24w==", "dependencies": { "promise-polyfill": "^8.3.0" } }, "node_modules/@paypal/react-paypal-js": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@paypal/react-paypal-js/-/react-paypal-js-7.8.3.tgz", - "integrity": "sha512-7sD5JFA0IH9kysyGFv5DTmtPn54vLWZ0DLhdjUvsjqZnoEs11mJJJlTsTA7MkIO3jBAJOWlfoA4wLYzmy68C4g==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/@paypal/react-paypal-js/-/react-paypal-js-8.7.0.tgz", + "integrity": "sha512-KW4EdL8hlLWBY6f9l1csxQ8Szh5bhMFLxl+DV29jHNwdlM6z3s+w4LZQ7GtgHktSrlNBHgblNNvwLNpcDtsZgg==", "dependencies": { - "@paypal/paypal-js": "^5.1.6", + "@paypal/paypal-js": "^8.1.2", "@paypal/sdk-constants": "^1.0.122" }, "peerDependencies": { - "react": ">=16.3.0", - "react-dom": ">=16.3.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, "node_modules/@paypal/sdk-constants": { diff --git a/package.json b/package.json index 113d500..db8304c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@hookform/resolvers": "^3.9.1", - "@paypal/react-paypal-js": "^7.8.3", + "@paypal/react-paypal-js": "^8.7.0", "bootstrap": "^5.3.3", "eslint-config-next": "^14.2.6", "next": "^15.1.2",