Socket
Socket
Sign inDemoInstall

syntex-automation

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syntex-automation - npm Package Compare versions

Comparing version 1.2.1-b27 to 1.2.1-b28

2

package.json
{
"name": "syntex-automation",
"version": "1.2.1-b27",
"version": "1.2.1-b28",
"description": "An automation system for your smart home",

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

@@ -163,29 +163,3 @@ module.exports = class Automation

{
return new Promise((resolve) => {
if(this.ready)
{
var promiseArray = [];
for(const automation of this.automation)
{
if(automation.active && this._includesBlock(this._getBlocks(automation.id), service))
{
promiseArray.push(this._checkLock(automation, service, state));
this.checkTrigger(automation, service, state);
}
}
Promise.all(promiseArray).then((result) => {
if(result.includes(true))
{
this.files.writeFile('automation/automation-lock.json', { timeLock : this.timeLock, stateLock : this.stateLock });
}
});
}
resolve();
});
this.EventManager.setOutputStream('runAutomation', { sender : this }, { service : { id : service.id, letters : service.letters, name : service.name }, state });
}

@@ -192,0 +166,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