Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-vk-bot-api - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

3

lib/methods/listen.js

@@ -89,2 +89,3 @@ const rp = require('request-promise')

ctx.forward = forward
ctx.original = { body: ctx.body }
ctx.body = forward.body

@@ -117,3 +118,3 @@ }

.filter((item) => {
if (/\/[\S]{1,}\/[a-z]{1,2}/.test(item)) {
if (/^\/[\S]{1,}\/[a-z]{1,2}$/.test(item)) {
const string = item.substr(1).replace(/\/[a-z]{1,2}/i, '')

@@ -120,0 +121,0 @@ const type = item.substr(1).match(/\/[a-z]{1,2}/i)[0].substr(1)

{
"name": "node-vk-bot-api",
"version": "1.1.3",
"version": "1.1.4",
"description": "API for VK bots on long poll.",

@@ -5,0 +5,0 @@ "main": "index.js",

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