Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nats

Package Overview
Dependencies
Maintainers
3
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nats - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1-1

7

lib/src/node_transport.js

@@ -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"

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc