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

@balena/abstract-sql-compiler

Package Overview
Dependencies
Maintainers
4
Versions
461
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/abstract-sql-compiler - npm Package Compare versions

Comparing version 7.0.5 to 7.0.6-fix-not-not-opt-dd8c6f3b63dd0b781f9768332416fb5371a8c809

test/abstract-sql/not-not-optimisations.ts

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Change Log

## 7.0.6 - 2020-11-30
* Fix the `NOT(NOT(...))` optimization [Pagan Gazzard]
## 7.0.5 - 2020-11-30

@@ -9,0 +13,0 @@

2

out/AbstractSQLOptimiser.js

@@ -775,3 +775,3 @@ "use strict";

case 'Not':
return typeRules.BooleanValue(rest);
return BooleanValue(rest[0]);
case 'Equals':

@@ -778,0 +778,0 @@ return typeRules.NotEquals(rest);

{
"name": "@balena/abstract-sql-compiler",
"version": "7.0.5",
"version": "7.0.6-fix-not-not-opt-dd8c6f3b63dd0b781f9768332416fb5371a8c809",
"description": "A translator for abstract sql into sql.",

@@ -5,0 +5,0 @@ "main": "out/AbstractSQLCompiler.js",

@@ -899,3 +899,3 @@ import * as _ from 'lodash';

case 'Not':
return typeRules.BooleanValue(rest);
return BooleanValue(rest[0] as AbstractSqlQuery);
case 'Equals':

@@ -902,0 +902,0 @@ return typeRules.NotEquals(rest);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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