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

pg-notify

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-notify - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

12

package.json
{
"name": "pg-notify",
"version": "0.0.20",
"version": "0.0.21",
"description": "Postgres pubsub client",

@@ -33,3 +33,3 @@ "main": "index.js",

"debug": "^4.3.4",
"pg": "^8.10.0",
"pg": "^8.11.0",
"pg-format": "^1.0.4",

@@ -39,9 +39,9 @@ "secure-json-parse": "^2.7.0"

"devDependencies": {
"@types/pg": "^8.6.6",
"ava": "^5.2.0",
"@types/pg": "^8.10.2",
"ava": "^5.3.1",
"benchmark": "^2.1.4",
"coveralls": "^3.1.1",
"dotenv": "^16.0.3",
"dotenv": "^16.3.0",
"nyc": "^15.1.0",
"standard": "^17.0.0",
"standard": "^17.1.0",
"tsd": "^0.28.1"

@@ -48,0 +48,0 @@ },

@@ -38,2 +38,6 @@ <h1 align="center">pg-notify</h1>

```sh
pnpm add pg-notify
```
## Usage

@@ -45,3 +49,3 @@

const PGPubSub = require('pg-notify')
// import PGPubSub from 'pg-notify
// import PGPubSub from 'pg-notify'

@@ -61,2 +65,4 @@ ;(async () => {

await pubsub.emit('test', { foo: 'bar' })
await pubsub.close()
})()

@@ -63,0 +69,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