{"name":"graphql-playground-middleware-lambda","version":"1.5.1","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.5.13","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.5"},"bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-lambda@1.5.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eb1KqIL6tTgQ/LhZvPEq5vubGdOtG79RduPkjc9JaSJuJzGiHp4o7b8soTu5HDwSf9VIigEflk0grD1pB06Sbg==","shasum":"ebe48d421490e12ba27872fc1ffb275eade9c0a3","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-lambda/download/graphql-playground-middleware-lambda-1.5.1.tgz","fileCount":5,"unpackedSize":6860,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs1SCUlr9K4tMwr2yMn/VoYnQEDlt2CXbdHOC1MEJaNQIhAMsSfTqeQpuAkrN5pYFI1baMgM9KLDayJXqCCN+aIU2B"}],"size":3138,"noattachment":false,"key":"/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.5.1.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-lambda_1.5.1_1523436525667_0.5179413768968237"},"_hasShrinkwrap":false,"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":1523436525719,"_cnpm_publish_time":1523436525719,"dist-tags":{"beta":"1.3.0-beta.3","latest":"1.7.24"}}