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

graphql-playground-middleware-koa

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.1 to 1.3.5

2

dist/index.d.ts
import { Context } from 'koa';
import { MiddlewareOptions } from 'graphql-playground-middleware';
import { MiddlewareOptions } from 'graphql-playground-html';
export declare type KoaPlaygroundMiddleware = (ctx: Context, next: () => void) => void;

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

@@ -46,3 +46,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-next-line */

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

_a.trys.push([0, 2, , 3]);
ctx.body = graphql_playground_middleware_1.renderPlaygroundPage(middlewareOptions);
ctx.body = graphql_playground_html_1.renderPlaygroundPage(middlewareOptions);
return [4 /*yield*/, next()];

@@ -62,0 +62,0 @@ case 1:

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

@@ -40,2 +40,3 @@ "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",

@@ -42,0 +43,0 @@ "koa": "^2.4.1"

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