{"name":"graphql-playground-middleware-lambda","version":"1.7.20","homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-lambda","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","lambada"],"peerDependencies":{"aws-lambda":"^1.0.5"},"devDependencies":{"@types/node":"12.12.34","aws-lambda":"1.0.5","rimraf":"3.0.2","typescript":"3.8.3"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"dependencies":{"graphql-playground-html":"^1.6.26"},"gitHead":"53d233f9deb9dcc86f99e41268ff92b6367e0713","bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-lambda@1.7.20","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.0/node@v14.5.0+x64 (linux)","dist":{"integrity":"sha512-97E5eWWhWdbamh8iSVKee92kCt8Me0ps3ydxf4LxwzqqKB46zwhXCU3J1u+Vp3oIBHiQ5wGOtgGoy3FWt6xFyA==","shasum":"79b27e53ace0efa2b301c6dd40287e9d23a2876d","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-lambda/download/graphql-playground-middleware-lambda-1.7.20.tgz","fileCount":7,"unpackedSize":10263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSwjCCRA9TVsSAnZWagAAGNUQAJ5vigQ9pSQ4DkLMc3We\ndo3zG5WuSGCHHPQqalhfNbJA8gDazg6fH1kcZ2uJxcVV7H4CL7QUCorX8Vg7\n3aRUuyb5FOBBymBCjZLSUCC6mo0qZESYG1iRHK9qdi/+l/stKb9S8x6wlcFL\nbJjRnBduUMyQr47iki5FwGreq4ognJltmi9ktM2fw70xINfwEM4MENLeetyK\nP2mV5BpBLT5KRZibKkokuApNQ+xw5IufDWJoMSIEFwNWPJJentjt7z5euscP\nN/7Uc49KUhOLZPhlHQ5M8usalGHBTUDqm9yRmogX/COQuYfGCH8Ph/NEJPPc\npIe2kElj1lob6PusxnychNoGKDQ6fKJcuqCQftR2IHlnidJmDUO3E6x1zoyd\niQsSPzn59MGWn82st5EE2QEZDk/9RDSQXBLDToyK6jNxE/AIc2vyTjq4FVZu\nZA3hnUALoFKRMexvEcgABOd0edOeIxPVixl2n9Ec6P8lg+QrLsaEclGZ6EC7\nIDz+f3YJVdhp3V+0nB0Zk36FLI950XxAXrUktwVcK4gczn2ioU3g9RSC/rW0\npdb/YYeGdA/jaqGLN1L43XIkRm1HOYsdshUdFPDQsMTg5wkJlSDSb84LFyPf\nQ962gA/sFY9D94sEbQkPuoY1jdnsnojhCUb+V6J/pHnQkxKEhydb6QuO8iTn\nNCDi\r\n=9EtV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClCuKsJEH+sIglf/8V9uwDiZ0x7GzrvUVT6oY3YDvYKQIgfiyHcOHZ2QSwf5CDB8a41zUtd+NtUJzseckAF+GEpnw="}],"size":4420,"noattachment":false,"key":"/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-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-lambda_1.7.20_1598752962496_0.3089536032540936"},"_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":1598752962588,"_cnpm_publish_time":1598752962588,"dist-tags":{"beta":"1.3.0-beta.3","latest":"1.7.24"}}