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.12.1 to 2.12.2-1

11

lib/src/node_transport.js

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

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