@react-native/dev-middleware 0.75.0-nightly-20240616-2f8d4f0c2 → 0.75.0-nightly-20240618-5df5ed1a8
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.
|
@@ -195,7 +195,9 @@ class InspectorProxy {
|
|
|
195
195
|
`Got new connection: name=${deviceName}, app=${appName}, device=${deviceId}`
|
|
196
196
|
);
|
|
197
197
|
socket.on("close", () => {
|
|
198
|
-
this.#devices.
|
|
198
|
+
if (this.#devices.get(deviceId) === newDevice) {
|
|
199
|
+
this.#devices.delete(deviceId);
|
|
200
|
+
}
|
|
199
201
|
debug(`Device ${deviceName} disconnected.`);
|
|
200
202
|
});
|
|
201
203
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/dev-middleware",
|
|
3
|
-
"version": "0.75.0-nightly-
|
|
3
|
+
"version": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
4
4
|
"description": "Dev server middleware for React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@isaacs/ttlcache": "^1.4.1",
|
|
26
|
-
"@react-native/debugger-frontend": "0.75.0-nightly-
|
|
26
|
+
"@react-native/debugger-frontend": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
27
27
|
"chrome-launcher": "^0.15.2",
|
|
28
28
|
"chromium-edge-launcher": "^0.2.0",
|
|
29
29
|
"connect": "^3.6.5",
|