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

bunyan-pilgrim

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan-pilgrim - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

13

lib/index.js

@@ -58,13 +58,2 @@ 'use strict';

if (statusCode >= this.minStatusCode && statusCode <= this.maxStatusCode && !this.ignoreMap[statusCode]) {
var timers = entry.req.timers
var time = Object.keys(timers).reduce(function(val, key) { return val + timers[key]; }, 0);
var result = sprintf(
'%3s %-60s %0.8f\n',
entry.req.method,
entry.req.url.substring(0, 80),
time / 1e9);
console.log(result)
if (this.timingOnly) {

@@ -75,3 +64,3 @@ var timers = entry.req.timers

var result = sprintf(
'%3s %-80s %0d',
'%3s %-60s %0.8f\n',
entry.req.method,

@@ -78,0 +67,0 @@ entry.req.url.substring(0, 80),

2

package.json
{
"name": "bunyan-pilgrim",
"version": "0.1.3",
"version": "0.1.4",
"description": "A REST-oriented logger for Bunyan",

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

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