bare-console
Advanced tools
Comparing version 3.1.1 to 4.0.0
const inspect = require('bare-inspect') | ||
const hrtime = require('bare-hrtime') | ||
@@ -34,3 +35,3 @@ module.exports = class Console { | ||
this._timers.set(label, process.hrtime()) | ||
this._timers.set(label, hrtime()) | ||
} | ||
@@ -46,3 +47,3 @@ | ||
const d = process.hrtime(started) | ||
const d = hrtime(started) | ||
const ms = d[0] * 1e3 + d[1] / 1e6 | ||
@@ -49,0 +50,0 @@ this._timers.delete(label) |
{ | ||
"name": "bare-console", | ||
"version": "3.1.1", | ||
"version": "4.0.0", | ||
"description": "Simple debugging console for JavaScript", | ||
@@ -23,2 +23,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"bare-hrtime": "^2.0.0", | ||
"bare-inspect": "^1.1.0" | ||
@@ -25,0 +26,0 @@ }, |
14328
60
2
+ Addedbare-hrtime@^2.0.0
+ Addedbare-hrtime@2.0.10(transitive)