Socket
Socket
Sign inDemoInstall

straightforward

Package Overview
Dependencies
18
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.1 to 4.2.2

16

dist/index.js

@@ -162,3 +162,5 @@ "use strict";

}
req.pipe(proxyReq);
req.pipe(proxyReq).on("error", (e) => {
debug("req.pipe(proxyReq) has error: " + e.message);
});
});

@@ -174,3 +176,5 @@ }

if (!res.writableEnded) {
proxyRes.pipe(res);
proxyRes.pipe(res).on("error", (e) => {
debug("proxyRes.pipe(res) has error: " + e.message);
});
}

@@ -197,4 +201,8 @@ }

if (!req.destroyed && clientSocket.writable) {
serverSocket.pipe(clientSocket);
clientSocket.pipe(serverSocket);
serverSocket.pipe(clientSocket).on("error", (e) => {
debug("serverSocket.pipe(clientSocket) has error: " + e.message);
});
clientSocket.pipe(serverSocket).on("error", (e) => {
debug("clientSocket.pipe(serverSocket) has error: " + e.message);
});
}

@@ -201,0 +209,0 @@ }

{
"name": "straightforward",
"version": "4.2.1",
"version": "4.2.2",
"description": "A straightforward forward-proxy.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc