postgresql-client
Advanced tools
Comparing version 1.18.3 to 1.18.4
@@ -5,2 +5,3 @@ "use strict"; | ||
const escape_literal_1 = require("./escape-literal"); | ||
const UuidType_1 = require("../data-types/UuidType"); | ||
function stringifyArrayForSQL(v, options, encode) { | ||
@@ -24,2 +25,4 @@ const arr = v.map(x => stringifyValueForSQL(x, options, encode)); | ||
return v.toString(); | ||
if (typeof v === 'string' && UuidType_1.UuidType.isType(v)) | ||
return (0, escape_literal_1.escapeLiteral)('' + v) + '::uuid'; | ||
if (typeof v === 'object') | ||
@@ -26,0 +29,0 @@ return (0, escape_literal_1.escapeLiteral)(JSON.stringify(v)); |
{ | ||
"name": "postgresql-client", | ||
"description": "Professional PostgreSQL client for JavaScript and TypeScript", | ||
"version": "1.18.3", | ||
"version": "1.18.4", | ||
"author": "Panates", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
201837
5183