graphql-playground-middleware-express
Advanced tools
Comparing version 1.1.4 to 1.1.7-beta.2
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function renderPlaygroundPage(options) { | ||
return "\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=utf-8 />\n <meta name=\"viewport\" content=\"user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui\">\n <title>GraphQL Playground</title>\n <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/graphql-playground@" + options.version + "/build/static/css/index.css\" />\n <link rel=\"shortcut icon\" href=\"//cdn.jsdelivr.net/npm/graphql-playground@" + options.version + "/build/favicon.png\" />\n <script src=\"//cdn.jsdelivr.net/npm/graphql-playground@" + options.version + "/build/static/js/middleware.js\"></script>\n</head>\n<body>\n<div id=\"root\">\n <style>\n body {\n background-color: rgb(23,42,58);\n font-family: Open Sans,sans-serif;\n height: 90vh;\n }\n #root {\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .loading {\n font-size: 32px;\n font-weight: 200;\n color: rgba(255,255,255,.6);\n margin-left: 20px;\n }\n img {\n width: 78px;\n height: 78px;\n }\n .title {\n font-weight: 400;\n }\n </style>\n <img src='http://cdn.jsdelivr.net/npm/graphql-playground/build/logo.png' alt=''>\n <div class=\"loading\">\n Loading <span class=\"title\">GraphQL Playground</span>\n </div>\n</div>\n <script>\n window.addEventListener('load', function(event) {\n GraphQLPlayground.init(document.getElementById('root'), " + JSON.stringify(options, null, 2) + ")\n })\n </script>\n</body>\n</html>\n"; | ||
return "\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=utf-8 />\n <meta name=\"viewport\" content=\"user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui\">\n <title>GraphQL Playground</title>\n <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/graphql-playground@" + options.version + "/build/static/css/index.css\" />\n <link rel=\"shortcut icon\" href=\"//cdn.jsdelivr.net/npm/graphql-playground@" + options.version + "/build/favicon.png\" />\n <script src=\"//cdn.jsdelivr.net/npm/graphql-playground@" + options.version + "/build/static/js/middleware.js\"></script>\n</head>\n<body>\n<div id=\"root\">\n <style>\n body {\n background-color: rgb(23,42,58);\n font-family: Open Sans,sans-serif;\n height: 90vh;\n }\n #root {\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .loading {\n font-size: 32px;\n font-weight: 200;\n color: rgba(255,255,255,.6);\n margin-left: 20px;\n }\n img {\n width: 78px;\n height: 78px;\n }\n .title {\n font-weight: 400;\n }\n </style>\n <img src='//cdn.jsdelivr.net/npm/graphql-playground/build/logo.png' alt=''>\n <div class=\"loading\">\n Loading <span class=\"title\">GraphQL Playground</span>\n </div>\n</div>\n <script>\n window.addEventListener('load', function(event) {\n GraphQLPlayground.init(document.getElementById('root'), " + JSON.stringify(options, null, 2) + ")\n })\n </script>\n</body>\n</html>\n"; | ||
} | ||
exports.default = renderPlaygroundPage; | ||
//# sourceMappingURL=render-playground-page.js.map |
{ | ||
"name": "graphql-playground-middleware-express", | ||
"version": "1.1.4", | ||
"version": "1.1.7-beta.2", | ||
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express", | ||
@@ -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
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
5189
1