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

vkstatic

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vkstatic - npm Package Compare versions

Comparing version 1.3.0 to 1.6.5-beta

color.js

8

package.json
{
"name": "vkstatic",
"version": "1.3.0",
"description": "",
"main": "vkstaticnew.js",
"version": "1.6.5-beta",
"description": "Module for using VK API",
"main": "vkstatic.js",
"scripts": {

@@ -11,3 +11,3 @@ "test": "echo \"Error: no test specified\" && exit 1"

"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {

@@ -14,0 +14,0 @@ "cheerio": "^1.0.0-rc.12",

@@ -25,3 +25,3 @@ <p align='center'>

- ## Usage to methods FormData
- ## 💡 Usage to methods FormData

@@ -31,3 +31,3 @@ ```javascript

const FormData = new FormData({
const FormData = new FormData({
token: process.env.TOKEN

@@ -46,3 +46,3 @@ })

method ()
method () // {...Object}
```

@@ -70,3 +70,3 @@

# Use default params
# 📂 Use default params
```javascript

@@ -88,3 +88,3 @@ import { Hame, FormData } from 'vkstatic';

## Usage to method
## 🗒 Usage to method
```javascript

@@ -108,3 +108,3 @@ import { Method, FormData } from 'vkstatic';

## Usage to method, #2
## 🗂 Usage to method, #2
```javascript

@@ -125,3 +125,3 @@ import { FormData } from "vkstatic";

## Send message in chat
## 📁 Send message in chat
```javascript

@@ -157,3 +157,3 @@ import { Method, FormData, getRandomId } from 'vkstatic';

```
## Checking token
## 💡 Checking token
```javascript

@@ -171,3 +171,3 @@ import { Method, FormData } from 'vkstatic';

## API Limite
## 💡 API Limite
```javascript

@@ -208,3 +208,3 @@ const { FormData, Method, API, APILimite } = require('vkstatic');

## Invalid params
## 🐰 Invalid params
```javascript

@@ -218,7 +218,9 @@ import { paramsInvalide } from 'vkstatic';

## Getters
## 💡 Getters
```javascript
const { Update, FormData } = require("vkstatic");
const FormData = new FormData({ token: "" })
const FormData = new FormData({
token: ""
})

@@ -230,7 +232,9 @@ const body = new Update();

# SearchMethod
## 🗂 Cute url of token
```javascript
const {search_method} = require (`vkstatic`)
const { getToken } = require("vkstatic")
const search = search_method (`donut`) // true
const url = "URL"
const giveToken = getToken(url) // token
```

@@ -237,0 +241,0 @@

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

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
function isObject (yung) { return typeof yung == 'object' }
const fetchPromise = (urlinit, init) => (Promise.resolve(fetch).then(fn => fn(urlinit, init)));
const color = require('./color.js')
const groupMethods = require('./groupMethod.js');
const getRandomId = require ('./getRandomId.js');

@@ -18,2 +25,8 @@

var This_Options = require('./options.js')
var FilterParams = require ('./filterparams.js');
const getToken = require('./getToken.js');
class FormData {

@@ -23,8 +36,5 @@

this.params = params.options
!==
undefined ? params.options
: params
this.params = FilterParams (params)
options = this.params
This_Options = this.params

@@ -304,4 +314,34 @@ this.hash = options

const search = (params) => method.find (x => x == params);
const freeze = (x) => [x]
exports.MethodValue = MethodValue;
module.exports = {
MethodValue: MethodValue,
Hame: Hame,
FormData: FormData,
default: FormData,
Method: Method,
getRandomId: getRandomId,
API: API,
use: use,
APILimite: APILimite,
paramsInvalide: paramsInvalide,
Update: Update,
Events: Events,
execute: execute,
AttachmentRegExp: /[1-3]+/,
Formate: FormData,
Search: {
default: FormData,
api: {
search: search
}
},
Delete: {
_token: freeze
},
search_method: (init) => groupMethods.find (search => search === init) == init ? true : false,
getToken: getToken
}
/*exports.MethodValue = MethodValue;
exports.Hame = Hame;

@@ -323,2 +363,5 @@ exports.FormData = FormData;

exports.Search = ({ default: FormData, api: { search: search } })
exports.Delete = ({})
exports.Delete = ({ _token: freeze })
exports.Color = color
exports.search_method = (init) => groupMethods.find (search => search === init) == init ? true : false
exports.getToken = getToken*/
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