@mrnafisia/type-query
Advanced tools
Comparing version 1.0.49 to 1.0.50
@@ -73,3 +73,3 @@ "use strict"; | ||
else { | ||
return function (v) { return v.comparedTo(max) >= 0; }; | ||
return function (v) { return v.comparedTo(max) <= 0; }; | ||
} | ||
@@ -79,6 +79,6 @@ } | ||
if (max === undefined) { | ||
return function (v) { return 0 >= v.comparedTo(min); }; | ||
return function (v) { return 0 <= v.comparedTo(min); }; | ||
} | ||
else { | ||
return function (v) { return 0 >= v.comparedTo(min) && v.comparedTo(max) >= 0; }; | ||
return function (v) { return 0 <= v.comparedTo(min) && v.comparedTo(max) <= 0; }; | ||
} | ||
@@ -85,0 +85,0 @@ } |
{ | ||
"name": "@mrnafisia/type-query", | ||
"version": "1.0.49", | ||
"version": "1.0.50", | ||
"description": "mini-orm with full type support for postgres.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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