graphql-playground-html
Advanced tools
Comparing version 1.6.13 to 1.6.14
@@ -1,1 +0,1 @@ | ||
export { renderPlaygroundPage, MiddlewareOptions, RenderPageOptions } from './render-playground-page'; | ||
export { renderPlaygroundPage, MiddlewareOptions, RenderPageOptions, } from './render-playground-page'; |
@@ -60,2 +60,3 @@ export interface MiddlewareOptions { | ||
query: string; | ||
name?: string; | ||
variables?: string; | ||
@@ -62,0 +63,0 @@ responses?: string[]; |
"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 __assign = (this && this.__assign) || function () { | ||
__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; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -18,3 +21,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
function renderPlaygroundPage(options) { | ||
var extendedOptions = __assign({}, options, { canSaveConfig: false }); | ||
var extendedOptions = __assign(__assign({}, options), { canSaveConfig: false }); | ||
// for compatibility | ||
@@ -21,0 +24,0 @@ if (options.subscriptionsEndpoint) { |
{ | ||
"name": "graphql-playground-html", | ||
"version": "1.6.13", | ||
"version": "1.6.14", | ||
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html", | ||
@@ -28,5 +28,5 @@ "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", | ||
"devDependencies": { | ||
"@types/node": "9.4.6", | ||
"rimraf": "2.6.2", | ||
"typescript": "2.6.2" | ||
"@types/node": "12.12.34", | ||
"rimraf": "3.0.2", | ||
"typescript": "3.8.3" | ||
}, | ||
@@ -33,0 +33,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25909
182
1