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
427
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 1.3.3 to 1.3.4-alpha-20241122095055-27efcb12a2a7ebe82e45e510811c27fe7dff7d95

7

cjs/execution/execute.js

@@ -838,6 +838,3 @@ "use strict";

if (done) {
return Promise.resolve({
value: undefined,
done,
});
return (0, utils_1.fakePromise)({ value: undefined, done });
}

@@ -848,3 +845,3 @@ if (initialResultSent) {

initialResultSent = true;
return Promise.resolve({
return (0, utils_1.fakePromise)({
value: incrementalResults.initialResult,

@@ -851,0 +848,0 @@ done,

import { assertValidSchema, getDirectiveValues, GraphQLError, isAbstractType, isLeafType, isListType, isNonNullType, isObjectType, Kind, locatedError, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, versionInfo, } from 'graphql';
import { ValueOrPromise } from 'value-or-promise';
import { collectSubFields as _collectSubfields, addPath, collectFields, createGraphQLError, getArgumentValues, getDefinedRootType, GraphQLStreamDirective, inspect, isAsyncIterable, isIterableObject, isObjectLike, isPromise, mapAsyncIterator, memoize1, memoize3, pathToArray, promiseReduce, } from '@graphql-tools/utils';
import { collectSubFields as _collectSubfields, addPath, collectFields, createGraphQLError, fakePromise, getArgumentValues, getDefinedRootType, GraphQLStreamDirective, inspect, isAsyncIterable, isIterableObject, isObjectLike, isPromise, mapAsyncIterator, memoize1, memoize3, pathToArray, promiseReduce, } from '@graphql-tools/utils';
import { coerceError } from './coerceError.js';

@@ -827,6 +827,3 @@ import { flattenAsyncIterable } from './flattenAsyncIterable.js';

if (done) {
return Promise.resolve({
value: undefined,
done,
});
return fakePromise({ value: undefined, done });
}

@@ -837,3 +834,3 @@ if (initialResultSent) {

initialResultSent = true;
return Promise.resolve({
return fakePromise({
value: incrementalResults.initialResult,

@@ -840,0 +837,0 @@ done,

{
"name": "@graphql-tools/executor",
"version": "1.3.3",
"version": "1.3.4-alpha-20241122095055-27efcb12a2a7ebe82e45e510811c27fe7dff7d95",
"sideEffects": false,

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

"dependencies": {
"@graphql-tools/utils": "^10.5.6",
"@graphql-tools/utils": "10.6.0-alpha-20241122095055-27efcb12a2a7ebe82e45e510811c27fe7dff7d95",
"@graphql-typed-document-node/core": "3.2.0",

@@ -12,0 +12,0 @@ "@repeaterjs/repeater": "^3.0.4",

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