Socket
Socket
Sign inDemoInstall

@nohost/router

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nohost/router - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

6

lib/connect.js

@@ -125,3 +125,3 @@ const http = require('http');

cb = res;
} else {
} else if (res) {
addCloseEvent(res, execCb);

@@ -195,2 +195,6 @@ }

exports.proxyToNohost = (options, req, res) => {
onClose(req, res, () => {
destroy(req);
destroy(res);
});
if (res && !res.writeHead) {

@@ -197,0 +201,0 @@ return proxyConnect(options, req, res);

2

package.json
{
"name": "@nohost/router",
"version": "0.5.1",
"version": "0.5.2",
"description": "Nohost cluster router",

@@ -5,0 +5,0 @@ "main": "lib/",

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