Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hirestime

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hirestime - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

9

index.js

@@ -13,4 +13,2 @@ var S = 's'

if (!unit) unit = MS
switch (unit) {

@@ -20,8 +18,7 @@ case S:

case MS:
return round(elapsed[0] * 1e3 + elapsed[1] / 1e6)
case NS:
return round(elapsed[0] * 1e9 + elapsed[1])
}
return round(elapsed[0] * 1e3 + elapsed[1] / 1e6)
}

@@ -36,4 +33,2 @@ }

if (!unit) unit = MS
switch (unit) {

@@ -40,0 +35,0 @@ case S:

{
"name": "hirestime",
"version": "3.0.0",
"version": "3.1.0",
"description": "thin wrapper around process.hrtime",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc