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
2
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.6.8 to 1.6.9

13

dist/index.js
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -47,6 +39,3 @@ return new (P || (P = Promise))(function (resolve, reject) {

var graphql_playground_html_1 = require("graphql-playground-html");
/* tslint:disable-next-line */
var playgroundVersion = require('../package.json').playgroundVersion;
var koa = function (options) {
var middlewareOptions = __assign({}, options, { version: playgroundVersion });
return function voyager(ctx, next) {

@@ -60,3 +49,3 @@ return __awaiter(this, void 0, void 0, function () {

_a = ctx;
return [4 /*yield*/, graphql_playground_html_1.renderPlaygroundPage(middlewareOptions)];
return [4 /*yield*/, graphql_playground_html_1.renderPlaygroundPage(options)];
case 1:

@@ -63,0 +52,0 @@ _a.body = _b.sent();

7

package.json
{
"name": "graphql-playground-middleware-koa",
"version": "1.6.8",
"version": "1.6.9",
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-koa",

@@ -17,3 +17,2 @@ "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",

],
"playgroundVersion": "1.7.8",
"scripts": {

@@ -35,3 +34,3 @@ "build": "rimraf dist && tsc",

"@types/node": "9.4.0",
"koa": "^2.5.1",
"koa": "^2.6.2",
"rimraf": "2.6.2",

@@ -45,4 +44,4 @@ "typescript": "2.6.2"

"dependencies": {
"graphql-playground-html": "1.6.6"
"graphql-playground-html": "1.6.10"
}
}

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