xpress-mongo
Advanced tools
Comparing version 0.0.37 to 0.0.38
@@ -35,3 +35,5 @@ import {MongoClient, MongoClientOptions} from "mongodb"; | ||
function parseServerUrl(url: string, options: { dbname: string, password: string }) { | ||
options.password = encodeURI(options.password); | ||
if (options.password) | ||
options.password = encodeURI(options.password); | ||
return url.replace('<dbname>', options.dbname) | ||
@@ -38,0 +40,0 @@ .replace('<password>', options.password); |
@@ -44,3 +44,4 @@ "use strict"; | ||
function parseServerUrl(url, options) { | ||
options.password = encodeURI(options.password); | ||
if (options.password) | ||
options.password = encodeURI(options.password); | ||
return url.replace('<dbname>', options.dbname) | ||
@@ -47,0 +48,0 @@ .replace('<password>', options.password); |
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
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
136481
3738