Huge News!Announcing our $40M Series B led by Abstract Ventures.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.9 to 2.0.10

9

index.js
'use strict';
const request = require('request');
const querystring = require('querystring');
const fs = require('fs');
const Longpoll = require('./lib/longpoll');
const API = require('./lib/api');
const fs = require('fs');
const util = require('util');
const log_file = fs.createWriteStream(__dirname + '/error.log', {flags : 'a'});
const log_error = process.stderr;
console.error = function(d) {
log_file.write(util.format(d) + '\n');
log_error.write(util.format(d) + '\n');
};

@@ -17,0 +8,0 @@ module.exports = class {

10

lib/api.js

@@ -7,2 +7,12 @@ 'use strict';

const fs = require('fs');
const util = require('util');
const log_file = fs.createWriteStream(__dirname + '/api.log', {flags : 'a'});
const log_error = process.stderr;
console.error = function(d) {
log_file.write(util.format(d) + '\n');
log_error.write(util.format(d) + '\n');
};
module.exports = class {

@@ -9,0 +19,0 @@ constructor(token)

@@ -6,3 +6,12 @@ 'use strict';

const Message = require('./message');
const fs = require('fs');
const util = require('util');
const log_file = fs.createWriteStream(__dirname + '/longpoll.log', {flags : 'a'});
const log_error = process.stderr;
console.error = function(d) {
log_file.write(util.format(d) + '\n');
log_error.write(util.format(d) + '\n');
};
module.exports = class {

@@ -9,0 +18,0 @@ constructor(api)

2

package.json

@@ -128,3 +128,3 @@ {

},
"version": "2.0.9"
"version": "2.0.10"
}
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