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

@synatic/sql-to-mongo

Package Overview
Dependencies
Maintainers
11
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synatic/sql-to-mongo - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

7

lib/make/makeQueryPart.js

@@ -124,3 +124,3 @@ const makeProjectionExpressionPartModule = require('./makeProjectionExpressionPart');

}
if (queryPart.operator === 'LIKE') {
if (queryPart.operator === 'LIKE' || queryPart.operator === 'ILIKE') {
const likeVal = queryPart.right.value;

@@ -139,3 +139,6 @@ const regex = sqlStringToRegex(likeVal);

}
if (queryPart.operator === 'NOT LIKE') {
if (
queryPart.operator === 'NOT LIKE' ||
queryPart.operator === 'NOT ILIKE'
) {
const likeVal = queryPart.right.value;

@@ -142,0 +145,0 @@ const regexString = sqlStringToRegex(likeVal);

{
"name": "@synatic/sql-to-mongo",
"version": "1.1.6",
"version": "1.1.7",
"description": "Convert SQL to mongo queries or aggregates",

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

Sorry, the diff of this file is too big to display

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