graphql-playground-middleware-lambda
GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).
Last updated 4 years ago by acao .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install graphql-playground-middleware-lambda 
SYNC missed versions from official npm registry.

graphql-playground-middleware-lambda

Koa middleware to expose an endpoint for the GraphQL Playground IDE 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

Installation

Using yarn:

yarn add graphql-playground-middleware-lambda

Or npm:

npm install graphql-playground-middleware-lambda --save

Usage

See full example in examples/basic.

minimal example:

const lambdaPlayground = require('graphql-playground-middleware-lambda').default

exports.handler = lambdaPlayground({
  endpoint: '/dev',
})

Security Notes

All versions before 1.7.17 were vulnerable to user-defined input to lambdaPlayground(). Read more in the security notes

Security Upgrade Steps

To fix the issue, you can upgrade to 1.7.17. If you aren't able to upgrade, see the security notes for a workaround.

yarn: yarn add graphql-playground-middleware-lambda@^1.7.17

npm: npm install --save graphql-playground-middleware-lambda@^1.7.17

Current Tags

  • 1.3.0-beta.3                                ...           beta (8 years ago)
  • 1.7.24                                ...           latest (4 years ago)

50 Versions

  • 1.7.24                                ...           4 years ago
  • 1.7.23                                ...           5 years ago
  • 1.7.22                                ...           6 years ago
  • 1.7.21                                ...           6 years ago
  • 1.7.20                                ...           6 years ago
  • 1.7.19                                ...           6 years ago
  • 1.7.17                                ...           6 years ago
  • 1.7.16                                ...           6 years ago
  • 1.7.15                                ...           6 years ago
  • 1.7.14                                ...           6 years ago
  • 1.7.13                                ...           7 years ago
  • 1.7.12                                ...           7 years ago
  • 1.7.11                                ...           7 years ago
  • 1.7.10                                ...           7 years ago
  • 1.7.9                                ...           7 years ago
  • 1.7.8                                ...           7 years ago
  • 1.7.7                                ...           7 years ago
  • 1.7.6                                ...           7 years ago
  • 1.7.5                                ...           7 years ago
  • 1.7.4                                ...           7 years ago
  • 1.7.3                                ...           8 years ago
  • 1.7.2                                ...           8 years ago
  • 1.7.1                                ...           8 years ago
  • 1.7.0                                ...           8 years ago
  • 1.6.1                                ...           8 years ago
  • 1.6.0                                ...           8 years ago
  • 1.5.1                                ...           8 years ago
  • 1.5.0                                ...           8 years ago
  • 1.4.4                                ...           8 years ago
  • 1.4.3                                ...           8 years ago
  • 1.4.2                                ...           8 years ago
  • 1.4.1                                ...           8 years ago
  • 1.4.0                                ...           8 years ago
  • 1.3.10                                ...           8 years ago
  • 1.3.9                                ...           8 years ago
  • 1.3.8                                ...           8 years ago
  • 1.3.7                                ...           8 years ago
  • 1.3.6                                ...           8 years ago
  • 1.3.5                                ...           8 years ago
  • 1.3.1                                ...           8 years ago
  • 1.3.0                                ...           8 years ago
  • 1.3.0-beta.3                                ...           8 years ago
  • 1.3.0-beta.2                                ...           8 years ago
  • 1.3.0-beta.1                                ...           8 years ago
  • 1.2.1-beta.7                                ...           8 years ago
  • 1.2.1-beta.4                                ...           8 years ago
  • 1.2.0                                ...           8 years ago
  • 1.1.4                                ...           8 years ago
  • 1.1.3                                ...           8 years ago
  • 1.1.2                                ...           8 years ago
Downloads
Today 0
This Week 3
This Month 8
Last Day 1
Last Week 5
Last Month 50
Dependencies (1)
Dev Dependencies (4)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |