graphql-sse
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -76,3 +76,3 @@ "use strict"; | ||
const closed = await new Promise((resolve, reject) => { | ||
if (res.closed) { | ||
if (!res.writable) { | ||
// response's close event might be late | ||
@@ -79,0 +79,0 @@ resolve(true); |
@@ -76,3 +76,3 @@ "use strict"; | ||
const closed = await new Promise((resolve, reject) => { | ||
if (reply.raw.closed) { | ||
if (!reply.raw.writable) { | ||
// response's close event might be late | ||
@@ -79,0 +79,0 @@ resolve(true); |
@@ -72,3 +72,3 @@ "use strict"; | ||
const closed = await new Promise((resolve, reject) => { | ||
if (res.closed) { | ||
if (!res.writable) { | ||
// response's close event might be late | ||
@@ -75,0 +75,0 @@ resolve(true); |
@@ -72,3 +72,3 @@ "use strict"; | ||
const closed = await new Promise((resolve, reject) => { | ||
if (res.closed) { | ||
if (!res.writable) { | ||
// response's close event might be late | ||
@@ -75,0 +75,0 @@ resolve(true); |
{ | ||
"name": "graphql-sse", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
289189