graphql-playground-middleware-koa
Advanced tools
Comparing version 1.3.1 to 1.3.5
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8479
4
+ Addedcommander@2.20.3(transitive)
+ Addedcssfilter@0.0.10(transitive)
+ Addedgraphql-playground-html@1.6.30(transitive)
+ Addedxss@1.0.15(transitive)