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

graphql-playground-middleware-express

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-playground-middleware-express - npm Package Compare versions

Comparing version 1.3.1 to 1.3.5

2

dist/index.d.ts
import { Request, Response } from 'express';
import { MiddlewareOptions } from 'graphql-playground-middleware';
import { MiddlewareOptions } from 'graphql-playground-html';
export declare type ExpressPlaygroundMiddleware = (req: Request, res: Response, next: () => void) => void;

@@ -4,0 +4,0 @@ export declare type Register = (options: MiddlewareOptions) => ExpressPlaygroundMiddleware;

@@ -11,3 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var graphql_playground_middleware_1 = require("graphql-playground-middleware");
var graphql_playground_html_1 = require("graphql-playground-html");
/* tslint:disable */

@@ -19,3 +19,3 @@ var version = require('../package.json').version;

res.setHeader('Content-Type', 'text/html');
res.write(graphql_playground_middleware_1.renderPlaygroundPage(middlewareOptions));
res.write(graphql_playground_html_1.renderPlaygroundPage(middlewareOptions));
res.end();

@@ -22,0 +22,0 @@ next();

{
"name": "graphql-playground-middleware-express",
"version": "1.3.1",
"version": "1.3.5",
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express",

@@ -34,9 +34,10 @@ "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",

},
"dependencies": {
"graphql-playground-html": "^1.3.5",
"graphql-playground-middleware": "^1.2.1-beta.6"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
},
"dependencies": {
"graphql-playground-middleware": "^1.2.1-beta.6"
}
}

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