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

monotonic-timestamp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monotonic-timestamp - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

index.js

@@ -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": {

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