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 7.4.0 to 7.4.1

11

lib/connection.js

@@ -65,3 +65,3 @@ 'use strict'

this.stream.on('error', function (error) {
const reportStreamError = function (error) {
// don't raise ECONNRESET errors - they can & should be ignored

@@ -73,3 +73,4 @@ // during disconnect

self.emit('error', error)
})
}
this.stream.on('error', reportStreamError)

@@ -102,7 +103,5 @@ this.stream.on('close', function () {

self.attachListeners(self.stream)
self.stream.on('error', reportStreamError)
self.emit('sslconnect')
self.stream.on('error', function (error) {
self.emit('error', error)
})
})

@@ -109,0 +108,0 @@ }

{
"name": "pg",
"version": "7.4.0",
"version": "7.4.1",
"description": "PostgreSQL client - pure javascript & libpq with the same API",

@@ -5,0 +5,0 @@ "keywords": [

@@ -70,3 +70,3 @@ # node-postgres

Copyright (c) 2010-2017 Brian Carlson (brian.m.carlson@gmail.com)
Copyright (c) 2010-2018 Brian Carlson (brian.m.carlson@gmail.com)

@@ -73,0 +73,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

@@ -13,1 +13,3 @@ node-postgres is made possible by the helpful contributors from the community well as the following generous supporters on [Patreon](https://www.patreon.com/node_postgres).

- Matthew Welke
- Matthew Weber
- Benjie Gillam

Sorry, the diff of this file is not supported yet

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