Socket
Socket
Sign inDemoInstall

pg

Package Overview
Dependencies
8
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.9.0 to 8.10.0

4

lib/client.js

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

this._ending = false
this._ended = false
this._connecting = false

@@ -136,2 +137,3 @@ this._connected = false

this._errorAllQueries(error)
this._ended = true

@@ -608,3 +610,3 @@ if (!this._ending) {

// if we have never connected, then end is a noop, callback immediately
if (!this.connection._connecting) {
if (!this.connection._connecting || this._ended) {
if (cb) {

@@ -611,0 +613,0 @@ cb()

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

attachListeners(stream) {
stream.on('end', () => {
this.emit('end')
})
parse(stream, (msg) => {

@@ -116,0 +113,0 @@ var eventName = msg.name === 'error' ? 'errorMessage' : msg.name

{
"name": "pg",
"version": "8.9.0",
"version": "8.10.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.2",
"pg-pool": "^3.6.0",
"pg-protocol": "^1.6.0",

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

},
"gitHead": "20a243e8b30926a348cafc44177e95345618f7bc"
"gitHead": "ee302cbcf10437e34fd05d70fc003c357b14c654"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc