mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix(unstable): add missing globals to diagnostics (#6988)
This commit is contained in:
parent
7d01fcbb77
commit
da98f9e3a1
1 changed files with 59 additions and 55 deletions
|
@ -47,70 +47,74 @@ delete Object.prototype.__proto__;
|
|||
};
|
||||
|
||||
const unstableDenoGlobalProperties = [
|
||||
"umask",
|
||||
"linkSync",
|
||||
"link",
|
||||
"symlinkSync",
|
||||
"symlink",
|
||||
"loadavg",
|
||||
"osRelease",
|
||||
"openPlugin",
|
||||
"DiagnosticCategory",
|
||||
"DiagnosticMessageChain",
|
||||
"DiagnosticItem",
|
||||
"Diagnostic",
|
||||
"formatDiagnostics",
|
||||
"CompilerOptions",
|
||||
"TranspileOnlyResult",
|
||||
"transpileOnly",
|
||||
"compile",
|
||||
"bundle",
|
||||
"Location",
|
||||
"applySourceMap",
|
||||
"LinuxSignal",
|
||||
"MacOSSignal",
|
||||
"Signal",
|
||||
"SignalStream",
|
||||
"signal",
|
||||
"signals",
|
||||
"setRaw",
|
||||
"utimeSync",
|
||||
"utime",
|
||||
"ShutdownMode",
|
||||
"shutdown",
|
||||
"DatagramConn",
|
||||
"UnixListenOptions",
|
||||
"listen",
|
||||
"listenDatagram",
|
||||
"UnixConnectOptions",
|
||||
"connect",
|
||||
"StartTlsOptions",
|
||||
"startTls",
|
||||
"kill",
|
||||
"Diagnostic",
|
||||
"DiagnosticCategory",
|
||||
"DiagnosticItem",
|
||||
"DiagnosticMessageChain",
|
||||
"EnvPermissionDescriptor",
|
||||
"HrtimePermissionDescriptor",
|
||||
"HttpClient",
|
||||
"LinuxSignal",
|
||||
"Location",
|
||||
"MacOSSignal",
|
||||
"NetPermissionDescriptor",
|
||||
"PermissionDescriptor",
|
||||
"PermissionName",
|
||||
"PermissionState",
|
||||
"RunPermissionDescriptor",
|
||||
"ReadPermissionDescriptor",
|
||||
"WritePermissionDescriptor",
|
||||
"NetPermissionDescriptor",
|
||||
"EnvPermissionDescriptor",
|
||||
"PluginPermissionDescriptor",
|
||||
"HrtimePermissionDescriptor",
|
||||
"PermissionDescriptor",
|
||||
"Permissions",
|
||||
"PermissionStatus",
|
||||
"hostname",
|
||||
"ppid",
|
||||
"ftruncate",
|
||||
"ftruncateSync",
|
||||
"Permissions",
|
||||
"PluginPermissionDescriptor",
|
||||
"ReadPermissionDescriptor",
|
||||
"RunPermissionDescriptor",
|
||||
"ShutdownMode",
|
||||
"Signal",
|
||||
"SignalStream",
|
||||
"StartTlsOptions",
|
||||
"SymlinkOptions",
|
||||
"TranspileOnlyResult",
|
||||
"UnixConnectOptions",
|
||||
"UnixListenOptions",
|
||||
"WritePermissionDescriptor",
|
||||
"applySourceMap",
|
||||
"bundle",
|
||||
"compile",
|
||||
"connect",
|
||||
"consoleSize",
|
||||
"createHttpClient",
|
||||
"fdatasync",
|
||||
"fdatasyncSync",
|
||||
"fsync",
|
||||
"fsyncSync",
|
||||
"formatDiagnostics",
|
||||
"fstat",
|
||||
"fstatSync",
|
||||
"HttpClient",
|
||||
"createHttpClient",
|
||||
"fsync",
|
||||
"fsyncSync",
|
||||
"ftruncate",
|
||||
"ftruncateSync",
|
||||
"hostname",
|
||||
"kill",
|
||||
"link",
|
||||
"linkSync",
|
||||
"listen",
|
||||
"listenDatagram",
|
||||
"loadavg",
|
||||
"mainModule",
|
||||
"openPlugin",
|
||||
"osRelease",
|
||||
"permissions",
|
||||
"ppid",
|
||||
"setRaw",
|
||||
"shutdown",
|
||||
"signal",
|
||||
"signals",
|
||||
"startTls",
|
||||
"symlink",
|
||||
"symlinkSync",
|
||||
"transpileOnly",
|
||||
"umask",
|
||||
"utime",
|
||||
"utimeSync",
|
||||
];
|
||||
|
||||
function transformMessageText(messageText, code) {
|
||||
|
|
Loading…
Add table
Reference in a new issue