@react-native/dev-middleware 0.87.0-nightly-20260528-eaf770433 → 0.87.0-nightly-20260530-9ac12ce0b
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.
|
@@ -156,7 +156,7 @@ export type JSONSerializable =
|
|
|
156
156
|
| string
|
|
157
157
|
| null
|
|
158
158
|
| ReadonlyArray<JSONSerializable>
|
|
159
|
-
| {
|
|
159
|
+
| { +[string]: JSONSerializable };
|
|
160
160
|
|
|
161
161
|
export type DeepReadOnly<T> =
|
|
162
162
|
T extends ReadonlyArray<infer V>
|
|
@@ -27,7 +27,7 @@ export interface DevToolLauncher {
|
|
|
27
27
|
* the host of dev-middleware. Implementations are responsible for rewriting
|
|
28
28
|
* this as necessary where the server is remote.
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
+launchDebuggerAppWindow: (url: string) => Promise<void>;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Attempt to open a debugger frontend URL in a standalone shell window
|
|
@@ -47,10 +47,7 @@ export interface DevToolLauncher {
|
|
|
47
47
|
* the host of dev-middleware. Implementations are responsible for rewriting
|
|
48
48
|
* this as necessary where the server is remote.
|
|
49
49
|
*/
|
|
50
|
-
|
|
51
|
-
url: string,
|
|
52
|
-
windowKey: string,
|
|
53
|
-
) => Promise<void>;
|
|
50
|
+
+launchDebuggerShell?: (url: string, windowKey: string) => Promise<void>;
|
|
54
51
|
|
|
55
52
|
/**
|
|
56
53
|
* Attempt to prepare the debugger shell for use and returns a coded result
|
|
@@ -63,5 +60,5 @@ export interface DevToolLauncher {
|
|
|
63
60
|
* SHOULD NOT return a rejecting promise in any case, and instead SHOULD report
|
|
64
61
|
* errors via the returned result object.
|
|
65
62
|
*/
|
|
66
|
-
|
|
63
|
+
+prepareDebuggerShell?: () => Promise<DebuggerShellPreparationResult>;
|
|
67
64
|
}
|
|
@@ -15,7 +15,7 @@ export interface ReadonlyURLSearchParams {
|
|
|
15
15
|
get(name: string): string | null;
|
|
16
16
|
getAll(name: string): Array<string>;
|
|
17
17
|
has(name: string, value?: string): boolean;
|
|
18
|
-
|
|
18
|
+
+size: number;
|
|
19
19
|
entries(): Iterator<[string, string]>;
|
|
20
20
|
keys(): Iterator<string>;
|
|
21
21
|
values(): Iterator<string>;
|
|
@@ -37,18 +37,18 @@ export interface ReadonlyURLSearchParams {
|
|
|
37
37
|
* Used for URLs passed between module boundaries.
|
|
38
38
|
*/
|
|
39
39
|
export interface ReadonlyURL {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
40
|
+
+hash: string;
|
|
41
|
+
+host: string;
|
|
42
|
+
+hostname: string;
|
|
43
|
+
+href: string;
|
|
44
|
+
+origin: string;
|
|
45
|
+
+password: string;
|
|
46
|
+
+pathname: string;
|
|
47
|
+
+port: string;
|
|
48
|
+
+protocol: string;
|
|
49
|
+
+search: string;
|
|
50
|
+
+searchParams: ReadonlyURLSearchParams;
|
|
51
|
+
+username: string;
|
|
52
52
|
toString(): string;
|
|
53
53
|
toJSON(): string;
|
|
54
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/dev-middleware",
|
|
3
|
-
"version": "0.87.0-nightly-
|
|
3
|
+
"version": "0.87.0-nightly-20260530-9ac12ce0b",
|
|
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.87.0-nightly-
|
|
30
|
-
"@react-native/debugger-shell": "0.87.0-nightly-
|
|
29
|
+
"@react-native/debugger-frontend": "0.87.0-nightly-20260530-9ac12ce0b",
|
|
30
|
+
"@react-native/debugger-shell": "0.87.0-nightly-20260530-9ac12ce0b",
|
|
31
31
|
"chrome-launcher": "^0.15.2",
|
|
32
32
|
"chromium-edge-launcher": "^0.3.0",
|
|
33
33
|
"connect": "^3.6.5",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"ws": "^7.5.10"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@react-native/debugger-shell": "0.87.0-nightly-
|
|
42
|
+
"@react-native/debugger-shell": "0.87.0-nightly-20260530-9ac12ce0b",
|
|
43
43
|
"selfsigned": "^5.5.0",
|
|
44
44
|
"undici": "^6.23.0",
|
|
45
45
|
"wait-for-expect": "^3.0.2"
|