From 8eeba3be1ebeb6282fff3ba91f47bf877e500743 Mon Sep 17 00:00:00 2001 From: Jayden Seric Date: Fri, 11 Aug 2023 21:10:52 +1000 Subject: [PATCH] Add missing Node.js and browser globals (#200) --- globals.json | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 161 insertions(+), 3 deletions(-) diff --git a/globals.json b/globals.json index c846007..76af3e3 100644 --- a/globals.json +++ b/globals.json @@ -425,6 +425,7 @@ "CloseEvent": false, "Comment": false, "CompositionEvent": false, + "CompressionStream": false, "confirm": false, "console": false, "ConstantSourceNode": false, @@ -467,6 +468,7 @@ "DataTransfer": false, "DataTransferItem": false, "DataTransferItemList": false, + "DecompressionStream": false, "defaultstatus": false, "defaultStatus": false, "DelayNode": false, @@ -854,7 +856,12 @@ "queueMicrotask": false, "RadioNodeList": false, "Range": false, + "ReadableByteStreamController": false, "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, "registerProcessor": false, "RemotePlayback": false, "removeEventListener": false, @@ -1028,7 +1035,9 @@ "TaskAttributionTiming": false, "Text": false, "TextDecoder": false, + "TextDecoderStream": false, "TextEncoder": false, + "TextEncoderStream": false, "TextEvent": false, "TextMetrics": false, "TextTrack": false, @@ -1043,6 +1052,7 @@ "TouchList": false, "TrackEvent": false, "TransformStream": false, + "TransformStreamDefaultController": false, "TransitionEvent": false, "TreeWalker": false, "UIEvent": false, @@ -1077,6 +1087,8 @@ "Window": false, "Worker": false, "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, "XMLDocument": false, "XMLHttpRequest": false, "XMLHttpRequestEventTarget": false, @@ -1094,16 +1106,24 @@ "Blob": false, "BroadcastChannel": false, "btoa": false, + "ByteLengthQueuingStrategy": false, "Cache": false, "caches": false, "clearInterval": false, "clearTimeout": false, "close": true, + "CompressionStream": false, "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, "CustomEvent": false, + "DecompressionStream": false, "ErrorEvent": false, "Event": false, "fetch": false, + "File": false, "FileReaderSync": false, "FormData": false, "Headers": false, @@ -1143,11 +1163,19 @@ "PerformanceMark": false, "PerformanceMeasure": false, "PerformanceNavigation": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, "PerformanceResourceTiming": false, "PerformanceTiming": false, "postMessage": true, "Promise": false, "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, "removeEventListener": false, "reportError": false, "Request": false, @@ -1156,13 +1184,22 @@ "ServiceWorkerRegistration": false, "setInterval": false, "setTimeout": false, + "SubtleCrypto": false, "TextDecoder": false, + "TextDecoderStream": false, "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, "URL": false, "URLSearchParams": false, + "WebAssembly": false, "WebSocket": false, "Worker": false, "WorkerGlobalScope": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, "XMLHttpRequest": false }, "node": { @@ -1171,17 +1208,28 @@ "AbortController": false, "AbortSignal": false, "atob": false, + "Blob": false, + "BroadcastChannel": false, "btoa": false, "Buffer": false, + "ByteLengthQueuingStrategy": false, "clearImmediate": false, "clearInterval": false, "clearTimeout": false, + "CompressionStream": false, "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, "DOMException": false, "Event": false, "EventTarget": false, "exports": true, "fetch": false, + "File": false, "FormData": false, "global": false, "Headers": false, @@ -1191,8 +1239,20 @@ "MessagePort": false, "module": false, "performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, "process": false, "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, "Request": false, "require": false, "Response": false, @@ -1200,25 +1260,45 @@ "setInterval": false, "setTimeout": false, "structuredClone": false, + "SubtleCrypto": false, "TextDecoder": false, + "TextDecoderStream": false, "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, "URL": false, - "URLSearchParams": false + "URLSearchParams": false, + "WebAssembly": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false }, "nodeBuiltin": { "AbortController": false, "AbortSignal": false, "atob": false, + "Blob": false, + "BroadcastChannel": false, "btoa": false, "Buffer": false, + "ByteLengthQueuingStrategy": false, "clearImmediate": false, "clearInterval": false, "clearTimeout": false, + "CompressionStream": false, "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, "DOMException": false, "Event": false, "EventTarget": false, "fetch": false, + "File": false, "FormData": false, "global": false, "Headers": false, @@ -1227,18 +1307,39 @@ "MessageEvent": false, "MessagePort": false, "performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, "process": false, "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, "Request": false, "Response": false, "setImmediate": false, "setInterval": false, "setTimeout": false, "structuredClone": false, + "SubtleCrypto": false, "TextDecoder": false, + "TextDecoderStream": false, "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, "URL": false, - "URLSearchParams": false + "URLSearchParams": false, + "WebAssembly": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false }, "commonjs": { "exports": true, @@ -1588,6 +1689,7 @@ "Blob": false, "BroadcastChannel": false, "btoa": false, + "ByteLengthQueuingStrategy": false, "Cache": false, "caches": false, "CacheStorage": false, @@ -1597,14 +1699,21 @@ "clients": false, "Clients": false, "close": true, + "CompressionStream": false, "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, "CustomEvent": false, + "DecompressionStream": false, "ErrorEvent": false, "Event": false, "ExtendableEvent": false, "ExtendableMessageEvent": false, "fetch": false, "FetchEvent": false, + "File": false, "FileReaderSync": false, "FormData": false, "Headers": false, @@ -1652,11 +1761,19 @@ "PerformanceMark": false, "PerformanceMeasure": false, "PerformanceNavigation": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, "PerformanceResourceTiming": false, "PerformanceTiming": false, "postMessage": true, "Promise": false, "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, "registration": false, "removeEventListener": false, "Request": false, @@ -1670,14 +1787,23 @@ "setInterval": false, "setTimeout": false, "skipWaiting": false, + "SubtleCrypto": false, "TextDecoder": false, + "TextDecoderStream": false, "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, "URL": false, "URLSearchParams": false, + "WebAssembly": false, "WebSocket": false, "WindowClient": false, "Worker": false, "WorkerGlobalScope": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, "XMLHttpRequest": false }, "atomtest": { @@ -1721,14 +1847,25 @@ "AbortController": false, "AbortSignal": false, "atob": false, + "Blob": false, + "BroadcastChannel": false, "btoa": false, + "ByteLengthQueuingStrategy": false, "clearInterval": false, "clearTimeout": false, + "CompressionStream": false, "console": false, + "CountQueuingStrategy": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CustomEvent": false, + "DecompressionStream": false, "DOMException": false, "Event": false, "EventTarget": false, "fetch": false, + "File": false, "FormData": false, "Headers": false, "Intl": false, @@ -1736,16 +1873,37 @@ "MessageEvent": false, "MessagePort": false, "performance": false, + "PerformanceEntry": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformanceResourceTiming": false, "queueMicrotask": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, "Request": false, "Response": false, "setInterval": false, "setTimeout": false, "structuredClone": false, + "SubtleCrypto": false, "TextDecoder": false, + "TextDecoderStream": false, "TextEncoder": false, + "TextEncoderStream": false, + "TransformStream": false, + "TransformStreamDefaultController": false, "URL": false, - "URLSearchParams": false + "URLSearchParams": false, + "WebAssembly": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false }, "webextensions": { "browser": false,