react-native-local-mongodb
Advanced tools
Comparing version
@@ -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 @@ # |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
230121
0.09%625
0.16%8
14.29%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
Updated