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

async-ratelimiter

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-ratelimiter - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

2

package.json

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

"homepage": "https://nicedoc.io/microlinkhq/async-ratelimiter",
"version": "1.3.4",
"version": "1.3.5",
"main": "src/index.js",

@@ -8,0 +8,0 @@ "author": {

'use strict'
const time = Date.now() * 1e3
const start = process.hrtime()
const start = process.hrtime.bigint()
module.exports.now = function () {
const diff = process.hrtime(start)
return time + diff[0] * 1e6 + Math.round(diff[1] * 1e-3)
}
module.exports.now = () => time + Number(process.hrtime.bigint() - start) * 1e-3
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