diff --git a/package-lock.json b/package-lock.json index 2ecc610..1235322 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "mpc-crypto-lib": "^1.0.8", "payjoin-react-native": "^1.0.2-alpha", "peach-api-ts": "^0.4.0", - "react": "19.0.0", + "react": "18.3.1", "react-native": "0.76.3", "react-native-crypto": "^2.2.0", "react-native-qrcode-svg": "^6.3.11", @@ -64,8 +64,8 @@ "@react-native/eslint-config": "0.76.3", "@react-native/metro-config": "0.76.3", "@react-native/typescript-config": "0.76.3", - "@types/react": "^19.0.0", - "@types/react-test-renderer": "^19.0.0", + "@types/react": "^18.3.1", + "@types/react-test-renderer": "^18.3.1", "babel-jest": "^29.6.3", "core-js": "^3.39.0", "eslint": "^9.16.0", @@ -7541,12 +7541,19 @@ "@types/node": "*" } }, + "node_modules/@types/prop-types": { + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==", + "license": "MIT" + }, "node_modules/@types/react": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.0.tgz", - "integrity": "sha512-MY3oPudxvMYyesqs/kW1Bh8y9VqSmf+tzqw3ae8a9DZW68pUe3zAdHeI1jc6iAysuRdACnVknHP8AhwD4/dxtg==", + "version": "18.3.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.14.tgz", + "integrity": "sha512-NzahNKvjNhVjuPBQ+2G7WlxstQ+47kXZNHlUvFakDViuIEfGY926GqhMueQFZ7woG+sPiQKlF36XfrIUVSUfFg==", "license": "MIT", "dependencies": { + "@types/prop-types": "*", "csstype": "^3.0.2" } }, @@ -7562,13 +7569,13 @@ } }, "node_modules/@types/react-test-renderer": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-19.0.0.tgz", - "integrity": "sha512-qDVnNybqFm2eZKJ4jD34EvRd6VHD67KjgnWaEMM0Id9L22EpWe3nOSVKHWL1XWRCxUWe3lhXwlEeCKD1BlJCQA==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-18.3.1.tgz", + "integrity": "sha512-vAhnk0tG2eGa37lkU9+s5SoroCsRI08xnsWFiAXOuPH2jqzMbcXvKExXViPi1P5fIklDeCvXqyrdmipFaSkZrA==", "dev": true, "license": "MIT", "dependencies": { - "@types/react": "*" + "@types/react": "^18" } }, "node_modules/@types/semver": { @@ -16682,10 +16689,13 @@ } }, "node_modules/react": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", - "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, "engines": { "node": ">=0.10.0" } diff --git a/package.json b/package.json index 4532cb9..2faa40b 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "mpc-crypto-lib": "^1.0.8", "payjoin-react-native": "^1.0.2-alpha", "peach-api-ts": "^0.4.0", - "react": "19.0.0", + "react": "18.3.1", "react-native": "0.76.3", "react-native-crypto": "^2.2.0", "react-native-qrcode-svg": "^6.3.11", @@ -66,8 +66,8 @@ "@react-native/eslint-config": "0.76.3", "@react-native/metro-config": "0.76.3", "@react-native/typescript-config": "0.76.3", - "@types/react": "^19.0.0", - "@types/react-test-renderer": "^19.0.0", + "@types/react": "^18.3.1", + "@types/react-test-renderer": "^18.3.1", "babel-jest": "^29.6.3", "core-js": "^3.39.0", "eslint": "^9.16.0", diff --git a/yarn.lock b/yarn.lock index 0e8e841..a4fc1de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3688,6 +3688,11 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== +"@types/prop-types@*": + version "15.7.14" + resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz" + integrity sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ== + "@types/react-native@>=0.72": version "0.72.8" resolved "https://registry.npmjs.org/@types/react-native/-/react-native-0.72.8.tgz" @@ -3696,18 +3701,19 @@ "@react-native/virtualized-lists" "^0.72.4" "@types/react" "*" -"@types/react-test-renderer@^19.0.0": - version "19.0.0" - resolved "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-19.0.0.tgz" - integrity sha512-qDVnNybqFm2eZKJ4jD34EvRd6VHD67KjgnWaEMM0Id9L22EpWe3nOSVKHWL1XWRCxUWe3lhXwlEeCKD1BlJCQA== +"@types/react-test-renderer@^18.3.1": + version "18.3.1" + resolved "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-18.3.1.tgz" + integrity sha512-vAhnk0tG2eGa37lkU9+s5SoroCsRI08xnsWFiAXOuPH2jqzMbcXvKExXViPi1P5fIklDeCvXqyrdmipFaSkZrA== dependencies: - "@types/react" "*" + "@types/react" "^18" -"@types/react@*", "@types/react@^18.2.6", "@types/react@^19.0.0": - version "19.0.0" - resolved "https://registry.npmjs.org/@types/react/-/react-19.0.0.tgz" - integrity sha512-MY3oPudxvMYyesqs/kW1Bh8y9VqSmf+tzqw3ae8a9DZW68pUe3zAdHeI1jc6iAysuRdACnVknHP8AhwD4/dxtg== +"@types/react@*", "@types/react@^18", "@types/react@^18.2.6", "@types/react@^18.3.1": + version "18.3.14" + resolved "https://registry.npmjs.org/@types/react/-/react-18.3.14.tgz" + integrity sha512-NzahNKvjNhVjuPBQ+2G7WlxstQ+47kXZNHlUvFakDViuIEfGY926GqhMueQFZ7woG+sPiQKlF36XfrIUVSUfFg== dependencies: + "@types/prop-types" "*" csstype "^3.0.2" "@types/semver@^7.3.12": @@ -7801,6 +7807,11 @@ lightningcss-linux-x64-gnu@1.28.2: resolved "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.28.2.tgz" integrity sha512-ZhQy0FcO//INWUdo/iEdbefntTdpPVQ0XJwwtdbBuMQe+uxqZoytm9M+iqR9O5noWFaxK+nbS2iR/I80Q2Ofpg== +lightningcss-linux-x64-musl@1.28.2: + version "1.28.2" + resolved "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.28.2.tgz" + integrity sha512-alb/j1NMrgQmSFyzTbN1/pvMPM+gdDw7YBuQ5VSgcFDypN3Ah0BzC2dTZbzwzaMdUVDszX6zH5MzjfVN1oGuww== + lightningcss@^1.27.0: version "1.28.2" resolved "https://registry.npmjs.org/lightningcss/-/lightningcss-1.28.2.tgz" @@ -9375,10 +9386,12 @@ react-test-renderer@18.3.1: react-shallow-renderer "^16.15.0" scheduler "^0.23.2" -react@*, "react@^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react@^16.8.0 || ^17.0.0-rc.1", "react@^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", react@^18.0.0, react@^18.2.0, react@^18.3.1, "react@>= 16.8.0", "react@>= 18.2.0", react@>=16, react@>=16.8, react@>=17.0.0, react@>=18, react@19.0.0: - version "19.0.0" - resolved "https://registry.npmjs.org/react/-/react-19.0.0.tgz" - integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ== +react@*, "react@^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react@^16.8.0 || ^17.0.0-rc.1", "react@^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", react@^18.0.0, react@^18.2.0, react@^18.3.1, "react@>= 16.8.0", "react@>= 18.2.0", react@>=16, react@>=16.8, react@>=17.0.0, react@>=18, react@18.3.1: + version "18.3.1" + resolved "https://registry.npmjs.org/react/-/react-18.3.1.tgz" + integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== + dependencies: + loose-envify "^1.1.0" read-cache@^1.0.0: version "1.0.0"