@nodeswork/container-proxy
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -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) { |
{ | ||
"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", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
13848
55
6