homebridge-adt-pulse 3.3.1 → 3.4.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/LICENSE +21 -201
- package/README.md +7 -11
- package/build/config-ui/public/assets/complete-logo-C1QwzyYf.png +0 -0
- package/build/config-ui/public/assets/index-K3wpI2_Y.js +66 -0
- package/build/config-ui/public/assets/setup-logo-4wW8y1cj.png +0 -0
- package/build/config-ui/public/favicon.ico +0 -0
- package/build/config-ui/public/index.html +14 -0
- package/build/config-ui/public/style.css +824 -0
- package/build/config-ui/server.js +255 -0
- package/build/config-ui/server.js.map +1 -0
- package/build/lib/api.js +178 -174
- package/build/lib/api.js.map +1 -1
- package/build/lib/auth.js +1131 -0
- package/build/lib/auth.js.map +1 -0
- package/build/lib/detect.js +99 -97
- package/build/lib/detect.js.map +1 -1
- package/build/lib/fake.js +563 -0
- package/build/lib/fake.js.map +1 -0
- package/build/lib/items.js +9 -0
- package/build/lib/items.js.map +1 -1
- package/build/lib/platform.js +8 -5
- package/build/lib/platform.js.map +1 -1
- package/build/lib/regex.js +12 -1
- package/build/lib/regex.js.map +1 -1
- package/build/lib/schema.js +101 -3
- package/build/lib/schema.js.map +1 -1
- package/build/lib/utility.js +72 -120
- package/build/lib/utility.js.map +1 -1
- package/build/scripts/repl.js +59 -29
- package/build/scripts/repl.js.map +1 -1
- package/build/scripts/test-api.js +7 -7
- package/build/scripts/test-api.js.map +1 -1
- package/config.schema.json +27 -25
- package/package.json +43 -23
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-adt-pulse",
|
|
3
3
|
"displayName": "Homebridge ADT Pulse",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"description": "Homebridge security system platform for ADT Pulse",
|
|
6
6
|
"main": "./build/index.js",
|
|
7
7
|
"exports": "./build/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"private": false,
|
|
10
10
|
"scripts": {
|
|
11
|
-
"start": "homebridge --keep-orphans --plugin-path $(pwd)",
|
|
12
|
-
"
|
|
11
|
+
"start": "homebridge --debug --keep-orphans --plugin-path $(pwd)",
|
|
12
|
+
"start-ui": "vite serve",
|
|
13
13
|
"build": "npm-run-all --sequential build:*",
|
|
14
|
-
"build:
|
|
14
|
+
"build:reset": "rimraf ./build",
|
|
15
15
|
"build:lint": "npx eslint ./src",
|
|
16
16
|
"build:tsc": "tsc --project tsconfig.json",
|
|
17
17
|
"build:fix-paths": "tsconfig-replace-paths --project tsconfig.json",
|
|
18
|
+
"build:cleanup": "rimraf ./build/config-ui/vite",
|
|
19
|
+
"build:ui": "vite build",
|
|
18
20
|
"repl": "node ./build/scripts/repl.js",
|
|
19
21
|
"test-api": "node ./build/scripts/test-api.js",
|
|
20
22
|
"prepare": "npm run build",
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
"email": "hello@mrjackyliang.com",
|
|
51
53
|
"url": "https://www.mrjackyliang.com"
|
|
52
54
|
},
|
|
53
|
-
"license": "
|
|
55
|
+
"license": "MIT",
|
|
54
56
|
"bugs": {
|
|
55
57
|
"url": "https://github.com/mrjackyliang/homebridge-adt-pulse/issues"
|
|
56
58
|
},
|
|
@@ -60,35 +62,53 @@
|
|
|
60
62
|
],
|
|
61
63
|
"homepage": "https://github.com/mrjackyliang/homebridge-adt-pulse",
|
|
62
64
|
"engines": {
|
|
63
|
-
"homebridge": "~1.
|
|
64
|
-
"node": ">=
|
|
65
|
+
"homebridge": "~1.8.0",
|
|
66
|
+
"node": ">=20"
|
|
65
67
|
},
|
|
66
68
|
"dependencies": {
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
+
"@faker-js/faker": "8.4.1",
|
|
70
|
+
"@homebridge/plugin-ui-utils": "1.0.3",
|
|
71
|
+
"@hookform/resolvers": "3.9.0",
|
|
72
|
+
"axios": "1.7.2",
|
|
73
|
+
"axios-cookiejar-support": "5.0.2",
|
|
69
74
|
"chalk": "5.3.0",
|
|
70
|
-
"jsdom": "
|
|
71
|
-
"latest-version": "
|
|
75
|
+
"jsdom": "24.1.1",
|
|
76
|
+
"latest-version": "9.0.0",
|
|
72
77
|
"lodash": "4.17.21",
|
|
78
|
+
"luxon": "3.4.4",
|
|
79
|
+
"react": "18.3.1",
|
|
80
|
+
"react-dom": "18.3.1",
|
|
81
|
+
"react-hook-form": "7.52.1",
|
|
82
|
+
"semver": "7.6.3",
|
|
73
83
|
"serialize-error": "11.0.3",
|
|
74
|
-
"tough-cookie": "4.1.
|
|
75
|
-
"
|
|
84
|
+
"tough-cookie": "4.1.4",
|
|
85
|
+
"ua-parser-js": "2.0.0-beta.3",
|
|
86
|
+
"zod": "3.23.8"
|
|
76
87
|
},
|
|
77
88
|
"devDependencies": {
|
|
78
|
-
"@types/jsdom": "21.1.
|
|
79
|
-
"@types/lodash": "4.
|
|
80
|
-
"@types/
|
|
89
|
+
"@types/jsdom": "21.1.7",
|
|
90
|
+
"@types/lodash": "4.17.7",
|
|
91
|
+
"@types/luxon": "3.4.2",
|
|
92
|
+
"@types/node": "20.14.11",
|
|
93
|
+
"@types/react": "18.3.3",
|
|
94
|
+
"@types/react-dom": "18.3.0",
|
|
95
|
+
"@types/semver": "7.5.8",
|
|
81
96
|
"@types/tough-cookie": "4.0.5",
|
|
82
|
-
"@typescript-eslint/eslint-plugin": "
|
|
83
|
-
"@typescript-eslint/parser": "
|
|
97
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
98
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
99
|
+
"@vitejs/plugin-react": "4.3.1",
|
|
84
100
|
"eslint": "8.56.0",
|
|
85
|
-
"eslint-config-airbnb
|
|
86
|
-
"eslint-config-airbnb-typescript": "
|
|
101
|
+
"eslint-config-airbnb": "19.0.4",
|
|
102
|
+
"eslint-config-airbnb-typescript": "18.0.0",
|
|
87
103
|
"eslint-plugin-import": "2.29.1",
|
|
88
|
-
"
|
|
104
|
+
"eslint-plugin-jsx-a11y": "6.9.0",
|
|
105
|
+
"eslint-plugin-react": "7.35.0",
|
|
106
|
+
"homebridge": "1.8.4",
|
|
89
107
|
"npm-run-all": "4.1.5",
|
|
90
|
-
"rimraf": "
|
|
108
|
+
"rimraf": "6.0.1",
|
|
91
109
|
"tsconfig-replace-paths": "0.0.14",
|
|
92
|
-
"typescript": "5.
|
|
110
|
+
"typescript": "5.5.4",
|
|
111
|
+
"vite": "5.3.4",
|
|
112
|
+
"vite-tsconfig-paths": "4.3.2"
|
|
93
113
|
}
|
|
94
114
|
}
|