Socket
Socket
Sign inDemoInstall

mongodb-uri

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.6 to 0.9.7

4

mongodb-uri.js

@@ -72,3 +72,3 @@ /*

uriObject.options = {};
options.split(',').forEach(function (o) {
options.split('&').forEach(function (o) {
var iEquals = o.indexOf('=');

@@ -155,3 +155,3 @@ uriObject.options[decodeURIComponent(o.substring(0, iEquals))] = decodeURIComponent(o.substring(iEquals + 1));

Object.keys(uriObject.options).forEach(function (k, i) {
uri += i === 0 ? '?' : ',';
uri += i === 0 ? '?' : '&';
uri += encodeURIComponent(k) + '=' + encodeURIComponent(uriObject.options[k]);

@@ -158,0 +158,0 @@ });

{
"name": "mongodb-uri",
"version": "0.9.6",
"version": "0.9.7",
"description": "A parser and formatter for MongoDB URIs.",

@@ -5,0 +5,0 @@ "keywords": [ "mongodb", "uri", "url", "parser", "formatter", "mongoose" ],

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc