Comparing version 3.0.0 to 3.0.1
@@ -21,3 +21,7 @@ 'use strict' | ||
stream.destroy = () => { | ||
socket.terminate() | ||
if (socket.terminate) { | ||
socket.terminate() | ||
} else { | ||
socket.close() | ||
} | ||
} | ||
@@ -24,0 +28,0 @@ stream.socket = socket |
{ | ||
"name": "it-ws", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Simple async iterables for websocket client connections", | ||
@@ -38,5 +38,5 @@ "main": "index.js", | ||
"standard": "^14.3.1", | ||
"streaming-iterables": "^4.0.2", | ||
"streaming-iterables": "^5.0.2", | ||
"tap": "^14.10.6", | ||
"tape": "^4.4.0", | ||
"tape": "^5.0.1", | ||
"wsurl": "^1.0.0" | ||
@@ -43,0 +43,0 @@ }, |
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
26521
647