Socket
Socket
Sign inDemoInstall

homebridge-twilio-sms-cooloff

Package Overview
Dependencies
48
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

4

main.js

@@ -75,3 +75,3 @@ const fs = require( "fs" );

return JSON.parse( save_file );
} catch( e ) { console.log( e ); return false; }
} catch( e ) { console.log( e ); return {}; }
},

@@ -88,2 +88,4 @@ writeSaveFile( js_object ) {

let now = new Date();
if ( !save_file[ "sensors" ] ) { save_file[ "sensors" ] = {}; }
if ( !save_file[ "sensors" ][ this.name ] ) { save_file[ "sensors" ][ this.name ] = { "last_power_on_time": false }; }
if ( save_file[ "sensors" ][ this.name ][ "last_power_on_time" ] === false ) {

@@ -90,0 +92,0 @@ self.log( "resetting last_power_on_time to now" );

{
"name": "homebridge-twilio-sms-cooloff",
"version": "0.0.1",
"version": "0.0.2",
"description": "Homebridge plugin to send SMSes with a static message using Twilio api (paid service) - with cooloff",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc