Comparing version 3.0.1 to 3.0.2
@@ -33,3 +33,8 @@ const os = require('os') | ||
fromKebab, | ||
BigInt | ||
BigInt: { | ||
to: 20, | ||
from: [20], | ||
parse: x => BigInt(x), // eslint-disable-line | ||
serialize: x => x.toString() | ||
} | ||
}) | ||
@@ -36,0 +41,0 @@ |
@@ -34,3 +34,3 @@ module.exports = Subscribe;function Subscribe(postgres, options) { | ||
? listeners.get(event).add(fn) | ||
: listeners.set(event, new Set([fn])) | ||
: listeners.set(event, new Set([fn])).get(event) | ||
@@ -184,3 +184,3 @@ const unsubscribe = () => { | ||
old && (i = tuples(x, old, key ? relation.keys : relation.columns, ++i)) | ||
old && (i = tuples(x, old, key ? relation.keys : relation.columns, i += 3)) | ||
@@ -187,0 +187,0 @@ const row = {} |
@@ -42,9 +42,2 @@ const { Query } = require('./query.js') | ||
const BigInt = module.exports.BigInt = { | ||
to: 1700, | ||
from: [20, 701, 1700], | ||
parse: x => BigInt(x), // eslint-disable-line | ||
serialize: x => x.toString() | ||
} | ||
class NotTagged { then() { notTagged() } catch() { notTagged() } finally() { notTagged() }} | ||
@@ -200,3 +193,3 @@ | ||
(x === true || x === false) ? 16 : | ||
typeof x === 'bigint' ? 1700 : | ||
typeof x === 'bigint' ? 20 : | ||
Array.isArray(x) ? inferType(x[0]) : | ||
@@ -203,0 +196,0 @@ 0 |
{ | ||
"name": "postgres", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Fastest full featured PostgreSQL client for Node.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -33,3 +33,8 @@ import os from 'os' | ||
fromKebab, | ||
BigInt | ||
BigInt: { | ||
to: 20, | ||
from: [20], | ||
parse: x => BigInt(x), // eslint-disable-line | ||
serialize: x => x.toString() | ||
} | ||
}) | ||
@@ -36,0 +41,0 @@ |
@@ -34,3 +34,3 @@ export default function Subscribe(postgres, options) { | ||
? listeners.get(event).add(fn) | ||
: listeners.set(event, new Set([fn])) | ||
: listeners.set(event, new Set([fn])).get(event) | ||
@@ -184,3 +184,3 @@ const unsubscribe = () => { | ||
old && (i = tuples(x, old, key ? relation.keys : relation.columns, ++i)) | ||
old && (i = tuples(x, old, key ? relation.keys : relation.columns, i += 3)) | ||
@@ -187,0 +187,0 @@ const row = {} |
@@ -42,9 +42,2 @@ import { Query } from './query.js' | ||
export const BigInt = { | ||
to: 1700, | ||
from: [20, 701, 1700], | ||
parse: x => BigInt(x), // eslint-disable-line | ||
serialize: x => x.toString() | ||
} | ||
class NotTagged { then() { notTagged() } catch() { notTagged() } finally() { notTagged() }} | ||
@@ -200,3 +193,3 @@ | ||
(x === true || x === false) ? 16 : | ||
typeof x === 'bigint' ? 1700 : | ||
typeof x === 'bigint' ? 20 : | ||
Array.isArray(x) ? inferType(x[0]) : | ||
@@ -203,0 +196,0 @@ 0 |
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
181120
4647