fix(unstable): add missing globals to diagnostics
@@ -47,70 +47,74 @@ delete Object.prototype.__proto__;
};
const unstableDenoGlobalProperties = [
- "umask",
- "linkSync",
- "link",
- "symlinkSync",
- "symlink",
- "loadavg",
- "osRelease",
- "openPlugin",
+ "CompilerOptions",
+ "DatagramConn",
+ "Diagnostic",
"DiagnosticCategory",
- "DiagnosticMessageChain",
"DiagnosticItem",
- "Diagnostic",
- "formatDiagnostics",
- "CompilerOptions",
- "TranspileOnlyResult",
- "transpileOnly",
- "compile",
- "bundle",
- "Location",
- "applySourceMap",
+ "DiagnosticMessageChain",
+ "EnvPermissionDescriptor",
+ "HrtimePermissionDescriptor",
+ "HttpClient",
"LinuxSignal",
+ "Location",
"MacOSSignal",
- "Signal",
- "SignalStream",
- "signal",
- "signals",
- "setRaw",
- "utimeSync",
- "utime",
- "ShutdownMode",
- "shutdown",
- "DatagramConn",
- "UnixListenOptions",
- "listen",
- "listenDatagram",
- "UnixConnectOptions",
- "connect",
- "StartTlsOptions",
- "startTls",
- "kill",
+ "NetPermissionDescriptor",
+ "PermissionDescriptor",
"PermissionName",
"PermissionState",
- "RunPermissionDescriptor",
+ "PermissionStatus",
+ "Permissions",
+ "PluginPermissionDescriptor",
"ReadPermissionDescriptor",
+ "RunPermissionDescriptor",
+ "ShutdownMode",
+ "Signal",
+ "SignalStream",
+ "StartTlsOptions",
+ "SymlinkOptions",
+ "TranspileOnlyResult",
+ "UnixConnectOptions",
+ "UnixListenOptions",
"WritePermissionDescriptor",
- "NetPermissionDescriptor",
- "EnvPermissionDescriptor",
- "PluginPermissionDescriptor",
- "HrtimePermissionDescriptor",
- "PermissionDescriptor",
- "Permissions",
- "PermissionStatus",
- "hostname",
- "ppid",
- "ftruncate",
- "ftruncateSync",
+ "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) {
