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

@synatic/noql

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synatic/noql - npm Package Compare versions

Comparing version 4.1.18 to 4.1.19

14

lib/make/makeCaseCondition.js

@@ -23,4 +23,4 @@ const makeFilterConditionModule = require('./makeFilterCondition');

branches: whens.map((w) => {
return {
case: makeFilterConditionModule.makeFilterCondition(
const caseCondition =
makeFilterConditionModule.makeFilterCondition(
w.cond,

@@ -35,4 +35,5 @@ context,

true
),
then: makeFilterConditionModule.makeFilterCondition(
);
const thenCondition =
makeFilterConditionModule.makeFilterCondition(
w.result,

@@ -45,3 +46,6 @@ context,

true
),
);
return {
case: caseCondition,
then: thenCondition,
};

@@ -48,0 +52,0 @@ }),

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

const $check = require('check-types');
const makeCaseConditionModule = require('./makeCaseCondition');

@@ -123,2 +124,5 @@ exports.makeFilterCondition = makeFilterCondition;

}
if (queryPart.type === 'case') {
return makeCaseConditionModule.makeCaseCondition(queryPart, context);
}

@@ -125,0 +129,0 @@ throw new Error(

{
"name": "@synatic/noql",
"version": "4.1.18",
"version": "4.1.19",
"description": "Convert SQL statements 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