Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postgres

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postgres - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

7

cjs/src/index.js

@@ -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 @@

4

cjs/src/subscribe.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc