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 3.2.1 to 3.3.0

12

lib/duration.js

@@ -98,2 +98,14 @@ // Generated by CoffeeScript 1.12.7

},
nanos: function(ns) {
return new Duration(ns);
},
micros: function(us) {
return new Duration(us * NANOS_PER_MICRO);
},
millis: function(ms) {
return new Duration(ms * NANOS_PER_MILLI);
},
seconds: function(s) {
return new Duration(s * NANOS_PER_SECOND);
},
diffMoments: diffMoments

@@ -100,0 +112,0 @@ };

4

lib/index.js

@@ -14,2 +14,6 @@ // Generated by CoffeeScript 1.12.7

duration: duration["new"],
nanos: duration.nanos,
micros: duration.micros,
millis: duration.millis,
seconds: duration.seconds,
stopwatch: stopwatch["new"],

@@ -16,0 +20,0 @@ time: timing.time,

2

package.json

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

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

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

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