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

riot-ratelimiter-temp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riot-ratelimiter-temp - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

1

dist/RateLimit/index.js

@@ -157,2 +157,3 @@ "use strict";

this.resetTimeout = setTimeout(() => { this.reset(); }, this._seconds * 1000);
this.resetTimeout.unref();
}

@@ -159,0 +160,0 @@ }

@@ -277,2 +277,3 @@ "use strict";

this.intervalProcessQueue = setInterval(() => { this.processBurstQueue(); }, 1000 + factorForEqualRights);
this.intervalProcessQueue.unref();
}

@@ -285,2 +286,3 @@ }

}, this.getSpreadInterval());
this.intervalNextSpreadExecution.unref();
}

@@ -287,0 +289,0 @@ execute(fn, onSuccess, onError) {

4

dist/RiotRateLimiter/index.js

@@ -20,3 +20,5 @@ "use strict";

if (!this.limitersPerPlatformId[platformId][apiMethod]) {
console.log('creating sync rate limiter for ', platformId, apiMethod);
if (this.debug) {
console.log('creating sync rate limimter for ', platformId, apiMethod);
}
this.limitersPerPlatformId[platformId][apiMethod] = new RateLimiter_1.RateLimiter({

@@ -23,0 +25,0 @@ limits: [RateLimiter_1.RateLimiter.createSyncRateLimit(this.debug)],

{
"name": "riot-ratelimiter-temp",
"version": "0.0.1",
"version": "0.0.2",
"description": "A temporary fork of ColorfulStans ratelimiter with POST/PUT?PATCH functionality. Will be used until I write proper tests for the code I have added.",

@@ -135,2 +135,2 @@ "keywords": [

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