Comparing version 0.2.3 to 0.2.4
10
index.js
@@ -20,12 +20,2 @@ var S = 'seconds'; | ||
function recalc(msTime, unit) { | ||
var time; | ||
if(!unit || unit === MS) time = msTime; | ||
if(unit === S) time = msTime / 1000; | ||
if(unit === NS) time = msTime * 1000; | ||
if(!time) time = msTime; | ||
return parseInt(time * 100, 10) / 100; | ||
} | ||
hirestime.S = S; | ||
@@ -32,0 +22,0 @@ hirestime.MS = MS; |
{ | ||
"name": "hirestime", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "thin wrapper around process.hrtime", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
5278
52