homebridge-virtual-accessories 3.11.8 → 3.11.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 +14 -1
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -22,6 +22,19 @@
|
|
|
22
22
|
|
|
23
23
|
## <!-- Thin separator line -->
|
|
24
24
|
|
|
25
|
+
### 🔴🔴 Warning: Currently this plugin is not compatible with Node 24 🔴🔴
|
|
26
|
+
|
|
27
|
+
This is a double issue:
|
|
28
|
+
|
|
29
|
+
- A dependency is using a module that is not compatible with Node 24
|
|
30
|
+
- Overriding the incompatible dependency with the latest `npm 11.6.2` (from Node 24) is currently broken
|
|
31
|
+
|
|
32
|
+
Details are available in [this ticket](https://github.com/justjam2013/homebridge-virtual-accessories/issues/632).
|
|
33
|
+
|
|
34
|
+
A [ticket](https://github.com/npm/cli/issues/8713) has been opened with `npm` regarding this bug. At the moment, the recommendation is not to update to Node 24.
|
|
35
|
+
|
|
36
|
+
## <!-- Thin separator line -->
|
|
37
|
+
|
|
25
38
|
<details>
|
|
26
39
|
<summary>
|
|
27
40
|
|
|
@@ -156,7 +169,7 @@ npm install -g homebridge-virtual-accessories
|
|
|
156
169
|
> Virtual Accessories For Homebridge has dependencies on platform-native libraries, which get compiled for that particular platform at install time. Therefore you will need to make sure that the platform you are installing this plugin on has the necessary build tools available. The official Homebridge Docker image and the Homebridge Linux (apt) install, both provide all the necessary tools. If you are choosing to install on other platforms, you will require the appropriate technical skills to do the necessary installs. I have neither the capacity nor the hardware to test installs on every platform that Homebridge runs on. Below are platform specific installation notes, which I will update as users of this plugin report issues.
|
|
157
170
|
|
|
158
171
|
> [!IMPORTANT]
|
|
159
|
-
> If you manually
|
|
172
|
+
> If you **manually** upgrade or downgrade the Node.js version that Homebridge is running on, you may also need to upgrade or downgrade NPM to the version required by your new Node.js version (please refer to the [Quick Guide: Updating Node.js](https://github.com/justjam2013/homebridge-virtual-accessories/wiki/Quick-Guide:-Updating-Node.js#-table-of-contents) wiki entry). Then you will need to ensure that the platform-native library `raw-socket` is also updated. After updating Node.js (and NPM if needed), run the following commands before restarting Homebridge:
|
|
160
173
|
> ```
|
|
161
174
|
> npm uninstall raw-socket
|
|
162
175
|
> npm install raw-socket
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "homebridge-virtual-accessories",
|
|
3
3
|
"displayName": "Virtual Accessories for Homebridge",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "3.11.
|
|
5
|
+
"version": "3.11.10",
|
|
6
6
|
"description": "Virtual HomeKit accessories for Homebridge.",
|
|
7
7
|
"author": "justjam2013",
|
|
8
8
|
"license": "MIT",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
],
|
|
96
96
|
"main": "dist/index.js",
|
|
97
97
|
"engines": {
|
|
98
|
-
"node": "^18 || ^20 || ^22",
|
|
98
|
+
"node": "^18 || ^20 || ^22 || ^24",
|
|
99
99
|
"homebridge": "^1.8.0 || ^2.0.0-beta.0"
|
|
100
100
|
},
|
|
101
101
|
"scripts": {
|
|
@@ -125,5 +125,12 @@
|
|
|
125
125
|
"ts-node": "^10.9.2",
|
|
126
126
|
"typescript": "^5.7.3",
|
|
127
127
|
"typescript-eslint": "^8.24.1"
|
|
128
|
+
},
|
|
129
|
+
"overrides": {
|
|
130
|
+
"net-ping": {
|
|
131
|
+
"raw-socket": {
|
|
132
|
+
"nan": "^2.23.*"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
128
135
|
}
|
|
129
136
|
}
|