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

@silenteer/natsu-port-server

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silenteer/natsu-port-server - npm Package Compare versions

Comparing version 0.0.30 to 0.0.32

7

dist/index.js

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

logger_1.default.log(`----- [${subject}]Begin send nats request -----`);
const response = yield sendNatsRequest({
const { headers, response } = yield sendNatsRequest({
httpRequest: request,

@@ -68,2 +68,5 @@ natsAuthResponse: authenticationResult.authResponse,

logger_1.default.log(`----- [${subject}]End send nats request -----`);
if (headers['set-cookie']) {
reply.header('set-cookie', headers['set-cookie']);
}
reply.send(response);

@@ -275,3 +278,3 @@ }

logger_1.default.log(`----- [${natsRequest.headers['nats-subject']}] Ending -----`, portResponse);
return portResponse;
return { headers: natsResponse.headers, response: portResponse };
});

@@ -278,0 +281,0 @@ }

{
"name": "@silenteer/natsu-port-server",
"version": "0.0.30",
"version": "0.0.32",
"license": "MIT",

@@ -5,0 +5,0 @@ "private": false,

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