Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-playground-middleware-express

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-playground-middleware-express - npm Package Compare versions

Comparing version 1.1.4 to 1.1.7-beta.2

2

dist/render-playground-page.js
"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

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