Socket
Socket
Sign inDemoInstall

syntex-automation

Package Overview
Dependencies
Maintainers
1
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.0.1-b3 to 1.0.1

21

main.js

@@ -1,8 +0,8 @@

const emitter = require('./emitter');
const EventEmitter = require('events');
class AutomationSystem
class AutomationSystem extends EventEmitter
{
constructor()
{
super();
}

@@ -12,8 +12,3 @@

{
emitter.on(stream, (reciever, values) => {
console.log('Emitter Received', values);
callback(reciever, values);
});
super.on(stream, (reciever, values) => callback(reciever, values));
}

@@ -23,6 +18,10 @@

{
emitter.emit(stream, reciever, values);
super.emit(stream, reciever, values);
}
}
module.exports = new AutomationSystem();
const automation = new AutomationSystem();
automation.setMaxListeners(256);
module.exports = automation;
{
"name": "syntex-automation",
"version": "1.0.1-b3",
"version": "1.0.1",
"description": "An automation system for your smart home",

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

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