Comparing version 3.2.1 to 3.3.0
@@ -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 @@ }; |
@@ -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, |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"author": "Joel Edwards (https://github.com/joeledwards)", | ||
@@ -13,0 +13,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12861
222