Socket
Socket
Sign inDemoInstall

pg

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg - npm Package Compare versions

Comparing version 8.7.3 to 8.8.0

3

lib/client.js

@@ -406,2 +406,5 @@ 'use strict'

}
if (params.lock_timeout) {
data.lock_timeout = String(parseInt(params.lock_timeout, 10))
}
if (params.idle_in_transaction_session_timeout) {

@@ -408,0 +411,0 @@ data.idle_in_transaction_session_timeout = String(parseInt(params.idle_in_transaction_session_timeout, 10))

@@ -106,2 +106,3 @@ 'use strict'

this.statement_timeout = val('statement_timeout', config, false)
this.lock_timeout = val('lock_timeout', config, false)
this.idle_in_transaction_session_timeout = val('idle_in_transaction_session_timeout', config, false)

@@ -108,0 +109,0 @@ this.query_timeout = val('query_timeout', config, false)

@@ -57,2 +57,6 @@ 'use strict'

// Abort any statement that waits longer than the specified duration in milliseconds while attempting to acquire a lock.
// false=unlimited
lock_timeout: false,
// Terminate any session with an open transaction that has been idle for longer than the specified duration in milliseconds

@@ -59,0 +63,0 @@ // false=unlimited

@@ -138,3 +138,10 @@ 'use strict'

if (this.callback) {
this.callback(null, this._results)
try {
this.callback(null, this._results)
}
catch(err) {
process.nextTick(() => {
throw err
})
}
}

@@ -141,0 +148,0 @@ this.emit('end', this._results)

10

package.json
{
"name": "pg",
"version": "8.7.3",
"version": "8.8.0",
"description": "PostgreSQL client - pure javascript & libpq with the same API",

@@ -26,3 +26,3 @@ "keywords": [

"pg-connection-string": "^2.5.0",
"pg-pool": "^3.5.1",
"pg-pool": "^3.5.2",
"pg-protocol": "^1.5.0",

@@ -33,3 +33,3 @@ "pg-types": "^2.1.0",

"devDependencies": {
"async": "0.9.0",
"async": "2.6.4",
"bluebird": "3.5.2",

@@ -40,3 +40,3 @@ "co": "4.6.0",

"peerDependencies": {
"pg-native": ">=2.0.0"
"pg-native": ">=3.0.1"
},

@@ -59,3 +59,3 @@ "peerDependenciesMeta": {

},
"gitHead": "4fa7ee891a456168a75695ac026792136f16577f"
"gitHead": "c99fb2c127ddf8d712500db2c7b9a5491a178655"
}
# node-postgres
[![Build Status](https://secure.travis-ci.org/brianc/node-postgres.svg?branch=master)](http://travis-ci.org/brianc/node-postgres)
[![Dependency Status](https://david-dm.org/brianc/node-postgres.svg?path=packages/pg)](https://david-dm.org/brianc/node-postgres?path=packages/pg)
<span class="badge-npmversion"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/v/pg.svg" alt="NPM version" /></a></span>

@@ -6,0 +5,0 @@ <span class="badge-npmdownloads"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/pg.svg" alt="NPM downloads" /></a></span>

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