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.0-210 to 2.0.0-211

2

lib/src/node_transport.d.ts

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

connected: boolean;
tlsName: string;
done: boolean;

@@ -21,2 +22,3 @@ constructor();

port: number;
tlsName: string;
}, options: ConnectionOptions): Promise<void>;

@@ -23,0 +25,0 @@ dial(hp: {

6

lib/src/node_transport.js

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

const { readFile, existsSync } = require("fs");
const VERSION = "2.0.0-210";
const VERSION = "2.0.0-211";
const LANG = "nats.js";

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

this.connected = false;
this.tlsName = "";
this.done = false;

@@ -61,2 +62,3 @@ this.lang = LANG;

return __awaiter(this, void 0, void 0, function* () {
this.tlsName = hp.tlsName;
this.options = options;

@@ -202,3 +204,3 @@ try {

let tlsError;
let tlsOpts = { socket: this.socket };
let tlsOpts = { socket: this.socket, servername: this.tlsName };
if (typeof this.options.tls === "object") {

@@ -205,0 +207,0 @@ try {

{
"name": "nats",
"version": "2.0.0-210",
"version": "2.0.0-211",
"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