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

durations

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

durations - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

2

lib/index.js

@@ -56,2 +56,4 @@ // Generated by CoffeeScript 1.10.0

switch (false) {
case !(this.duration >= NANOS_PER_DAY):
return Math.floor(this.hours() / 24) + " d, " + Math.floor(this.hours() % 24) + " h";
case !(this.duration >= NANOS_PER_HOUR):

@@ -58,0 +60,0 @@ return Math.floor(this.minutes() / 60) + " h, " + Math.floor(this.minutes() % 60) + " min";

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "2.0.1",
"version": "2.1.0",
"author": "Joel Edwards (https://github.com/joeledwards)",

@@ -13,0 +13,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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