iobroker.device-watcher 2.0.3 → 2.2.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,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.device-watcher",
3
- "version": "2.0.3",
3
+ "version": "2.2.0",
4
4
  "description": "Watchdog for devices",
5
5
  "author": {
6
6
  "name": "Christian Behrends",
@@ -30,26 +30,26 @@
30
30
  "@alcalzone/release-script-plugin-license": "^3.5.9",
31
31
  "@iobroker/adapter-dev": "^1.2.0",
32
32
  "@iobroker/testing": "^4.1.0",
33
- "@types/chai": "^4.3.3",
33
+ "@types/chai": "^4.3.4",
34
34
  "@types/chai-as-promised": "^7.1.5",
35
- "@types/mocha": "^10.0.0",
36
- "@types/node": "^18.11.8",
35
+ "@types/mocha": "^10.0.1",
36
+ "@types/node": "^18.11.10",
37
37
  "@types/node-schedule": "^2.1.0",
38
38
  "@types/proxyquire": "^1.3.28",
39
39
  "@types/sinon": "^10.0.13",
40
- "@types/sinon-chai": "^3.2.8",
41
- "chai": "^4.3.6",
40
+ "@types/sinon-chai": "^3.2.9",
41
+ "chai": "^4.3.7",
42
42
  "chai-as-promised": "^7.1.1",
43
- "eslint": "^8.26.0",
43
+ "eslint": "^8.28.0",
44
44
  "eslint-config-prettier": "^8.5.0",
45
45
  "eslint-plugin-prettier": "^4.2.1",
46
46
  "mocha": "^10.1.0",
47
47
  "node-schedule": "^2.1.0",
48
- "prettier": "^2.7.1",
48
+ "prettier": "^2.8.0",
49
49
  "proxyquire": "^2.1.3",
50
- "sinon": "^14.0.1",
50
+ "sinon": "^15.0.0",
51
51
  "sinon-chai": "^3.7.0",
52
- "typescript": "~4.8.4"
52
+ "typescript": "~4.9.3"
53
53
  },
54
54
  "main": "main.js",
55
55
  "files": [
@@ -1,56 +0,0 @@
1
- <html>
2
-
3
- <head>
4
-
5
- <!-- Load ioBroker scripts and styles-->
6
- <link rel="stylesheet" type="text/css" href="../../css/adapter.css" />
7
- <link rel="stylesheet" type="text/css" href="../../lib/css/materialize.css">
8
-
9
- <script type="text/javascript" src="../../lib/js/jquery-3.2.1.min.js"></script>
10
- <script type="text/javascript" src="../../socket.io/socket.io.js"></script>
11
-
12
- <script type="text/javascript" src="../../js/translate.js"></script>
13
- <script type="text/javascript" src="../../lib/js/materialize.js"></script>
14
- <script type="text/javascript" src="../../js/adapter-settings.js"></script>
15
-
16
- <!-- Load our own files -->
17
-
18
- <script type="text/javascript">
19
- // This will be called by the admin adapter when the settings page loads
20
- function load(settings, onChange) {
21
-
22
- }
23
-
24
- // This will be called by the admin adapter when the user presses the save button
25
- function save(callback) {
26
-
27
- }
28
- </script>
29
-
30
- </head>
31
-
32
- <body>
33
-
34
- <div class="m adapter-container">
35
-
36
- <div class="row">
37
- <div class="col s12 m4 l2">
38
- <img src="device-watcher.png" class="logo">
39
- </div>
40
- </div>
41
-
42
- <!-- Put your content here -->
43
-
44
- <div class="row">
45
- <div class="col s12">
46
- <p style="font-weight: bold; font-size: 1.2em; color: red;">
47
- This adapter version has no support for "Admin 4" configuration. Please switch to "Admin 5" UI or downgrade to an older version (see changelog for details).
48
- </p>
49
- </div>
50
- </div>
51
-
52
- </div>
53
-
54
- </body>
55
-
56
- </html>
package/admin/style.css DELETED
@@ -1,32 +0,0 @@
1
- /* You can delete those if you want. I just found them very helpful */
2
- * {
3
- box-sizing: border-box
4
- }
5
- .m {
6
- /* Don't cut off dropdowns! */
7
- overflow: initial;
8
- }
9
- .m.adapter-container,
10
- .m.adapter-container > div.App {
11
- /* Fix layout/scrolling issues with tabs */
12
- height: 100%;
13
- width: 100%;
14
- position: relative;
15
- }
16
- .m .select-wrapper + label {
17
- /* The positioning for dropdown labels is messed up */
18
- transform: none !important;
19
- }
20
-
21
- label > i[title] {
22
- /* Display the help cursor for the tooltip icons and fix their positioning */
23
- cursor: help;
24
- margin-left: 0.25em;
25
- }
26
-
27
- .dropdown-content {
28
- /* Don't wrap text in dropdowns */
29
- white-space: nowrap;
30
- }
31
-
32
- /* Add your styles here */