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

@graphql-tools/executor

Package Overview
Dependencies
Maintainers
3
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/executor - npm Package Compare versions

Comparing version 0.0.1-alpha-20221027111103-811af8ff to 0.0.1-alpha-20221027112225-8b9addb3

7

cjs/execution/execute.js

@@ -167,8 +167,3 @@ "use strict";

const { operation, schema, fragments, variableValues, rootValue } = exeContext;
const rootType = (0, utils_1.getDefinedRootType)(schema, operation.operation);
if (rootType == null) {
throw (0, utils_1.createGraphQLError)(`Schema is not configured to execute ${operation.operation} operation.`, {
nodes: operation,
});
}
const rootType = (0, utils_1.getDefinedRootType)(schema, operation.operation, [operation]);
const rootFields = (0, utils_1.collectFields)(schema, fragments, variableValues, rootType, operation.selectionSet);

@@ -175,0 +170,0 @@ const path = undefined;

@@ -160,8 +160,3 @@ import { locatedError, Kind, isAbstractType, isLeafType, isListType, isNonNullType, isObjectType, assertValidSchema, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, } from 'graphql';

const { operation, schema, fragments, variableValues, rootValue } = exeContext;
const rootType = getDefinedRootType(schema, operation.operation);
if (rootType == null) {
throw createGraphQLError(`Schema is not configured to execute ${operation.operation} operation.`, {
nodes: operation,
});
}
const rootType = getDefinedRootType(schema, operation.operation, [operation]);
const rootFields = collectFields(schema, fragments, variableValues, rootType, operation.selectionSet);

@@ -168,0 +163,0 @@ const path = undefined;

4

package.json
{
"name": "@graphql-tools/executor",
"version": "0.0.1-alpha-20221027111103-811af8ff",
"version": "0.0.1-alpha-20221027112225-8b9addb3",
"sideEffects": false,

@@ -9,3 +9,3 @@ "peerDependencies": {

"dependencies": {
"@graphql-tools/utils": "8.13.0-alpha-20221027111103-811af8ff",
"@graphql-tools/utils": "8.13.0-alpha-20221027112225-8b9addb3",
"@graphql-typed-document-node/core": "3.1.1"

@@ -12,0 +12,0 @@ },

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