Socket
Socket
Sign inDemoInstall

advanced

Package Overview
Dependencies
140
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

9

lib/utils.js

@@ -265,4 +265,11 @@ var _ = require('lodash'),

var responseBody = '';
_req.on('data', function(response) {
if (response) {
responseBody += response.toString('utf-8');
}
});
_req.on('end', function() {
logger.log({request: options.uri, type: 'proxy', options: options, response: 'unknown', time: (new Date().getTime() - t1) + 'ms'});
logger.log({request: options.uri, type: 'proxy', options: options, response: responseBody, time: (new Date().getTime() - t1) + 'ms'});
});

@@ -269,0 +276,0 @@

2

package.json
{
"name": "advanced",
"version": "0.4.0",
"version": "0.4.1",
"description": "A simple MVC framework based on Express",

@@ -5,0 +5,0 @@ "main": "./lib/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