iobroker.amtronwallbox 0.2.0 → 0.2.2

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.
package/README.md CHANGED
@@ -26,6 +26,9 @@ For more details and for information how to disable the error reporting see [Sen
26
26
 
27
27
  ## Changelog
28
28
 
29
+ ### 0.2.2 (2023-04-07)
30
+ * (René) dependencies updated
31
+
29
32
  ### 0.2.0 (2023-01-31)
30
33
  * (René) see issue #1: write data to XTRA wallbox (experimentel)
31
34
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "amtronwallbox",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "news": {
6
+ "0.2.1": {
7
+ "en": "dependencies updated",
8
+ "de": "Abhängigkeiten aktualisiert",
9
+ "ru": "зависимости обновлены",
10
+ "pt": "dependências atualizadas",
11
+ "nl": "afhankelijkheden bijgewerkt",
12
+ "fr": "dépendances mises à jour",
13
+ "it": "dipendenze aggiornate",
14
+ "es": "dependencias actualizadas",
15
+ "pl": "zaktualizowane zależności",
16
+ "uk": "залежності оновлено",
17
+ "zh-cn": "依赖更新"
18
+ },
6
19
  "0.2.0": {
7
20
  "en": "write data to XTRA wallbox",
8
21
  "de": "Daten in die XTRA Wallbox schreiben",
package/main.js CHANGED
@@ -2206,12 +2206,12 @@ function CronStatus() {
2206
2206
  let n = 0;
2207
2207
  let length = 0;
2208
2208
  try {
2209
- if (typeof cronJobs !== undefined && cronJobs != null) {
2209
+ if (cronJobs !== undefined && cronJobs != null) {
2210
2210
 
2211
2211
  length = cronJobs.length;
2212
2212
  //adapter.log.debug("cron jobs");
2213
2213
  for (n = 0; n < length; n++) {
2214
- if (typeof cronJobs[n] !== undefined && cronJobs[n] != null) {
2214
+ if ( cronJobs[n] !== undefined && cronJobs[n] != null) {
2215
2215
  adapter.log.debug("cron status = " + cronJobs[n].running + " next event: " + timeConverter("DE", cronJobs[n].nextDates()));
2216
2216
  }
2217
2217
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.amtronwallbox",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "ioBroker Adapter for AMTRON wallboxes",
5
5
  "author": {
6
6
  "name": "René G.",
@@ -21,9 +21,9 @@
21
21
  "url": "https://github.com/rg-engineering/ioBroker.amtronwallbox"
22
22
  },
23
23
  "dependencies": {
24
- "@iobroker/adapter-core": "2.6.7",
24
+ "@iobroker/adapter-core": "2.6.8",
25
25
  "axios": "0.27.2",
26
- "cron": "2.2.0"
26
+ "cron": "2.3.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@iobroker/adapter-dev": "1.2.0",
@@ -32,7 +32,7 @@
32
32
  "@types/chai-as-promised": "7.1.5",
33
33
  "@types/gulp": "4.0.10",
34
34
  "@types/mocha": "10.0.1",
35
- "@types/node": "18.11.18",
35
+ "@types/node": "18.15.11",
36
36
  "@types/proxyquire": "1.3.28",
37
37
  "@types/request-promise-native": "1.0.18",
38
38
  "@types/sinon": "10.0.13",
@@ -40,11 +40,11 @@
40
40
  "axios": "0.27.2",
41
41
  "chai": "4.3.7",
42
42
  "chai-as-promised": "7.1.1",
43
- "eslint": "8.31.0",
43
+ "eslint": "8.37.0",
44
44
  "gulp": "4.0.2",
45
45
  "mocha": "10.2.0",
46
46
  "proxyquire": "2.1.3",
47
- "sinon": "15.0.1",
47
+ "sinon": "15.0.3",
48
48
  "sinon-chai": "3.7.0"
49
49
  },
50
50
  "main": "main.js",