From 2db3a83ed1a2bddaa517223fa1b30b44a5b8e156 Mon Sep 17 00:00:00 2001 From: jemboh Date: Fri, 8 Apr 2022 14:15:18 +0100 Subject: [PATCH] upgraded some rn packages --- ios/Podfile.lock | 25 +++++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++ metro.config.js | 2 +- package-lock.json | 101 ++++++++++-------- package.json | 4 +- yarn.lock | 38 ++++--- 6 files changed, 117 insertions(+), 61 deletions(-) create mode 100644 ios/WakuRelayPoc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 82a0d2e..b6ece95 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -282,6 +282,11 @@ PODS: - React-jsinspector (0.68.0) - React-logger (0.68.0): - glog + - react-native-randombytes (3.6.1): + - React-Core + - react-native-udp (4.1.5): + - CocoaAsyncSocket + - React-Core - React-perflogger (0.68.0) - React-RCTActionSheet (0.68.0): - React-Core/RCTActionSheetHeaders (= 0.68.0) @@ -347,7 +352,11 @@ PODS: - React-jsi (= 0.68.0) - React-logger (= 0.68.0) - React-perflogger (= 0.68.0) + - RNOS (1.2.6): + - React - SocketRocket (0.6.0) + - TcpSockets (4.0.0): + - React - Yoga (1.14.0) - YogaKit (1.18.1): - Yoga (~> 1.14) @@ -395,6 +404,8 @@ DEPENDENCIES: - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) - React-logger (from `../node_modules/react-native/ReactCommon/logger`) + - react-native-randombytes (from `../node_modules/react-native-randombytes`) + - react-native-udp (from `../node_modules/react-native-udp`) - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) @@ -407,6 +418,8 @@ DEPENDENCIES: - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - RNOS (from `../node_modules/react-native-os`) + - TcpSockets (from `../node_modules/react-native-tcp`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: @@ -464,6 +477,10 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/jsinspector" React-logger: :path: "../node_modules/react-native/ReactCommon/logger" + react-native-randombytes: + :path: "../node_modules/react-native-randombytes" + react-native-udp: + :path: "../node_modules/react-native-udp" React-perflogger: :path: "../node_modules/react-native/ReactCommon/reactperflogger" React-RCTActionSheet: @@ -488,6 +505,10 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: :path: "../node_modules/react-native/ReactCommon" + RNOS: + :path: "../node_modules/react-native-os" + TcpSockets: + :path: "../node_modules/react-native-tcp" Yoga: :path: "../node_modules/react-native/ReactCommon/yoga" @@ -523,6 +544,8 @@ SPEC CHECKSUMS: React-jsiexecutor: 010a66edf644339f6da72b34208b070089680415 React-jsinspector: 90f0bfd5d04e0b066c29216a110ffb9a6c34f23f React-logger: 8474fefa09d05f573a13c044cb0dfd751d4e52e3 + react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846 + react-native-udp: 8864b1211857e9d8224ae5cbaf8580970fb99de1 React-perflogger: 15cb741d6c2379f4d3fc8f9e4d4e1110ef3020cb React-RCTActionSheet: ea9099db0597bd769430db1e2d011fd5fdb7fc5e React-RCTAnimation: 252df4749866f2654f37612f839522cac91c1165 @@ -535,7 +558,9 @@ SPEC CHECKSUMS: React-RCTVibration: 82fc52d3d96549b8c59a6c8c017d5a1a11457049 React-runtimeexecutor: 9b1304f48e344c55bb3c36e13bf11461cb4da5d8 ReactCommon: fab89a13b52f1ac42b59a0e4b4f76f21aea9eebe + RNOS: 6f2f9a70895bbbfbdad7196abd952e7b01d45027 SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608 + TcpSockets: 4ef55305239923b343ed0a378b1fac188b1373b0 Yoga: 6671cf077f614314c22fd09ddf87d7abeee64e96 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a diff --git a/ios/WakuRelayPoc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/WakuRelayPoc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/WakuRelayPoc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/metro.config.js b/metro.config.js index 4e8a7f5..5c3f411 100644 --- a/metro.config.js +++ b/metro.config.js @@ -5,7 +5,7 @@ * @format */ - module.exports = { +module.exports = { resolver: { extraNodeModules: { assert: require.resolve('assert'), diff --git a/package-lock.json b/package-lock.json index 7869851..b171ed4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,8 +31,8 @@ "react-native-level-fs": "^3.0.1", "react-native-os": "^1.2.6", "react-native-randombytes": "^3.6.1", - "react-native-tcp": "^3.3.2", - "react-native-udp": "^2.7.0", + "react-native-tcp": "^4.0.0", + "react-native-udp": "^4.0.0", "readable-stream": "^1.0.33", "stream-browserify": "^3.0.0", "string_decoder": "^0.10.31", @@ -13675,9 +13675,9 @@ } }, "node_modules/react-native-tcp": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/react-native-tcp/-/react-native-tcp-3.3.2.tgz", - "integrity": "sha512-zjFmjAvYOsBkR1MF7htuPlk+uOzTykKaeu/eN+I7fkZ7UqBCW+9u/gJgWCv6Tjfn2tGgku6hsEWril4Oy3zJhg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/react-native-tcp/-/react-native-tcp-4.0.0.tgz", + "integrity": "sha512-68lSq2qns6P33yH7vYuiU5rV7xEiNuA2GYIStFlMvF/uEKDHL53MDgQLC2alKEU9JAHfmB8uUmcu3QQSGkaoig==", "dependencies": { "base64-js": "0.0.8", "buffer": "^5.0.0", @@ -13687,7 +13687,7 @@ "util": "^0.10.3" }, "peerDependencies": { - "react-native": ">=0.40.0" + "react-native": ">=0.60.0" } }, "node_modules/react-native-tcp/node_modules/base64-js": { @@ -13749,31 +13749,43 @@ } }, "node_modules/react-native-udp": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/react-native-udp/-/react-native-udp-2.7.0.tgz", - "integrity": "sha512-tT+Wn0yLbdaTohXkGGor0HYgScGaASWCaCLSO1kCIUdNke7AtcOX5a5nfNLYrEjdUn7/2HRofuplyky7iJHSQA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/react-native-udp/-/react-native-udp-4.1.5.tgz", + "integrity": "sha512-+4Jt0sbuq7lozbiUY6YtEE7KQIcp/xEnTsU44YaIUHE84wKP5STDBe0Vac6sKDdn/gKVV44RUBobzXnOLKcqFA==", "dependencies": { - "base64-js": "0.0.8", - "events": "^1.0.2", - "inherits": "^2.0.1", - "ip-regex": "^1.0.3", - "util": "^0.10.3" + "buffer": "^5.6.0", + "events": "^3.1.0" } }, - "node_modules/react-native-udp/node_modules/base64-js": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=", - "engines": { - "node": ">= 0.4" + "node_modules/react-native-udp/node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } }, - "node_modules/react-native-udp/node_modules/ip-regex": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.3.tgz", - "integrity": "sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0=", + "node_modules/react-native-udp/node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "engines": { - "node": ">=0.10.0" + "node": ">=0.8.x" } }, "node_modules/react-native/node_modules/ws": { @@ -26662,9 +26674,9 @@ } }, "react-native-tcp": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/react-native-tcp/-/react-native-tcp-3.3.2.tgz", - "integrity": "sha512-zjFmjAvYOsBkR1MF7htuPlk+uOzTykKaeu/eN+I7fkZ7UqBCW+9u/gJgWCv6Tjfn2tGgku6hsEWril4Oy3zJhg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/react-native-tcp/-/react-native-tcp-4.0.0.tgz", + "integrity": "sha512-68lSq2qns6P33yH7vYuiU5rV7xEiNuA2GYIStFlMvF/uEKDHL53MDgQLC2alKEU9JAHfmB8uUmcu3QQSGkaoig==", "requires": { "base64-js": "0.0.8", "buffer": "^5.0.0", @@ -26703,26 +26715,27 @@ } }, "react-native-udp": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/react-native-udp/-/react-native-udp-2.7.0.tgz", - "integrity": "sha512-tT+Wn0yLbdaTohXkGGor0HYgScGaASWCaCLSO1kCIUdNke7AtcOX5a5nfNLYrEjdUn7/2HRofuplyky7iJHSQA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/react-native-udp/-/react-native-udp-4.1.5.tgz", + "integrity": "sha512-+4Jt0sbuq7lozbiUY6YtEE7KQIcp/xEnTsU44YaIUHE84wKP5STDBe0Vac6sKDdn/gKVV44RUBobzXnOLKcqFA==", "requires": { - "base64-js": "0.0.8", - "events": "^1.0.2", - "inherits": "^2.0.1", - "ip-regex": "^1.0.3", - "util": "^0.10.3" + "buffer": "^5.6.0", + "events": "^3.1.0" }, "dependencies": { - "base64-js": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } }, - "ip-regex": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.3.tgz", - "integrity": "sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0=" + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" } } }, diff --git a/package.json b/package.json index 2009b83..d881b05 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "react-native-level-fs": "^3.0.1", "react-native-os": "^1.2.6", "react-native-randombytes": "^3.6.1", - "react-native-tcp": "^3.3.2", - "react-native-udp": "^2.7.0", + "react-native-tcp": "^4.0.0", + "react-native-udp": "^4.0.0", "readable-stream": "^1.0.33", "stream-browserify": "^3.0.0", "string_decoder": "^0.10.31", diff --git a/yarn.lock b/yarn.lock index 4df3670..df42c8d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2645,6 +2645,14 @@ "base64-js" "^1.3.1" "ieee754" "^1.1.13" +"buffer@^5.6.0": + "integrity" "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz" + "version" "5.7.1" + dependencies: + "base64-js" "^1.3.1" + "ieee754" "^1.1.13" + "buffer@^6.0.1", "buffer@^6.0.3": "integrity" "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==" "resolved" "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" @@ -3839,6 +3847,11 @@ "resolved" "https://registry.npmjs.org/events/-/events-1.1.1.tgz" "version" "1.1.1" +"events@^3.1.0": + "integrity" "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + "resolved" "https://registry.npmjs.org/events/-/events-3.3.0.tgz" + "version" "3.3.0" + "events@^3.3.0": "integrity" "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" "resolved" "https://registry.npmjs.org/events/-/events-3.3.0.tgz" @@ -7856,10 +7869,10 @@ "buffer" "^4.9.1" "sjcl" "^1.0.3" -"react-native-tcp@^3.3.2": - "integrity" "sha512-zjFmjAvYOsBkR1MF7htuPlk+uOzTykKaeu/eN+I7fkZ7UqBCW+9u/gJgWCv6Tjfn2tGgku6hsEWril4Oy3zJhg==" - "resolved" "https://registry.npmjs.org/react-native-tcp/-/react-native-tcp-3.3.2.tgz" - "version" "3.3.2" +"react-native-tcp@^4.0.0": + "integrity" "sha512-68lSq2qns6P33yH7vYuiU5rV7xEiNuA2GYIStFlMvF/uEKDHL53MDgQLC2alKEU9JAHfmB8uUmcu3QQSGkaoig==" + "resolved" "https://registry.npmjs.org/react-native-tcp/-/react-native-tcp-4.0.0.tgz" + "version" "4.0.0" dependencies: "base64-js" "0.0.8" "buffer" "^5.0.0" @@ -7868,18 +7881,15 @@ "process" "^0.11.9" "util" "^0.10.3" -"react-native-udp@^2.7.0": - "integrity" "sha512-tT+Wn0yLbdaTohXkGGor0HYgScGaASWCaCLSO1kCIUdNke7AtcOX5a5nfNLYrEjdUn7/2HRofuplyky7iJHSQA==" - "resolved" "https://registry.npmjs.org/react-native-udp/-/react-native-udp-2.7.0.tgz" - "version" "2.7.0" +"react-native-udp@^4.0.0": + "integrity" "sha512-+4Jt0sbuq7lozbiUY6YtEE7KQIcp/xEnTsU44YaIUHE84wKP5STDBe0Vac6sKDdn/gKVV44RUBobzXnOLKcqFA==" + "resolved" "https://registry.npmjs.org/react-native-udp/-/react-native-udp-4.1.5.tgz" + "version" "4.1.5" dependencies: - "base64-js" "0.0.8" - "events" "^1.0.2" - "inherits" "^2.0.1" - "ip-regex" "^1.0.3" - "util" "^0.10.3" + "buffer" "^5.6.0" + "events" "^3.1.0" -"react-native@*", "react-native@>=0.40.0", "react-native@0.68.0": +"react-native@*", "react-native@>=0.60.0", "react-native@0.68.0": "integrity" "sha512-Qi8KpG9rqiU0hVp05GKkuRe8iAVhblYMwpnwG3wkBi99Z/X8iZ0jD1b1UW0/y6oesmCyGQAxpsB36imU8zg1AQ==" "resolved" "https://registry.npmjs.org/react-native/-/react-native-0.68.0.tgz" "version" "0.68.0"