Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.

Commit 94ae4b6

Browse files
committed
Update dependencies
1 parent 4cd1b24 commit 94ae4b6

File tree

11 files changed

+692
-655
lines changed

11 files changed

+692
-655
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010

1111
dependencies {
1212
classpath 'com.android.tools.build:gradle:4.2.2'
13-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.5.20')}"
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.5.21')}"
1414
}
1515
}
1616

example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ buildscript {
66
minSdkVersion = 21
77
compileSdkVersion = 30
88
targetSdkVersion = 30
9-
kotlinVersion = '1.5.20'
10-
ndkVersion = '22.1.7171670'
9+
kotlinVersion = '1.5.21'
10+
ndkVersion = '23.0.7599858'
1111
}
1212
repositories {
1313
google()

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../node_modules/react-native/scripts/react_native_pods'
22
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
33

4-
platform :ios, '10.0'
4+
platform :ios, '11.0'
55

66
target 'example' do
77
config = use_native_modules!

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ PODS:
263263
- React-jsi (= 0.64.2)
264264
- React-perflogger (= 0.64.2)
265265
- React-jsinspector (0.64.2)
266-
- react-native-document-picker (5.2.0):
266+
- react-native-document-picker (6.0.2):
267267
- React-Core
268268
- React-perflogger (0.64.2)
269269
- React-RCTActionSheet (0.64.2):
@@ -487,7 +487,7 @@ SPEC CHECKSUMS:
487487
React-jsi: 67747b9722f6dab2ffe15b011bcf6b3f2c3f1427
488488
React-jsiexecutor: 80c46bd381fd06e418e0d4f53672dc1d1945c4c3
489489
React-jsinspector: cc614ec18a9ca96fd275100c16d74d62ee11f0ae
490-
react-native-document-picker: f1b5398801b332c77bc62ae0eae2116f49bdff26
490+
react-native-document-picker: b5bebda9a4e4d965cd32b6b8a233ab6c8c1aecb1
491491
React-perflogger: 25373e382fed75ce768a443822f07098a15ab737
492492
React-RCTActionSheet: af7796ba49ffe4ca92e7277a5d992d37203f7da5
493493
React-RCTAnimation: 6a2e76ab50c6f25b428d81b76a5a45351c4d77aa
@@ -503,6 +503,6 @@ SPEC CHECKSUMS:
503503
Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac
504504
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
505505

506-
PODFILE CHECKSUM: 870f4ec950d9fe950621c2bb0b9681f36415e8e0
506+
PODFILE CHECKSUM: 911684475274f231f9f4c639fa56b97880dc0c32
507507

508508
COCOAPODS: 1.10.1

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@
371371
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
372372
GCC_WARN_UNUSED_FUNCTION = YES;
373373
GCC_WARN_UNUSED_VARIABLE = YES;
374-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
374+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
375375
LD_RUNPATH_SEARCH_PATHS = (
376376
/usr/lib/swift,
377377
"$(inherited)",
@@ -426,7 +426,7 @@
426426
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
427427
GCC_WARN_UNUSED_FUNCTION = YES;
428428
GCC_WARN_UNUSED_VARIABLE = YES;
429-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
429+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
430430
LD_RUNPATH_SEARCH_PATHS = (
431431
/usr/lib/swift,
432432
"$(inherited)",

example/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
"dependencies": {
1414
"react": "^17.0.2",
1515
"react-native": "^0.64.2",
16-
"react-native-document-picker": "^5.2.0"
16+
"react-native-document-picker": "^6.0.2"
1717
},
1818
"devDependencies": {
19-
"@babel/core": "^7.14.6",
20-
"@babel/runtime": "^7.14.6",
19+
"@babel/core": "^7.15.0",
20+
"@babel/runtime": "^7.15.3",
2121
"@react-native-community/eslint-config": "^3.0.0",
2222
"@types/jest": "^26.0.24",
23-
"@types/react-native": "^0.64.12",
23+
"@types/react-native": "^0.64.13",
2424
"@types/react-test-renderer": "^17.0.1",
2525
"babel-jest": "^26.6.3",
26-
"eslint": "^7.30.0",
26+
"eslint": "^7.32.0",
2727
"eslint-plugin-simple-import-sort": "^7.0.0",
2828
"jest": "^26.6.3",
29-
"metro-react-native-babel-preset": "^0.66.1",
29+
"metro-react-native-babel-preset": "^0.66.2",
3030
"react-test-renderer": "^17.0.2",
3131
"typescript": "^4.3.5"
3232
},

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import DocumentPicker from 'react-native-document-picker'
66
const App = () => {
77
const openPicker = async () => {
88
try {
9-
const response = await DocumentPicker.pick({
9+
const response = await DocumentPicker.pickSingle({
1010
type: [DocumentPicker.types.allFiles],
1111
})
1212
Alert.alert('Path', getPath(response.uri), [{ text: 'OK' }], {

example/yarn.lock

Lines changed: 336 additions & 317 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flyerhq/react-native-android-uri-path",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "Get an absolute path to a file retrieved by Android's Intent.ACTION_GET_CONTENT that returns a content URI.",
55
"homepage": "https://github.com/flyerhq/react-native-android-uri-path#readme",
66
"main": "lib/index.js",
@@ -38,17 +38,17 @@
3838
"test": "jest"
3939
},
4040
"devDependencies": {
41-
"@babel/core": "^7.14.6",
42-
"@babel/runtime": "^7.14.6",
41+
"@babel/core": "^7.15.0",
42+
"@babel/runtime": "^7.15.3",
4343
"@react-native-community/eslint-config": "^3.0.0",
4444
"@types/jest": "^26.0.24",
45-
"@types/react-native": "^0.64.12",
45+
"@types/react-native": "^0.64.13",
4646
"@types/react-test-renderer": "^17.0.1",
4747
"babel-jest": "^26.6.3",
48-
"eslint": "^7.30.0",
48+
"eslint": "^7.32.0",
4949
"eslint-plugin-simple-import-sort": "^7.0.0",
5050
"jest": "^26.6.3",
51-
"metro-react-native-babel-preset": "^0.66.1",
51+
"metro-react-native-babel-preset": "^0.66.2",
5252
"react": "^17.0.2",
5353
"react-native": "^0.64.2",
5454
"react-test-renderer": "^17.0.2",

tsconfig.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
"declaration": true,
44
"esModuleInterop": true,
55
"isolatedModules": true,
6-
"jsx": "react-native",
6+
"jsx": "react",
77
"lib": ["ESNext"],
8-
"module": "CommonJS",
8+
"module": "ESNext",
9+
"moduleResolution": "Node",
910
"noEmitOnError": true,
1011
"outDir": "./lib",
1112
"skipLibCheck": true,
1213
"sourceMap": true,
1314
"strict": true,
14-
"target": "ESNext"
15+
"target": "ES2018"
1516
},
1617
"exclude": ["**/__tests__/*"],
1718
"include": ["src"]

0 commit comments

Comments
 (0)