Socket
Socket
Sign inDemoInstall

graphql-extensions

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-extensions - npm Package Compare versions

Comparing version 0.1.0-beta.10 to 0.1.0-beta.11

3

lib/index.js

@@ -102,6 +102,5 @@ "use strict";

// (which matches the behavior of graphql-js when there is no explicit resolve function defined).
// TODO: Find a way to respect custom field resolvers, see https://github.com/graphql/graphql-js/pull/865
try {
var result_1 = (fieldResolver ||
extensionStack.fieldResolver ||
(extensionStack && extensionStack.fieldResolver) ||
graphql_1.defaultFieldResolver)(source, args, context, info);

@@ -108,0 +107,0 @@ whenResultIsFinished(result_1, function () {

{
"name": "graphql-extensions",
"version": "0.1.0-beta.10",
"version": "0.1.0-beta.11",
"description": "Add extensions to GraphQL servers",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -179,6 +179,5 @@ import {

// (which matches the behavior of graphql-js when there is no explicit resolve function defined).
// TODO: Find a way to respect custom field resolvers, see https://github.com/graphql/graphql-js/pull/865
try {
const result = (fieldResolver ||
extensionStack.fieldResolver ||
(extensionStack && extensionStack.fieldResolver) ||
defaultFieldResolver)(source, args, context, info);

@@ -185,0 +184,0 @@ whenResultIsFinished(result, () => {

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