From 49563041c2a18e53233c9e9cdc35f2a431d5b354 Mon Sep 17 00:00:00 2001 From: Rui Ying Date: Fri, 21 Jan 2022 15:44:10 -0800 Subject: [PATCH] Upgrade dependencies --- package.json | 14 +- patches/expo-file-system+13.2.0.patch | 210 -------------------------- patches/expo-file-system+13.2.1.patch | 44 ++++++ yarn.lock | 205 ++++++++++++------------- 4 files changed, 151 insertions(+), 322 deletions(-) delete mode 100644 patches/expo-file-system+13.2.0.patch create mode 100644 patches/expo-file-system+13.2.1.patch diff --git a/package.json b/package.json index e8933824..85fc53f7 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,9 @@ } }, "dependencies": { - "@babel/core": "7.16.7", + "@babel/core": "7.16.10", "@babel/runtime": "7.16.7", - "@react-native-async-storage/async-storage": "1.15.15", + "@react-native-async-storage/async-storage": "1.15.16", "@react-native-community/eslint-config": "3.0.1", "@react-native-masked-view/masked-view": "0.2.6", "@react-navigation/bottom-tabs": "6.0.9", @@ -36,7 +36,7 @@ "@react-navigation/native-stack": "6.2.5", "@types/jest": "27.4.0", "@types/mime-types": "2.1.1", - "@types/react-native": "0.66.12", + "@types/react-native": "0.66.15", "@types/react-native-share": "3.3.3", "@types/react-native-vector-icons": "6.4.10", "@types/react-redux": "7.1.22", @@ -57,7 +57,7 @@ "eslint": "8.7.0", "expo": "44.0.5", "expo-calendar": "10.1.0", - "expo-file-system": "13.2.0", + "expo-file-system": "13.2.1", "expo-haptics": "11.1.0", "expo-intent-launcher": "10.1.0", "expo-secure-store": "11.1.0", @@ -72,10 +72,10 @@ "postinstall-postinstall": "2.1.0", "prettier": "2.5.1", "react": "17.0.2", - "react-native": "0.67.0", + "react-native": "0.67.1", "react-native-code-push": "7.0.4", "react-native-device-info": "8.4.8", - "react-native-document-picker": "7.1.3", + "react-native-document-picker": "8.0.0", "react-native-fs": "2.18.0", "react-native-gesture-handler": "2.2.0", "react-native-interactable": "2.0.1", @@ -98,6 +98,6 @@ "semver": "7.3.5", "thu-learn-lib-no-native": "https://github.com/robertying/thu-learn-lib-no-native.git", "typesafe-actions": "5.1.0", - "typescript": "4.5.4" + "typescript": "4.5.5" } } diff --git a/patches/expo-file-system+13.2.0.patch b/patches/expo-file-system+13.2.0.patch deleted file mode 100644 index 46bab94f..00000000 --- a/patches/expo-file-system+13.2.0.patch +++ /dev/null @@ -1,210 +0,0 @@ -diff --git a/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt b/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt -index 53bf40ff83639413de15de19ee4319c3d71fca99..02039b230d42a8153e607b290d0930815610f8cf 100644 ---- a/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt -+++ b/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt -@@ -55,18 +55,14 @@ import okhttp3.Callback - import okhttp3.Headers - import okhttp3.JavaNetCookieJar - import okhttp3.MediaType -+import okhttp3.MediaType.Companion.toMediaTypeOrNull - import okhttp3.MultipartBody - import okhttp3.OkHttpClient - import okhttp3.Request - import okhttp3.RequestBody - import okhttp3.Response - import okhttp3.ResponseBody -- --import okio.Buffer --import okio.BufferedSource --import okio.ForwardingSource --import okio.Okio --import okio.Source -+import okio.* - - import org.apache.commons.codec.binary.Hex - import org.apache.commons.codec.digest.DigestUtils -@@ -766,7 +762,7 @@ open class FileSystemModule( - } - - val body = createRequestBody(options, decorator, fileUri.toFile()) -- return requestBuilder.method(method, body).build() -+ return method?.let { requestBuilder.method(it, body).build() } - } catch (e: Exception) { - e.message?.let { Log.e(TAG, it) } - promise.reject(e) -@@ -791,7 +787,7 @@ open class FileSystemModule( - } ?: URLConnection.guessContentTypeFromName(file.name) - - val fieldName = options["fieldName"]?.let { it as String } ?: file.name -- bodyBuilder.addFormDataPart(fieldName, file.name, decorator.decorate(RequestBody.create(MediaType.parse(mimeType), file))) -+ bodyBuilder.addFormDataPart(fieldName, file.name, decorator.decorate(RequestBody.create(mimeType.toMediaTypeOrNull(), file))) - bodyBuilder.build() - } - else -> { -@@ -816,9 +812,9 @@ open class FileSystemModule( - - override fun onResponse(call: Call, response: Response) { - val result = Bundle().apply { -- putString("body", response.body()?.string()) -- putInt("status", response.code()) -- putBundle("headers", translateHeaders(response.headers())) -+ putString("body", response.body?.string()) -+ putInt("status", response.code) -+ putBundle("headers", translateHeaders(response.headers)) - } - response.close() - promise.resolve(result) -@@ -866,7 +862,7 @@ open class FileSystemModule( - taskHandlers[uuid] = TaskHandler(call) - call.enqueue(object : Callback { - override fun onFailure(call: Call, e: IOException) { -- if (call.isCanceled) { -+ if (call.isCanceled()) { - promise.resolve(null) - return - } -@@ -876,11 +872,11 @@ open class FileSystemModule( - - override fun onResponse(call: Call, response: Response) { - val result = Bundle() -- val body = response.body() -+ val body = response.body - result.apply { - putString("body", body?.string()) -- putInt("status", response.code()) -- putBundle("headers", translateHeaders(response.headers())) -+ putInt("status", response.code) -+ putBundle("headers", translateHeaders(response.headers)) - } - response.close() - promise.resolve(result) -@@ -900,10 +896,10 @@ open class FileSystemModule( - val resources = context.resources - val packageName = context.packageName - val resourceId = resources.getIdentifier(url, "raw", packageName) -- val bufferedSource = Okio.buffer(Okio.source(context.resources.openRawResource(resourceId))) -+ val bufferedSource = context.resources.openRawResource(resourceId).source().buffer() - val file = uri.toFile() - file.delete() -- val sink = Okio.buffer(Okio.sink(file)) -+ val sink = file.sink().buffer() - sink.writeAll(bufferedSource) - sink.close() - val result = Bundle() -@@ -934,13 +930,13 @@ open class FileSystemModule( - override fun onResponse(call: Call, response: Response) { - val file = uri.toFile() - file.delete() -- val sink = Okio.buffer(Okio.sink(file)) -- sink.writeAll(response.body()!!.source()) -+ val sink = file.sink().buffer() -+ sink.writeAll(response.body!!.source()) - sink.close() - val result = Bundle().apply { - putString("uri", Uri.fromFile(file).toString()) -- putInt("status", response.code()) -- putBundle("headers", translateHeaders(response.headers())) -+ putInt("status", response.code) -+ putBundle("headers", translateHeaders(response.headers)) - if (options?.get("md5") == true) { - putString("md5", md5(file)) - } -@@ -1003,7 +999,7 @@ open class FileSystemModule( - ?.addNetworkInterceptor { chain -> - val originalResponse = chain.proceed(chain.request()) - originalResponse.newBuilder() -- .body(ProgressResponseBody(originalResponse.body(), progressListener)) -+ .body(ProgressResponseBody(originalResponse.body, progressListener)) - .build() - } - ?.build() -@@ -1098,7 +1094,7 @@ open class FileSystemModule( - val options = params[0]?.options - return try { - val response = call!!.execute() -- val responseBody = response.body() -+ val responseBody = response.body - val input = BufferedInputStream(responseBody!!.byteStream()) - val output = FileOutputStream(file, isResume == true) - val data = ByteArray(1024) -@@ -1108,15 +1104,15 @@ open class FileSystemModule( - } - val result = Bundle().apply { - putString("uri", Uri.fromFile(file).toString()) -- putInt("status", response.code()) -- putBundle("headers", translateHeaders(response.headers())) -+ putInt("status", response.code) -+ putBundle("headers", translateHeaders(response.headers)) - options?.get("md5").takeIf { it == true }?.let { putString("md5", file?.let { md5(it) }) } - } - response.close() - promise?.resolve(result) - null - } catch (e: Exception) { -- if (call?.isCanceled == true) { -+ if (call?.isCanceled() == true) { - promise?.resolve(null) - return null - } -@@ -1139,7 +1135,7 @@ open class FileSystemModule( - override fun contentLength(): Long = responseBody?.contentLength() ?: -1 - - override fun source(): BufferedSource = -- bufferedSource ?: Okio.buffer(source(responseBody!!.source())) -+ bufferedSource ?: source(responseBody!!.source()).buffer() - - private fun source(source: Source): Source { - return object : ForwardingSource(source) { -@@ -1304,7 +1300,7 @@ open class FileSystemModule( - // Copied out of React Native's `NetworkingModule.java` - private fun translateHeaders(headers: Headers): Bundle { - val responseHeaders = Bundle() -- for (i in 0 until headers.size()) { -+ for (i in 0 until headers.size) { - val headerName = headers.name(i) - // multiple values for the same header - if (responseHeaders[headerName] != null) { -diff --git a/node_modules/expo-file-system/android/build.gradle b/node_modules/expo-file-system/android/build.gradle -index fd2598b..99c634f 100644 ---- a/node_modules/expo-file-system/android/build.gradle -+++ b/node_modules/expo-file-system/android/build.gradle -@@ -1,6 +1,6 @@ - apply plugin: 'com.android.library' - apply plugin: 'kotlin-android' --apply plugin: 'maven' -+apply plugin: 'maven-publish' - - group = 'host.exp.exponent' - version = '13.2.0' -@@ -20,27 +20,16 @@ buildscript { - } - } - --//Upload android library to maven with javadoc and android sources --configurations { -- deployerJars --} -- - //Creating sources with comments - task androidSourcesJar(type: Jar) { - classifier = 'sources' - from android.sourceSets.main.java.srcDirs - } - --//Put the androidSources and javadoc to the artifacts --artifacts { -- archives androidSourcesJar --} -- --uploadArchives { -- repositories { -- mavenDeployer { -- configuration = configurations.deployerJars -- repository(url: mavenLocal().url) -+publishing { -+ publications { -+ mavenLocal(MavenPublication) { -+ artifact androidSourcesJar - } - } - } diff --git a/patches/expo-file-system+13.2.1.patch b/patches/expo-file-system+13.2.1.patch new file mode 100644 index 00000000..a8e539df --- /dev/null +++ b/patches/expo-file-system+13.2.1.patch @@ -0,0 +1,44 @@ +diff --git a/node_modules/expo-file-system/android/build.gradle b/node_modules/expo-file-system/android/build.gradle +index fd2598b..99c634f 100644 +--- a/node_modules/expo-file-system/android/build.gradle ++++ b/node_modules/expo-file-system/android/build.gradle +@@ -1,6 +1,6 @@ + apply plugin: 'com.android.library' + apply plugin: 'kotlin-android' +-apply plugin: 'maven' ++apply plugin: 'maven-publish' + + group = 'host.exp.exponent' + version = '13.2.1' +@@ -20,27 +20,16 @@ buildscript { + } + } + +-//Upload android library to maven with javadoc and android sources +-configurations { +- deployerJars +-} +- + //Creating sources with comments + task androidSourcesJar(type: Jar) { + classifier = 'sources' + from android.sourceSets.main.java.srcDirs + } + +-//Put the androidSources and javadoc to the artifacts +-artifacts { +- archives androidSourcesJar +-} +- +-uploadArchives { +- repositories { +- mavenDeployer { +- configuration = configurations.deployerJars +- repository(url: mavenLocal().url) ++publishing { ++ publications { ++ mavenLocal(MavenPublication) { ++ artifact androidSourcesJar + } + } + } diff --git a/yarn.lock b/yarn.lock index 664f9c49..b3f32800 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21,20 +21,20 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.16.8.tgz#31560f9f29fdf1868de8cb55049538a1b9732a60" integrity sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q== -"@babel/core@7.16.7", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0", "@babel/core@^7.7.2", "@babel/core@^7.8.0": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.16.7.tgz#db990f931f6d40cb9b87a0dc7d2adc749f1dcbcf" - integrity sha512-aeLaqcqThRNZYmbMqtulsetOQZ/5gbR/dWruUCJcpas4Qoyy+QeagfDsPdMrqwsPRDNxJvBlRiZxxX7THO7qtA== +"@babel/core@7.16.10", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0", "@babel/core@^7.7.2", "@babel/core@^7.8.0": + version "7.16.10" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.16.10.tgz#ebd034f8e7ac2b6bfcdaa83a161141a646f74b50" + integrity sha512-pbiIdZbCiMx/MM6toR+OfXarYix3uz0oVsnNtfdAGTcCTu3w/JGF8JhirevXLBJUu0WguSZI12qpKnx7EeMyLA== dependencies: "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.16.7" + "@babel/generator" "^7.16.8" "@babel/helper-compilation-targets" "^7.16.7" "@babel/helper-module-transforms" "^7.16.7" "@babel/helpers" "^7.16.7" - "@babel/parser" "^7.16.7" + "@babel/parser" "^7.16.10" "@babel/template" "^7.16.7" - "@babel/traverse" "^7.16.7" - "@babel/types" "^7.16.7" + "@babel/traverse" "^7.16.10" + "@babel/types" "^7.16.8" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -42,7 +42,7 @@ semver "^6.3.0" source-map "^0.5.0" -"@babel/generator@^7.14.0", "@babel/generator@^7.16.7", "@babel/generator@^7.16.8", "@babel/generator@^7.7.2": +"@babel/generator@^7.14.0", "@babel/generator@^7.16.8", "@babel/generator@^7.7.2": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.8.tgz#359d44d966b8cd059d543250ce79596f792f2ebe" integrity sha512-1ojZwE9+lOXzcWdWmO6TbUzDfqLD39CmEhN8+2cX9XkDo5yW1OpgfejfliysR2AWLpMamTiOiAp/mtroaymhpw== @@ -76,10 +76,10 @@ browserslist "^4.17.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.7.tgz#9c5b34b53a01f2097daf10678d65135c1b9f84ba" - integrity sha512-kIFozAvVfK05DM4EVQYKK+zteWvY85BFdGBRQBytRyY3y+6PX0DkDOn/CZ3lEuczCfrCxEzwt0YtP/87YPTWSw== +"@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7": + version "7.16.10" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.10.tgz#8a6959b9cc818a88815ba3c5474619e9c0f2c21c" + integrity sha512-wDeej0pu3WN/ffTxMNCPW5UCiOav8IcLRxSIyp/9+IF2xJUM9h/OYjg0IJLHaL6F8oU8kqMz9nc1vryXhMsgXg== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" "@babel/helper-environment-visitor" "^7.16.7" @@ -259,18 +259,18 @@ "@babel/types" "^7.16.7" "@babel/highlight@^7.10.4", "@babel/highlight@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.7.tgz#81a01d7d675046f0d96f82450d9d9578bdfd6b0b" - integrity sha512-aKpPMfLvGO3Q97V0qhw/V2SWNWlwfJknuwAunU7wZLSfrM4xTBvg7E5opUVi1kJTBKihE38CPg4nBiqX83PWYw== + version "7.16.10" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88" + integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw== dependencies: "@babel/helper-validator-identifier" "^7.16.7" chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.7", "@babel/parser@^7.16.8", "@babel/parser@^7.7.0": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.8.tgz#61c243a3875f7d0b0962b0543a33ece6ff2f1f17" - integrity sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw== +"@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.10", "@babel/parser@^7.16.7", "@babel/parser@^7.7.0": + version "7.16.10" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.10.tgz#aba1b1cb9696a24a19f59c41af9cf17d1c716a88" + integrity sha512-Sm/S9Or6nN8uiFsQU1yodyDW3MWXQhFeqzMPM+t8MJjM+pLsnFVxFZzkpXKvUXh+Gz9cbMoYYs484+Jw/NTEFQ== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": version "7.16.7" @@ -407,12 +407,12 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-proposal-private-methods@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.7.tgz#e418e3aa6f86edd6d327ce84eff188e479f571e0" - integrity sha512-7twV3pzhrRxSwHeIvFE6coPgvo+exNDOiGUMg39o2LiLo1Y+4aKpfkcLGcg1UHonzorCt7SNXnoMyCnnIOA8Sw== +"@babel/plugin-proposal-private-methods@^7.16.11": + version "7.16.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz#e8df108288555ff259f4527dbe84813aac3a1c50" + integrity sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.16.7" + "@babel/helper-create-class-features-plugin" "^7.16.10" "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-proposal-private-property-in-object@^7.16.7": @@ -827,9 +827,9 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-transform-runtime@^7.0.0": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.16.8.tgz#3339368701103edae708f0fba9e4bfb70a3e5872" - integrity sha512-6Kg2XHPFnIarNweZxmzbgYnnWsXxkx9WQUVk2sksBRL80lBC1RAQV3wQagWxdCHiYHqPN+oenwNIuttlYgIbQQ== + version "7.16.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.16.10.tgz#53d9fd3496daedce1dd99639097fa5d14f4c7c2c" + integrity sha512-9nwTiqETv2G7xI4RvXHNfpGdr8pAA+Q/YtN3yLK7OoK7n9OibVm/xymJ838a9A6E/IciOLPj82lZk0fW6O4O7w== dependencies: "@babel/helper-module-imports" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" @@ -899,9 +899,9 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/preset-env@^7.12.9": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.16.8.tgz#e682fa0bcd1cf49621d64a8956318ddfb9a05af9" - integrity sha512-9rNKgVCdwHb3z1IlbMyft6yIXIeP3xz6vWvGaLHrJThuEIqWfHb0DNBH9VuTgnDfdbUDhkmkvMZS/YMCtP7Elg== + version "7.16.11" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.16.11.tgz#5dd88fd885fae36f88fd7c8342475c9f0abe2982" + integrity sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g== dependencies: "@babel/compat-data" "^7.16.8" "@babel/helper-compilation-targets" "^7.16.7" @@ -921,7 +921,7 @@ "@babel/plugin-proposal-object-rest-spread" "^7.16.7" "@babel/plugin-proposal-optional-catch-binding" "^7.16.7" "@babel/plugin-proposal-optional-chaining" "^7.16.7" - "@babel/plugin-proposal-private-methods" "^7.16.7" + "@babel/plugin-proposal-private-methods" "^7.16.11" "@babel/plugin-proposal-private-property-in-object" "^7.16.7" "@babel/plugin-proposal-unicode-property-regex" "^7.16.7" "@babel/plugin-syntax-async-generators" "^7.8.4" @@ -1034,10 +1034,10 @@ "@babel/parser" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.7.0", "@babel/traverse@^7.7.2", "@babel/traverse@^7.7.4": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.8.tgz#bab2f2b09a5fe8a8d9cad22cbfe3ba1d126fef9c" - integrity sha512-xe+H7JlvKsDQwXRsBhSnq1/+9c+LlQcCK3Tn/l5sbx02HYns/cn7ibp9+RV1sIUqu7hKg91NWsgHurO9dowITQ== +"@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0", "@babel/traverse@^7.16.10", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.7.0", "@babel/traverse@^7.7.2", "@babel/traverse@^7.7.4": + version "7.16.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.10.tgz#448f940defbe95b5a8029975b051f75993e8239f" + integrity sha512-yzuaYXoRJBGMlBhsMJoUW7G1UmSb/eXr/JHYM/MsOJgavJibLwASijW7oXBdw3NQ6T0bW7Ty5P/VarOs9cHmqw== dependencies: "@babel/code-frame" "^7.16.7" "@babel/generator" "^7.16.8" @@ -1045,7 +1045,7 @@ "@babel/helper-function-name" "^7.16.7" "@babel/helper-hoist-variables" "^7.16.7" "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/parser" "^7.16.8" + "@babel/parser" "^7.16.10" "@babel/types" "^7.16.8" debug "^4.1.0" globals "^11.1.0" @@ -1497,10 +1497,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@react-native-async-storage/async-storage@1.15.15": - version "1.15.15" - resolved "https://registry.yarnpkg.com/@react-native-async-storage/async-storage/-/async-storage-1.15.15.tgz#33f930aaebc602199a3294a9b1eafff7b56df409" - integrity sha512-Ss2FqWP9HC5AhCyP6ydRERSwWb8QMTLknETB8cp2+tbEUhu7Q/S5+e0QIrF0D2Z/YZTUvQ2MP7uXzt9FLG9OYQ== +"@react-native-async-storage/async-storage@1.15.16": + version "1.15.16" + resolved "https://registry.yarnpkg.com/@react-native-async-storage/async-storage/-/async-storage-1.15.16.tgz#830d62ff9353d4eab4f55e148c0f704da4a507b0" + integrity sha512-AR2JbbTY5T2zEiHrX6m1JPCw+ThAqWT9zb85BJi38arY2HYnF1wAk4BsfII/QtbQ58UJljvz4rl3/YLqL7LKdg== dependencies: merge-options "^3.0.4" @@ -1552,12 +1552,12 @@ plist "^3.0.2" xcode "^2.0.0" -"@react-native-community/cli-plugin-metro@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-6.2.0.tgz#143f459f1b6d595011e787ecfbe87621195de6ae" - integrity sha512-JfmzuFNzOr+dFTUQJo1rV0t87XAqgHRTMYXNleQVt8otOVCk1FSCgKlgqMdvQc/FCx2ZjoMWEEV/g0LrPI8Etw== +"@react-native-community/cli-plugin-metro@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-6.4.0.tgz#70b7908d6b548481f37ed58167f9460d325ae21c" + integrity sha512-lcrNODvHd3ZVhiEshXAjyBoqP44rjhkytkOSUpnZHAcmMLiguxDmvhWeWqbwu3XqSX/f0gVKmfj81t+opI1bSw== dependencies: - "@react-native-community/cli-server-api" "^6.2.0" + "@react-native-community/cli-server-api" "^6.4.0" "@react-native-community/cli-tools" "^6.2.0" chalk "^4.1.2" metro "^0.66.1" @@ -1568,10 +1568,10 @@ metro-runtime "^0.66.1" readline "^1.3.0" -"@react-native-community/cli-server-api@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-6.2.0.tgz#8dc399ef0e14e07c9942515b507292fb850f41f2" - integrity sha512-OnbnYclhoDpjge33QO5Slhfn0DsmLzzAgyrSCnb24HhSqwq7ObjMHaLpoEhpajzLG71wq5oKh0APEQjiL4Mknw== +"@react-native-community/cli-server-api@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-6.4.0.tgz#aa547839e54f9910d3671808e009489d2c2db0d9" + integrity sha512-zYUfOEHLTFEmNoa5oscgWOu2xtOcB4NZWqCdpkxNmgGQhC48CSNl8V4rxXLoozcymEsSUN0rj5pDRiXz/5CYow== dependencies: "@react-native-community/cli-debugger-ui" "^6.0.0-rc.0" "@react-native-community/cli-tools" "^6.2.0" @@ -1605,14 +1605,14 @@ ora "^3.4.0" "@react-native-community/cli@^6.0.0": - version "6.3.1" - resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-6.3.1.tgz#b5194a3a008cd7c76c79aaa93ce605d314e5bfd2" - integrity sha512-UQ77AkGvPzdwJt6qhYXUyDMP1v2rdCcIlrhU48FOcAhGX+N/LCL9Cp/Ic6CkiiSHJdktbgiEEJ2srprXH8nzVg== + version "6.4.0" + resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-6.4.0.tgz#0b61a4b5f11293b0b79a0e78f80777387a9529a9" + integrity sha512-UNvYnWaALa4mJEaWdLY3fVK+csZzx/Ja/FGvXISPJ9W9lrKvGtyXkidViUCPbPtMsJUi7teA4uIShHn0mbGmnQ== dependencies: "@react-native-community/cli-debugger-ui" "^6.0.0-rc.0" "@react-native-community/cli-hermes" "^6.3.0" - "@react-native-community/cli-plugin-metro" "^6.2.0" - "@react-native-community/cli-server-api" "^6.2.0" + "@react-native-community/cli-plugin-metro" "^6.4.0" + "@react-native-community/cli-server-api" "^6.4.0" "@react-native-community/cli-tools" "^6.2.0" "@react-native-community/cli-types" "^6.0.0" appdirsjs "^1.2.4" @@ -1901,10 +1901,10 @@ "@types/react" "*" "@types/react-native" "*" -"@types/react-native@*", "@types/react-native@0.66.12": - version "0.66.12" - resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.66.12.tgz#3afc5ad3a03601666a2c5893af6f2652bfaec651" - integrity sha512-4qQwvfXzVtik/cN/13wwH0cIMHYLzQ40iRazVdEEhjzz8YpNrkESSUUMsSE683YSse4zLShHQYWeI1x2/zB1BA== +"@types/react-native@*", "@types/react-native@0.66.15": + version "0.66.15" + resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.66.15.tgz#d332d82b04635adabbd8e1976f9547ce8662300b" + integrity sha512-qNK3LZhNpSd2Hdr0OFdvQ/VOb1qcjNhmw96LsOtxIN+1RtXHO/1dVzxYUlWnKMCtV+E5WSaWM703c9Q7gG9tyg== dependencies: "@types/react" "*" @@ -2920,9 +2920,9 @@ camelcase@^6.0.0, camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001286: - version "1.0.30001300" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001300.tgz#11ab6c57d3eb6f964cba950401fd00a146786468" - integrity sha512-cVjiJHWGcNlJi8TZVKNMnvMid3Z3TTdDHmLDzlOdIiZq138Exvo0G+G0wTdVYolxKb4AYwC+38pxodiInVtJSA== + version "1.0.30001301" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001301.tgz#ebc9086026534cab0dab99425d9c3b4425e5f450" + integrity sha512-csfD/GpHMqgEL3V3uIgosvh+SVIQvCh43SNu9HRbP1lnxkKm1kjDG4f32PP571JplkLjfS+mg2p1gxR7MYrrIA== capture-exit@^2.0.0: version "2.0.0" @@ -3281,11 +3281,11 @@ cosmiconfig@^6.0.0: yaml "^1.7.2" cross-fetch@^3.0.6, cross-fetch@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.4.tgz#9723f3a3a247bf8b89039f3a380a9244e8fa2f39" - integrity sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ== + version "3.1.5" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" + integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== dependencies: - node-fetch "2.6.1" + node-fetch "2.6.7" cross-spawn@^6.0.0, cross-spawn@^6.0.5: version "6.0.5" @@ -3615,9 +3615,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.4.17: - version "1.4.48" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.48.tgz#1948b5227aa0ca1ed690945eae1adbe9e7904575" - integrity sha512-RT3SEmpv7XUA+tKXrZGudAWLDpa7f8qmhjcLaM6OD/ERxjQ/zAojT8/Vvo0BSzbArkElFZ1WyZ9FuwAYbkdBNA== + version "1.4.50" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.50.tgz#edbeeca145494b1cd4a6a2aa1fe3d28abc0b08a4" + integrity sha512-g5X/6oVoqLyzKfsZ1HsJvxKoUAToFMCuq1USbmp/GPIwJDRYV1IEcv+plYTdh6h11hg140hycCBId0vf7rL0+Q== emittery@^0.8.1: version "0.8.1" @@ -4073,9 +4073,9 @@ expo-calendar@10.1.0: "@expo/config-plugins" "^4.0.2" expo-constants@~13.0.0: - version "13.0.0" - resolved "https://registry.yarnpkg.com/expo-constants/-/expo-constants-13.0.0.tgz#e167b0e4d064029e53a0bc89c8cffcb7cb8f2a0a" - integrity sha512-DwElzs1k6KljlZln/X2O9b5K4bXlDk8nzF5nzSLgI+Ibg/xUoIL5QKM41Y9RDJfTzlDlV7nmeS/Xar+nP5KjMA== + version "13.0.1" + resolved "https://registry.yarnpkg.com/expo-constants/-/expo-constants-13.0.1.tgz#fda7e0908f4d66f73f706cc8446148efe6767dd9" + integrity sha512-48rhXCZMJGVx/v4DEd9PqTY6V/xLgtWHBy8nos27QIpYCyiC27I3QUQEUI1T3MXUwBsIR4LLJuwnD/4IfftrBw== dependencies: "@expo/config" "^6.0.6" uuid "^3.3.2" @@ -4085,18 +4085,18 @@ expo-error-recovery@~3.0.4: resolved "https://registry.yarnpkg.com/expo-error-recovery/-/expo-error-recovery-3.0.4.tgz#de85c8c6b387d9b1e532256600882f2c2704383a" integrity sha512-7z2V7n9Yvm9/ogm4I1KgcsQZfgyDMSOBVHk8pA3IY0jL8+tXTyTrStxHsPXRjE8HHeYikfTRBIeFsh/1wWY7oA== -expo-file-system@13.2.0: - version "13.2.0" - resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-13.2.0.tgz#155fecd095d0aa01b9b78423077033e6ab852f0c" - integrity sha512-YboLdTuPVhYYcAIwYkJXsh0Ud6d3hwxU2DQ167lVktQ+SUIAyGN/VQQm1pkQBcpj/FFd2IM3NTD0ofx9qxyVGg== +expo-file-system@13.2.1: + version "13.2.1" + resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-13.2.1.tgz#b95c90ff16ad6d908948941262aedb011eac4c06" + integrity sha512-nEj4k2fRStRDEUm/PRJ7rOZi7Bx0wKKF4ys4zolJJi4EV2SZwZLU4DSZ/ExewJvDjnMLqOlZOPnsr306jx1kBw== dependencies: "@expo/config-plugins" "^4.0.14" uuid "^3.4.0" expo-file-system@~13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-13.1.0.tgz#7758617ad5bd60dac82c642bf8c85d0cdb00c117" - integrity sha512-Hd+aBfcZfiD9p2qOEMvcUJuEnQk5NEostZjT5gVkQmRoITUxf9wGgrX1tSAzF8JQAtOJVjfWYOwTMHq2H9M8AA== + version "13.1.1" + resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-13.1.1.tgz#4e30074c4f599c733d6a3183954555f539f61458" + integrity sha512-ONYQNPDdqVer5Hn2ZjlIXE4XKCoAg2SyOj/zRIMpdzEhEhf6DmbCpvPzqqFhvvqRgbw+kvxtCrmRdCtrR/82SA== dependencies: "@expo/config-plugins" "^4.0.2" uuid "^3.4.0" @@ -6909,10 +6909,12 @@ node-dir@^0.1.17: dependencies: minimatch "^3.0.2" -node-fetch@2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" - integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== +node-fetch@2.6.7, node-fetch@^2.2.0, node-fetch@^2.6.0: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" node-fetch@^1.0.1: version "1.7.3" @@ -6922,13 +6924,6 @@ node-fetch@^1.0.1: encoding "^0.1.11" is-stream "^1.0.1" -node-fetch@^2.2.0, node-fetch@^2.6.0: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -7665,10 +7660,10 @@ react-native-device-info@8.4.8: resolved "https://registry.yarnpkg.com/react-native-device-info/-/react-native-device-info-8.4.8.tgz#fc92ae423e47db6cfbf30c30012e09cee63727fa" integrity sha512-92676ZWHZHsPM/EW1ulgb2MuVfjYfMWRTWMbLcrCsipkcMaZ9Traz5mpsnCS7KZpsOksnvUinzDIjsct2XGc6Q== -react-native-document-picker@7.1.3: - version "7.1.3" - resolved "https://registry.yarnpkg.com/react-native-document-picker/-/react-native-document-picker-7.1.3.tgz#789593b2544d3ff385d0d6c5fb1fa2141d456be1" - integrity sha512-2T2/mw0+gCJRarbj/WTiKMraNvEGhfx2exRwHhK3irDYCmFh4CD03cpx45TCsELsHhSUYFuHykLv5HDx5TAndQ== +react-native-document-picker@8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/react-native-document-picker/-/react-native-document-picker-8.0.0.tgz#f760f89049cda668be8b1cfb31a484af19716f35" + integrity sha512-4O1FNOJHzfZ7BBFOJhNoeCKHSjthFtZyMEWJsAxX1ORdShGSa6miLvTHtQjpCDMNWSoPU1C7fXLNNPrv8GAarQ== dependencies: invariant "^2.2.4" @@ -7778,10 +7773,10 @@ react-native-webview@11.17.0: escape-string-regexp "2.0.0" invariant "2.2.4" -react-native@0.67.0: - version "0.67.0" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.67.0.tgz#401c0ab75566f1086ad194ef9c3e4551c10c14e5" - integrity sha512-LTrLbZhapgsF0J1fgKvkMVealNKVZ+Fp3XWVFHWmglVQvdmALdcafZR2Plvhe9IH8KJddj3LAU9nV3rHot7q4Q== +react-native@0.67.1: + version "0.67.1" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.67.1.tgz#a9cc13f1a691e9bb23f146f001e11fc0157af51c" + integrity sha512-doKN9qhtjilF+6p8603OVzqGKL4fq8EDAH5u00KPmZbL5ampHDQX9y8/uwlUvJggvHwZXlnvhW63u8Y1LA8rxw== dependencies: "@jest/create-cache-key-function" "^27.0.1" "@react-native-community/cli" "^6.0.0" @@ -8106,9 +8101,9 @@ resolve.exports@^1.1.0: integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.20.0: - version "1.21.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.21.0.tgz#b51adc97f3472e6a5cf4444d34bc9d6b9037591f" - integrity sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA== + version "1.21.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.21.1.tgz#1a88c73f5ca8ab0aabc8b888c4170de26c92c4cc" + integrity sha512-lfEImVbnolPuaSZuLQ52cAxPBHeI77sPwCOWRdy12UG/CNa8an7oBHH1R+Fp1/mUqSJi4c8TIP6FOIPSZAUrEQ== dependencies: is-core-module "^2.8.0" path-parse "^1.0.7" @@ -9074,10 +9069,10 @@ typesafe-actions@5.1.0: resolved "https://registry.yarnpkg.com/typesafe-actions/-/typesafe-actions-5.1.0.tgz#9afe8b1e6a323af1fd59e6a57b11b7dd6623d2f1" integrity sha512-bna6Yi1pRznoo6Bz1cE6btB/Yy8Xywytyfrzu/wc+NFW3ZF0I+2iCGImhBsoYYCOWuICtRO4yHcnDlzgo1AdNg== -typescript@4.5.4: - version "4.5.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.4.tgz#a17d3a0263bf5c8723b9c52f43c5084edf13c2e8" - integrity sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg== +typescript@4.5.5: + version "4.5.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" + integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== ua-parser-js@^0.7.30: version "0.7.31"