Socket
Socket
Sign inDemoInstall

lib-vk

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-vk - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

12

libVK.js

@@ -36,4 +36,3 @@ const axios = require('axios').default;

`var this = [${element[0].map(x=> `API.${x[0]}(${JSON.stringify(x[1])})`).join(',')}]${element[1] ? ';' : ''}
${element[1] ? `refunds.push([this, API.${element[1]}])` : ''}`)
.join(';')};
${element[1] ? `refunds.push([this, API.${element[1]}])` : ''}`).join(';')};
return refunds;

@@ -52,12 +51,7 @@ `}));

{
super(Utils)
super(Utils);
this.groupId = options.groupId;
this.token = options.token;
this.secret = options.secret;
if(this.secret)
{
callback.use(bodyParser.json());
callback.listen(80);
}
this.secret = options.secret ? (callback.use(bodyParser.json()) && callback.listen(80) && options.secret) : options.secret;
this.path = options.path;

@@ -64,0 +58,0 @@

{
"name": "lib-vk",
"version": "1.0.1",
"version": "1.0.3",
"description": "Compact SDK with VK API for Node.js",

@@ -29,3 +29,4 @@ "main": "libVK.js",

"body-parser": "^1.19.1",
"express": "^4.17.2"
"express": "^4.17.2",
"axios": "^0.24.0"
},

@@ -32,0 +33,0 @@ "bugs": {

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