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 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;

2

package.json
{
"name": "hirestime",
"version": "0.2.3",
"version": "0.2.4",
"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