diff --git a/package-lock.json b/package-lock.json index 3e7e35b04a..8a3b1b1946 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "react-native-ios-context-menu": "1.15.3", "react-native-keychain": "8.1.1", "react-native-network-logger": "1.14.0", - "react-native-paper": "4.12.4", + "react-native-paper": "5.1.4", "react-native-popover-view": "4.1.0", "react-native-reanimated": "2.14.4", "react-native-restart": "0.0.24", @@ -17024,14 +17024,6 @@ "react-native": "*" } }, - "node_modules/react-native-iphone-x-helper": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz", - "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==", - "peerDependencies": { - "react-native": ">=0.42.0" - } - }, "node_modules/react-native-keychain": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/react-native-keychain/-/react-native-keychain-8.1.1.tgz", @@ -17057,17 +17049,18 @@ } }, "node_modules/react-native-paper": { - "version": "4.12.4", - "resolved": "https://registry.npmjs.org/react-native-paper/-/react-native-paper-4.12.4.tgz", - "integrity": "sha512-NMfLSIN0Ql/KCTSimhgzbEOgz371dqDAgChnp2VE4H7n1B0Pwy0bzPKmY/T8trVvEdmJRXrbXAusaFq8elDXNg==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/react-native-paper/-/react-native-paper-5.1.4.tgz", + "integrity": "sha512-MpT7zmq/+bSXrKtjUHDKYadTSZvhE2d15oH+Sz77F+xq0/Xqwtg9aX3iHU4x0P92PRubRAbKiLkV0Qi9+beN7g==", "dependencies": { - "@callstack/react-theme-provider": "^3.0.7", + "@callstack/react-theme-provider": "^3.0.8", "color": "^3.1.2", - "react-native-iphone-x-helper": "^1.3.1" + "use-event-callback": "^0.1.0" }, "peerDependencies": { "react": "*", "react-native": "*", + "react-native-safe-area-context": "*", "react-native-vector-icons": "*" } }, @@ -19274,6 +19267,14 @@ "node": ">=0.10.0" } }, + "node_modules/use-event-callback": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/use-event-callback/-/use-event-callback-0.1.0.tgz", + "integrity": "sha512-5fTzY5UEXHMK5UR0NRkUz6TPfWmmX9fO8Tx3SnHrfMPdrQ7Rna0gDBy0r56SP68TwsP9DgwSBzeysCu3A/Z2NA==", + "peerDependencies": { + "react": ">=16.8" + } + }, "node_modules/use-latest-callback": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.5.tgz", @@ -32120,12 +32121,6 @@ "@dominicstop/ts-event-emitter": "^1.1.0" } }, - "react-native-iphone-x-helper": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz", - "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==", - "requires": {} - }, "react-native-keychain": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/react-native-keychain/-/react-native-keychain-8.1.1.tgz", @@ -32145,13 +32140,13 @@ "requires": {} }, "react-native-paper": { - "version": "4.12.4", - "resolved": "https://registry.npmjs.org/react-native-paper/-/react-native-paper-4.12.4.tgz", - "integrity": "sha512-NMfLSIN0Ql/KCTSimhgzbEOgz371dqDAgChnp2VE4H7n1B0Pwy0bzPKmY/T8trVvEdmJRXrbXAusaFq8elDXNg==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/react-native-paper/-/react-native-paper-5.1.4.tgz", + "integrity": "sha512-MpT7zmq/+bSXrKtjUHDKYadTSZvhE2d15oH+Sz77F+xq0/Xqwtg9aX3iHU4x0P92PRubRAbKiLkV0Qi9+beN7g==", "requires": { - "@callstack/react-theme-provider": "^3.0.7", + "@callstack/react-theme-provider": "^3.0.8", "color": "^3.1.2", - "react-native-iphone-x-helper": "^1.3.1" + "use-event-callback": "^0.1.0" } }, "react-native-popover-view": { @@ -33819,6 +33814,12 @@ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, + "use-event-callback": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/use-event-callback/-/use-event-callback-0.1.0.tgz", + "integrity": "sha512-5fTzY5UEXHMK5UR0NRkUz6TPfWmmX9fO8Tx3SnHrfMPdrQ7Rna0gDBy0r56SP68TwsP9DgwSBzeysCu3A/Z2NA==", + "requires": {} + }, "use-latest-callback": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.5.tgz", diff --git a/package.json b/package.json index 0a03201a76..cb781ecb0a 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "react-native-ios-context-menu": "1.15.3", "react-native-keychain": "8.1.1", "react-native-network-logger": "1.14.0", - "react-native-paper": "4.12.4", + "react-native-paper": "5.1.4", "react-native-popover-view": "4.1.0", "react-native-reanimated": "2.14.4", "react-native-restart": "0.0.24",