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

@graphql-tools/executor

Package Overview
Dependencies
Maintainers
4
Versions
451
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

to
1.4.4-alpha-20250305141008-c046990e84f4ba4d4abc9b1cb53d2a87b06dc98e

4

cjs/execution/execute.js

@@ -296,4 +296,6 @@ "use strict";

// Ensure that any promises returned by other fields are handled, as they may also reject.
return (0, promiseForObject_js_1.promiseForObject)(results, exeContext.signal).finally(() => {
return (0, promise_helpers_1.handleMaybePromise)(() => (0, promiseForObject_js_1.promiseForObject)(results, exeContext.signal), () => {
throw error;
}, () => {
throw error;
});

@@ -300,0 +302,0 @@ }

@@ -283,4 +283,6 @@ import { assertValidSchema, getDirectiveValues, GraphQLError, isAbstractType, isLeafType, isListType, isNonNullType, isObjectType, Kind, locatedError, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, versionInfo, } from 'graphql';

// Ensure that any promises returned by other fields are handled, as they may also reject.
return promiseForObject(results, exeContext.signal).finally(() => {
return handleMaybePromise(() => promiseForObject(results, exeContext.signal), () => {
throw error;
}, () => {
throw error;
});

@@ -287,0 +289,0 @@ }

{
"name": "@graphql-tools/executor",
"version": "1.4.4-alpha-20250305140525-be6757720f8c1bdc8c5108faa54cdde7d6592986",
"version": "1.4.4-alpha-20250305141008-c046990e84f4ba4d4abc9b1cb53d2a87b06dc98e",
"sideEffects": false,

@@ -5,0 +5,0 @@ "peerDependencies": {