couch-init2
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -21,3 +21,3 @@ const _ = require('inv-loggers') | ||
var msg | ||
if (!/^https?:\/\/\w+:[^@]+@.+/.test(dbBaseUrl)) { | ||
if (!/^https?:\/\/[\w-]+:[^@]+@.+/.test(dbBaseUrl)) { | ||
msg = 'expected a db url with username and password' | ||
@@ -24,0 +24,0 @@ return bluebird.reject(new Error(msg)) |
{ | ||
"name": "couch-init2", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "Opiniated CouchDB databases initializer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
53478
10