Bump react-native-document-picker from 4.3.0 to 8.1.1

This commit is contained in:
Sofiya Tepikin
2022-08-15 20:22:48 +00:00
committed by Maria Zadnepryanets
parent 1d9caa4d0e
commit fdf78dc7a7
3 changed files with 8 additions and 5 deletions
@@ -27,7 +27,7 @@ export function openImportDialog(onImportData) {
export async function getFileContent() {
let fileInfo
try {
fileInfo = await DocumentPicker.pick({
fileInfo = await DocumentPicker.pickSingle({
type: [DocumentPicker.types.csv, 'text/comma-separated-values'],
})
} catch (error) {
+6 -3
View File
@@ -15374,9 +15374,12 @@
}
},
"react-native-document-picker": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/react-native-document-picker/-/react-native-document-picker-4.3.0.tgz",
"integrity": "sha512-ygcY0ijlVuhxzdWnhqd917yMUFT9FF0b4CM81LWoY4/bpQYz5PGUdRAdh25kS0VA+cEUYNL2iI7OpHXq00epPA=="
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/react-native-document-picker/-/react-native-document-picker-8.1.1.tgz",
"integrity": "sha512-mH0oghd7ndgU9/1meVJdqts1sAkOfUQW1qbrqTTsvR5f2K9r0BAj/X02dve5IBMOMZvlGd7qWrNVuIFg5AUXWg==",
"requires": {
"invariant": "^2.2.4"
}
},
"react-native-fs": {
"version": "2.20.0",
+1 -1
View File
@@ -45,7 +45,7 @@
"react-i18next": "^11.18.3",
"react-native": "0.62.0",
"react-native-calendars": "^1.1287.0",
"react-native-document-picker": "^4.2.0",
"react-native-document-picker": "^8.1.1",
"react-native-fs": "^2.20.0",
"react-native-hyperlink": "0.0.19",
"react-native-modal-datetime-picker": "8.0.0",