node-vk-bot-api
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14344
301