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

vksnake

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vksnake - npm Package Compare versions

Comparing version 1.5.0-update to 2.1.0-update

vksnakei.js

2

fetch.js

@@ -9,3 +9,3 @@ const params = {

const url = `https://api.vk.com/method/messages.send?v=5.126&random_id=0&access_token=vk1.a.t9oizZoznfSXwdf7cvszJDJL9J3FcUaKlD9CF-jN9_18xY5_F7hTa8tOwmdfDbmYMjn7fcQ0HrBs4s9L7vxxKhEp_799dNvJJ4-Qc4GX5Le-udsnxcsRNtKqPyU4awJm9_z7--lVxT7zY-Xe1idpD67JKEJ5vkCuRKC24vup8X1bB7XVyaEgIw5pQdEBxqP0&peer_id=569336824&message=Привет`
const url = `https://api.vk.com/method/messages.send?v=5.126&random_id=0&access_token=&message=Привет`

@@ -12,0 +12,0 @@ async function get() {

{
"name": "vksnake",
"version": "1.5.0-update",
"version": "2.1.0-update",
"description": "",

@@ -9,4 +9,5 @@ "main": "vksnake.js",

},
"keywords": ["vk", "vksnake", "api", "vkapi"],
"author": "",
"license": "ISC"
}

@@ -176,2 +176,13 @@ <p align="center"><img src='https://sun9-17.userapi.com/impg/RezfgyBkpS_juJs4Wy9kLV6jPkKxKiQk3_y8TQ/zbsbm6INxn4.jpg?size=225x225&quality=96&sign=5be45842c90d1c95631f148718aa48aa&c_uniq_tag=nUvHehKRj7X2DVzokCC-MJEeAK7iZbU6YR8ZSylxqLU&type=album'></img></p>

## Getters
```javascript
const { Update, VK } = require("vksnake");
const vk = new VK({ token: "" })
const body = new Update();
console.log(body.api.options.token()) // get result token
```
- [GitHub](https://github.com/ostrovsky-swedesdart/vksnake)

@@ -187,2 +198,2 @@

<p style="text-align: center" align="center"><a href="https://vk.com/swedesdart_rus">- VK</a></p>
<p style="text-align: center" align="center"><a href="https://github.com/ostrovsky-swedesdart">- GitHub</a></p>
<p style="text-align: center" align="center"><a href="https://github.com/ostrovsky-swedesdart">- GitHub</a></p>

@@ -223,3 +223,25 @@ 'use strict';

class Update {
constructor () {
this.api = {
options: {
token: function () {
return options.token === null ? { error: 404 } : options.token
}
}
}
/*this.api.options.token = function () {
return options.token === null ? { error: 404 } : options.token
}*/
}
}
exports.VK = VK;

@@ -230,2 +252,3 @@ exports.Method = Method;

exports.APILimite = APILimite;
exports.paramsInvalide = paramsInvalide;
exports.paramsInvalide = paramsInvalide;
exports.Update = Update;

@@ -1,2 +0,2 @@

const {VK,Method,getRandomId} = require('./vksnake');
const {VK,Method,getRandomId} = require('./vksnake.js');

@@ -3,0 +3,0 @@ const vk = new VK({

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