homebridge 2.0.0-beta.0 → 2.0.0-beta.10
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 +57 -16
- package/lib/api.d.ts +19 -24
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +25 -25
- package/lib/api.js.map +1 -1
- package/lib/bridgeService.d.ts +10 -9
- package/lib/bridgeService.d.ts.map +1 -1
- package/lib/bridgeService.js +73 -93
- package/lib/bridgeService.js.map +1 -1
- package/lib/childBridgeFork.d.ts.map +1 -1
- package/lib/childBridgeFork.js +31 -21
- package/lib/childBridgeFork.js.map +1 -1
- package/lib/childBridgeService.d.ts +12 -7
- package/lib/childBridgeService.d.ts.map +1 -1
- package/lib/childBridgeService.js +68 -48
- package/lib/childBridgeService.js.map +1 -1
- package/lib/cli.d.ts.map +1 -1
- package/lib/cli.js +6 -12
- package/lib/cli.js.map +1 -1
- package/lib/externalPortService.d.ts +2 -2
- package/lib/externalPortService.d.ts.map +1 -1
- package/lib/externalPortService.js +6 -3
- package/lib/externalPortService.js.map +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -3
- package/lib/index.js.map +1 -1
- package/lib/ipcService.d.ts +1 -2
- package/lib/ipcService.d.ts.map +1 -1
- package/lib/ipcService.js +4 -4
- package/lib/ipcService.js.map +1 -1
- package/lib/logger.d.ts +4 -27
- package/lib/logger.d.ts.map +1 -1
- package/lib/logger.js +26 -55
- package/lib/logger.js.map +1 -1
- package/lib/platformAccessory.d.ts +3 -27
- package/lib/platformAccessory.d.ts.map +1 -1
- package/lib/platformAccessory.js +19 -39
- package/lib/platformAccessory.js.map +1 -1
- package/lib/plugin.d.ts.map +1 -1
- package/lib/plugin.js +22 -10
- package/lib/plugin.js.map +1 -1
- package/lib/pluginManager.d.ts +1 -1
- package/lib/pluginManager.d.ts.map +1 -1
- package/lib/pluginManager.js +21 -17
- package/lib/pluginManager.js.map +1 -1
- package/lib/server.d.ts.map +1 -1
- package/lib/server.js +46 -44
- package/lib/server.js.map +1 -1
- package/lib/storageService.js +2 -1
- package/lib/storageService.js.map +1 -1
- package/lib/user.js +3 -2
- package/lib/user.js.map +1 -1
- package/lib/util/mac.d.ts +1 -2
- package/lib/util/mac.d.ts.map +1 -1
- package/lib/util/mac.js +3 -4
- package/lib/util/mac.js.map +1 -1
- package/lib/version.js +2 -3
- package/lib/version.js.map +1 -1
- package/package.json +42 -32
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge",
|
|
3
3
|
"description": "HomeKit support for the impatient",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.10",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -11,29 +11,31 @@
|
|
|
11
11
|
"Andreas Bauer <mail@anderl-bauer.de>"
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
|
-
"dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true",
|
|
15
|
-
"lint": "eslint 'src/**/*.{js,ts,json}'",
|
|
16
14
|
"build": "npm run clean && tsc",
|
|
17
|
-
"
|
|
18
|
-
"test-coverage": "jest --coverage --forceExit --detectOpenHandles",
|
|
15
|
+
"check": "npm install && npm outdated",
|
|
19
16
|
"clean": "rimraf lib/",
|
|
20
|
-
"
|
|
17
|
+
"dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true",
|
|
18
|
+
"docs": "typedoc",
|
|
19
|
+
"lint": "eslint 'src/**/*.{js,ts,json}'",
|
|
20
|
+
"lint:fix": "npm run lint -- --fix",
|
|
21
21
|
"prepublishOnly": "npm run build",
|
|
22
22
|
"postpublish": "npm run clean",
|
|
23
|
-
"
|
|
23
|
+
"test": "jest --forceExit --detectOpenHandles",
|
|
24
|
+
"test-coverage": "jest --coverage --forceExit --detectOpenHandles",
|
|
25
|
+
"watch": "nodemon"
|
|
24
26
|
},
|
|
25
27
|
"repository": {
|
|
26
28
|
"type": "git",
|
|
27
29
|
"url": "git://github.com/homebridge/homebridge.git"
|
|
28
30
|
},
|
|
29
31
|
"bugs": {
|
|
30
|
-
"url": "
|
|
32
|
+
"url": "https://github.com/homebridge/homebridge/issues"
|
|
31
33
|
},
|
|
32
34
|
"bin": {
|
|
33
35
|
"homebridge": "bin/homebridge"
|
|
34
36
|
},
|
|
35
37
|
"engines": {
|
|
36
|
-
"node": "
|
|
38
|
+
"node": "^18.15.0 || ^20.7.0 || ^22.0.0"
|
|
37
39
|
},
|
|
38
40
|
"files": [
|
|
39
41
|
"README.md",
|
|
@@ -44,30 +46,38 @@
|
|
|
44
46
|
],
|
|
45
47
|
"preferGlobal": true,
|
|
46
48
|
"dependencies": {
|
|
47
|
-
"chalk": "
|
|
48
|
-
"commander": "
|
|
49
|
-
"fs-extra": "
|
|
50
|
-
"hap-nodejs": "
|
|
51
|
-
"qrcode-terminal": "
|
|
52
|
-
"semver": "
|
|
53
|
-
"source-map-support": "
|
|
49
|
+
"chalk": "4.1.2",
|
|
50
|
+
"commander": "12.1.0",
|
|
51
|
+
"fs-extra": "11.2.0",
|
|
52
|
+
"hap-nodejs": "1.1.1-beta.0",
|
|
53
|
+
"qrcode-terminal": "0.12.0",
|
|
54
|
+
"semver": "7.6.3",
|
|
55
|
+
"source-map-support": "0.5.21"
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
|
-
"@types/debug": "^4.1.
|
|
57
|
-
"@types/fs-extra": "^
|
|
58
|
-
"@types/jest": "^
|
|
59
|
-
"@types/node": "
|
|
60
|
-
"@types/semver": "^7.
|
|
61
|
-
"@
|
|
62
|
-
"@typescript-eslint/
|
|
63
|
-
"eslint": "^8.
|
|
64
|
-
"eslint
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
58
|
+
"@types/debug": "^4.1.12",
|
|
59
|
+
"@types/fs-extra": "^11.0.4",
|
|
60
|
+
"@types/jest": "^29.5.12",
|
|
61
|
+
"@types/node": "^22.1.0",
|
|
62
|
+
"@types/semver": "^7.5.8",
|
|
63
|
+
"@types/source-map-support": "^0.5.10",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
65
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
66
|
+
"eslint": "^8.57.0",
|
|
67
|
+
"eslint-plugin-import": "^2.29.1",
|
|
68
|
+
"eslint-plugin-import-newlines": "^1.4.0",
|
|
69
|
+
"eslint-plugin-jest": "^28.6.0",
|
|
70
|
+
"jest": "^29.7.0",
|
|
71
|
+
"nodemon": "^3.1.4",
|
|
72
|
+
"rimraf": "^6.0.1",
|
|
73
|
+
"ts-jest": "^29.2.4",
|
|
74
|
+
"ts-node": "^10.9.2",
|
|
75
|
+
"typedoc": "^0.26.5",
|
|
76
|
+
"typescript": "^5.5.4"
|
|
77
|
+
},
|
|
78
|
+
"overrides": {
|
|
79
|
+
"eslint-plugin-jest": {
|
|
80
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0"
|
|
81
|
+
}
|
|
72
82
|
}
|
|
73
83
|
}
|