@react-native-async-storage/async-storage
Advanced tools
Comparing version 1.17.10 to 1.17.11
@@ -53,5 +53,3 @@ "use strict"; | ||
return Promise.all(promises).then(result => { | ||
var _processResult; | ||
const value = (_processResult = processResult === null || processResult === void 0 ? void 0 : processResult(result)) !== null && _processResult !== void 0 ? _processResult : null; | ||
const value = (processResult === null || processResult === void 0 ? void 0 : processResult(result)) ?? null; | ||
callback === null || callback === void 0 ? void 0 : callback(null, value); | ||
@@ -58,0 +56,0 @@ return Promise.resolve(value); |
@@ -43,5 +43,3 @@ /** | ||
return Promise.all(promises).then(result => { | ||
var _processResult; | ||
const value = (_processResult = processResult === null || processResult === void 0 ? void 0 : processResult(result)) !== null && _processResult !== void 0 ? _processResult : null; | ||
const value = (processResult === null || processResult === void 0 ? void 0 : processResult(result)) ?? null; | ||
callback === null || callback === void 0 ? void 0 : callback(null, value); | ||
@@ -48,0 +46,0 @@ return Promise.resolve(value); |
{ | ||
"name": "@react-native-async-storage/async-storage", | ||
"version": "1.17.10", | ||
"version": "1.17.11", | ||
"description": "Asynchronous, persistent, key-value storage system for React Native.", | ||
@@ -40,3 +40,3 @@ "main": "lib/commonjs/index.js", | ||
"scripts": { | ||
"ci": "yarn --pure-lockfile --non-interactive --cache-folder .cache/yarn", | ||
"ci": "yarn --pure-lockfile --non-interactive", | ||
"format": "concurrently yarn:format:*", | ||
@@ -51,3 +51,3 @@ "format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')", | ||
"start:web": "expo start:web", | ||
"start:windows": "react-native start --use-react-native-windows", | ||
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging --no-packager --no-telemetry", | ||
"build:e2e:android": "scripts/android_e2e.sh 'build'", | ||
@@ -70,3 +70,3 @@ "build:e2e:ios": "scripts/ios_e2e.sh 'build'", | ||
"peerDependencies": { | ||
"react-native": "^0.0.0-0 || 0.60 - 0.70 || 1000.0.0" | ||
"react-native": "^0.0.0-0 || 0.60 - 0.71 || 1000.0.0" | ||
}, | ||
@@ -76,23 +76,24 @@ "devDependencies": { | ||
"@babel/preset-env": "^7.1.6", | ||
"@expo/webpack-config": "^0.16.0", | ||
"@react-native-community/eslint-config": "^3.0.0", | ||
"@semantic-release/changelog": "^6.0.0", | ||
"@semantic-release/git": "^10.0.0", | ||
"@types/lodash": "^4.14.184", | ||
"@types/react": "^17.0.0", | ||
"@types/react-native": "^0.66.0", | ||
"@types/react-native": "^0.68.0", | ||
"concurrently": "^6.4.0", | ||
"detox": "^19.4.5", | ||
"eslint": "^7.0.0", | ||
"expo": "^43.0.0", | ||
"eslint": "^8.0.0", | ||
"expo": "^45.0.0", | ||
"jest": "^26.6.3", | ||
"jest-circus": "^26.6.1", | ||
"lodash": "^4.17.21", | ||
"prettier": "^2.5.1", | ||
"react": "17.0.2", | ||
"react-dom": "17.0.2", | ||
"react-native": "^0.66.0-0", | ||
"react-native": "^0.68.0", | ||
"react-native-builder-bob": "^0.18.0", | ||
"react-native-macos": "^0.66.0-0", | ||
"react-native-test-app": "^1.3.4", | ||
"react-native-macos": "^0.68.0", | ||
"react-native-test-app": "^1.6.10", | ||
"react-native-web": "^0.17.0", | ||
"react-native-windows": "^0.66.0-0", | ||
"react-native-windows": "^0.68.0", | ||
"react-test-renderer": "17.0.2", | ||
@@ -99,0 +100,0 @@ "semantic-release": "^19.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
407141
27
2169