New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ideco/koa-logger

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ideco/koa-logger - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

9

index.js

@@ -140,12 +140,7 @@ 'use strict';

/**
* Show the response time in a human readable format.
* In milliseconds if less than 10 seconds,
* in seconds otherwise.
* Show the response time in ms
*/
function time(start) {
const delta = Date.now() - start;
return humanize(
delta < 10000 ? delta + 'ms' : Math.round(delta / 1000) + 's',
{ delimiter: '' }
);
return delta + 'ms';
}
{
"name": "@ideco/koa-logger",
"description": "Logging middleware for koa",
"version": "3.2.3",
"version": "3.2.4",
"publishConfig": {

@@ -6,0 +6,0 @@ "access": "public"

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