Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cf-nodejs-logging-support

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-nodejs-logging-support - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

cf-nodejs-logging-support-express/log-express.js

@@ -64,3 +64,3 @@ // Log network activity for express applications

logObject.response_content_type = "-1"; //set later
logObject.request_received_at = (new Date()).toJSON();
logObject.request_received_at = logObject.written_at;
logObject.response_time_ms = -1; // Set later

@@ -67,0 +67,0 @@ logObject.direction = "IN";

@@ -54,3 +54,3 @@ // Log network activity for express applications

logObject.response_content_type = "-1"; //set later
logObject.request_received_at = (new Date()).toJSON();
logObject.request_received_at = logObject.written_at;
logObject.response_time_ms = -1; // Set later

@@ -57,0 +57,0 @@ logObject.direction = "IN";

@@ -66,3 +66,3 @@ /*jshint node:true */

logObject.response_content_type = "text/html;charset=UTF-8";
logObject.request_received_at = (new Date()).toJSON();
logObject.request_received_at = logObject.written_at;
logObject.response_time_ms = 0; // Set later

@@ -69,0 +69,0 @@ logObject.direction = "IN";

{
"name": "cf-nodejs-logging-support",
"version": "1.1.1",
"version": "1.1.2",
"description": "Logging tool for Cloud Foundry",

@@ -5,0 +5,0 @@ "keywords": [

# Node.js Logging Support for Cloud Foundry
[![Version npm](https://img.shields.io/npm/v/cf-nodejs-logging-support.svg?style=flat-square)](https://www.npmjs.com/package/cf-nodejs-logging-support)[![npm Downloads](https://img.shields.io/npm/dm/cf-nodejs-logging-support.svg?style=flat-square)](https://www.npmjs.com/package/cf-nodejs-logging-support)[![Build Status](https://img.shields.io/travis/SAP/cf-nodejs-logging-support/master.svg?style=flat-square)](https://travis-ci.org/SAP/cf-nodejs-logging-support)
## Summary

@@ -5,0 +6,0 @@

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