Socket
Socket
Sign inDemoInstall

damless-mongo

Package Overview
Dependencies
382
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.1 to 0.4.2

6

lib/services/mongo-querystring.js

@@ -88,3 +88,3 @@ /*!

}
formatCommaOperators(str) {

@@ -94,4 +94,5 @@ if (!str.match(/,/)) return str;

return item.replace(/(.+)=((.+)(,(.+))+)/g, (querystring, p1, p2) => {
if (p1.match(/\[\$regex\]$/g)) return querystring; // do not split regexp
return p2.split(',').map((item) => {
return p1 + '[$in]=' + item;
return `${p1}[$in]=${item}`;
}).join('&');

@@ -101,2 +102,3 @@ });

}

@@ -103,0 +105,0 @@ validateFilter(filter) {

{
"name": "damless-mongo",
"version": "0.4.1",
"version": "0.4.2",
"description": "Mongo client for damless",

@@ -5,0 +5,0 @@ "main": "index.js",

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