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

homebridge-weather

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-weather - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

6

index.js

@@ -153,3 +153,3 @@ "use strict";

returnTempFromCache: function () {
var temperature = 0;
var temperature;
if (this.cachedWeatherObj) {

@@ -169,3 +169,3 @@ if (this.type === "min") {

returnHumFromCache: function () {
var humidity = 0;
var humidity;
if (this.cachedWeatherObj && this.cachedWeatherObj["main"]) {

@@ -207,3 +207,3 @@ humidity = parseFloat(this.cachedWeatherObj["main"]["humidity"]);

addHistory: function (temperature, humidity) {
if (this.enableHistory && this.pollingInterval > 0 && this.fakeGateHistoryService && (temperature || humidity) && (temperature > 0 || humidity > 0)) {
if (this.enableHistory && this.pollingInterval > 0 && this.fakeGateHistoryService && (temperature || humidity)) {
this.fakeGateHistoryService.addEntry({

@@ -210,0 +210,0 @@ time: new Date().getTime() / 1000,

{
"name": "homebridge-weather",
"version": "1.6.2",
"version": "1.6.3",
"description": "A homebridge temperature sensor for displaying the weather at your current location.",

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