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 2.0.0-alpha-20240606144658-8963c8b8f661638eaee0e101a55f3b6e46cc03ff to 2.0.0-alpha-20240606221026-cd2a4fabe51906319f8dc07745f98f37ffbcbdee

8

cjs/execution/IncrementalPublisher.js

@@ -59,3 +59,3 @@ "use strict";

this._context.signal?.addEventListener('abort', () => {
isDone = true;
this._incrementalGraph.completedIncrementalData().return();
});

@@ -78,5 +78,2 @@ const _next = async () => {

while (!iteration.done) {
if (this._context.signal?.aborted) {
throw this._context.signal.reason;
}
for (const completedResult of iteration.value) {

@@ -108,2 +105,5 @@ this._handleCompletedIncrementalData(completedResult, context);

}
if (this._context.signal?.aborted) {
throw this._context.signal.reason;
}
await this._returnAsyncIteratorsIgnoringErrors();

@@ -110,0 +110,0 @@ return { value: undefined, done: true };

@@ -55,3 +55,3 @@ import { pathToArray } from '@graphql-tools/utils';

this._context.signal?.addEventListener('abort', () => {
isDone = true;
this._incrementalGraph.completedIncrementalData().return();
});

@@ -74,5 +74,2 @@ const _next = async () => {

while (!iteration.done) {
if (this._context.signal?.aborted) {
throw this._context.signal.reason;
}
for (const completedResult of iteration.value) {

@@ -104,2 +101,5 @@ this._handleCompletedIncrementalData(completedResult, context);

}
if (this._context.signal?.aborted) {
throw this._context.signal.reason;
}
await this._returnAsyncIteratorsIgnoringErrors();

@@ -106,0 +106,0 @@ return { value: undefined, done: true };

{
"name": "@graphql-tools/executor",
"version": "2.0.0-alpha-20240606144658-8963c8b8f661638eaee0e101a55f3b6e46cc03ff",
"version": "2.0.0-alpha-20240606221026-cd2a4fabe51906319f8dc07745f98f37ffbcbdee",
"sideEffects": false,

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

"dependencies": {
"@graphql-tools/utils": "10.3.0-alpha-20240606144658-8963c8b8f661638eaee0e101a55f3b6e46cc03ff",
"@graphql-tools/utils": "10.3.0-alpha-20240606221026-cd2a4fabe51906319f8dc07745f98f37ffbcbdee",
"@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