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

hubot-openassets

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-openassets - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

test.js

2

package.json
{
"name": "hubot-openassets",
"version": "0.4.2",
"version": "0.4.3",
"description": "Hubot script for managing and sending assets based on the Open Assets protocol",

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

@@ -86,3 +86,3 @@ // Description:

robot.hear(new RegExp(`${robotKeyword} address (add|remove|list)\s*(\w*)\s*(\w*)`, 'i'), function(res) {
robot.hear(new RegExp(`${robotKeyword} address (add|remove|list)\\s*(\\w*)\\s*(\\w*)`, 'i'), function(res) {
let command = res.match[1];

@@ -186,3 +186,3 @@ let nick = res.match[2];

console.log(err);
console.log(body);
console.log(body);
}

@@ -193,3 +193,3 @@ });

robot.hear(new RegExp(`${robotKeyword} send (\d*)\s?to (\w+).*`, 'i'), function(hearResponse) {
robot.hear(new RegExp(`${robotKeyword} send (\\d*)\s?to (\\w+).*`, 'i'), function(hearResponse) {
let user = hearResponse.message.user;

@@ -196,0 +196,0 @@ if (!robot.auth.isAdmin(user)) {

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