Skip to content

Commit dab59bc

Browse files
author
Krzysztof Borowy
committed
nit and build
1 parent f03773a commit dab59bc

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ buildscript {
4242
mavenCentral()
4343
jcenter()
4444
}
45-
ext.kotlinVersion = '1.5.31'
4645

4746
dependencies {
4847
classpath "com.android.tools.build:gradle:$androidPluginVersion"
48+
// kotlinVersion is applied from react-native-test-app's dependencies.gradle script
4949
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
5050
}
5151
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"react-native": "0.63.4",
8989
"react-native-builder-bob": "^0.18.0",
9090
"react-native-macos": "^0.63.4",
91-
"react-native-test-app": "^0.9.0",
91+
"react-native-test-app": "^0.9.5",
9292
"react-native-web": "~0.12.0",
9393
"react-native-windows": "^0.63.41",
9494
"react-test-renderer": "16.13.1",

src/AsyncStorage.native.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,12 @@ const AsyncStorage = {
297297

298298
for (let i = 0; i < reqLength; i++) {
299299
const request = getRequests[i];
300-
const requestKeys = request.keys;
301300
if (error) {
302301
request.callback && request.callback(error);
303302
request.reject && request.reject(error);
304303
continue;
305304
}
306-
const requestResult = requestKeys.map((key) => [key, map[key]]);
305+
const requestResult = request.keys.map((key) => [key, map[key]]);
307306
request.callback && request.callback(null, requestResult);
308307
request.resolve && request.resolve(requestResult);
309308
}

yarn.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11835,15 +11835,16 @@ react-native-safe-area-context@~3.0.7:
1183511835
resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-3.0.7.tgz#0f53de7a30d626d82936000f3f6db374ecc4b800"
1183611836
integrity sha512-dqhRTlIFe5+P1yxitj0C9XVUxLqOmjomeqzUSSY8sNOWVjtIhEY/fl4ZKYpAVnktd8dt3zl13XmJTmRmy3d0uA==
1183711837

11838-
react-native-test-app@^0.9.0:
11839-
version "0.9.0"
11840-
resolved "https://registry.yarnpkg.com/react-native-test-app/-/react-native-test-app-0.9.0.tgz#fd8669fd34703a02bfdab9ba7a98268002cc2fa4"
11841-
integrity sha512-HMI15lJqWZEOA1O5VvzxYG7mEzuKhkztxarWqVibUhcgOsK3U8fidq2+b18E1BiFpaDI+4zppkib/+/5LTjReQ==
11838+
react-native-test-app@^0.9.5:
11839+
version "0.9.11"
11840+
resolved "https://registry.yarnpkg.com/react-native-test-app/-/react-native-test-app-0.9.11.tgz#685c1252a4133531ba9590dbed0fa92c9fa5da35"
11841+
integrity sha512-XpysqX3UBb182ctcm02keNc0gjrS+Ae8kYfhZzR53zm3JqMY3gAluAmHwEKFzeHrGaL0mWtvvMTutex+VF1Ttw==
1184211842
dependencies:
1184311843
chalk "^4.1.0"
1184411844
prompts "^2.4.0"
1184511845
rimraf "^3.0.0"
1184611846
semver "^7.3.5"
11847+
uuid "^8.3.2"
1184711848
yargs "^16.0.0"
1184811849

1184911850
react-native-web@~0.12.0:
@@ -14122,7 +14123,7 @@ uuid@^7.0.3:
1412214123
resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b"
1412314124
integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==
1412414125

14125-
uuid@^8.3.0:
14126+
uuid@^8.3.0, uuid@^8.3.2:
1412614127
version "8.3.2"
1412714128
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
1412814129
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==

0 commit comments

Comments
 (0)