Socket
Socket
Sign inDemoInstall

bunyan-decorator

Package Overview
Dependencies
22
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

3

index.js

@@ -72,3 +72,4 @@ const bunyan = require('bunyan');

const success = r => {
const [elapsedTimeSec, elapsedTimeNano] = process.hrtime(t0);
const elapsedTimeSec = process.hrtime(t0)[0];
const elapsedTimeNano = process.hrtime(t0)[1];
const elapsedTime = elapsedTimeSec * Math.pow(10, 3) + elapsedTimeNano * Math.pow(10, -6);

@@ -75,0 +76,0 @@ self.logger[opts.level]({ module, method, elapsedTime, result: opts.extractor(r) }, opts.msg);

{
"name": "bunyan-decorator",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

@@ -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