native-mongo-util
Advanced tools
Comparing version 3.3.0 to 4.0.0
@@ -5,3 +5,3 @@ const Log = require('logger3000').getLogger(__filename); | ||
const Promise = require('bluebird'); | ||
const { MongoClient, ObjectId } = require('mongodb'); | ||
const { MongoClient, ObjectId, ReadPreference } = require('mongodb'); | ||
const assert = require('assert'); | ||
@@ -71,2 +71,3 @@ const { MONGO_URL = 'mongodb://localhost/test', PROCESS_EXIT_ON_MONGO_ERROR = 'true' } = process.env; | ||
useNewUrlParser: true, | ||
readPreference: ReadPreference.SECONDARY_PREFERRED, | ||
}; | ||
@@ -73,0 +74,0 @@ |
{ | ||
"name": "native-mongo-util", | ||
"version": "3.3.0", | ||
"version": "4.0.0", | ||
"description": "", | ||
@@ -25,19 +25,19 @@ "main": "index.js", | ||
"tunnel-ssh": "^4.1.4", | ||
"logger3000": "0.1.1", | ||
"logger3000": "0.2.0", | ||
"memoizee": "^0.4.14", | ||
"mongodb": "^3.5.7", | ||
"mongodb": "^3.6.1", | ||
"then-sleep": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"ava": "^3.6.0", | ||
"ava": "^3.12.1", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.8.1", | ||
"eslint-config-lil": "^1.0.6", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-config-xo-space": "^0.24.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-config-xo-space": "^0.25.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"event-stream": ">=4.0.1", | ||
"nodemon": "^2.0.2", | ||
"prettier": "^2.0.4" | ||
"nodemon": "^2.0.4", | ||
"prettier": "^2.1.1" | ||
} | ||
} |
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
14152
298
+ Added@hapi/bourne@2.1.0(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddateformat@4.6.3(transitive)
+ Addedfast-redact@3.5.0(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedlogger3000@0.2.0(transitive)
+ Addedpino@6.14.0(transitive)
+ Addedpino-pretty@4.8.0(transitive)
+ Addedpino-std-serializers@3.2.0(transitive)
+ Addedprocess-warning@1.0.0(transitive)
+ Addedquick-format-unescaped@4.0.4(transitive)
+ Addedrfdc@1.4.1(transitive)
+ Addedsonic-boom@1.4.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removed@hapi/bourne@1.3.2(transitive)
- Removeddateformat@3.0.3(transitive)
- Removedfast-redact@2.1.0(transitive)
- Removedlogger3000@0.1.1(transitive)
- Removedpino@5.17.0(transitive)
- Removedpino-pretty@3.6.1(transitive)
- Removedpino-std-serializers@2.5.0(transitive)
- Removedquick-format-unescaped@3.0.3(transitive)
- Removedsonic-boom@0.7.7(transitive)
Updatedlogger3000@0.2.0
Updatedmongodb@^3.6.1