New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fakegato-history

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fakegato-history - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

3

changelog.md

@@ -0,1 +1,4 @@

### v0.4.3
- fix for "room" when internal timer is not enabled
### v0.4.2

@@ -2,0 +5,0 @@ - fix bug when internal timer is not enabled

9

fakegato-history.js

@@ -155,3 +155,3 @@ /*jshint esversion: 6,node: true,-W041: false */

this.path = optionalParams.path || optionalParams.folder || (this.storage == 'fs' ? homebridge.user.storagePath() : undefined);
this.filename = optionalParams.filename
this.filename = optionalParams.filename;
this.disableTimer = optionalParams.disableTimer || false;

@@ -498,3 +498,2 @@ } else {

case TYPE_WEATHER:
case TYPE_ROOM:
if(!this.disableTimer)

@@ -505,2 +504,8 @@ homebridge.globalFakeGatoTimer.addData({entry: entry, service: this});

break;
case TYPE_ROOM:
if(!this.disableTimer)
homebridge.globalFakeGatoTimer.addData({entry: entry, service: this});
else
this._addEntry({time: entry.time, temp: entry.temp, humidity: entry.humidity, ppm: entry.ppm});
break;
case TYPE_ENERGY:

@@ -507,0 +512,0 @@ if(!this.disableTimer)

@@ -99,3 +99,3 @@ /*jshint esversion: 6,node: true,-W041: false */

if(!this.writing) {
this.writing = true
this.writing = true;
let writer = this.getWriter(params.service);

@@ -102,0 +102,0 @@ let callBack = typeof(params.callback)=='function'?params.callback:(typeof(writer.callback)=='function'?writer.callback:function(){}); // use parameter callback or writer callback or empty function

{
"name": "fakegato-history",
"version": "0.4.2",
"version": "0.4.3",
"description": "Module emulating Elgato Eve history for homebridge plugins",

@@ -5,0 +5,0 @@ "main": "fakegato-history.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