@mrnafisia/type-query
Advanced tools
Comparing version 2.0.13 to 2.0.14
@@ -42,3 +42,3 @@ "use strict"; | ||
typeof expression === 'boolean' || | ||
expression instanceof decimal_js_1.default || | ||
decimal_js_1.default.isDecimal(expression) || | ||
expression instanceof Date || | ||
@@ -45,0 +45,0 @@ typeof expression === 'number' || |
@@ -66,3 +66,3 @@ "use strict"; | ||
} | ||
if (value instanceof decimal_js_1.default) { | ||
if (decimal_js_1.default.isDecimal(value)) { | ||
return inline ? `'${value}'` : `${value}`; | ||
@@ -159,3 +159,3 @@ } | ||
} | ||
if (v instanceof decimal_js_1.default) { | ||
if (decimal_js_1.default.isDecimal(v)) { | ||
return v; | ||
@@ -162,0 +162,0 @@ } |
{ | ||
"name": "@mrnafisia/type-query", | ||
"version": "2.0.13", | ||
"version": "2.0.14", | ||
"description": "mini-orm with full type support for postgres.", | ||
@@ -39,5 +39,2 @@ "keywords": [ | ||
}, | ||
"peerDependencies": { | ||
"decimal.js": "10.4.3" | ||
}, | ||
"dependencies": { | ||
@@ -44,0 +41,0 @@ "decimal.js": "10.4.3", |
Sorry, the diff of this file is not supported yet
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
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
2
283572