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

homebridge-delay-switch

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-delay-switch - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

12

index.js

@@ -32,15 +32,15 @@ var Service, Characteristic;

case 's':
this.delay = this.delay * 1000;
this.delayTime = this.delay * 1000;
break;
case 'm':
this.delay = this.delay * 60 * 1000;
this.delayTime = this.delay * 60 * 1000;
break;
case 'h':
this.delay = this.delay * 60 * 60 * 1000;
this.delayTime = this.delay * 60 * 60 * 1000;
break;
case 'd':
this.delay = this.delay * 24 * 60 * 60 * 1000;
this.delayTime = this.delay * 24 * 60 * 60 * 1000;
break;
default:
this.delay = this.delay;
this.delayTime = this.delay;
break;

@@ -154,3 +154,3 @@ }

}.bind(this), this.delay);
}.bind(this), this.delayTime);
}

@@ -157,0 +157,0 @@ }

{
"name": "homebridge-delay-switch",
"version": "3.2.2",
"version": "3.2.3",
"description": "Delay switches for Homebridge",

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

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