graphql-playground-middleware-koa
Advanced tools
Comparing version 1.2.0 to 1.2.1-beta.4
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
8469
97
3
1
+ Addedfind-up@2.1.0(transitive)
+ Addedgraphql-playground-middleware@1.2.1-beta.6(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedpath-exists@3.0.0(transitive)