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

@nestjs/microservices

Package Overview
Dependencies
Maintainers
1
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/microservices - npm Package Compare versions

Comparing version 10.4.0 to 10.4.1

1

client/client-nats.d.ts

@@ -12,2 +12,3 @@ import { Logger } from '@nestjs/common/services/logger.service';

protected natsClient: Client;
protected clientConnectionPromise: Promise<Client>;
constructor(options: NatsOptions['options']);

@@ -14,0 +15,0 @@ close(): Promise<void>;

8

client/client-nats.js

@@ -28,8 +28,10 @@ "use strict";

this.natsClient = null;
this.clientConnectionPromise = null;
}
async connect() {
if (this.natsClient) {
return this.natsClient;
if (this.clientConnectionPromise) {
return this.clientConnectionPromise;
}
this.natsClient = await this.createClient();
this.clientConnectionPromise = this.createClient();
this.natsClient = await this.clientConnectionPromise;
this.handleStatusUpdates(this.natsClient);

@@ -36,0 +38,0 @@ return this.natsClient;

{
"name": "@nestjs/microservices",
"version": "10.4.0",
"version": "10.4.1",
"description": "Nest - modern, fast, powerful node.js web framework (@microservices)",

@@ -25,4 +25,4 @@ "author": "Kamil Mysliwiec",

"devDependencies": {
"@nestjs/common": "10.4.0",
"@nestjs/core": "10.4.0"
"@nestjs/common": "10.4.1",
"@nestjs/core": "10.4.1"
},

@@ -29,0 +29,0 @@ "peerDependencies": {

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