{"name":"graphql-playground-middleware-express","version":"1.7.20","homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express","description":"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).","contributors":[{"name":"Tim Suchanek","email":"tim@graph.cool"},{"name":"Johannes Schickling","email":"johannes@graph.cool"},{"name":"Mohammad Rajabifard","email":"mo.rajbi@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/graphcool/graphql-playground.git"},"license":"MIT","main":"dist/index.js","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool"],"peerDependencies":{"express":"^4.16.2"},"devDependencies":{"@types/node":"12.12.34","express":"^4.17.1","rimraf":"3.0.2","typescript":"3.8.3"},"dependencies":{"graphql-playground-html":"^1.6.27"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"gitHead":"ea94160623d52eb6b53d907bd68563c6e5348334","bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-express@1.7.20","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.0/node@v14.5.0+x64 (linux)","dist":{"integrity":"sha512-ldFtpVfG2cX9CyqRJFL7rff759hcY8R1MPIThGs9Z90BBLdL7I/MXz8DYqjBngYrKJjyRDPpu6MwOFn/t6+ISA==","shasum":"6417f0c97af3a38b60b432fcc93f20d43c6e21e6","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.20.tgz","fileCount":7,"unpackedSize":8480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSwoFCRA9TVsSAnZWagAAEjYQAIy5i+nziHcggHXSsxWe\n7oy9n7KDk1Q6XAyA4+078auJF8rQhesDkzo0MjbxZU0T8hDga5B3Rn9i7LsV\nOad0U5L0/IXEpHg+Jm+ng6K8Ggul17Vhb4+brT0YiR09wW9h/SQH+u014uGL\nAouQ/NmkEFpshbljW2dguvBogSvtjqaLAUgGde3X+Otkkiv+jmE61ntL8aaW\nQQ/xLG/fROxwke9t9SiHgt80Ijj9puNbJoS39cLwplo5RgLZujhTA8ANXqc4\n9pPdLy0vwa6KR/vFktyKfGmjColc93A5obOyvjgY3mnHOV9cWmkVzyFcMah+\nG82Kxd2UabpE+tT+Q105XOn+A6yjq5c6PU4ND58whhI9c9D+thLm1GvI54P1\nlhJ4GXCdNcb6MwEG+zIU9X8Syob/iyxwg6x05zoqiihq3Uyki2wnMfsRD5tH\nmI7jtYcLrcnqXIpOEu7wi50cIkZpXgpNV9PD0liuT3HmkIhSXaQFIIdwQxQm\nfcARsyWCrwyR1/OzdFJgxkWtQkYDKmgdxczyJ3WpbRiA1y2U+FXB2pdRVVMb\npQmasTPXqTAvdTYKb5e9PsOfyrB8eSBNSG/XaCthudTMCZ/646cC2962Qucn\ncjj+Ev/hxvsml3NKx7g5yLv4JY6RRc5EpZpCyV/W2RPi1oVhd3K0Gjvue2FA\n985W\r\n=wcR1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdpYpHHD3xmzt5TvF8xoTtUhjxiMYbK9DiQIzDJebfnAiEAzIVvCrWYoHM8h2zDW9zZVpJAWueGdjSPD82iwv0RmEo="}],"size":3691,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.20.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmUser":{"name":"acao","email":"rikki.schulte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.20_1598753284811_0.799840033985598"},"_hasShrinkwrap":false,"readme":"# graphql-playground-middleware-express\n\n> Express middleware to expose an endpoint for the GraphQL Playground IDE\n> **SECURITY NOTE**: All versions of `graphql-playground-express` until `1.7.16` or later have a security vulnerability when unsanitized user input is used while invoking `expressPlayground()`. [Read more below](#security-notes)\n\n## Installation\n\nUsing yarn:\n\n```console\nyarn add graphql-playground-middleware-express\n```\n\nOr npm:\n\n```console\nnpm install graphql-playground-middleware-express --save\n```\n\n## Usage\n\nSee full example in [examples/basic](https://github.com/prisma/graphql-playground/tree/main/packages/graphql-playground-middleware-express/examples/basic).\n\n```js\nconst express = require('express')\nconst expressPlayground = require('graphql-playground-middleware-express')\n  .default\n\nconst app = express()\n\napp.get('/playground', expressPlayground({ endpoint: '/graphql' }))\n```\n\n## Security Notes\n\nAll versions before `1.7.16` were vulnerable to user-defined input to `expressPlayground()`. Read more in [the security notes](https://github.com/prisma/graphql-playground/tree/main/SECURITY.md)\n\n### Security Upgrade Steps\n\nTo fix the issue, you can upgrade to `1.6.12` or later. If you aren't able to upgrade, see the security notes for a workaround.\n\n**yarn:**\n`yarn add graphql-playground-express@^1.7.16`\n\n**npm:**\n`npm install --save graphql-playground-express@^1.7.16`\n","publish_time":1598753284938,"_cnpm_publish_time":1598753284938,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}