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
349
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-20240811040531-75e5235c2b3f426a6a5bfc4a7e98478e9e311c02 to 2.0.0-alpha-20240811043905-9b9bd6ed6a4c79bbbf9e37d6731e4aade367b292

10

cjs/execution/IncrementalGraph.js

@@ -252,15 +252,11 @@ "use strict";

}
*_yieldCurrentCompletedIncrementalData(first) {
yield first;
yield* this.currentCompletedBatch();
}
_enqueue(completed) {
this._completedQueue.push(completed);
const next = this._nextQueue.shift();
if (next !== undefined) {
next(this._yieldCurrentCompletedIncrementalData(completed));
if (next === undefined) {
return;
}
this._completedQueue.push(completed);
next(this.currentCompletedBatch());
}
}
exports.IncrementalGraph = IncrementalGraph;

@@ -249,14 +249,10 @@ import { createDeferred, isPromise } from '@graphql-tools/utils';

}
*_yieldCurrentCompletedIncrementalData(first) {
yield first;
yield* this.currentCompletedBatch();
}
_enqueue(completed) {
this._completedQueue.push(completed);
const next = this._nextQueue.shift();
if (next !== undefined) {
next(this._yieldCurrentCompletedIncrementalData(completed));
if (next === undefined) {
return;
}
this._completedQueue.push(completed);
next(this.currentCompletedBatch());
}
}
{
"name": "@graphql-tools/executor",
"version": "2.0.0-alpha-20240811040531-75e5235c2b3f426a6a5bfc4a7e98478e9e311c02",
"version": "2.0.0-alpha-20240811043905-9b9bd6ed6a4c79bbbf9e37d6731e4aade367b292",
"sideEffects": false,

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

"dependencies": {
"@graphql-tools/utils": "10.4.0-alpha-20240811040531-75e5235c2b3f426a6a5bfc4a7e98478e9e311c02",
"@graphql-tools/utils": "10.4.0-alpha-20240811043905-9b9bd6ed6a4c79bbbf9e37d6731e4aade367b292",
"@graphql-typed-document-node/core": "3.2.0",

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

@@ -35,4 +35,3 @@ import { Path } from '@graphql-tools/utils';

private _onStreamItems;
private _yieldCurrentCompletedIncrementalData;
private _enqueue;
}

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