@graphql-tools/utils
Advanced tools
Comparing version 10.5.6-alpha-20241113141809-caf6b82b08c54dee5ebe372ee73e76efc1d0f7d6 to 10.5.6-alpha-20241113142246-527bbf8c4e20af3d172439ab4746fe676b3a61c5
@@ -17,3 +17,3 @@ "use strict"; | ||
if (onEnd) { | ||
let onEndWithValueResult /** R in onEndWithValue */ = undefined; | ||
let onEndWithValueResult /** R in onEndWithValue */; | ||
onEndWithValue = value => { | ||
@@ -42,3 +42,3 @@ if (onEndWithValueResult) { | ||
if (onError) { | ||
let onErrorResult = undefined; | ||
let onErrorResult; | ||
// Capture rejectCallback to ensure it cannot be null. | ||
@@ -45,0 +45,0 @@ const reject = onError; |
@@ -14,3 +14,3 @@ import { isPromise } from './jsutils.js'; | ||
if (onEnd) { | ||
let onEndWithValueResult /** R in onEndWithValue */ = undefined; | ||
let onEndWithValueResult /** R in onEndWithValue */; | ||
onEndWithValue = value => { | ||
@@ -39,3 +39,3 @@ if (onEndWithValueResult) { | ||
if (onError) { | ||
let onErrorResult = undefined; | ||
let onErrorResult; | ||
// Capture rejectCallback to ensure it cannot be null. | ||
@@ -42,0 +42,0 @@ const reject = onError; |
{ | ||
"name": "@graphql-tools/utils", | ||
"version": "10.5.6-alpha-20241113141809-caf6b82b08c54dee5ebe372ee73e76efc1d0f7d6", | ||
"version": "10.5.6-alpha-20241113142246-527bbf8c4e20af3d172439ab4746fe676b3a61c5", | ||
"description": "Common package containing utils and types for GraphQL tools", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
508260
29
219