@react-native/dev-middleware 0.87.0-nightly-20260519-58cd1bf58 → 0.87.0-nightly-20260528-eaf770433
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
|
+
| { readonly [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
|
+
readonly launchDebuggerAppWindow: (url: string) => Promise<void>;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Attempt to open a debugger frontend URL in a standalone shell window
|
|
@@ -47,7 +47,10 @@ 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
|
-
|
|
50
|
+
readonly launchDebuggerShell?: (
|
|
51
|
+
url: string,
|
|
52
|
+
windowKey: string,
|
|
53
|
+
) => Promise<void>;
|
|
51
54
|
|
|
52
55
|
/**
|
|
53
56
|
* Attempt to prepare the debugger shell for use and returns a coded result
|
|
@@ -60,5 +63,5 @@ export interface DevToolLauncher {
|
|
|
60
63
|
* SHOULD NOT return a rejecting promise in any case, and instead SHOULD report
|
|
61
64
|
* errors via the returned result object.
|
|
62
65
|
*/
|
|
63
|
-
|
|
66
|
+
readonly prepareDebuggerShell?: () => Promise<DebuggerShellPreparationResult>;
|
|
64
67
|
}
|
|
@@ -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
|
+
readonly 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
|
+
readonly hash: string;
|
|
41
|
+
readonly host: string;
|
|
42
|
+
readonly hostname: string;
|
|
43
|
+
readonly href: string;
|
|
44
|
+
readonly origin: string;
|
|
45
|
+
readonly password: string;
|
|
46
|
+
readonly pathname: string;
|
|
47
|
+
readonly port: string;
|
|
48
|
+
readonly protocol: string;
|
|
49
|
+
readonly search: string;
|
|
50
|
+
readonly searchParams: ReadonlyURLSearchParams;
|
|
51
|
+
readonly 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-20260528-eaf770433",
|
|
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-20260528-eaf770433",
|
|
30
|
+
"@react-native/debugger-shell": "0.87.0-nightly-20260528-eaf770433",
|
|
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.87.0-nightly-
|
|
42
|
+
"@react-native/debugger-shell": "0.87.0-nightly-20260528-eaf770433",
|
|
43
43
|
"selfsigned": "^5.5.0",
|
|
44
44
|
"undici": "^6.23.0",
|
|
45
45
|
"wait-for-expect": "^3.0.2"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": "^
|
|
48
|
+
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
|
|
49
49
|
}
|
|
50
50
|
}
|