Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-storage

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-storage - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "react-native-storage",
"version": "0.0.2",
"version": "0.0.3",
"description": "This is a local storage wrapper for both react-native(AsyncStorage) and browser(localStorage). ES6/babel is needed.",

@@ -5,0 +5,0 @@ "main": "storage.js",

@@ -132,3 +132,3 @@ /*

}
static _loadGlobalItem(ret, resolve, reject){
static _loadGlobalItem(id, ret, resolve, reject){
if(ret === null || ret === 'undefined'){

@@ -207,7 +207,7 @@ if(Storage.sync[id]){

ret = s.getItem(id);
Storage._loadGlobalItem(ret, resolve, reject);
Storage._loadGlobalItem(id, ret, resolve, reject);
}
else{
s.getItem(id).then(ret => {
Storage._loadGlobalItem(ret, resolve, reject);
Storage._loadGlobalItem(id, ret, resolve, reject);
})

@@ -214,0 +214,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc