diff --git a/baselines/audioworklet.generated.d.ts b/baselines/audioworklet.generated.d.ts index d871cf03c..a5e675ab0 100644 --- a/baselines/audioworklet.generated.d.ts +++ b/baselines/audioworklet.generated.d.ts @@ -1668,7 +1668,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -1819,12 +1819,12 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -2035,7 +2035,7 @@ type ReadableStreamController = ReadableStreamDefaultController | Readable type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; type ReadableStreamReader = ReadableStreamDefaultReader | ReadableStreamBYOBReader; type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 035022af6..0fc03d891 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -42846,7 +42846,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -42997,16 +42997,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -44514,7 +44514,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompositeOperation = "accumulate" | "add" | "replace"; type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent"; type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml"; @@ -44665,7 +44665,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi type RemotePlaybackState = "connected" | "connecting" | "disconnected"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index d1f341b8f..6a6f2f81a 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -12897,7 +12897,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -13048,16 +13048,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13496,7 +13496,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EndingType = "native" | "transparent"; @@ -13568,7 +13568,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index 27b210acd..60fecb754 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -12623,7 +12623,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -12774,16 +12774,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13184,7 +13184,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type EndingType = "native" | "transparent"; type FileSystemHandleKind = "directory" | "file"; type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap"; @@ -13253,7 +13253,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.5/audioworklet.generated.d.ts b/baselines/ts5.5/audioworklet.generated.d.ts index d8072fdfe..395bce894 100644 --- a/baselines/ts5.5/audioworklet.generated.d.ts +++ b/baselines/ts5.5/audioworklet.generated.d.ts @@ -1665,7 +1665,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -1816,12 +1816,12 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -2032,6 +2032,6 @@ type ReadableStreamController = ReadableStreamDefaultController | Readable type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; type ReadableStreamReader = ReadableStreamDefaultReader | ReadableStreamBYOBReader; type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index ab19d96d4..1a31d3001 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -42820,7 +42820,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -42971,16 +42971,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -44488,7 +44488,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompositeOperation = "accumulate" | "add" | "replace"; type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent"; type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml"; @@ -44639,7 +44639,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi type RemotePlaybackState = "connected" | "connecting" | "disconnected"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index ae05b3ddf..62e2c9525 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -12894,7 +12894,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -13045,16 +13045,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13493,7 +13493,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EndingType = "native" | "transparent"; @@ -13565,7 +13565,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index 227dc54d1..172127d23 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -12620,7 +12620,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -12771,16 +12771,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13181,7 +13181,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type EndingType = "native" | "transparent"; type FileSystemHandleKind = "directory" | "file"; type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap"; @@ -13250,7 +13250,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 3298efb4c..90c552e78 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -14569,7 +14569,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -14720,16 +14720,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -15178,7 +15178,7 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type CodecState = "closed" | "configured" | "unconfigured"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EncodedAudioChunkType = "delta" | "key"; @@ -15256,7 +15256,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.6/audioworklet.generated.d.ts b/baselines/ts5.6/audioworklet.generated.d.ts index d8072fdfe..395bce894 100644 --- a/baselines/ts5.6/audioworklet.generated.d.ts +++ b/baselines/ts5.6/audioworklet.generated.d.ts @@ -1665,7 +1665,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -1816,12 +1816,12 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -2032,6 +2032,6 @@ type ReadableStreamController = ReadableStreamDefaultController | Readable type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; type ReadableStreamReader = ReadableStreamDefaultReader | ReadableStreamBYOBReader; type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 03a868e42..82d64341e 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -42843,7 +42843,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -42994,16 +42994,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -44511,7 +44511,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompositeOperation = "accumulate" | "add" | "replace"; type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent"; type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml"; @@ -44662,7 +44662,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi type RemotePlaybackState = "connected" | "connecting" | "disconnected"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index ae05b3ddf..62e2c9525 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -12894,7 +12894,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -13045,16 +13045,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13493,7 +13493,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EndingType = "native" | "transparent"; @@ -13565,7 +13565,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index 227dc54d1..172127d23 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -12620,7 +12620,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -12771,16 +12771,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13181,7 +13181,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type EndingType = "native" | "transparent"; type FileSystemHandleKind = "directory" | "file"; type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap"; @@ -13250,7 +13250,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 3298efb4c..90c552e78 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -14569,7 +14569,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -14720,16 +14720,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -15178,7 +15178,7 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type CodecState = "closed" | "configured" | "unconfigured"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EncodedAudioChunkType = "delta" | "key"; @@ -15256,7 +15256,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.9/audioworklet.generated.d.ts b/baselines/ts5.9/audioworklet.generated.d.ts index 303cc493c..804979cbb 100644 --- a/baselines/ts5.9/audioworklet.generated.d.ts +++ b/baselines/ts5.9/audioworklet.generated.d.ts @@ -1665,7 +1665,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -1816,12 +1816,12 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -2032,6 +2032,6 @@ type ReadableStreamController = ReadableStreamDefaultController | Readable type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; type ReadableStreamReader = ReadableStreamDefaultReader | ReadableStreamBYOBReader; type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 67f588264..0018934c9 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -42843,7 +42843,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -42994,16 +42994,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -44511,7 +44511,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompositeOperation = "accumulate" | "add" | "replace"; type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent"; type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml"; @@ -44662,7 +44662,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi type RemotePlaybackState = "connected" | "connecting" | "disconnected"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.9/serviceworker.generated.d.ts b/baselines/ts5.9/serviceworker.generated.d.ts index 138cf77bd..50244ec1c 100644 --- a/baselines/ts5.9/serviceworker.generated.d.ts +++ b/baselines/ts5.9/serviceworker.generated.d.ts @@ -12894,7 +12894,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -13045,16 +13045,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13493,7 +13493,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EndingType = "native" | "transparent"; @@ -13565,7 +13565,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.9/sharedworker.generated.d.ts b/baselines/ts5.9/sharedworker.generated.d.ts index 281c12ff4..d5a2a026a 100644 --- a/baselines/ts5.9/sharedworker.generated.d.ts +++ b/baselines/ts5.9/sharedworker.generated.d.ts @@ -12620,7 +12620,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -12771,16 +12771,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -13181,7 +13181,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type EndingType = "native" | "transparent"; type FileSystemHandleKind = "directory" | "file"; type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap"; @@ -13250,7 +13250,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/ts5.9/webworker.generated.d.ts b/baselines/ts5.9/webworker.generated.d.ts index f72c42764..f0a28d915 100644 --- a/baselines/ts5.9/webworker.generated.d.ts +++ b/baselines/ts5.9/webworker.generated.d.ts @@ -14569,7 +14569,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -14720,16 +14720,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -15178,7 +15178,7 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type CodecState = "closed" | "configured" | "unconfigured"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EncodedAudioChunkType = "delta" | "key"; @@ -15256,7 +15256,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 66b300868..de8f3e40f 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -14572,7 +14572,7 @@ declare namespace WebAssembly { var Module: { prototype: Module; - new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module; + new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module; /** * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name. * @@ -14723,16 +14723,16 @@ declare namespace WebAssembly { type ValueType = keyof ValueTypeMap; var JSTag: Tag; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */ - function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise; + function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */ function compileStreaming(source: Response | PromiseLike, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */ - function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; + function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */ function instantiateStreaming(source: Response | PromiseLike, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise; /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */ - function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean; + function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean; } /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */ @@ -15181,7 +15181,7 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker"; type CodecState = "closed" | "configured" | "unconfigured"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip"; type CookieSameSite = "lax" | "none" | "strict"; type DocumentVisibilityState = "hidden" | "visible"; type EncodedAudioChunkType = "delta" | "key"; @@ -15259,7 +15259,7 @@ type ReadableStreamType = "bytes"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; -type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; +type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; diff --git a/inputfiles/patches/fetch.kdl b/inputfiles/patches/fetch.kdl index 1cc6c8f5c..686fb70aa 100644 --- a/inputfiles/patches/fetch.kdl +++ b/inputfiles/patches/fetch.kdl @@ -1,5 +1,5 @@ removals { enum RequestDestination { - json // No implementation as of 2023-11 + text // No implementation as of 2026-04 } } diff --git a/package-lock.json b/package-lock.json index d023a22ff..079210a64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1074,9 +1074,9 @@ ] }, "node_modules/@webref/css": { - "version": "8.5.2", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-8.5.2.tgz", - "integrity": "sha512-uTjrG93xyi52VHPqAXU+dXOKEa+fnvoM5lWmZ+WHl2nCX0qLYeFHuyRJAHjqbQ1lpZxJLhxJp9aTX8EuFkHVgg==", + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-8.5.3.tgz", + "integrity": "sha512-UQ0rOmt01faB6uzFa+jHQBCz9/TIeDgQjzlY3Zt2hqE/MlQQC8v4zWDP7cY+BSDmS8vaMXUtotcMamrwMYzfSQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1084,9 +1084,9 @@ } }, "node_modules/@webref/elements": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@webref/elements/-/elements-2.7.0.tgz", - "integrity": "sha512-8oZ1eB6BnKvUVVMud5vckSXRzxPQTw91TDFSMZVK+9CG+xzItvdCYzuhqhpGVZRpJx8T98jlQEywSFx0C4KVlg==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/@webref/elements/-/elements-2.7.1.tgz", + "integrity": "sha512-ke5VQWxr7vGket8tObjgNrmQ/+BO7MY1XL9gb0auPnHRzW7EN1Xpv5O237glCd4HWRrro05fBpBFXTPHlb24pw==", "dev": true, "license": "MIT" }, @@ -1098,9 +1098,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.75.1", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.75.1.tgz", - "integrity": "sha512-Wgd7hBxY6+Ji/JrYrvMevxWXEw0UDoZSDyZDNs2kneDW7LjTiih4cMK0UR+LmB1JfMs5dsqN137TfKVGv3RMRA==", + "version": "3.75.2", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.75.2.tgz", + "integrity": "sha512-0fyTK++AOLfISQi281gfw/N+CxgEWv59Kco/wuSXjEWGwLn4Oh/ChkH3g8y8joIrp4ZTTqkW7WIGhas5IBSTQQ==", "dev": true, "license": "MIT", "peerDependencies": {