Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
1
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

2

lib/methods/next.js

@@ -6,3 +6,3 @@ module.exports = function (ctx, idx = -1) {

const isTriggered = (triggers || []).some(
trigger => (ctx.message.type === 'message_new' ? message.startsWith(trigger) : ctx.message.type === trigger),
trigger => (ctx.message.type === 'message_new' && trigger !== 'message_new' ? message.startsWith(trigger) : ctx.message.type === trigger),
)

@@ -9,0 +9,0 @@

{
"name": "node-vk-bot-api",
"version": "2.0.3",
"version": "2.0.4",
"description": "🤖 Vk bot framework for Node.js",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc