@react-native/dev-middleware 0.85.0-nightly-20260113-b60f533ac → 0.85.0-nightly-20260115-caa1fb6a0

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.
@@ -53,7 +53,7 @@ declare export default class Device {
53
53
  dangerouslyRecreateDevice(deviceOptions: DeviceOptions): void;
54
54
  getName(): string;
55
55
  getApp(): string;
56
- getPagesList(): $ReadOnlyArray<Page>;
56
+ getPagesList(): ReadonlyArray<Page>;
57
57
  // Handles new debugger connection to this device:
58
58
  // 1. Sends connect event to device
59
59
  // 2. Forwards all messages from the debugger to device as wrappedEvent
@@ -88,7 +88,7 @@ export type GetPagesRequest = { event: "getPages" };
88
88
  // Response to GetPagesRequest containing a list of page infos.
89
89
  export type GetPagesResponse = {
90
90
  event: "getPages",
91
- payload: $ReadOnlyArray<PageFromDevice>,
91
+ payload: ReadonlyArray<PageFromDevice>,
92
92
  };
93
93
 
94
94
  // Union type for all possible messages sent from device to Inspector Proxy.
@@ -141,12 +141,12 @@ export type JSONSerializable =
141
141
  | number
142
142
  | string
143
143
  | null
144
- | $ReadOnlyArray<JSONSerializable>
144
+ | ReadonlyArray<JSONSerializable>
145
145
  | { +[string]: JSONSerializable };
146
146
 
147
147
  export type DeepReadOnly<T> =
148
- T extends $ReadOnlyArray<infer V>
149
- ? $ReadOnlyArray<DeepReadOnly<V>>
148
+ T extends ReadonlyArray<infer V>
149
+ ? ReadonlyArray<DeepReadOnly<V>>
150
150
  : T extends { ... }
151
151
  ? { +[K in keyof T]: DeepReadOnly<T[K]> }
152
152
  : T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/dev-middleware",
3
- "version": "0.85.0-nightly-20260113-b60f533ac",
3
+ "version": "0.85.0-nightly-20260115-caa1fb6a0",
4
4
  "description": "Dev server middleware for React Native",
5
5
  "keywords": [
6
6
  "react-native",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@isaacs/ttlcache": "^1.4.1",
29
- "@react-native/debugger-frontend": "0.85.0-nightly-20260113-b60f533ac",
30
- "@react-native/debugger-shell": "0.85.0-nightly-20260113-b60f533ac",
29
+ "@react-native/debugger-frontend": "0.85.0-nightly-20260115-caa1fb6a0",
30
+ "@react-native/debugger-shell": "0.85.0-nightly-20260115-caa1fb6a0",
31
31
  "chrome-launcher": "^0.15.2",
32
32
  "chromium-edge-launcher": "^0.3.0",
33
33
  "connect": "^3.6.5",
@@ -39,12 +39,12 @@
39
39
  "ws": "^7.5.10"
40
40
  },
41
41
  "devDependencies": {
42
- "@react-native/debugger-shell": "0.85.0-nightly-20260113-b60f533ac",
42
+ "@react-native/debugger-shell": "0.85.0-nightly-20260115-caa1fb6a0",
43
43
  "selfsigned": "^4.0.0",
44
44
  "undici": "^5.29.0",
45
45
  "wait-for-expect": "^3.0.2"
46
46
  },
47
47
  "engines": {
48
- "node": ">= 20.19.4"
48
+ "node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
49
49
  }
50
50
  }