postgresql-client
Advanced tools
Comparing version 1.21.0 to 1.21.1
@@ -24,5 +24,6 @@ "use strict"; | ||
isType(v) { | ||
return v instanceof BigInt || typeof v === 'number'; | ||
return typeof v === 'bigint' || | ||
(typeof v === 'number' && Number.isInteger(v)); | ||
} | ||
}; | ||
exports.ArrayInt8Type = Object.assign(Object.assign({}, exports.Int8Type), { name: '_int8', oid: definitions_1.DataTypeOIDs._int8, elementsOID: definitions_1.DataTypeOIDs.int8 }); |
{ | ||
"name": "postgresql-client", | ||
"description": "Professional PostgreSQL client for JavaScript and TypeScript", | ||
"version": "1.21.0", | ||
"version": "1.21.1", | ||
"author": "Panates", | ||
@@ -78,3 +78,3 @@ "contributors": [ | ||
"clean:src": "ts-cleanup -s src --all | ts-cleanup -s test", | ||
"prebuild": "npm run clean | npm run lint", | ||
"prebuild": "npm run clean && npm run lint", | ||
"build": "tsc -b tsconfig-build.json", | ||
@@ -81,0 +81,0 @@ "compile": "tsc -b tsconfig.json", |
205974
5270