Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-graphql

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-graphql - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

7

dist/index.js

@@ -31,8 +31,3 @@ 'use strict';

/**
* All information about a GraphQL request.
*/
/**
* Middleware for express; takes an options object or function as input to

@@ -75,3 +70,3 @@ * configure behavior, and returns an express middleware.

// Resolve the Options to get OptionsData.
var optionsData = await Promise.resolve(typeof options === 'function' ? options(request, response, ctx) : options);
var optionsData = await (typeof options === 'function' ? options(request, response, ctx) : options);

@@ -78,0 +73,0 @@ // Assert that optionsData is in fact an Object.

2

dist/renderGraphiQL.js

@@ -10,3 +10,3 @@ 'use strict';

// Current latest version of GraphiQL.
var GRAPHIQL_VERSION = '0.11.2';
var GRAPHIQL_VERSION = '0.11.3';

@@ -13,0 +13,0 @@ // Ensures string values are safe to be used within a <script> tag.

{
"name": "koa-graphql",
"version": "0.7.2",
"version": "0.7.3",
"description": "Production ready GraphQL Koa middleware.",

@@ -71,3 +71,3 @@ "contributors": [

"babel-runtime": "^6.22.0",
"express-graphql": "^0.6.6",
"express-graphql": "^0.6.11",
"http-errors": "^1.6.1",

@@ -86,9 +86,9 @@ "thenify": "^3.2.1"

"babel-runtime": "^6.25.0",
"chai": "^4.1.0",
"chai": "^4.1.1",
"co-body": "^5.1.1",
"coveralls": "^2.13.1",
"eslint": "^4.3.0",
"eslint": "^4.4.1",
"eslint-plugin-flowtype": "^2.35.0",
"flow-bin": "^0.51.1",
"graphql": "^0.10.5",
"flow-bin": "^0.52.0",
"graphql": "^0.11.2",
"isparta": "^4.0.0",

@@ -98,3 +98,3 @@ "koa": "^2.2.0",

"koa-session": "^5.0.0",
"mocha": "^3.4.2",
"mocha": "^3.5.0",
"multer": "^1.3.0",

@@ -107,4 +107,4 @@ "prettier": "^1.3.1",

"peerDependencies": {
"graphql": "^0.10.0"
"graphql": "^0.10.0 || ^0.11.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc