Socket
Socket
Sign inDemoInstall

timeunit

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

HISTORY.md

2

bower.json
{
"name": "timeunit",
"version": "1.0.0",
"version": "1.0.1",
"description": "Port of Doug Lea's TimeUnit Java class to JavaScript.",

@@ -5,0 +5,0 @@ "main": "lib/timeunit.js",

@@ -68,8 +68,7 @@ // Generated by CoffeeScript 1.6.3

var ms;
if (timeout > 0) {
ms = this.toMillis(timeout);
setTimeout(done, ms);
} else {
done();
if (timeout < 0) {
timeout = 0;
}
ms = this.toMillis(timeout);
setTimeout(done, ms);
return null;

@@ -76,0 +75,0 @@ }

@@ -5,3 +5,3 @@ {

"keywords": ["TimeUnit", "time conversion", "Doug Lea"],
"version": "1.0.0",
"version": "1.0.1",
"author": "Jason Walton (https://github.com/jwalton)",

@@ -8,0 +8,0 @@ "contributors": [

@@ -7,2 +7,3 @@ TimeUnit js

[backport-util-concurrent](http://backport-jsr166.sourceforge.net/) version.
This class is the basis for `java.util.concurrent.TimeUnit` from JavaSE.

@@ -9,0 +10,0 @@ Ported by Jason Walton, released under the

Sorry, the diff of this file is not supported yet

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