Comparing version 2.12.1 to 2.12.2-1
@@ -46,3 +46,3 @@ "use strict"; | ||
const dns = require("dns"); | ||
const VERSION = "2.12.1"; | ||
const VERSION = "2.12.2-1"; | ||
const LANG = "nats.js"; | ||
@@ -274,4 +274,9 @@ class NodeTransport { | ||
this.socket.on("end", () => { | ||
this.socket.write(new Uint8Array(0), () => { | ||
this.socket.end(); | ||
var _a, _b; | ||
if ((_a = this.socket) === null || _a === void 0 ? void 0 : _a.destroyed) { | ||
return; | ||
} | ||
(_b = this.socket) === null || _b === void 0 ? void 0 : _b.write(new Uint8Array(0), () => { | ||
var _a; | ||
(_a = this.socket) === null || _a === void 0 ? void 0 : _a.end(); | ||
}); | ||
@@ -278,0 +283,0 @@ }); |
{ | ||
"name": "nats", | ||
"version": "2.12.1", | ||
"version": "2.12.2-1", | ||
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
949971
16383
1