Socket
Socket
Sign inDemoInstall

homebridge-syntex-magichome

Package Overview
Dependencies
Maintainers
1
Versions
420
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-b40 to 1.0.0-b41

2

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

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

@@ -34,12 +34,12 @@ const LightBulb = require('./accessories/lightBulb');

response.write('<h1>Hallo Welt!!!</h1>');
response.write(JSON.stringify(params));
response.end();
});
server.addPage('/test2', (response, params) => {
if(params.id)
{
response.write('Deine ID lautet: ' + params.id);
if(Array.isArray(params.id))
{
response.write('Mehrere IDs!');
}
else
{
response.write('Deine ID lautet: ' + params.id);
}
}

@@ -46,0 +46,0 @@ else

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