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.5 to 1.1.6

9

lib/make/projectColumnParser.js

@@ -184,2 +184,3 @@ const getParsedValueFromBinaryExpressionModule = require('./getParsedValueFromBinaryExpression');

}
if (!column.as) {

@@ -192,2 +193,10 @@ throw new Error(

}
if (column.expr.type === 'number' || column.expr.type === 'bool') {
result.parsedProject.$project[column.as] = {
$literal: column.expr.value,
};
return;
}
if (column.expr.type) {

@@ -194,0 +203,0 @@ throw new Error(`Not Supported:${column.expr.type}`);

2

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

@@ -5,0 +5,0 @@ "main": "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