New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vk-fast-longpoll

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vk-fast-longpoll - npm Package Compare versions

Comparing version 2.0.19 to 2.0.20

8

lib/api.js

@@ -23,2 +23,3 @@ 'use strict';

this._time = 220;
this._callsCount = 25;

@@ -48,3 +49,3 @@ let _apiCall = (method,params = {}) => {

{
let count = (self._queue.length >= 25) ? self._queue.length : 25;
let count = (self._queue.length >= this._callsCount) ? self._queue.length : this._callsCount;
let apiCalls = [];

@@ -68,2 +69,7 @@ let current = self._queue.splice(0, count);

logger.error(res.statusCode + ' | ' + res.statusMessage);
if(res.statusCode == 214)
{
this._callsCount--;
console.log('API execute calls was decreased to ' + this._callsCount + ' due to big request body');
}
for(let i in current)

@@ -70,0 +76,0 @@ this._queue.unshift(current[i]);

2

package.json

@@ -33,3 +33,3 @@ {

},
"version": "2.0.19"
"version": "2.0.20"
}
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