New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-pg-subscriptions

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-pg-subscriptions - npm Package Compare versions

Comparing version 2.0.5 to 3.0.0

1

index.d.ts

@@ -7,2 +7,3 @@ import { Client, ClientConfig } from "pg";

client?: Client,
maxListeners?: number;
}

@@ -9,0 +10,0 @@

6

package.json
{
"name": "graphql-pg-subscriptions",
"version": "2.0.5",
"version": "3.0.0",
"description": "",

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

"devDependencies": {
"graphql": "^16.6.0",
"pg": "^8.11.0"
"graphql": "^16.8.1",
"pg": "^8.11.5"
}
}

@@ -12,3 +12,3 @@ const { PubSub } = require("graphql-subscriptions");

constructor(options = {}) {
const { commonMessageHandler, client, ...pgOptions } = options;
const { commonMessageHandler, client, maxListeners = 15, ...pgOptions } = options;
super();

@@ -20,2 +20,3 @@ this.client = client || new Client(pgOptions);

this.ee = new pgIPC(this.client);
this.ee.setMaxListeners(maxListeners);
this.subscriptions = {};

@@ -22,0 +23,0 @@ this.subIdCounter = 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