Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xpress-mongo

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpress-mongo - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

4

index.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc