Socket
Socket
Sign inDemoInstall

nanobench

Package Overview
Dependencies
11
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

7

index.js
var mutexify = require('mutexify')
var hrtime = require('browser-process-hrtime')
var prettyHrtime = require('pretty-hrtime')

@@ -36,6 +37,6 @@ var path = require('path')

var b = cur = {}
var begin = process.hrtime()
var begin = hrtime()
b.start = function () {
begin = process.hrtime()
begin = hrtime()
}

@@ -57,3 +58,3 @@

cur = null
var time = process.hrtime(begin)
var time = hrtime(begin)

@@ -60,0 +61,0 @@ total[0] += time[0]

{
"name": "nanobench",
"version": "2.1.0",
"version": "2.1.1",
"description": "Simple benchmarking tool with TAP-like output that is easy to parse",
"main": "index.js",
"dependencies": {
"browser-process-hrtime": "^0.1.2",
"chalk": "^1.1.3",

@@ -8,0 +9,0 @@ "mutexify": "^1.1.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc