Comparing version 5.0.4 to 5.0.5
@@ -9,2 +9,3 @@ "use strict"; | ||
function formatFromMs(value, unit = exports.MS) { | ||
console.log(value, unit); | ||
if (unit === exports.MS) { | ||
@@ -19,3 +20,3 @@ return round(value); | ||
function getElapsor(getTime) { | ||
const ret = (unit = null) => { | ||
const ret = (unit = undefined) => { | ||
if (unit && !DEP_WARNING) { | ||
@@ -22,0 +23,0 @@ console.log('hirestime: please note that specifying a unit is deprecated and will be removed in the future, use the named methods instead'); |
{ | ||
"name": "hirestime", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "thin wrapper around process.hrtime", | ||
@@ -8,2 +8,3 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"prepublish": "npm run build", | ||
"build": "tsc -p .", | ||
@@ -10,0 +11,0 @@ "test": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --require ts-node/register test.ts", |
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
8365
7
134