@apollographql/graphql-playground-html
Advanced tools
Comparing version 1.6.0 to 1.6.4
@@ -50,2 +50,3 @@ export interface MiddlewareOptions { | ||
version: string; | ||
cdnUrl?: string; | ||
env?: any; | ||
@@ -52,0 +53,0 @@ } |
@@ -13,3 +13,6 @@ "use strict"; | ||
var loading = get_loading_markup_1.default(); | ||
var getCdnMarkup = function (options) { return "\n <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/graphql-playground-react@" + options.version + "/build/static/css/index.css\" />\n <link rel=\"shortcut icon\" href=\"//cdn.jsdelivr.net/npm/graphql-playground-react@" + options.version + "/build/favicon.png\" />\n <script src=\"//cdn.jsdelivr.net/npm/graphql-playground-react@" + options.version + "/build/static/js/middleware.js\"></script>\n"; }; | ||
var getCdnMarkup = function (_a) { | ||
var version = _a.version, _b = _a.cdnUrl, cdnUrl = _b === void 0 ? '//cdn.jsdelivr.net/npm' : _b; | ||
return "\n <link rel=\"stylesheet\" href=\"" + cdnUrl + "/graphql-playground-react" + (version ? "@" + version : '') + "/build/static/css/index.css\" />\n <link rel=\"shortcut icon\" href=\"" + cdnUrl + "/graphql-playground-react" + (version ? "@" + version : '') + "/build/favicon.png\" />\n <script src=\"" + cdnUrl + "/graphql-playground-react" + (version ? "@" + version : '') + "/build/static/js/middleware.js\"></script>\n"; | ||
}; | ||
function renderPlaygroundPage(options) { | ||
@@ -16,0 +19,0 @@ var extendedOptions = __assign({}, options, { canSaveConfig: false }); |
{ | ||
"name": "@apollographql/graphql-playground-html", | ||
"version": "1.6.0", | ||
"version": "1.6.4", | ||
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html", | ||
@@ -5,0 +5,0 @@ "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", |
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
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
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
25317
174
1