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.8.1-0 to 2.8.1-1

3

lib/nats-base-client/protocol.js

@@ -135,2 +135,5 @@ "use strict";

const pong = (0, util_1.deferred)();
pong.catch(() => {
// provide at least one catch - as pong rejection can happen before it is expected
});
this.pongs.unshift(pong);

@@ -137,0 +140,0 @@ this.connectError = (err) => {

@@ -19,2 +19,3 @@ /// <reference types="node" />

done: boolean;
closedError?: Error;
constructor();

@@ -21,0 +22,0 @@ connect(hp: {

3

lib/src/node_transport.js

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

const dns = require("dns");
const VERSION = "2.8.1-0";
const VERSION = "2.8.1-1";
const LANG = "nats.js";

@@ -363,2 +363,3 @@ class NodeTransport {

return;
this.closedError = err;
if (!err && this.socket) {

@@ -365,0 +366,0 @@ try {

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

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

"clean": "shx rm -Rf ./lib/* ./nats-base-client ./.deps",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch main https://github.com/nats-io/nats.deno.git",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch handle-initial-pong-rejection https://github.com/nats-io/nats.deno.git",
"fmt": "deno fmt ./src/ ./examples/ ./test/",

@@ -46,0 +46,0 @@ "prepack": "npm run clone-nbc && npm run cjs && npm run check-package && npm run build",

Sorry, the diff of this file is not supported yet

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