Comparing version 7.1.0 to 7.1.1
@@ -0,1 +1,5 @@ | ||
# 7.1.1 / 2019-10-11 | ||
- Allow for `mongo+srv` uri (Thanks @s-zimm!) | ||
# 7.1.0 / 2019-09-30 | ||
@@ -2,0 +6,0 @@ |
@@ -87,3 +87,3 @@ var mongo = require('mongodb') | ||
if (typeof uri === 'string') { | ||
if (!/^mongodb:\/\//.test(uri)) { | ||
if (!/^mongodb(\+srv)?:\/\//.test(uri)) { | ||
uri = 'mongodb://' + uri | ||
@@ -90,0 +90,0 @@ } |
{ | ||
"name": "monk", | ||
"description": "The wise MongoDB API", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"main": "lib/monk.js", | ||
@@ -6,0 +6,0 @@ "types": "./index.d.ts", |
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
43726