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.2.0 to 1.2.1-beta.4

3

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

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

Object.defineProperty(exports, "__esModule", { value: true });
var render_playground_page_1 = require("./render-playground-page");
var graphql_playground_middleware_1 = require("graphql-playground-middleware");
/* tslint:disable-next-line */

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

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

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

{
"name": "graphql-playground-middleware-koa",
"version": "1.2.0",
"version": "1.2.1-beta.4",
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-koa",

@@ -40,4 +40,5 @@ "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",

"dependencies": {
"graphql-playground-middleware": "^1.2.1-beta.5",
"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