@balena/abstract-sql-compiler
Advanced tools
Comparing version 7.0.5 to 7.0.6-fix-not-not-opt-dd8c6f3b63dd0b781f9768332416fb5371a8c809
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
522517
43
7318
2