Socket
Socket
Sign inDemoInstall

@nodeswork/container-proxy

Package Overview
Dependencies
5
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.12 to 0.0.13

9

index.js

@@ -16,2 +16,6 @@ var http = require('http'),

proxy.on('proxyRes', function (proxyRes, req, res) {
console.log('RAW Response from the target', JSON.stringify(proxyRes.headers, true, 2));
});
var server = http.createServer(function(req, res) {

@@ -37,2 +41,7 @@ if (req.url === '/sstats') {

console.error('headers', req.headers);
console.error('url', req.url);
console.error('method', req.method);
console.error('target', target);
proxy.web(req, res, { target });

@@ -39,0 +48,0 @@ } catch (e) {

2

package.json
{
"name": "@nodeswork/container-proxy",
"version": "0.0.12",
"version": "0.0.13",
"description": "Container proxy for applet to access network",

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

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