New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/delegate

Package Overview
Dependencies
Maintainers
3
Versions
1954
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/delegate - npm Package Compare versions

Comparing version 6.0.4 to 6.0.5-alpha-9d37c5d.0

16

index.cjs.js

@@ -1222,6 +1222,18 @@ 'use strict';

function createDefaultExecutor(schema, rootValue) {
return ({ document, context, variables, info }) => graphql.execute(schema, document, rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue, context, variables);
return ({ document, context, variables, info }) => graphql.execute({
schema,
document,
contextValue: context,
variableValues: variables,
rootValue: rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue,
});
}
function createDefaultSubscriber(schema, rootValue) {
return ({ document, context, variables, info }) => graphql.subscribe(schema, document, rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue, context, variables);
return ({ document, context, variables, info }) => graphql.subscribe({
schema,
document,
contextValue: context,
variableValues: variables,
rootValue: rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue,
});
}

@@ -1228,0 +1240,0 @@

@@ -1218,6 +1218,18 @@ import { visit, visitWithTypeInfo, Kind, getNamedType, isAbstractType, TypeInfo, isObjectType, isInterfaceType, TypeNameMetaFieldDef, getNullableType, isLeafType, isCompositeType, isListType, typeFromAST, isSchema, getOperationAST, validate, execute, subscribe, defaultFieldResolver, parse } from 'graphql';

function createDefaultExecutor(schema, rootValue) {
return ({ document, context, variables, info }) => execute(schema, document, rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue, context, variables);
return ({ document, context, variables, info }) => execute({
schema,
document,
contextValue: context,
variableValues: variables,
rootValue: rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue,
});
}
function createDefaultSubscriber(schema, rootValue) {
return ({ document, context, variables, info }) => subscribe(schema, document, rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue, context, variables);
return ({ document, context, variables, info }) => subscribe({
schema,
document,
contextValue: context,
variableValues: variables,
rootValue: rootValue !== null && rootValue !== void 0 ? rootValue : info === null || info === void 0 ? void 0 : info.rootValue,
});
}

@@ -1224,0 +1236,0 @@

6

package.json
{
"name": "@graphql-tools/delegate",
"version": "6.0.4",
"version": "6.0.5-alpha-9d37c5d.0",
"description": "A set of utils for faster development of GraphQL tools",

@@ -10,4 +10,4 @@ "sideEffects": false,

"dependencies": {
"@graphql-tools/schema": "6.0.4",
"@graphql-tools/utils": "6.0.4",
"@graphql-tools/schema": "6.0.5-alpha-9d37c5d.0",
"@graphql-tools/utils": "6.0.5-alpha-9d37c5d.0",
"tslib": "~2.0.0"

@@ -14,0 +14,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