From 0b4f115a14209ba9101053f1591b7abf5d5c5732 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Fri, 7 May 2021 16:48:18 +0200 Subject: [PATCH] Update some libs --- ios/Podfile | 4 +- package-lock.json | 371 ++++++++++-------- package.json | 42 +- src/components/Home/FeedItem.tsx | 6 +- src/screens/Amicale/Clubs/ClubAboutScreen.tsx | 10 +- src/screens/Home/FeedItemScreen.tsx | 7 +- src/screens/Planex/PlanexScreen.tsx | 13 +- 7 files changed, 268 insertions(+), 185 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 010eefd..c2ddb65 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -16,8 +16,8 @@ target 'Campus' do # Permissions permissions_path = '../node_modules/react-native-permissions/ios' - pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec" - pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec" + pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications" + pod 'Permission-Camera', :path => "#{permissions_path}/Camera" # Enables Flipper. # diff --git a/package-lock.json b/package-lock.json index cf2afa2..7577f26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1999,9 +1999,9 @@ } }, "@react-native-community/async-storage": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/@react-native-community/async-storage/-/async-storage-1.12.0.tgz", - "integrity": "sha512-y3zVxuVyiOxI8TXrvajmYfDbIt2vFNxzV5MiA28v15DQTxDk6uJH3rpc9my+la7u2Tiwt3PpdU2+59ZgZ4h7wA==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@react-native-community/async-storage/-/async-storage-1.12.1.tgz", + "integrity": "sha512-70WGaH3PKYASi4BThuEEKMkyAgE9k7VytBqmgPRx3MzJx9/MkspwqJGmn3QLCgHLIFUgF1pit2mWICbRJ3T3lg==", "requires": { "deep-assign": "^3.0.0" } @@ -2229,14 +2229,14 @@ "dev": true }, "@react-native-community/masked-view": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/@react-native-community/masked-view/-/masked-view-0.1.10.tgz", - "integrity": "sha512-rk4sWFsmtOw8oyx8SD3KSvawwaK7gRBSEIy2TAwURyGt+3TizssXP1r8nx3zY+R7v2vYYHXZ+k2/GULAT/bcaQ==" + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/@react-native-community/masked-view/-/masked-view-0.1.11.tgz", + "integrity": "sha512-rQfMIGSR/1r/SyN87+VD8xHHzDYeHaJq6elOSCAD+0iLagXkSI2pfA0LmSXP21uw5i3em7GkkRjfJ8wpqWXZNw==" }, "@react-native-community/push-notification-ios": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@react-native-community/push-notification-ios/-/push-notification-ios-1.5.0.tgz", - "integrity": "sha512-88Uwu6S8oRVnuMfBMGN+MtTyUjiVmMKwfObYrPmm+b2E2Aqk0WlZ4clfECukG8QIzv1pfELJZ5uZMVTYMI6klg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@react-native-community/push-notification-ios/-/push-notification-ios-1.8.0.tgz", + "integrity": "sha512-vxvkeampafjmtDoQBN8Q4azP21l6cMX93+OQZemyIWZmG++OjCVDQVitobf/kWLm5zyGwdylejbpMGo75qo7rA==", "requires": { "invariant": "^2.2.4" } @@ -2262,12 +2262,12 @@ "integrity": "sha512-0jbp4RxjYopTsIdLl+/Fy2TiwVYHy4mgeu07DG4b/LyM0OS/+lPP5c9sbnt/AMlnF6qz2JRZpPpGw1eMNS6A4w==" }, "@react-navigation/bottom-tabs": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-5.8.0.tgz", - "integrity": "sha512-geF/FSIg6cArY5jLwJJZrp7PDzLoSrONkCgq9n/4yKxtQapB/Pn5ljSHCNRGNkkb/+g8zqRQmEL5yX4DOja0OA==", + "version": "5.11.10", + "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-5.11.10.tgz", + "integrity": "sha512-vMdVhvUk4dfyVymh5pbWkQQhW2FoN13Aousuk9dktQx1XPQ/cUVEnB4De8SkxeHJE6mkr3JNk3G5kvodLpfaog==", "requires": { - "color": "^3.1.2", - "react-native-iphone-x-helper": "^1.2.1" + "color": "^3.1.3", + "react-native-iphone-x-helper": "^1.3.0" } }, "@react-navigation/core": { @@ -2283,12 +2283,13 @@ } }, "@react-navigation/native": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-5.7.3.tgz", - "integrity": "sha512-bXb1g/cLpGF2DW1Vxk90Ch5vbaZTk5b/4Fn5xjQlueQODgc9ca+GPEssKZ84hCrNmS+Xg+iK1m/ArawLF5gMlw==", + "version": "5.9.4", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-5.9.4.tgz", + "integrity": "sha512-BUCrOXfZDdKWBqM8OhOKQhCX5we4HUo5XG6tCQtVqQAep+7UcApZmMUuemUXDxVe8NPESUpoUlB0RaEpyIdfTQ==", "requires": { - "@react-navigation/core": "^5.12.3", - "nanoid": "^3.1.12" + "@react-navigation/core": "^5.15.3", + "escape-string-regexp": "^4.0.0", + "nanoid": "^3.1.15" } }, "@react-navigation/routers": { @@ -2300,12 +2301,12 @@ } }, "@react-navigation/stack": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-5.9.0.tgz", - "integrity": "sha512-kt6M0ZLMyNKXfKi50n01bHg4/d8zp0Yh5QaQG4d1roWOqdV9ou1nFEK4l2yQ6XKH2lLSYswHElPDZUuWd+6XzA==", + "version": "5.14.4", + "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-5.14.4.tgz", + "integrity": "sha512-gQjWK8JHtVkD1p7wzjtSPuScJI0mSAk/N/gzgjQZo+rDUwgM8rOTDcVNRbtEOqCEgLQcZrZQHwhOjkrJirehjQ==", "requires": { - "color": "^3.1.2", - "react-native-iphone-x-helper": "^1.2.1" + "color": "^3.1.3", + "react-native-iphone-x-helper": "^1.3.0" } }, "@sideway/address": { @@ -3541,16 +3542,6 @@ "node-int64": "^0.4.0" } }, - "buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -3646,6 +3637,16 @@ "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "dev": true }, + "character-entities-html4": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-1.1.4.tgz", + "integrity": "sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g==" + }, + "character-entities-legacy": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==" + }, "ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", @@ -4127,6 +4128,14 @@ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" }, + "deprecated-prop-type": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/deprecated-prop-type/-/deprecated-prop-type-1.0.0.tgz", + "integrity": "sha512-Hp4VxvZN6IlbKvleZfbdrojOmnPXuRPjC9cQ82j6bdI3DRCwGR+7CEf367X59MHz/y8Ao/mxdP7YyR3KTb+EhQ==", + "requires": { + "warning": "4.0.1" + } + }, "destroy": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", @@ -4169,30 +4178,29 @@ } }, "dom-serializer": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", - "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.1.tgz", + "integrity": "sha512-Pv2ZluG5ife96udGgEDovOOOA5UELkltfJpnIExPrAk1LTvecolUGn6lIaoLh86d83GiB86CjzciMd9BuRB71Q==", "requires": { "domelementtype": "^2.0.1", + "domhandler": "^4.0.0", "entities": "^2.0.0" }, "dependencies": { - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" - }, - "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" + "domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "requires": { + "domelementtype": "^2.2.0" + } } } }, "domelementtype": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" }, "domexception": { "version": "2.0.1", @@ -4212,20 +4220,31 @@ } }, "domhandler": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", "requires": { - "domelementtype": "1" + "domelementtype": "^2.0.1" } }, "domutils": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", - "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", "requires": { - "dom-serializer": "0", - "domelementtype": "1" + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "requires": { + "domelementtype": "^2.2.0" + } + } } }, "dottie": { @@ -4326,9 +4345,9 @@ } }, "entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" }, "envinfo": { "version": "7.8.1", @@ -4899,11 +4918,6 @@ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" }, - "events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" - }, "exec-sh": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz", @@ -5728,11 +5742,6 @@ "whatwg-encoding": "^1.0.5" } }, - "html-entities": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.4.0.tgz", - "integrity": "sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==" - }, "html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -5740,28 +5749,14 @@ "dev": true }, "htmlparser2": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.1.tgz", + "integrity": "sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==", "requires": { - "domelementtype": "^1.3.1", - "domhandler": "^2.3.0", - "domutils": "^1.5.1", - "entities": "^1.1.1", - "inherits": "^2.0.1", - "readable-stream": "^3.1.1" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } + "domelementtype": "^2.0.1", + "domhandler": "^3.3.0", + "domutils": "^2.4.2", + "entities": "^2.0.0" } }, "http-errors": { @@ -5807,11 +5802,6 @@ "safer-buffer": ">= 2.1.2 < 3" } }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, "ignore": { "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", @@ -9581,7 +9571,8 @@ "moment": { "version": "2.29.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" + "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", + "optional": true }, "ms": { "version": "2.1.1", @@ -10554,17 +10545,17 @@ } }, "react-native-autolink": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/react-native-autolink/-/react-native-autolink-3.0.0.tgz", - "integrity": "sha512-Jos8ts0dLfxW16aFtN4DXujlQhUHLlyHU+1HyQwiSEkNmAqIpsfppycO/vwTnZA8BzpwA19brXUYO63xMcWAMw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/react-native-autolink/-/react-native-autolink-4.0.0.tgz", + "integrity": "sha512-58wV7lBkS+JmTDzuN4v5OqSz5cIc0lI3PlIV1WIVhxlitI1Yhl5UQWum4y31bV83faA9we7gynvi8xV/I0TWLg==", "requires": { - "autolinker": "^3.11.1" + "autolinker": "^3.14.3" } }, "react-native-calendars": { - "version": "1.403.0", - "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.403.0.tgz", - "integrity": "sha512-K3jY2TlE8rj3OziHd9/6965kriaOtydAbMrkfgyNFuYeQnbzP0yxnxvzkioskdIkE2G3E3lIPB8lm1B8AMwEjg==", + "version": "1.1260.0", + "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.1260.0.tgz", + "integrity": "sha512-LOM8Jb9RGSv/qwAnuj55ijgsiC5uGFnlLIyE4GyEMoW212qIjTaNIgGR5kLQQmJ8cfh7vBpuDPKy17Io4Ar/4A==", "requires": { "hoist-non-react-statics": "^3.3.1", "immutable": "^4.0.0-rc.12", @@ -10576,9 +10567,9 @@ } }, "react-native-camera": { - "version": "3.40.0", - "resolved": "https://registry.npmjs.org/react-native-camera/-/react-native-camera-3.40.0.tgz", - "integrity": "sha512-Ur0hZqZcl3SntTVMB9GxuiLYpQxqwgzhQVb+7EGae4WjfDzQEwlGF0bJ7UpZyeUTb1oZmsiSib58xUckn11XMw==", + "version": "3.43.6", + "resolved": "https://registry.npmjs.org/react-native-camera/-/react-native-camera-3.43.6.tgz", + "integrity": "sha512-O6BDl0Rzsmbh4LF/4GqokIA6Q1tyhx0IlZuQ5wVKnKsGgZp/JAxF9W/2dsPjd5KyL8TgXEgpK0mqOjxd9lP5iw==", "requires": { "prop-types": "^15.6.2" } @@ -10600,12 +10591,9 @@ } }, "react-native-collapsible": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/react-native-collapsible/-/react-native-collapsible-1.5.3.tgz", - "integrity": "sha512-Ciuy3yF8wcHeLxXFtx9vxoyrq8l+9EJqLM/ADw54gVwzTQc1/e2ojhQbVFPlxhDA+Pba2qezkaKfv5ifxg8hoQ==", - "requires": { - "prop-types": "^15.6.2" - } + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/react-native-collapsible/-/react-native-collapsible-1.6.0.tgz", + "integrity": "sha512-beZjdgbT9Y/Pg591Xy5XkKG20HffJiVad4n9bfcUF/f783A+tvOVXnqvbS58Lkaym93mi4jcDPMuW9Vc1t6rqg==" }, "react-native-gesture-handler": { "version": "1.8.0", @@ -10647,14 +10635,14 @@ "integrity": "sha512-HDwEaXcQIuXXCV70O+bK1rizFong3wj+5Q/jSyifKFLg0VWF95xh8XQgfzXwtq0NggL9vNjPKXa016KuFu+VFg==" }, "react-native-localize": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/react-native-localize/-/react-native-localize-1.4.1.tgz", - "integrity": "sha512-g1L1au6GtCd0Ci6lQ8JVPYgl7uvEtKY2jeVghJcV6qQEN9+qACyqjOIR8pskUyI+qcSj1z4/nZh3IFxDVu1drw==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/react-native-localize/-/react-native-localize-2.0.3.tgz", + "integrity": "sha512-6SILy2yX/U1rTjF56/BiywcFXeO9AY8LmPF2p3TgP3Y2uKejxAOOQ4nzr+bAP1h+X5TaBmwTPBGNMZ1TttEJvA==" }, "react-native-modalize": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/react-native-modalize/-/react-native-modalize-2.0.6.tgz", - "integrity": "sha512-/JE9ZRVL9AdjspXBpQnGk+BRiYHnKW77ptXLhudwETQRW5uPR/a80ph4BRkV7DVGwadlf04ASgq63lTpOtAtiw==" + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/react-native-modalize/-/react-native-modalize-2.0.8.tgz", + "integrity": "sha512-OKdpFVExEe4YM2uFHL/aStS9p0JaC6gBupjaW1QVHkGq22T2ASYwkhDvTnMS8BLOLWPx2fC3xEBzOcn2rh7EYw==" }, "react-native-paper": { "version": "4.2.0", @@ -10667,14 +10655,9 @@ } }, "react-native-permissions": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-2.2.1.tgz", - "integrity": "sha512-3932V/xKsRwnT0g5KcTiaY5ClMw7lhoHnE7aZ21AcrRHF/u/jRT966+CzQeLE+M3/x+DnYDyG7aU1sjm7UiJug==" - }, - "react-native-platform-touchable": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/react-native-platform-touchable/-/react-native-platform-touchable-1.1.1.tgz", - "integrity": "sha1-/eSsxl7qWF0osWTQw3FqQhKaaOQ=" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.0.3.tgz", + "integrity": "sha512-8xiEnU29qHZcT05XXwhPHiLChTt82Pn5Z/nFdDOYGNFZ+IYSbYeGmIxFpratCRO6dgLptNaDFDPiyw2X7UZTeg==" }, "react-native-push-notification": { "version": "5.1.1", @@ -10685,28 +10668,28 @@ } }, "react-native-reanimated": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-1.13.0.tgz", - "integrity": "sha512-uadP/0QO+4TCsyPSvzRdl+76NPM7Bp8M25KQLB4Hg3tWBMjhrMrETnzNi33L/OPfmhU+7rceyi0QPe/DxKT5bQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-1.13.2.tgz", + "integrity": "sha512-O+WhgxSjOIzcVdAAvx+h2DY331Ek1knKlaq+jsNLpC1fhRy9XTdOObovgob/aF2ve9uJfPEawCx8381g/tUJZQ==", "requires": { "fbjs": "^1.0.0" } }, "react-native-render-html": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/react-native-render-html/-/react-native-render-html-4.2.3.tgz", - "integrity": "sha512-0zYXG+5RrvVbXwubIyMtbEmyKnY1TfQwRbJSSow/FITWyKvye/3DsLqvQNbkyqWhvNdofBqxGvyoM4Lf50imbg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/react-native-render-html/-/react-native-render-html-5.1.0.tgz", + "integrity": "sha512-zMExybt9n6oUGTusN2wIfr+nI+VSOZ5Yevru2+7+Rs7gyzT4rxGoD+Gv/AKWwnHMs1U4L8YOA9U1ZzCmHKR/1Q==", "requires": { - "buffer": "^4.5.1", - "events": "^1.1.0", - "html-entities": "^1.2.0", - "htmlparser2": "3.10.1" + "deprecated-prop-type": "^1.0.0", + "htmlparser2": "5.0.1", + "prop-types": "^15.7.2", + "stringify-entities": "^3.1.0" } }, "react-native-safe-area-context": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-3.1.8.tgz", - "integrity": "sha512-9gUlsDZ96QwT9AKzA6aVWM/NX5rlJgauZ9HgCDVzKbe29UQYT1740QJnnaI2GExmkFGp6o7ZLNhCXZW95eYVFA==" + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-3.2.0.tgz", + "integrity": "sha512-k2Nty4PwSnrg9HwrYeeE+EYqViYJoOFwEy9LxL5RIRfoqxAq/uQXNGwpUg2/u4gnKpBbEPa9eRh15KKMe/VHkA==" }, "react-native-safe-area-view": { "version": "0.14.9", @@ -10724,9 +10707,9 @@ } }, "react-native-screens": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-2.11.0.tgz", - "integrity": "sha512-vJzJE3zI1XUtqthrX3Dh2TBQWB+xFyaGhF52KBq9FjJUN5ws4xpLZJxBWa1KbGV3DilmcSZ4jmZR5LGordwE7w==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.1.1.tgz", + "integrity": "sha512-cjhK85T8LQ7uqqmwvLb8FKNk1RfgJd1jtbUm1lOxUmJreFki5Wh2SUlx0DAvNG35U6quGD15KPYRducGa+M04g==" }, "react-native-splash-screen": { "version": "3.2.0", @@ -10739,9 +10722,9 @@ "integrity": "sha512-Ns7Bn9H/Tyw278+5SQx9oAblDZ7JixyzeOczcBK8dipQk2pD7Djkcfnf1nB/8RErAmMLL9iXgW0QHqiII8AhKw==" }, "react-native-vector-icons": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-7.1.0.tgz", - "integrity": "sha512-V2a1zJ4i+kS8O4j183gIwX14St9AxxXabxwYpFBgRhvr2NDXyFcjHDEAgrOYYlt2W57e20aN1tBDU/I+wn9WtQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-8.1.0.tgz", + "integrity": "sha512-sHIdBB6Y0dHaot2fMXgy5J/hhCn5YuyN7SKDNFgPzL8KA1oF2/v7mgYMavnK7LIIs2dJoGnDANKf61dsU+TZlg==", "requires": { "lodash.frompairs": "^4.0.1", "lodash.isequal": "^4.5.0", @@ -10750,7 +10733,66 @@ "lodash.pick": "^4.4.0", "lodash.template": "^4.5.0", "prop-types": "^15.7.2", - "yargs": "^15.0.2" + "yargs": "^16.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.7", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", + "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==" + } } }, "react-native-version": { @@ -10813,9 +10855,9 @@ } }, "react-native-webview": { - "version": "10.9.0", - "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-10.9.0.tgz", - "integrity": "sha512-zYZfmdJca/xRbwvvOfPhzL59SQC4L0W9rPWVF4zMi7BMDdCVHXVp0wKZ9KzmqxZNwadZNTxl5s0pvd6p3S34Fg==", + "version": "11.4.3", + "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-11.4.3.tgz", + "integrity": "sha512-bC6r7vbukC1QYbG2vTmif8/gt6jzlGA7WK7zeVLt8ysZJvBNtoHtT2k7EoMgJIW6/6DTy1rrn6uZS4v2Fa4exQ==", "requires": { "escape-string-regexp": "2.0.0", "invariant": "2.2.4" @@ -10837,12 +10879,11 @@ } }, "react-navigation-header-buttons": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/react-navigation-header-buttons/-/react-navigation-header-buttons-5.0.2.tgz", - "integrity": "sha512-tr23aMc/Aakrp8J8+Py6qCg2gPqr+XtBLDuv0+CFdU521ersA4q0vLJjGtYTzP9Lg+bKhR29foWizK1Xl9ft+g==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/react-navigation-header-buttons/-/react-navigation-header-buttons-7.0.1.tgz", + "integrity": "sha512-ggIXhshnRv3Kaqw1ZlZLqMPtBOsLY4FLxxEOCHKe/XuWVfZGPmMqZBC/S4H8cQgIGRyFNOrypXF69Hb7fXMWNg==", "requires": { - "invariant": ">=2", - "react-native-platform-touchable": "^1.1.1" + "invariant": ">=2" } }, "react-refresh": { @@ -11900,6 +11941,16 @@ "safe-buffer": "~5.1.0" } }, + "stringify-entities": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-3.1.0.tgz", + "integrity": "sha512-3FP+jGMmMV/ffZs86MoghGqAoqXAdxLrJP4GUdrDN1aIScYih5tuIO3eF4To5AJZ79KDZ8Fpdy7QJnK8SsL1Vg==", + "requires": { + "character-entities-html4": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "xtend": "^4.0.0" + } + }, "strip-ansi": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", @@ -12466,6 +12517,14 @@ "makeerror": "1.0.x" } }, + "warning": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.1.tgz", + "integrity": "sha512-rAVtTNZw+cQPjvGp1ox0XC5Q2IBFyqoqh+QII4J/oguyu83Bax1apbo2eqB8bHRS+fqYUBagys6lqUoVwKSmXQ==", + "requires": { + "loose-envify": "^1.0.0" + } + }, "wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", diff --git a/package.json b/package.json index 9419953..f8eedc3 100644 --- a/package.json +++ b/package.json @@ -20,41 +20,41 @@ }, "dependencies": { "@nartc/react-native-barcode-mask": "1.2.0", - "@react-native-community/async-storage": "1.12.0", - "@react-native-community/masked-view": "0.1.10", - "@react-native-community/push-notification-ios": "1.5.0", + "@react-native-community/async-storage": "1.12.1", + "@react-native-community/masked-view": "0.1.11", + "@react-native-community/push-notification-ios": "1.8.0", "@react-native-community/slider": "3.0.3", - "@react-navigation/bottom-tabs": "5.8.0", - "@react-navigation/native": "5.7.3", - "@react-navigation/stack": "5.9.0", + "@react-navigation/bottom-tabs": "5.11.10", + "@react-navigation/native": "5.9.4", + "@react-navigation/stack": "5.14.4", "i18n-js": "3.8.0", "react": "17.0.1", "react-native": "0.64.1", "react-native-animatable": "1.3.3", "react-native-app-intro-slider": "4.0.4", "react-native-appearance": "0.3.4", - "react-native-autolink": "3.0.0", - "react-native-calendars": "1.403.0", - "react-native-camera": "3.40.0", - "react-native-collapsible": "1.5.3", - "react-native-gesture-handler": "1.8.0", + "react-native-autolink": "4.0.0", + "react-native-calendars": "1.1260.0", + "react-native-camera": "3.43.6", + "react-native-collapsible": "1.6.0", + "react-native-gesture-handler": "1.10.3", "react-native-image-zoom-viewer": "3.0.1", "react-native-keychain": "4.0.5", "react-native-linear-gradient": "2.5.6", - "react-native-localize": "1.4.1", - "react-native-modalize": "2.0.6", + "react-native-localize": "2.0.3", + "react-native-modalize": "2.0.8", "react-native-paper": "4.2.0", - "react-native-permissions": "2.2.1", + "react-native-permissions": "3.0.3", "react-native-push-notification": "5.1.1", - "react-native-reanimated": "1.13.0", - "react-native-render-html": "4.2.3", - "react-native-safe-area-context": "3.1.8", - "react-native-screens": "2.11.0", + "react-native-reanimated": "1.13.2", + "react-native-render-html": "5.1.0", + "react-native-safe-area-context": "3.2.0", + "react-native-screens": "3.1.1", "react-native-splash-screen": "3.2.0", - "react-native-vector-icons": "7.1.0", - "react-native-webview": "10.9.0", + "react-native-vector-icons": "8.1.0", + "react-native-webview": "11.4.3", "react-navigation-collapsible": "5.6.4", - "react-navigation-header-buttons": "5.0.2" + "react-navigation-header-buttons": "7.0.1" }, "devDependencies": { "@babel/core": "7.12.9", diff --git a/src/components/Home/FeedItem.tsx b/src/components/Home/FeedItem.tsx index b1703a1..49ecef4 100644 --- a/src/components/Home/FeedItem.tsx +++ b/src/components/Home/FeedItem.tsx @@ -115,9 +115,13 @@ function FeedItem(props: PropsType) { {item.message !== undefined ? ( text={item.message} - hashtag="facebook" + hashtag={'facebook'} component={Text} style={{ height: textHeight }} + truncate={32} + email={true} + url={true} + phone={true} /> ) : null} diff --git a/src/screens/Amicale/Clubs/ClubAboutScreen.tsx b/src/screens/Amicale/Clubs/ClubAboutScreen.tsx index e7234dc..45a2ef0 100644 --- a/src/screens/Amicale/Clubs/ClubAboutScreen.tsx +++ b/src/screens/Amicale/Clubs/ClubAboutScreen.tsx @@ -69,7 +69,15 @@ function ClubAboutScreen() { /> {i18n.t('screens.clubs.about.message')} - text={CONTACT_LINK} component={Text} /> + + text={CONTACT_LINK} + hashtag={'facebook'} + component={Text} + truncate={32} + email={true} + url={true} + phone={true} + /> diff --git a/src/screens/Home/FeedItemScreen.tsx b/src/screens/Home/FeedItemScreen.tsx index 771225c..7a391cf 100644 --- a/src/screens/Home/FeedItemScreen.tsx +++ b/src/screens/Home/FeedItemScreen.tsx @@ -123,9 +123,12 @@ class FeedItemScreen extends React.Component { {this.displayData.message !== undefined ? ( ) : null} diff --git a/src/screens/Planex/PlanexScreen.tsx b/src/screens/Planex/PlanexScreen.tsx index d0056c5..818a16f 100644 --- a/src/screens/Planex/PlanexScreen.tsx +++ b/src/screens/Planex/PlanexScreen.tsx @@ -307,8 +307,17 @@ class PlanexScreen extends React.Component { showDialog = (title: string, message: string) => { this.setState({ dialogVisible: true, - // @ts-ignore - dialogTitle: , + dialogTitle: ( + + ), dialogMessage: message, }); };