diff --git a/package-lock.json b/package-lock.json index 8cdd86ae1d9b..9cb31a77c5aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,7 +115,7 @@ "react-native-localize": "^3.5.4", "react-native-nitro-modules": "0.35.0", "react-native-nitro-sqlite": "9.6.0", - "react-native-onyx": "3.0.71", + "react-native-onyx": "3.0.73", "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", @@ -34993,9 +34993,9 @@ } }, "node_modules/react-native-onyx": { - "version": "3.0.71", - "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-3.0.71.tgz", - "integrity": "sha512-q84y7aULjoRtQMjLP7fXYtI0nDROyfCgSKHEgZNHBwSvSogOEbGbsHw9qGm6jFIjIoOJf6Hzd3+FnIrFu+WVEQ==", + "version": "3.0.73", + "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-3.0.73.tgz", + "integrity": "sha512-0fvL8q7Rx3QBoHJJLB4e2wd0a9/4f//FvTBGKJliU5rkO/05APKZKFxMprSQpBm+O+i3T2R1lwSQbeaj9AbIDA==", "license": "MIT", "dependencies": { "ascii-table": "0.0.9", diff --git a/package.json b/package.json index 1c340ae254ac..3fdfbf1b6c9f 100644 --- a/package.json +++ b/package.json @@ -179,7 +179,7 @@ "react-native-localize": "^3.5.4", "react-native-nitro-modules": "0.35.0", "react-native-nitro-sqlite": "9.6.0", - "react-native-onyx": "3.0.71", + "react-native-onyx": "3.0.73", "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", diff --git a/patches/react-native-onyx/details.md b/patches/react-native-onyx/details.md index 765902c6dd6c..8d435bf932d1 100644 --- a/patches/react-native-onyx/details.md +++ b/patches/react-native-onyx/details.md @@ -1,6 +1,6 @@ # `react-native-onyx` patches -### [react-native-onyx+3.0.71.patch](react-native-onyx+3.0.71.patch) +### [react-native-onyx+3.0.73.patch](react-native-onyx+3.0.73.patch) - Reason: diff --git a/patches/react-native-onyx/react-native-onyx+3.0.71.patch b/patches/react-native-onyx/react-native-onyx+3.0.73.patch similarity index 94% rename from patches/react-native-onyx/react-native-onyx+3.0.71.patch rename to patches/react-native-onyx/react-native-onyx+3.0.73.patch index 90666509eba5..81d048105d69 100644 --- a/patches/react-native-onyx/react-native-onyx+3.0.71.patch +++ b/patches/react-native-onyx/react-native-onyx+3.0.73.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/react-native-onyx/dist/OnyxUtils.js b/node_modules/react-native-onyx/dist/OnyxUtils.js -index de56f94..495d378 100644 +index 87d163f..1971cd2 100644 --- a/node_modules/react-native-onyx/dist/OnyxUtils.js +++ b/node_modules/react-native-onyx/dist/OnyxUtils.js -@@ -868,24 +868,6 @@ function subscribeToKey(connectOptions) { +@@ -886,24 +886,6 @@ function subscribeToKey(connectOptions) { const subscriptionID = lastSubscriptionID++; callbackToStateMapping[subscriptionID] = mapping; callbackToStateMapping[subscriptionID].subscriptionID = subscriptionID; @@ -27,7 +27,7 @@ index de56f94..495d378 100644 // When keyChanged is called, a key is passed and the method looks through all the Subscribers in callbackToStateMapping for the matching key to get the subscriptionID // to avoid having to loop through all the Subscribers all the time (even when just one connection belongs to one key), // We create a mapping from key to lists of subscriptionIDs to access the specific list of subscriptionIDs. -@@ -1394,12 +1376,6 @@ function logKeyChanged(onyxMethod, key, value, hasChanged) { +@@ -1440,12 +1422,6 @@ function logKeyChanged(onyxMethod, key, value, hasChanged) { function logKeyRemoved(onyxMethod, key) { Logger.logInfo(`${onyxMethod} called for key: ${key} => null passed, so key was removed`); } @@ -40,7 +40,7 @@ index de56f94..495d378 100644 /** * Clear internal variables used in this file, useful in test environments. */ -@@ -1458,6 +1434,5 @@ const OnyxUtils = { +@@ -1504,6 +1480,5 @@ const OnyxUtils = { setWithRetry, multiSetWithRetry, setCollectionWithRetry,