iobroker.smartcontrol 2.0.1 → 2.1.0

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/package.json CHANGED
@@ -1,17 +1,15 @@
1
1
  {
2
2
  "name": "iobroker.smartcontrol",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Control devices smarter: by grouping, including triggers like motion, opening window, etc. and set target devices accordingly",
5
- "author": {
6
- "name": "Mic-M",
7
- "email": "iob.micm@gmail.com"
8
- },
9
- "engines": {
10
- "node": ">=16"
11
- },
5
+ "author": "Mic-M <iob.micm@gmail.com>",
6
+ "contributors": [
7
+ "iobroker-community-adapters <iobroker-community-adapters@gmx.de>"
8
+ ],
12
9
  "homepage": "https://github.com/iobroker-community-adapters/ioBroker.smartcontrol",
13
10
  "license": "MIT",
14
11
  "keywords": [
12
+ "ioBroker",
15
13
  "smart",
16
14
  "control",
17
15
  "rooms",
@@ -27,33 +25,37 @@
27
25
  "type": "git",
28
26
  "url": "https://github.com/iobroker-community-adapters/ioBroker.smartcontrol"
29
27
  },
28
+ "engines": {
29
+ "node": ">=22.19.0"
30
+ },
30
31
  "dependencies": {
31
- "axios": "^1.5.0",
32
- "@iobroker/adapter-core": "^3.0.3",
33
- "@types/jquery": "^3.5.18",
34
- "cheerio": "^1.0.0-rc.12",
32
+ "@iobroker/adapter-core": "^3.4.3",
33
+ "axios": "^1.6.8",
34
+ "cron-parser": "^4.8.1",
35
35
  "node-schedule": "^2.1.1",
36
36
  "suncalc2": "^1.8.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@alcalzone/release-script": "^3.6.0",
40
- "@alcalzone/release-script-plugin-iobroker": "^3.6.0",
41
- "@alcalzone/release-script-plugin-license": "^3.5.9",
42
- "@alcalzone/release-script-plugin-manual-review": "^3.5.9",
43
- "@iobroker/testing": "^4.1.0",
44
- "@types/chai": "^4.3.6",
45
- "@types/chai-as-promised": "^7.1.6",
46
- "@types/gulp": "^4.0.13",
47
- "@types/mocha": "^10.0.1",
48
- "@types/node": "^20.5.9",
49
- "@types/proxyquire": "^1.3.28",
39
+ "@alcalzone/release-script": "^5.2.1",
40
+ "@alcalzone/release-script-plugin-iobroker": "^5.2.0",
41
+ "@alcalzone/release-script-plugin-license": "^5.2.2",
42
+ "@alcalzone/release-script-plugin-manual-review": "^5.2.0",
43
+ "@iobroker/eslint-config": "^2.3.4",
44
+ "@iobroker/testing": "^6.3.4",
45
+ "@tsconfig/node22": "^22.0.7",
46
+ "@types/chai": "^4.3.11",
47
+ "@types/chai-as-promised": "^7.1.8",
48
+ "@types/gulp": "^4.0.17",
49
+ "@types/jquery": "^3.5.32",
50
+ "@types/mocha": "^10.0.6",
51
+ "@types/node": "^20.14.9",
52
+ "@types/proxyquire": "^1.3.31",
50
53
  "@types/sinon": "^10.0.16",
51
- "@types/sinon-chai": "^3.2.9",
52
- "chai": "^4.3.8",
53
- "chai-as-promised": "^7.1.1",
54
- "eslint": "^8.48.0",
54
+ "@types/sinon-chai": "^3.2.12",
55
+ "chai": "^4.5.0",
56
+ "chai-as-promised": "^7.1.2",
55
57
  "gulp": "^4.0.2",
56
- "mocha": "^10.2.0",
58
+ "mocha": "^12.0.3",
57
59
  "proxyquire": "^2.1.3",
58
60
  "sinon": "^15.2.0",
59
61
  "sinon-chai": "^3.7.0"
@@ -67,12 +69,12 @@
67
69
  "LICENSE"
68
70
  ],
69
71
  "scripts": {
70
- "test:js": "mocha --opts test/mocha.custom.opts",
72
+ "test:js": "mocha --config test/mocharc.custom.json \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
71
73
  "test:package": "mocha test/package --exit",
72
- "test:unit": "mocha test/unit --exit",
74
+ "test:unit": "npm run test:js",
73
75
  "test:integration": "mocha test/integration --exit",
74
76
  "test": "npm run test:js && npm run test:package",
75
- "lint": "eslint",
77
+ "lint": "eslint -c eslint.config.mjs .",
76
78
  "release": "release-script",
77
79
  "release-patch": "release-script patch --yes --no-update-lockfile",
78
80
  "release-minor": "release-script minor --yes --no-update-lockfile",