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

wickrio-bot-api

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wickrio-bot-api - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

package.json
{
"name": "wickrio-bot-api",
"version": "1.1.0",
"version": "1.2.0",
"description": "The official Wickr IO Bot API Framework",

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

@@ -220,7 +220,8 @@ const WickrIOAPI = require('wickrio_addon');

else
var parsedData = request.match(/(\/[a-zA-Z]+)(@[a-zA-Z0-9_-]+)?(\s+)?(.*)$/);
//This doesn't capture @ mentions
var parsedData = request.match(/(\/[a-zA-Z]+)([\s\S]*)$/);
if (parsedData !== null) {
command = parsedData[1];
if (parsedData[4] !== '') {
argument = parsedData[4];
if (parsedData[2] !== '') {
argument = parsedData[2];
}

@@ -227,0 +228,0 @@ }

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