iobroker.yamaha 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,7 @@ jobs:
50
50
  runs-on: ${{ matrix.os }}
51
51
  strategy:
52
52
  matrix:
53
- node-version: [12.x, 14.x, 16.x]
53
+ node-version: [12.x, 14.x, 16.x, 18.x]
54
54
  os: [ubuntu-latest, windows-latest, macos-latest]
55
55
 
56
56
  steps:
package/README.md CHANGED
@@ -43,6 +43,9 @@ You have to enable "network standby" function in the configuration of your recei
43
43
 
44
44
 
45
45
  ## Changelog
46
+ ### 0.5.3 (2022-06-17)
47
+ * (Apollon77) Fix crash cases reported by Sentry
48
+
46
49
  ### 0.5.2 (2022-04-23)
47
50
  * (Apollon77) Fix crash cases reported by Sentry
48
51
 
package/io-package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "yamaha",
4
- "version": "0.5.2",
4
+ "version": "0.5.3",
5
5
  "news": {
6
+ "0.5.3": {
7
+ "en": "Fix crash cases reported by Sentry",
8
+ "de": "Reparieren Crashfälle gemeldet von Sentry",
9
+ "ru": "Исправление случаев аварии, описанных Sentry",
10
+ "pt": "Corrigir casos de acidente relatados por Sentry",
11
+ "nl": "Vertaling:",
12
+ "fr": "Troubles de crash signalés par Sentry",
13
+ "it": "Correzione dei casi di crash segnalati da Sentry",
14
+ "es": "Casos de accidente fijo reportados por Sentry",
15
+ "pl": "Sprawy katastrofy Fix podane przez Sentry’a",
16
+ "zh-cn": "Sentry所报告的六例事故"
17
+ },
6
18
  "0.5.2": {
7
19
  "en": "Fix crash cases reported by Sentry",
8
20
  "de": "Von Sentry gemeldete Absturzfälle beheben",
@@ -74,18 +86,6 @@
74
86
  "es": "Se corrigió el bloqueo en lib / soef.js (Garfonso) \n meta información actualizada. (Garfonso)",
75
87
  "pl": "naprawiono awarię w lib / soef.js (Garfonso) \naktualizowano meta informacje. (Garfonso)",
76
88
  "zh-cn": "修复了lib / soef.js(Garfonso)\n更新的元信息中的崩溃。 (加方索)"
77
- },
78
- "0.3.19": {
79
- "en": "Changelog added to readme",
80
- "de": "Changelog der readme hinzugefügt",
81
- "ru": "Список изменений добавлен в readme",
82
- "pt": "Changelog adicionado ao leia-me",
83
- "nl": "Changelog toegevoegd aan readme",
84
- "fr": "Changelog ajouté au fichier readme",
85
- "it": "Changelog aggiunto al readme",
86
- "es": "Registro de cambios agregado a Léame",
87
- "pl": "Dziennik zmian dodany do readme",
88
- "zh-cn": "更改日志添加到自述文件"
89
89
  }
90
90
  },
91
91
  "title": "Yamaha",
package/main.js CHANGED
@@ -269,13 +269,13 @@ var defaultParams = {
269
269
  return (this.val === 'true') || !!(this.val >> 0);
270
270
  },
271
271
  get szVal() {
272
- return this.val.toString ();
272
+ return this.val === null ? '': this.val.toString();
273
273
  },
274
274
  get zone() {
275
275
  return zone;
276
276
  },
277
277
  result: function(idx) {
278
- return this [idx] !== undefined ? this [idx] : idx;
278
+ return this [idx] !== undefined ? this[idx] : idx;
279
279
  }
280
280
  };
281
281
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.yamaha",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "ioBroker Yamaha Adapter",
5
5
  "author": {
6
6
  "name": "soef",
@@ -39,27 +39,27 @@
39
39
  "yamaha-nodejs-soef": "^0.7.4"
40
40
  },
41
41
  "devDependencies": {
42
- "@alcalzone/release-script": "^3.5.6",
43
- "@alcalzone/release-script-plugin-iobroker": "^3.5.7",
44
- "@alcalzone/release-script-plugin-license": "^3.5.3",
45
- "@iobroker/testing": "^2.5.6",
46
- "@types/chai": "^4.3.0",
42
+ "@alcalzone/release-script": "^3.5.9",
43
+ "@alcalzone/release-script-plugin-iobroker": "^3.5.9",
44
+ "@alcalzone/release-script-plugin-license": "^3.5.9",
45
+ "@iobroker/testing": "^3.0.2",
46
+ "@types/chai": "^4.3.1",
47
47
  "@types/chai-as-promised": "^7.1.5",
48
48
  "@types/gulp": "^4.0.9",
49
- "@types/mocha": "^9.1.0",
50
- "@types/node": "^17.0.23",
49
+ "@types/mocha": "^9.1.1",
50
+ "@types/node": "^18.0.0",
51
51
  "@types/proxyquire": "^1.3.28",
52
52
  "@types/sinon": "^10.0.11",
53
53
  "@types/sinon-chai": "^3.2.8",
54
- "axios": "^0.26.1",
54
+ "axios": "^0.27.2",
55
55
  "chai": "^4.3.6",
56
56
  "chai-as-promised": "^7.1.1",
57
- "eslint": "^8.12.0",
57
+ "eslint": "^8.17.0",
58
58
  "gulp": "^4.0.2",
59
59
  "mocha": "^9.2.2",
60
60
  "proxyquire": "^2.1.3",
61
61
  "sinon-chai": "^3.7.0",
62
- "sinon": "^13.0.1"
62
+ "sinon": "^14.0.0"
63
63
  },
64
64
  "repository": {
65
65
  "type": "git",