🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

react-native-local-mongodb

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-local-mongodb - npm Package Compare versions

Comparing version

to
3.0.0

@@ -42,3 +42,3 @@ var customUtils = require('./customUtils'),

this.timestampData = options.timestampData || false;
this.storage = options.storage || require('react-native').AsyncStorage;
this.storage = options.storage || require('@react-native-community/async-storage').AsyncStorage;
}

@@ -45,0 +45,0 @@

{
"name": "react-native-local-mongodb",
"version": "2.2.5",
"version": "3.0.0",
"author": "Antonio Presto <antoniopresto@gmail.com>",

@@ -23,3 +23,3 @@ "contributors": [

"dependencies": {
"async": "0.2.10",
"async": "2.6.2",
"babel-preset-env": "1.6.1",

@@ -32,3 +32,4 @@ "binary-search-tree": "0.2.5",

"peerDependencies": {
"react-native": "*"
"react-native": "*",
"@react-native-community/async-storage": "^1.2.1"
},

@@ -38,3 +39,3 @@ "devDependencies": {

"jest": "22.3.0",
"mocha": "1.4.x",
"mocha": "^5.2.0",
"sinon": "1.3.x"

@@ -49,3 +50,4 @@ },

"react-native": "<rootDir>/config/jest/reactNativeMock.js"
}
},
"testEnvironment": "node"
},

@@ -52,0 +54,0 @@ "main": "index",

@@ -8,2 +8,3 @@

#
> Starting with version 3.0.0 we use `@react-native-community/async-storage` as a peer pependence
> Starting with version 2.0.0, the `insert`,` update`, `remove`,` find`, and `findOne` methods no longer return promises - now they have a corresponding `Async` method (insertAsync, updateAsync, etc )

@@ -10,0 +11,0 @@ #