mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 20:11:38 +08:00
This CL updates minimist to 1.2.6 to fix a critical security vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2021-44906 The fix was made by running: `npm run install-deps audit fix --audit-level=critical` Bug: none Change-Id: I51103b525d9969e03000d55af86cebdabc7e0366 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3591079 Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Brandon Walderman <brwalder@microsoft.com>
16 lines
592 B
TypeScript
16 lines
592 B
TypeScript
/// <reference types="node" />
|
|
declare const PACKET_TYPES: any;
|
|
declare const PACKET_TYPES_REVERSE: any;
|
|
declare const ERROR_PACKET: Packet;
|
|
export { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };
|
|
export declare type PacketType = "open" | "close" | "ping" | "pong" | "message" | "upgrade" | "noop" | "error";
|
|
export declare type RawData = string | Buffer | ArrayBuffer | ArrayBufferView | Blob;
|
|
export interface Packet {
|
|
type: PacketType;
|
|
options?: {
|
|
compress: boolean;
|
|
};
|
|
data?: RawData;
|
|
}
|
|
export declare type BinaryType = "nodebuffer" | "arraybuffer" | "blob";
|