{"name":"graphql-playground-middleware-lambda","version":"1.4.2","homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-lambada","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":"SEE LICENSE IN LICENSE","main":"dist/index.js","files":["dist"],"playgroundVersion":"1.4.3","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool","lambada"],"peerDependencies":{"aws-lambda":"^0.1.2"},"devDependencies":{"@types/node":"9.4.0","rimraf":"2.6.2","typescript":"2.6.2"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"dependencies":{"graphql-playground-html":"1.5.4"},"bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-lambda@1.4.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1fuNdbKemPUXe2CIzcXMR/BOaTgxg1vZtOwNZ0KKGrYeVty9YuqZDGxLLIOkqqz2cmOu8NkbRTelALau/msCuQ==","shasum":"6954ed6e7166049468287d730810942e288b5b98","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-lambda/download/graphql-playground-middleware-lambda-1.4.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkxomCqtJ1uR7uHZelSz4pfze9Jrm5QlDLo0PtEnyNTAIgGXkD3BRlBo8di/NteKwrY2m8TBpqHeYbBIqjKZW8Zfo="}],"size":3139,"noattachment":false,"key":"/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.4.2.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-lambda-1.4.2.tgz_1517415817119_0.38421339681372046"},"directories":{},"readme":"# graphql-playground-middleware-lambda\n\n> Koa middleware to expose an endpoint for the GraphQL Playground IDE\n> **SECURITY NOTE**: All versions of `graphql-playground-middleware-lambda` until `1.7.17` or later have a security vulnerability when unsanitized user input is used while invoking `lambdaPlayground()`. [Read more below](#security-notes)\n\n## Installation\n\nUsing yarn:\n\n```console\nyarn add graphql-playground-middleware-lambda\n```\n\nOr npm:\n\n```console\nnpm install graphql-playground-middleware-lambda --save\n```\n\n## Usage\n\nSee full example in [examples/basic](https://github.com/prisma/graphql-playground/tree/main/packages/graphql-playground-middleware-lambda/examples/basic).\n\nminimal example:\n\n```js\nconst lambdaPlayground = require('graphql-playground-middleware-lambda').default\n\nexports.handler = lambdaPlayground({\n  endpoint: '/dev',\n})\n```\n\n## Security Notes\n\nAll versions before `1.7.17` were vulnerable to user-defined input to `lambdaPlayground()`. Read more in [the security notes](https://github.com/prisma/graphql-playground/tree/SECURITY.md)\n\n### Security Upgrade Steps\n\nTo fix the issue, you can upgrade to `1.7.17`. If you aren't able to upgrade, see the security notes for a workaround.\n\n**yarn:**\n`yarn add graphql-playground-middleware-lambda@^1.7.17`\n\n**npm:**\n`npm install --save graphql-playground-middleware-lambda@^1.7.17`\n","publish_time":1517415818203,"_cnpm_publish_time":1517415818203,"dist-tags":{"beta":"1.3.0-beta.3","latest":"1.7.24"}}