@react-native/dev-middleware
Advanced tools
@@ -31,3 +31,3 @@ /** | ||
| */ | ||
| logger?: Logger; | ||
| logger?: Logger | undefined; | ||
| /** | ||
@@ -39,3 +39,3 @@ * An `EventReporter` implementation for logging structured events | ||
| */ | ||
| unstable_eventReporter?: EventReporter; | ||
| unstable_eventReporter?: EventReporter | undefined; | ||
| /** | ||
@@ -46,3 +46,3 @@ * The set of experimental features to enable. | ||
| */ | ||
| unstable_experiments?: ExperimentsConfig; | ||
| unstable_experiments?: ExperimentsConfig | undefined; | ||
| /** | ||
@@ -54,3 +54,3 @@ * Override the default handlers for launching external applications (the | ||
| */ | ||
| unstable_toolLauncher?: DevToolLauncher; | ||
| unstable_toolLauncher?: DevToolLauncher | undefined; | ||
| /** | ||
@@ -62,3 +62,4 @@ * Create custom handler to add support for unsupported CDP events, or debuggers. | ||
| */ | ||
| unstable_customInspectorMessageHandler?: CreateCustomMessageHandlerFn; | ||
| unstable_customInspectorMessageHandler?: | ||
| CreateCustomMessageHandlerFn | undefined; | ||
| /** | ||
@@ -70,3 +71,3 @@ * Whether to measure the event loop performance of inspector proxy and | ||
| */ | ||
| unstable_trackInspectorProxyEventLoopPerf?: boolean; | ||
| unstable_trackInspectorProxyEventLoopPerf?: boolean | undefined; | ||
| }>; | ||
@@ -73,0 +74,0 @@ type DevMiddlewareAPI = Readonly<{ |
@@ -28,3 +28,3 @@ /** | ||
| message: string; | ||
| data?: JSONSerializable; | ||
| data?: JSONSerializable | undefined; | ||
| }; | ||
@@ -31,0 +31,0 @@ export type CDPClientMessage = |
@@ -28,3 +28,3 @@ /** | ||
| */ | ||
| bytecode?: string; | ||
| bytecode?: string | undefined; | ||
| }; | ||
@@ -39,3 +39,3 @@ SetBreakpointByUrlParams: { | ||
| */ | ||
| url?: string; | ||
| url?: string | undefined; | ||
| /** | ||
@@ -45,11 +45,11 @@ * Regex pattern for the URLs of the resources to set breakpoints on. Either `url` or | ||
| */ | ||
| urlRegex?: string; | ||
| urlRegex?: string | undefined; | ||
| /** | ||
| * Script hash of the resources to set breakpoint on. | ||
| */ | ||
| scriptHash?: string; | ||
| scriptHash?: string | undefined; | ||
| /** | ||
| * Offset in the line to set breakpoint at. | ||
| */ | ||
| columnNumber?: integer; | ||
| columnNumber?: integer | undefined; | ||
| /** | ||
@@ -59,3 +59,3 @@ * Expression to use as a breakpoint condition. When specified, debugger will only stop on the | ||
| */ | ||
| condition?: string; | ||
| condition?: string | undefined; | ||
| }; | ||
@@ -62,0 +62,0 @@ ScriptParsedEvent: { |
@@ -21,3 +21,3 @@ /** | ||
| requestorRelativeBaseUrl: ReadonlyURL; | ||
| logNoPagesForConnectedDevice?: boolean; | ||
| logNoPagesForConnectedDevice?: boolean | undefined; | ||
| }; | ||
@@ -24,0 +24,0 @@ export interface InspectorProxyQueries { |
@@ -25,3 +25,3 @@ /** | ||
| */ | ||
| nativePageReloads?: boolean; | ||
| nativePageReloads?: boolean | undefined; | ||
| /** | ||
@@ -32,3 +32,3 @@ * The target supports fetching source code and source maps. | ||
| */ | ||
| nativeSourceCodeFetching?: boolean; | ||
| nativeSourceCodeFetching?: boolean | undefined; | ||
| /** | ||
@@ -42,3 +42,3 @@ * The target supports multiple concurrent debugger connections. | ||
| */ | ||
| supportsMultipleDebuggers?: boolean; | ||
| supportsMultipleDebuggers?: boolean | undefined; | ||
| }>; | ||
@@ -49,7 +49,7 @@ export type PageFromDevice = Readonly<{ | ||
| /** Sent from modern targets only */ | ||
| description?: string; | ||
| description?: string | undefined; | ||
| /** @deprecated This is sent from legacy targets only */ | ||
| vm?: string; | ||
| vm?: string | undefined; | ||
| app: string; | ||
| capabilities?: TargetCapabilityFlags; | ||
| capabilities?: TargetCapabilityFlags | undefined; | ||
| }>; | ||
@@ -66,3 +66,3 @@ export type Page = Readonly< | ||
| wrappedEvent: string; | ||
| sessionId?: string; | ||
| sessionId?: string | undefined; | ||
| }>; | ||
@@ -106,3 +106,3 @@ }>; | ||
| /** @deprecated This is sent from legacy targets only */ | ||
| vm?: string; | ||
| vm?: string | undefined; | ||
| reactNative: Readonly<{ | ||
@@ -109,0 +109,0 @@ logicalDeviceId: string; |
@@ -20,5 +20,5 @@ /** | ||
| serverBaseUrl: ReadonlyURL; | ||
| logger?: Logger; | ||
| logger?: Logger | undefined; | ||
| toolLauncher: DevToolLauncher; | ||
| eventReporter?: EventReporter; | ||
| eventReporter?: EventReporter | undefined; | ||
| experiments: Experiments; | ||
@@ -25,0 +25,0 @@ inspectorProxy: InspectorProxyQueries; |
@@ -47,6 +47,4 @@ /** | ||
| */ | ||
| readonly launchDebuggerShell?: ( | ||
| url: string, | ||
| windowKey: string, | ||
| ) => Promise<void>; | ||
| readonly launchDebuggerShell?: | ||
| ((url: string, windowKey: string) => Promise<void>) | undefined; | ||
| /** | ||
@@ -63,3 +61,4 @@ * Attempt to prepare the debugger shell for use and returns a coded result | ||
| */ | ||
| readonly prepareDebuggerShell?: () => Promise<DebuggerShellPreparationResult>; | ||
| readonly prepareDebuggerShell?: | ||
| (() => Promise<DebuggerShellPreparationResult>) | undefined; | ||
| } |
@@ -27,3 +27,3 @@ /** | ||
| errorCode: ErrorCode; | ||
| errorDetails?: string; | ||
| errorDetails?: string | undefined; | ||
| }; | ||
@@ -30,0 +30,0 @@ export type DebuggerSessionIDs = { |
@@ -21,9 +21,9 @@ /** | ||
| options?: Readonly<{ | ||
| relative?: boolean; | ||
| launchId?: string; | ||
| telemetryInfo?: string; | ||
| appId?: string; | ||
| panel?: string; | ||
| relative?: boolean | undefined; | ||
| launchId?: string | undefined; | ||
| telemetryInfo?: string | undefined; | ||
| appId?: string | undefined; | ||
| panel?: string | undefined; | ||
| }>, | ||
| ): string; | ||
| export default getDevToolsFrontendUrl; |
+4
-4
| { | ||
| "name": "@react-native/dev-middleware", | ||
| "version": "0.88.0-nightly-20260813-a4733b1ca", | ||
| "version": "0.88.0-nightly-20260814-88043334e", | ||
| "description": "Dev server middleware for React Native", | ||
@@ -29,4 +29,4 @@ "keywords": [ | ||
| "@isaacs/ttlcache": "^1.4.1", | ||
| "@react-native/debugger-frontend": "0.88.0-nightly-20260813-a4733b1ca", | ||
| "@react-native/debugger-shell": "0.88.0-nightly-20260813-a4733b1ca", | ||
| "@react-native/debugger-frontend": "0.88.0-nightly-20260814-88043334e", | ||
| "@react-native/debugger-shell": "0.88.0-nightly-20260814-88043334e", | ||
| "connect": "^3.6.5", | ||
@@ -41,3 +41,3 @@ "debug": "^4.4.0", | ||
| "devDependencies": { | ||
| "@react-native/debugger-shell": "0.88.0-nightly-20260813-a4733b1ca", | ||
| "@react-native/debugger-shell": "0.88.0-nightly-20260814-88043334e", | ||
| "selfsigned": "^5.5.0", | ||
@@ -44,0 +44,0 @@ "undici": "^6.23.0", |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
163181
0.24%+ Added
+ Added
- Removed
- Removed
Updated
Updated