Comparing version 2.1.0 to 2.1.1-1
@@ -45,3 +45,3 @@ "use strict"; | ||
const { readFile, existsSync } = require("fs"); | ||
const VERSION = "2.1.0"; | ||
const VERSION = "2.1.1-1"; | ||
const LANG = "nats.js"; | ||
@@ -81,2 +81,7 @@ class NodeTransport { | ||
catch (err) { | ||
if (!err) { | ||
// this seems to be possible in Kubernetes where | ||
// an error is thrown, but it is undefined. | ||
err = nats_base_client_1.NatsError.errorForCode(nats_base_client_1.ErrorCode.ConnectionRefused, new Error("node provided an undefined error!")); | ||
} | ||
const { code } = err; | ||
@@ -83,0 +88,0 @@ const perr = code === "ECONNREFUSED" |
{ | ||
"name": "nats", | ||
"version": "2.1.0", | ||
"version": "2.1.1-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
543814
9088
1