wickrio-bot-api
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"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 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
10709
274
1