Skip to content

Commit 17e46cb

Browse files
authored
fix(deps): bump dependencies (#239)
1 parent bb12748 commit 17e46cb

File tree

7 files changed

+1536
-5617
lines changed

7 files changed

+1536
-5617
lines changed

android/build.gradle

+13-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,19 @@ android {
4343
exclude 'META-INF/*.kotlin_module'
4444
pickFirst 'META-INF/AL2.0'
4545
pickFirst 'META-INF/LGPL2.1'
46-
}
46+
pickFirst 'META-INF/LICENSE.md'
47+
pickFirst 'META-INF/LICENSE-notice.md'
48+
49+
// ED Required for Android Instrumented tests; mismatch between RN version of example app and of actual package
50+
pickFirst 'lib/x86/libc++_shared.so'
51+
pickFirst 'lib/x86_64/libc++_shared.so'
52+
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
53+
pickFirst 'lib/arm64-v8a/libc++_shared.so'
54+
pickFirst 'lib/x86/libfbjni.so'
55+
pickFirst 'lib/x86_64/libfbjni.so'
56+
pickFirst 'lib/armeabi-v7a/libfbjni.so'
57+
pickFirst 'lib/arm64-v8a/libfbjni.so'
58+
}
4759

4860
sourceSets {
4961
androidTest {

android/gradle.properties

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
BlobCourier_coroutinesVersion = 1.3.+
2-
BlobCourier_espressoVersion = 3.4.+
1+
BlobCourier_coroutinesVersion = 1.6.+
2+
BlobCourier_espressoVersion = 3.5.+
33
BlobCourier_gradleToolsVersion = 7.0.+
44
BlobCourier_junitVersion = 4.13.+
5-
BlobCourier_kotlinVersion = 1.7.10
5+
BlobCourier_kotlinVersion = 1.8.+
66
BlobCourier_localbroadcastmanagerVersion = 1.1.+
7-
BlobCourier_mockkVersion = 1.12.+
7+
# Hardcoded mockkVersion b/c https://github.com/mockk/mockk/issues/1035
8+
BlobCourier_mockkVersion = 1.13.3
89
BlobCourier_multidexVersion = 2.0.+
910
BlobCourier_okhttpVersion = 4.10.+
1011
BlobCourier_robolectricVersion = 4.+

example/src/App.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ const UploaderView = (props: UVProps) => {
221221
return;
222222
}
223223

224-
// eslint-disable-next-line no-undef
225224
const abortController = new AbortController();
226225
setCanceller(() => () => {
227226
abortController.abort();
@@ -329,7 +328,6 @@ const DownloaderView = (props: DVProps) => {
329328
return;
330329
}
331330

332-
// eslint-disable-next-line no-undef
333331
const abortController = new AbortController();
334332
setCanceller(() => () => {
335333
abortController.abort();

example/yarn.lock

-4,296
This file was deleted.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@babel/core": "^7.12.9",
5454
"@babel/preset-env": "^7.1.6",
5555
"@commitlint/config-conventional": "^16.2.1",
56-
"@react-native-community/eslint-config": "^2.0.0",
56+
"@react-native-community/eslint-config": "^3.2.0",
5757
"@semantic-release/git": "^10.0.1",
5858
"@semantic-release/github": "^8.0.2",
5959
"@semantic-release/npm": "^9.0.1",
@@ -63,9 +63,9 @@
6363
"@types/react-native": "0.64.10",
6464
"abort-controller": "^3.0.0",
6565
"commitlint": "^16.2.3",
66-
"eslint": "^7.22.0",
67-
"eslint-config-prettier": "^7.0.0",
68-
"eslint-plugin-prettier": "^3.1.3",
66+
"eslint": "^8.34.0",
67+
"eslint-config-prettier": "^8.6.0",
68+
"eslint-plugin-prettier": "^4.2.1",
6969
"husky": "^7.0.4",
7070
"jest": "^27.3.1",
7171
"jest-junit": "^13.0.0",
@@ -76,7 +76,7 @@
7676
"react-native-builder-bob": "^0.18.0",
7777
"react-native-codegen": "^0.0.12",
7878
"semantic-release": "^19.0.2",
79-
"typescript": "4.0.8"
79+
"typescript": "^4.6.3"
8080
},
8181
"peerDependencies": {
8282
"react": "*",

src/__tests__/index.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const getLastMockCallFirstParameter = (m: any) =>
9191
const generateValue = (type: string) =>
9292
type in RANDOM_VALUE_GENERATORS ? RANDOM_VALUE_GENERATORS[type]() : uuid();
9393

94-
const createRandomObjectFromDefault = <T,>(o: T): T =>
94+
const createRandomObjectFromDefault = <T extends {}>(o: T): T =>
9595
Object.keys(o).reduce(
9696
(p, c) => ({
9797
...p,

yarn.lock

+1,512-1,308
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)