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

homebridge-syntex-magichome

Package Overview
Dependencies
Maintainers
1
Versions
423
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-syntex-magichome - npm Package Compare versions

Comparing version 1.0.0-b16 to 1.0.0-b17

2

package.json
{
"name": "homebridge-syntex-magichome",
"version": "1.0.0-b16",
"version": "1.0.0-b17",
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes",

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

@@ -143,23 +143,17 @@ //

self.log('Discovering Devices')
try{
this.proc = spawn(cmd, ['-s'])
this.proc.stdout.on('data', (data) => {
const newData = '' + data
self.log(newData)
self.cachedAddress = self.parseDevices(newData)
})
this.proc = spawn(cmd, ['-s'])
this.proc.stdout.on('data', (data) => {
const newData = '' + data
self.log(newData)
self.cachedAddress = self.parseDevices(newData)
})
this.proc.stderr.on('data', (data) => {
self.log('Error : ' + data)
})
this.proc.stderr.on('data', (data) => {
self.log('Error : ' + data)
})
this.proc.on('close', () => {
self.log('Discovery Finished');
self.rediscoverLights()
})
}
catch(e)
{
console.log(e);
}
this.proc.on('close', () => {
self.log('Discovery Finished');
self.rediscoverLights()
})
}

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