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.0.3-1 to 2.0.3-2

8

lib/src/node_transport.js

@@ -45,3 +45,3 @@ "use strict";

const { readFile, existsSync } = require("fs");
const VERSION = "2.0.3-1";
const VERSION = "2.0.3-2";
const LANG = "nats.js";

@@ -119,3 +119,4 @@ class NodeTransport {

this.socket.on("data", (frame) => {
this.yields.push(frame);
const count = frame.byteLength;
this.yields.push(frame.slice(0, count));
const t = nats_base_client_1.DataBuffer.concat(...this.yields);

@@ -252,3 +253,4 @@ const pm = nats_base_client_1.extractProtocolMessage(t);

this.socket.on("data", (frame) => {
this.yields.push(frame);
const count = frame.byteLength;
this.yields.push(frame.slice(0, count));
return this.signal.resolve();

@@ -255,0 +257,0 @@ });

{
"name": "nats",
"version": "2.0.3-1",
"version": "2.0.3-2",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",

@@ -63,3 +63,3 @@ "keywords": [

"devDependencies": {
"@types/node": "^14.14.25",
"@types/node": "^14.14.34",
"ava": "^3.15.0",

@@ -66,0 +66,0 @@ "minimist": "^1.2.5",

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