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

graphql-sse

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-sse - npm Package Compare versions

Comparing version 2.2.3 to 2.3.0

lib/use/koa.d.mts

2

lib/use/express.d.ts

@@ -10,3 +10,3 @@ import type { Request, Response } from 'express';

/**
* @category Server/fetch
* @category Server/express
*/

@@ -13,0 +13,0 @@ export type HandlerOptions<Context extends OperationContext = undefined> = RawHandlerOptions<Request, RequestContext, Context>;

@@ -10,3 +10,3 @@ import type { FastifyRequest, FastifyReply } from 'fastify';

/**
* @category Server/fetch
* @category Server/fastify
*/

@@ -13,0 +13,0 @@ export type HandlerOptions<Context extends OperationContext = undefined> = RawHandlerOptions<FastifyRequest, RequestContext, Context>;

@@ -11,3 +11,3 @@ /// <reference types="node" />

/**
* @category Server/fetch
* @category Server/http
*/

@@ -14,0 +14,0 @@ export type HandlerOptions<Context extends OperationContext = undefined> = RawHandlerOptions<IncomingMessage, RequestContext, Context>;

@@ -11,3 +11,3 @@ /// <reference types="node" />

/**
* @category Server/fetch
* @category Server/http2
*/

@@ -14,0 +14,0 @@ export type HandlerOptions<Context extends OperationContext = undefined> = RawHandlerOptions<Http2ServerRequest, RequestContext, Context>;

{
"name": "graphql-sse",
"version": "2.2.3",
"version": "2.3.0",
"description": "Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client",

@@ -85,9 +85,7 @@ "keywords": [

"scripts": {
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs",
"lint:eslint": "eslint src",
"lint:prettier": "prettier --check .",
"format": "yarn lint:prettier --write",
"lint": "yarn lint:eslint && yarn lint:prettier",
"type-check": "tsc --noEmit",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"check:format": "prettier --check .",
"format": "yarn check:format --write",
"check:lint": "eslint 'src'",
"check:type": "tsc --noEmit",
"test": "vitest",
"build:esm": "tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs",

@@ -97,3 +95,4 @@ "build:cjs": "tsc -b tsconfig.cjs.json",

"build": "yarn build:esm && yarn build:cjs && yarn build:umd",
"release": "semantic-release"
"release": "semantic-release",
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs"
},

@@ -104,11 +103,4 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-typescript": "^11.1.3",
"@semantic-release/changelog": "^6.0.3",

@@ -120,23 +112,25 @@ "@semantic-release/git": "^10.0.1",

"@types/glob": "^8.1.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"babel-jest": "^29.6.3",
"eslint": "^8.47.0",
"@types/koa": "^2.13.8",
"@types/koa-mount": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eventsource": "^2.0.2",
"express": "^4.18.2",
"fastify": "^4.21.0",
"glob": "^10.3.3",
"fastify": "^4.22.2",
"glob": "^10.3.4",
"graphql": "^16.8.0",
"jest": "^29.6.3",
"prettier": "^3.0.2",
"rollup": "^3.28.1",
"koa": "^2.14.2",
"koa-mount": "^4.0.0",
"prettier": "^3.0.3",
"rollup": "^3.29.0",
"rollup-plugin-gzip": "^3.1.0",
"semantic-release": "^21.0.9",
"semantic-release": "^21.1.1",
"tslib": "^2.6.2",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2",
"vitest": "^0.34.3"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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