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

iobroker.accuweather

Package Overview
Dependencies
Maintainers
31
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.accuweather - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

16

io-package.json
{
"common": {
"name": "accuweather",
"version": "1.2.1",
"version": "1.2.2",
"news": {
"1.2.2": {
"en": "HoursOfSun parameter added to Daily forecast",
"de": "HoursOfSun-Parameter zur täglichen Vorhersage hinzugefügt",
"ru": "В суточный прогноз добавлен параметр HoursOfSun",
"pt": "Parâmetro HoursOfSun adicionado à previsão diária",
"nl": "HoursOfSun-parameter toegevoegd aan dagelijkse voorspelling",
"fr": "Paramètre HoursOfSun ajouté aux prévisions quotidiennes",
"it": "Parametro HoursOfSun aggiunto alla previsione giornaliera",
"es": "Parámetro HoursOfSun agregado al pronóstico diario",
"pl": "Dodano parametr HoursOfSun do prognozy dziennej",
"zh-cn": "每日预测中添加了 hoursOfSun 参数"
},
"1.2.1": {

@@ -201,2 +213,2 @@ "en": "Updated logo",

"instanceObjects": []
}
}

@@ -35,2 +35,13 @@ {

},
"Daily.dayn.HoursOfSun": {
"type": "state",
"common": {
"name": "Hours of Sun",
"type": "number",
"read": true,
"write": false,
"role": "value"
},
"native": {}
},
"Daily.dayn.Temperature.Minimum": {

@@ -37,0 +48,0 @@ "type": "state",

@@ -58,2 +58,13 @@ {

},
"Summary.HoursOfSun": {
"type": "state",
"common": {
"name": "Hours of Sun",
"type": "number",
"read": true,
"write": false,
"role": "value.HoursOfSun"
},
"native": {}
},
"Summary.RealFeelTemperature": {

@@ -60,0 +71,0 @@ "type": "state",

@@ -73,2 +73,8 @@ "use strict";

break;
case "HoursOfSun":
this.setState("Daily.Day" + day + ".HoursOfSun", { val: json[key], ack: true });
if (day === 1) {
this.setState("Summary.HoursOfSun", { val: json[key], ack: true });
}
break;
case "Temperature":

@@ -75,0 +81,0 @@ this.setState("Daily.Day" + day + ".Temperature.Minimum", { val: json[key]["Minimum"].Value, ack: true });

6

package.json
{
"name": "iobroker.accuweather",
"version": "1.2.1",
"version": "1.2.2",
"description": "Weather forecast using AccuWeather API",

@@ -26,3 +26,3 @@ "author": {

"devDependencies": {
"@alcalzone/release-script": "^2.2.0",
"@alcalzone/release-script": "^3.4.2",
"@iobroker/testing": "^2.4.4",

@@ -33,3 +33,3 @@ "@types/chai": "^4.2.19",

"@types/mocha": "^8.2.2",
"@types/node": "^15.12.4",
"@types/node": "^17.0.5",
"@types/proxyquire": "^1.3.28",

@@ -36,0 +36,0 @@ "@types/sinon": "^10.0.2",

@@ -44,2 +44,5 @@ ![Logo](admin/accuweather.png)

## Changelog
### 1.2.2 (2021-12-29)
* (algar42) HoursOfSun Parameter added to the Daily forecast
### 1.2.1 (2021-07-22)

@@ -46,0 +49,0 @@ * (bluefox) Updated logo

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