monotonic-timestamp
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -22,3 +22,3 @@ // If `Date.now()` is invoked twice quickly, it's possible to get two | ||
// is incremented so that next call get's adjusted properly. | ||
if (_last === time) adjusted += ((_count++) / 1000) | ||
if (_last === time) adjusted += _count++ / (_count + 999) | ||
// If last time was different reset timer back to `1`. | ||
@@ -25,0 +25,0 @@ else _count = 1 |
{ | ||
"name": "monotonic-timestamp", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"homepage": "https://github.com/dominictarr/monotonic-timestamp", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3714