@graphql-tools/executor
Advanced tools
Comparing version 2.0.0-alpha-20240811040531-75e5235c2b3f426a6a5bfc4a7e98478e9e311c02 to 2.0.0-alpha-20240811043905-9b9bd6ed6a4c79bbbf9e37d6731e4aade367b292
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
280886
5741
+ Added@graphql-tools/utils@10.4.0-alpha-20240811043905-9b9bd6ed6a4c79bbbf9e37d6731e4aade367b292(transitive)
- Removed@graphql-tools/utils@10.4.0-alpha-20240811040531-75e5235c2b3f426a6a5bfc4a7e98478e9e311c02(transitive)
Updated@graphql-tools/utils@10.4.0-alpha-20240811043905-9b9bd6ed6a4c79bbbf9e37d6731e4aade367b292