Ver código fonte

deps(react-native-gesture-handler/@react-native-clipboard/clipboard): Updates related to RN 0.73.8 (#14894)

* deps(react-native-gesture-handler/@react-native-clipboard/clipboard): Updates related to RN 0.73.8
factor2
Calinteodor 11 meses atrás
pai
commit
d2ad3473a1
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
android/settings.gradle Ver arquivo

@@ -11,7 +11,7 @@ project(':react-native-background-timer').projectDir = new File(rootProject.proj
11 11
 include ':react-native-calendar-events'
12 12
 project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
13 13
 include ':react-native-community_clipboard'
14
-project(':react-native-community_clipboard').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/clipboard/android')
14
+project(':react-native-community_clipboard').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-clipboard/clipboard/android')
15 15
 include ':react-native-community_netinfo'
16 16
 project(':react-native-community_netinfo').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/netinfo/android')
17 17
 include ':react-native-default-preference'

+ 8
- 6
ios/Podfile.lock Ver arquivo

@@ -1206,13 +1206,15 @@ PODS:
1206 1206
     - React
1207 1207
   - RNCAsyncStorage (1.23.1):
1208 1208
     - React-Core
1209
-  - RNCClipboard (1.5.1):
1209
+  - RNCClipboard (1.14.1):
1210 1210
     - React-Core
1211 1211
   - RNDefaultPreference (1.4.4):
1212 1212
     - React-Core
1213 1213
   - RNDeviceInfo (10.9.0):
1214 1214
     - React-Core
1215
-  - RNGestureHandler (2.9.0):
1215
+  - RNGestureHandler (2.17.1):
1216
+    - glog
1217
+    - RCT-Folly (= 2022.05.16.00)
1216 1218
     - React-Core
1217 1219
   - RNGoogleSignin (10.1.0):
1218 1220
     - GoogleSignIn (~> 7.0)
@@ -1305,7 +1307,7 @@ DEPENDENCIES:
1305 1307
   - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
1306 1308
   - RNCalendarEvents (from `../node_modules/react-native-calendar-events`)
1307 1309
   - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
1308
-  - "RNCClipboard (from `../node_modules/@react-native-community/clipboard`)"
1310
+  - "RNCClipboard (from `../node_modules/@react-native-clipboard/clipboard`)"
1309 1311
   - RNDefaultPreference (from `../node_modules/react-native-default-preference`)
1310 1312
   - RNDeviceInfo (from `../node_modules/react-native-device-info`)
1311 1313
   - RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
@@ -1472,7 +1474,7 @@ EXTERNAL SOURCES:
1472 1474
   RNCAsyncStorage:
1473 1475
     :path: "../node_modules/@react-native-async-storage/async-storage"
1474 1476
   RNCClipboard:
1475
-    :path: "../node_modules/@react-native-community/clipboard"
1477
+    :path: "../node_modules/@react-native-clipboard/clipboard"
1476 1478
   RNDefaultPreference:
1477 1479
     :path: "../node_modules/react-native-default-preference"
1478 1480
   RNDeviceInfo:
@@ -1580,10 +1582,10 @@ SPEC CHECKSUMS:
1580 1582
   ReactCommon: 512222a2c036e9a7d1489d4c888aac178dfb0f3c
1581 1583
   RNCalendarEvents: 7e65eb4a94f53c1744d1e275f7fafcfaa619f7a3
1582 1584
   RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c
1583
-  RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495
1585
+  RNCClipboard: 0a720adef5ec193aa0e3de24c3977222c7e52a37
1584 1586
   RNDefaultPreference: 08bdb06cfa9188d5da97d4642dac745218d7fb31
1585 1587
   RNDeviceInfo: 02ea8b23e2280fa18e00a06d7e62804d74028579
1586
-  RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39
1588
+  RNGestureHandler: 67d3f1f69d4d0c98d6e83f4229e3bbf997d1dc72
1587 1589
   RNGoogleSignin: a6a612cce56a45ab701c5c5c6e36f5390522d100
1588 1590
   RNScreens: e842cdccb23c0a084bd6307f6fa83fd1c1738029
1589 1591
   RNSound: 6c156f925295bdc83e8e422e7d8b38d33bc71852

+ 29
- 24
package-lock.json Ver arquivo

@@ -26,7 +26,7 @@
26 26
         "@microsoft/microsoft-graph-client": "3.0.1",
27 27
         "@mui/material": "5.12.1",
28 28
         "@react-native-async-storage/async-storage": "1.23.1",
29
-        "@react-native-community/clipboard": "1.5.1",
29
+        "@react-native-clipboard/clipboard": "1.14.1",
30 30
         "@react-native-community/netinfo": "11.1.0",
31 31
         "@react-native-community/slider": "4.4.3",
32 32
         "@react-native-google-signin/google-signin": "10.1.0",
@@ -82,7 +82,7 @@
82 82
         "react-native-default-preference": "1.4.4",
83 83
         "react-native-device-info": "10.9.0",
84 84
         "react-native-dialog": "https://github.com/jitsi/react-native-dialog/releases/download/v9.2.2-jitsi.1/react-native-dialog-9.2.2.tgz",
85
-        "react-native-gesture-handler": "2.9.0",
85
+        "react-native-gesture-handler": "2.17.1",
86 86
         "react-native-get-random-values": "1.9.0",
87 87
         "react-native-immersive-mode": "2.0.1",
88 88
         "react-native-keep-awake": "4.0.0",
@@ -4015,6 +4015,21 @@
4015 4015
         "react-native": "^0.0.0-0 || >=0.60 <1.0"
4016 4016
       }
4017 4017
     },
4018
+    "node_modules/@react-native-clipboard/clipboard": {
4019
+      "version": "1.14.1",
4020
+      "resolved": "https://registry.npmjs.org/@react-native-clipboard/clipboard/-/clipboard-1.14.1.tgz",
4021
+      "integrity": "sha512-SM3el0A28SwoeJljVNhF217o0nI4E7RfalLmuRQcT1/7tGcxUjgFa3jyrEndYUct8/uxxK5EUNGUu1YEDqzxqw==",
4022
+      "license": "MIT",
4023
+      "workspaces": [
4024
+        "example"
4025
+      ],
4026
+      "peerDependencies": {
4027
+        "react": "16.9.0 || 16.11.0 || 16.13.1 || 17.0.1 || 17.0.2 || 18.0.0 || 18.1.0 || 18.2.0",
4028
+        "react-native": "^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0",
4029
+        "react-native-macos": "^0.61.0 || ^0.62.0 || ^0.63.0 || ^0.64.0 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0",
4030
+        "react-native-windows": "^0.61.0 || ^0.62.0 || ^0.63.0 || ^0.64.0 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0"
4031
+      }
4032
+    },
4018 4033
     "node_modules/@react-native-community/cli": {
4019 4034
       "version": "12.3.6",
4020 4035
       "resolved": "https://registry.npmjs.org/@react-native-community/cli/-/cli-12.3.6.tgz",
@@ -5060,15 +5075,6 @@
5060 5075
         "node": ">=8"
5061 5076
       }
5062 5077
     },
5063
-    "node_modules/@react-native-community/clipboard": {
5064
-      "version": "1.5.1",
5065
-      "resolved": "https://registry.npmjs.org/@react-native-community/clipboard/-/clipboard-1.5.1.tgz",
5066
-      "integrity": "sha512-AHAmrkLEH5UtPaDiRqoULERHh3oNv7Dgs0bTC0hO5Z2GdNokAMPT5w8ci8aMcRemcwbtdHjxChgtjbeA38GBdA==",
5067
-      "peerDependencies": {
5068
-        "react": ">=16.0",
5069
-        "react-native": ">=0.57.0"
5070
-      }
5071
-    },
5072 5078
     "node_modules/@react-native-community/netinfo": {
5073 5079
       "version": "11.1.0",
5074 5080
       "resolved": "https://registry.npmjs.org/@react-native-community/netinfo/-/netinfo-11.1.0.tgz",
@@ -15299,14 +15305,14 @@
15299 15305
       }
15300 15306
     },
15301 15307
     "node_modules/react-native-gesture-handler": {
15302
-      "version": "2.9.0",
15303
-      "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.9.0.tgz",
15304
-      "integrity": "sha512-a0BcH3Qb1tgVqUutc6d3VuWQkI1AM3+fJx8dkxzZs9t06qA27QgURYFoklpabuWpsUTzuKRpxleykp25E8m7tg==",
15308
+      "version": "2.17.1",
15309
+      "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.17.1.tgz",
15310
+      "integrity": "sha512-pWfniN6NuVKUq40KACuD3NCMe+bWNQCpD3cmxL6aLSCTwPKYmf7l4Lp0/E/almpjvxhybJZtFLU0w4tmxnIKaA==",
15311
+      "license": "MIT",
15305 15312
       "dependencies": {
15306 15313
         "@egjs/hammerjs": "^2.0.17",
15307 15314
         "hoist-non-react-statics": "^3.3.0",
15308 15315
         "invariant": "^2.2.4",
15309
-        "lodash": "^4.17.21",
15310 15316
         "prop-types": "^15.7.2"
15311 15317
       },
15312 15318
       "peerDependencies": {
@@ -21835,6 +21841,11 @@
21835 21841
         "merge-options": "^3.0.4"
21836 21842
       }
21837 21843
     },
21844
+    "@react-native-clipboard/clipboard": {
21845
+      "version": "1.14.1",
21846
+      "resolved": "https://registry.npmjs.org/@react-native-clipboard/clipboard/-/clipboard-1.14.1.tgz",
21847
+      "integrity": "sha512-SM3el0A28SwoeJljVNhF217o0nI4E7RfalLmuRQcT1/7tGcxUjgFa3jyrEndYUct8/uxxK5EUNGUu1YEDqzxqw=="
21848
+    },
21838 21849
     "@react-native-community/cli": {
21839 21850
       "version": "12.3.6",
21840 21851
       "resolved": "https://registry.npmjs.org/@react-native-community/cli/-/cli-12.3.6.tgz",
@@ -22537,11 +22548,6 @@
22537 22548
         "joi": "^17.2.1"
22538 22549
       }
22539 22550
     },
22540
-    "@react-native-community/clipboard": {
22541
-      "version": "1.5.1",
22542
-      "resolved": "https://registry.npmjs.org/@react-native-community/clipboard/-/clipboard-1.5.1.tgz",
22543
-      "integrity": "sha512-AHAmrkLEH5UtPaDiRqoULERHh3oNv7Dgs0bTC0hO5Z2GdNokAMPT5w8ci8aMcRemcwbtdHjxChgtjbeA38GBdA=="
22544
-    },
22545 22551
     "@react-native-community/netinfo": {
22546 22552
       "version": "11.1.0",
22547 22553
       "resolved": "https://registry.npmjs.org/@react-native-community/netinfo/-/netinfo-11.1.0.tgz",
@@ -30102,14 +30108,13 @@
30102 30108
       "integrity": "sha512-MKbuBbovO8eGiAM9i6o0nrdBXivhRpzPQ+aVBXGJEPMH7RrCSNUKaCoEpkjfGHlTxjZimi6WjDCjjzCRSHlV1A=="
30103 30109
     },
30104 30110
     "react-native-gesture-handler": {
30105
-      "version": "2.9.0",
30106
-      "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.9.0.tgz",
30107
-      "integrity": "sha512-a0BcH3Qb1tgVqUutc6d3VuWQkI1AM3+fJx8dkxzZs9t06qA27QgURYFoklpabuWpsUTzuKRpxleykp25E8m7tg==",
30111
+      "version": "2.17.1",
30112
+      "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.17.1.tgz",
30113
+      "integrity": "sha512-pWfniN6NuVKUq40KACuD3NCMe+bWNQCpD3cmxL6aLSCTwPKYmf7l4Lp0/E/almpjvxhybJZtFLU0w4tmxnIKaA==",
30108 30114
       "requires": {
30109 30115
         "@egjs/hammerjs": "^2.0.17",
30110 30116
         "hoist-non-react-statics": "^3.3.0",
30111 30117
         "invariant": "^2.2.4",
30112
-        "lodash": "^4.17.21",
30113 30118
         "prop-types": "^15.7.2"
30114 30119
       }
30115 30120
     },

+ 2
- 2
package.json Ver arquivo

@@ -32,7 +32,7 @@
32 32
     "@microsoft/microsoft-graph-client": "3.0.1",
33 33
     "@mui/material": "5.12.1",
34 34
     "@react-native-async-storage/async-storage": "1.23.1",
35
-    "@react-native-community/clipboard": "1.5.1",
35
+    "@react-native-clipboard/clipboard": "1.14.1",
36 36
     "@react-native-community/netinfo": "11.1.0",
37 37
     "@react-native-community/slider": "4.4.3",
38 38
     "@react-native-google-signin/google-signin": "10.1.0",
@@ -88,7 +88,7 @@
88 88
     "react-native-default-preference": "1.4.4",
89 89
     "react-native-device-info": "10.9.0",
90 90
     "react-native-dialog": "https://github.com/jitsi/react-native-dialog/releases/download/v9.2.2-jitsi.1/react-native-dialog-9.2.2.tgz",
91
-    "react-native-gesture-handler": "2.9.0",
91
+    "react-native-gesture-handler": "2.17.1",
92 92
     "react-native-get-random-values": "1.9.0",
93 93
     "react-native-immersive-mode": "2.0.1",
94 94
     "react-native-keep-awake": "4.0.0",

+ 1
- 1
react-native-sdk/package.json Ver arquivo

@@ -57,7 +57,7 @@
57 57
         "@giphy/react-native-sdk": "0.0.0",
58 58
         "@react-native/metro-config": "*",
59 59
         "@react-native-async-storage/async-storage": "0.0.0",
60
-        "@react-native-community/clipboard": "0.0.0",
60
+        "@react-native-clipboard/clipboard": "0.0.0",
61 61
         "@react-native-community/netinfo": "0.0.0",
62 62
         "@react-native-community/slider": "0.0.0",
63 63
         "@react-native-google-signin/google-signin": "0.0.0",

+ 1
- 1
react/features/base/util/copyText.native.ts Ver arquivo

@@ -1,4 +1,4 @@
1
-import Clipboard from '@react-native-community/clipboard';
1
+import Clipboard from '@react-native-clipboard/clipboard';
2 2
 
3 3
 /**
4 4
  * Tries to copy a given text to the clipboard.

+ 1
- 2
react/features/polls/components/native/PollCreate.tsx Ver arquivo

@@ -1,6 +1,5 @@
1 1
 import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
-import { FlatList, Platform, View, ViewStyle } from 'react-native';
3
-import { TextInput } from 'react-native-gesture-handler';
2
+import { FlatList, Platform, TextInput, View, ViewStyle } from 'react-native';
4 3
 import { Divider } from 'react-native-paper';
5 4
 import { useDispatch } from 'react-redux';
6 5
 

Carregando…
Cancelar
Salvar