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

automait

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

automait - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

12

lib/trigger-loader.js

@@ -90,7 +90,11 @@ module.exports = createTriggerLoader

}
var possibleValues = cond.action.equal
if (!Array.isArray(possibleValues)) {
possibleValues = [ possibleValues ]
if (cond.action.equal) {
var possibleValues = cond.action.equal
if (!Array.isArray(possibleValues)) {
possibleValues = [ possibleValues ]
}
evCb(possibleValues.indexOf(result) > -1)
} else if (cond.action.lessThan) {
evCb(parseInt(result, 10) < cond.action.lessThan)
}
evCb(possibleValues.indexOf(result) > -1)
}

@@ -97,0 +101,0 @@

{
"name": "automait",
"version": "1.3.0",
"version": "1.4.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "ISC",

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