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

@graphql-yoga/subscription

Package Overview
Dependencies
Maintainers
4
Versions
1280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-yoga/subscription - npm Package Compare versions

Comparing version 5.0.2-alpha-20240728232210-e814a390 to 5.0.2-alpha-20241210123611-f4662dbf9aa3c5cecef72af390b444c23a91d59e

3

cjs/create-pub-sub.js

@@ -5,2 +5,3 @@ "use strict";

const repeater_1 = require("@repeaterjs/repeater");
const events_1 = require("@whatwg-node/events");
/**

@@ -15,3 +16,3 @@ * Utility for publishing and subscribing to events.

const topic = args[1] === undefined ? routingKey : `${routingKey}:${args[0]}`;
const event = new CustomEvent(topic, {
const event = new events_1.CustomEvent(topic, {
detail: payload,

@@ -18,0 +19,0 @@ });

import { Repeater } from '@repeaterjs/repeater';
import { CustomEvent } from '@whatwg-node/events';
/**

@@ -3,0 +4,0 @@ * Utility for publishing and subscribing to events.

{
"name": "@graphql-yoga/subscription",
"version": "5.0.2-alpha-20240728232210-e814a390",
"version": "5.0.2-alpha-20241210123611-f4662dbf9aa3c5cecef72af390b444c23a91d59e",
"description": "",

@@ -8,4 +8,5 @@ "sideEffects": true,

"@repeaterjs/repeater": "^3.0.4",
"@whatwg-node/events": "^0.1.0",
"tslib": "^2.5.2",
"@graphql-yoga/typed-event-target": "^3.0.0"
"@graphql-yoga/typed-event-target": "^3.0.1-alpha-20241210123611-f4662dbf9aa3c5cecef72af390b444c23a91d59e"
},

@@ -12,0 +13,0 @@ "repository": {

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