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

debug-callback

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debug-callback - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

4

index.js

@@ -41,7 +41,7 @@ 'use strict';

var done = function (res) {
var duration = _.isUndefined(callbackTimes[key]) ? -1 : (Date.now() - callbackTimes[key].time) / 1000;
var duration = (Date.now() - callbackTimes[key].time) / 1000;
debug('success (%o): %s\t\t%d seconds\n', res, msg, duration);
};
var fail = function (err) {
var duration = _.isUndefined(callbackTimes[key]) ? -1 : (Date.now() - callbackTimes[key].time) / 1000;
var duration = (Date.now() - callbackTimes[key].time) / 1000;
debug('failure (%o): %s\t\t%d seconds\n', err, msg, duration);

@@ -48,0 +48,0 @@ };

{
"name": "debug-callback",
"version": "0.0.8",
"version": "0.0.9",
"description": "Debug output outstanding callbacks, results, errors, and call times.",

@@ -5,0 +5,0 @@ "repository": {

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