@types/serviceworker 0.0.175 → 0.0.176

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.175 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.175.
31
+ You can read what changed in version 0.0.176 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.176.
package/index.d.ts CHANGED
@@ -4228,6 +4228,62 @@ declare var GPUBindGroupLayout: {
4228
4228
  new(): GPUBindGroupLayout;
4229
4229
  };
4230
4230
 
4231
+ /**
4232
+ * The **`GPUBuffer`** interface of the WebGPU API represents a block of memory that can be used to store raw data to use in GPU operations.
4233
+ * Available only in secure contexts.
4234
+ *
4235
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
4236
+ */
4237
+ interface GPUBuffer extends GPUObjectBase {
4238
+ /**
4239
+ * The **`mapState`** read-only property of the GPUBuffer interface represents the mapped state of the GPUBuffer.
4240
+ *
4241
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState)
4242
+ */
4243
+ readonly mapState: GPUBufferMapState;
4244
+ /**
4245
+ * The **`size`** read-only property of the GPUBuffer interface represents the length of the GPUBuffer's memory allocation, in bytes.
4246
+ *
4247
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size)
4248
+ */
4249
+ readonly size: GPUSize64Out;
4250
+ /**
4251
+ * The **`usage`** read-only property of the GPUBuffer interface contains the bitwise flags representing the allowed usages of the GPUBuffer.
4252
+ *
4253
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage)
4254
+ */
4255
+ readonly usage: GPUFlagsConstant;
4256
+ /**
4257
+ * The **`destroy()`** method of the GPUBuffer interface destroys the GPUBuffer.
4258
+ *
4259
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy)
4260
+ */
4261
+ destroy(): void;
4262
+ /**
4263
+ * The **`getMappedRange()`** method of the GPUBuffer interface returns an ArrayBuffer containing the mapped contents of the GPUBuffer in the specified range.
4264
+ *
4265
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange)
4266
+ */
4267
+ getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
4268
+ /**
4269
+ * The **`mapAsync()`** method of the GPUBuffer interface maps the specified range of the GPUBuffer. It returns a Promise that resolves when the GPUBuffer's content is ready to be accessed. While the GPUBuffer is mapped it cannot be used in any GPU commands.
4270
+ *
4271
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync)
4272
+ */
4273
+ mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
4274
+ /**
4275
+ * The **`unmap()`** method of the GPUBuffer interface unmaps the mapped range of the GPUBuffer, making its contents available for use by the GPU again after it has previously been mapped with GPUBuffer.mapAsync() (the GPU cannot access a mapped GPUBuffer).
4276
+ *
4277
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap)
4278
+ */
4279
+ unmap(): void;
4280
+ }
4281
+
4282
+ declare var GPUBuffer: {
4283
+ prototype: GPUBuffer;
4284
+ new(): GPUBuffer;
4285
+ };
4286
+
4231
4287
  /**
4232
4288
  * The **`GPUCommandBuffer`** interface of the WebGPU API represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.
4233
4289
  * Available only in secure contexts.
@@ -4242,6 +4298,76 @@ declare var GPUCommandBuffer: {
4242
4298
  new(): GPUCommandBuffer;
4243
4299
  };
4244
4300
 
4301
+ /**
4302
+ * The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
4303
+ * Available only in secure contexts.
4304
+ *
4305
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
4306
+ */
4307
+ interface GPUCompilationInfo {
4308
+ /**
4309
+ * The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
4310
+ *
4311
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
4312
+ */
4313
+ readonly messages: ReadonlyArray<GPUCompilationMessage>;
4314
+ }
4315
+
4316
+ declare var GPUCompilationInfo: {
4317
+ prototype: GPUCompilationInfo;
4318
+ new(): GPUCompilationInfo;
4319
+ };
4320
+
4321
+ /**
4322
+ * The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
4323
+ * Available only in secure contexts.
4324
+ *
4325
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
4326
+ */
4327
+ interface GPUCompilationMessage {
4328
+ /**
4329
+ * The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
4330
+ *
4331
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
4332
+ */
4333
+ readonly length: number;
4334
+ /**
4335
+ * The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
4336
+ *
4337
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
4338
+ */
4339
+ readonly lineNum: number;
4340
+ /**
4341
+ * The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
4342
+ *
4343
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
4344
+ */
4345
+ readonly linePos: number;
4346
+ /**
4347
+ * The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
4348
+ *
4349
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
4350
+ */
4351
+ readonly message: string;
4352
+ /**
4353
+ * The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
4354
+ *
4355
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
4356
+ */
4357
+ readonly offset: number;
4358
+ /**
4359
+ * The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
4360
+ *
4361
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
4362
+ */
4363
+ readonly type: GPUCompilationMessageType;
4364
+ }
4365
+
4366
+ declare var GPUCompilationMessage: {
4367
+ prototype: GPUCompilationMessage;
4368
+ new(): GPUCompilationMessage;
4369
+ };
4370
+
4245
4371
  /**
4246
4372
  * The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
4247
4373
  * Available only in secure contexts.
@@ -4430,6 +4556,26 @@ declare var GPUSampler: {
4430
4556
  new(): GPUSampler;
4431
4557
  };
4432
4558
 
4559
+ /**
4560
+ * The **`GPUShaderModule`** interface of the WebGPU API represents an internal shader module object, a container for WGSL shader code that can be submitted to the GPU for execution by a pipeline.
4561
+ * Available only in secure contexts.
4562
+ *
4563
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
4564
+ */
4565
+ interface GPUShaderModule extends GPUObjectBase {
4566
+ /**
4567
+ * The **`getCompilationInfo()`** method of the GPUShaderModule interface returns a Promise that fulfills with a GPUCompilationInfo object containing messages generated during the GPUShaderModule's compilation.
4568
+ *
4569
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo)
4570
+ */
4571
+ getCompilationInfo(): Promise<GPUCompilationInfo>;
4572
+ }
4573
+
4574
+ declare var GPUShaderModule: {
4575
+ prototype: GPUShaderModule;
4576
+ new(): GPUShaderModule;
4577
+ };
4578
+
4433
4579
  /**
4434
4580
  * The **`GPUSupportedFeatures`** interface of the WebGPU API is a Set-like object that describes additional functionality supported by a GPUAdapter.
4435
4581
  * Available only in secure contexts.
@@ -5458,6 +5604,19 @@ interface ImportMeta {
5458
5604
  resolve(specifier: string): string;
5459
5605
  }
5460
5606
 
5607
+ /**
5608
+ * The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5609
+ *
5610
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5611
+ */
5612
+ interface InstallEvent extends ExtendableEvent {
5613
+ }
5614
+
5615
+ declare var InstallEvent: {
5616
+ prototype: InstallEvent;
5617
+ new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5618
+ };
5619
+
5461
5620
  /**
5462
5621
  * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
5463
5622
  *
@@ -6455,7 +6614,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
6455
6614
  */
6456
6615
  readonly redirectStart: DOMHighResTimeStamp;
6457
6616
  /**
6458
- * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
6617
+ * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retries the request, the value returned will be the start of the retry request.
6459
6618
  *
6460
6619
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/requestStart)
6461
6620
  */
@@ -12202,7 +12361,10 @@ type GLuint64 = number;
12202
12361
  type GPUFlagsConstant = number;
12203
12362
  type GPUIntegerCoordinate = number;
12204
12363
  type GPUIntegerCoordinateOut = number;
12364
+ type GPUMapModeFlags = number;
12205
12365
  type GPUSize32Out = number;
12366
+ type GPUSize64 = number;
12367
+ type GPUSize64Out = number;
12206
12368
  type GPUTextureUsageFlags = number;
12207
12369
  type HashAlgorithmIdentifier = AlgorithmIdentifier;
12208
12370
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
@@ -12252,6 +12414,8 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
12252
12414
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
12253
12415
  type FontFaceSetLoadStatus = "loaded" | "loading";
12254
12416
  type FrameType = "auxiliary" | "nested" | "none" | "top-level";
12417
+ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
12418
+ type GPUCompilationMessageType = "error" | "info" | "warning";
12255
12419
  type GPUDeviceLostReason = "destroyed" | "unknown";
12256
12420
  type GPUPipelineErrorReason = "internal" | "validation";
12257
12421
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.175",
3
+ "version": "0.0.176",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -4225,6 +4225,62 @@ declare var GPUBindGroupLayout: {
4225
4225
  new(): GPUBindGroupLayout;
4226
4226
  };
4227
4227
 
4228
+ /**
4229
+ * The **`GPUBuffer`** interface of the WebGPU API represents a block of memory that can be used to store raw data to use in GPU operations.
4230
+ * Available only in secure contexts.
4231
+ *
4232
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
4233
+ */
4234
+ interface GPUBuffer extends GPUObjectBase {
4235
+ /**
4236
+ * The **`mapState`** read-only property of the GPUBuffer interface represents the mapped state of the GPUBuffer.
4237
+ *
4238
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState)
4239
+ */
4240
+ readonly mapState: GPUBufferMapState;
4241
+ /**
4242
+ * The **`size`** read-only property of the GPUBuffer interface represents the length of the GPUBuffer's memory allocation, in bytes.
4243
+ *
4244
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size)
4245
+ */
4246
+ readonly size: GPUSize64Out;
4247
+ /**
4248
+ * The **`usage`** read-only property of the GPUBuffer interface contains the bitwise flags representing the allowed usages of the GPUBuffer.
4249
+ *
4250
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage)
4251
+ */
4252
+ readonly usage: GPUFlagsConstant;
4253
+ /**
4254
+ * The **`destroy()`** method of the GPUBuffer interface destroys the GPUBuffer.
4255
+ *
4256
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy)
4257
+ */
4258
+ destroy(): void;
4259
+ /**
4260
+ * The **`getMappedRange()`** method of the GPUBuffer interface returns an ArrayBuffer containing the mapped contents of the GPUBuffer in the specified range.
4261
+ *
4262
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange)
4263
+ */
4264
+ getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
4265
+ /**
4266
+ * The **`mapAsync()`** method of the GPUBuffer interface maps the specified range of the GPUBuffer. It returns a Promise that resolves when the GPUBuffer's content is ready to be accessed. While the GPUBuffer is mapped it cannot be used in any GPU commands.
4267
+ *
4268
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync)
4269
+ */
4270
+ mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
4271
+ /**
4272
+ * The **`unmap()`** method of the GPUBuffer interface unmaps the mapped range of the GPUBuffer, making its contents available for use by the GPU again after it has previously been mapped with GPUBuffer.mapAsync() (the GPU cannot access a mapped GPUBuffer).
4273
+ *
4274
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap)
4275
+ */
4276
+ unmap(): void;
4277
+ }
4278
+
4279
+ declare var GPUBuffer: {
4280
+ prototype: GPUBuffer;
4281
+ new(): GPUBuffer;
4282
+ };
4283
+
4228
4284
  /**
4229
4285
  * The **`GPUCommandBuffer`** interface of the WebGPU API represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.
4230
4286
  * Available only in secure contexts.
@@ -4239,6 +4295,76 @@ declare var GPUCommandBuffer: {
4239
4295
  new(): GPUCommandBuffer;
4240
4296
  };
4241
4297
 
4298
+ /**
4299
+ * The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
4300
+ * Available only in secure contexts.
4301
+ *
4302
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
4303
+ */
4304
+ interface GPUCompilationInfo {
4305
+ /**
4306
+ * The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
4307
+ *
4308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
4309
+ */
4310
+ readonly messages: ReadonlyArray<GPUCompilationMessage>;
4311
+ }
4312
+
4313
+ declare var GPUCompilationInfo: {
4314
+ prototype: GPUCompilationInfo;
4315
+ new(): GPUCompilationInfo;
4316
+ };
4317
+
4318
+ /**
4319
+ * The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
4320
+ * Available only in secure contexts.
4321
+ *
4322
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
4323
+ */
4324
+ interface GPUCompilationMessage {
4325
+ /**
4326
+ * The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
4327
+ *
4328
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
4329
+ */
4330
+ readonly length: number;
4331
+ /**
4332
+ * The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
4333
+ *
4334
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
4335
+ */
4336
+ readonly lineNum: number;
4337
+ /**
4338
+ * The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
4339
+ *
4340
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
4341
+ */
4342
+ readonly linePos: number;
4343
+ /**
4344
+ * The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
4345
+ *
4346
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
4347
+ */
4348
+ readonly message: string;
4349
+ /**
4350
+ * The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
4351
+ *
4352
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
4353
+ */
4354
+ readonly offset: number;
4355
+ /**
4356
+ * The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
4357
+ *
4358
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
4359
+ */
4360
+ readonly type: GPUCompilationMessageType;
4361
+ }
4362
+
4363
+ declare var GPUCompilationMessage: {
4364
+ prototype: GPUCompilationMessage;
4365
+ new(): GPUCompilationMessage;
4366
+ };
4367
+
4242
4368
  /**
4243
4369
  * The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
4244
4370
  * Available only in secure contexts.
@@ -4427,6 +4553,26 @@ declare var GPUSampler: {
4427
4553
  new(): GPUSampler;
4428
4554
  };
4429
4555
 
4556
+ /**
4557
+ * The **`GPUShaderModule`** interface of the WebGPU API represents an internal shader module object, a container for WGSL shader code that can be submitted to the GPU for execution by a pipeline.
4558
+ * Available only in secure contexts.
4559
+ *
4560
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
4561
+ */
4562
+ interface GPUShaderModule extends GPUObjectBase {
4563
+ /**
4564
+ * The **`getCompilationInfo()`** method of the GPUShaderModule interface returns a Promise that fulfills with a GPUCompilationInfo object containing messages generated during the GPUShaderModule's compilation.
4565
+ *
4566
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo)
4567
+ */
4568
+ getCompilationInfo(): Promise<GPUCompilationInfo>;
4569
+ }
4570
+
4571
+ declare var GPUShaderModule: {
4572
+ prototype: GPUShaderModule;
4573
+ new(): GPUShaderModule;
4574
+ };
4575
+
4430
4576
  /**
4431
4577
  * The **`GPUSupportedFeatures`** interface of the WebGPU API is a Set-like object that describes additional functionality supported by a GPUAdapter.
4432
4578
  * Available only in secure contexts.
@@ -5455,6 +5601,19 @@ interface ImportMeta {
5455
5601
  resolve(specifier: string): string;
5456
5602
  }
5457
5603
 
5604
+ /**
5605
+ * The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5606
+ *
5607
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5608
+ */
5609
+ interface InstallEvent extends ExtendableEvent {
5610
+ }
5611
+
5612
+ declare var InstallEvent: {
5613
+ prototype: InstallEvent;
5614
+ new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5615
+ };
5616
+
5458
5617
  /**
5459
5618
  * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
5460
5619
  *
@@ -6452,7 +6611,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
6452
6611
  */
6453
6612
  readonly redirectStart: DOMHighResTimeStamp;
6454
6613
  /**
6455
- * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
6614
+ * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retries the request, the value returned will be the start of the retry request.
6456
6615
  *
6457
6616
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/requestStart)
6458
6617
  */
@@ -12199,7 +12358,10 @@ type GLuint64 = number;
12199
12358
  type GPUFlagsConstant = number;
12200
12359
  type GPUIntegerCoordinate = number;
12201
12360
  type GPUIntegerCoordinateOut = number;
12361
+ type GPUMapModeFlags = number;
12202
12362
  type GPUSize32Out = number;
12363
+ type GPUSize64 = number;
12364
+ type GPUSize64Out = number;
12203
12365
  type GPUTextureUsageFlags = number;
12204
12366
  type HashAlgorithmIdentifier = AlgorithmIdentifier;
12205
12367
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
@@ -12249,6 +12411,8 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
12249
12411
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
12250
12412
  type FontFaceSetLoadStatus = "loaded" | "loading";
12251
12413
  type FrameType = "auxiliary" | "nested" | "none" | "top-level";
12414
+ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
12415
+ type GPUCompilationMessageType = "error" | "info" | "warning";
12252
12416
  type GPUDeviceLostReason = "destroyed" | "unknown";
12253
12417
  type GPUPipelineErrorReason = "internal" | "validation";
12254
12418
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
package/ts5.6/index.d.ts CHANGED
@@ -4225,6 +4225,62 @@ declare var GPUBindGroupLayout: {
4225
4225
  new(): GPUBindGroupLayout;
4226
4226
  };
4227
4227
 
4228
+ /**
4229
+ * The **`GPUBuffer`** interface of the WebGPU API represents a block of memory that can be used to store raw data to use in GPU operations.
4230
+ * Available only in secure contexts.
4231
+ *
4232
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
4233
+ */
4234
+ interface GPUBuffer extends GPUObjectBase {
4235
+ /**
4236
+ * The **`mapState`** read-only property of the GPUBuffer interface represents the mapped state of the GPUBuffer.
4237
+ *
4238
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState)
4239
+ */
4240
+ readonly mapState: GPUBufferMapState;
4241
+ /**
4242
+ * The **`size`** read-only property of the GPUBuffer interface represents the length of the GPUBuffer's memory allocation, in bytes.
4243
+ *
4244
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size)
4245
+ */
4246
+ readonly size: GPUSize64Out;
4247
+ /**
4248
+ * The **`usage`** read-only property of the GPUBuffer interface contains the bitwise flags representing the allowed usages of the GPUBuffer.
4249
+ *
4250
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage)
4251
+ */
4252
+ readonly usage: GPUFlagsConstant;
4253
+ /**
4254
+ * The **`destroy()`** method of the GPUBuffer interface destroys the GPUBuffer.
4255
+ *
4256
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy)
4257
+ */
4258
+ destroy(): void;
4259
+ /**
4260
+ * The **`getMappedRange()`** method of the GPUBuffer interface returns an ArrayBuffer containing the mapped contents of the GPUBuffer in the specified range.
4261
+ *
4262
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange)
4263
+ */
4264
+ getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
4265
+ /**
4266
+ * The **`mapAsync()`** method of the GPUBuffer interface maps the specified range of the GPUBuffer. It returns a Promise that resolves when the GPUBuffer's content is ready to be accessed. While the GPUBuffer is mapped it cannot be used in any GPU commands.
4267
+ *
4268
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync)
4269
+ */
4270
+ mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
4271
+ /**
4272
+ * The **`unmap()`** method of the GPUBuffer interface unmaps the mapped range of the GPUBuffer, making its contents available for use by the GPU again after it has previously been mapped with GPUBuffer.mapAsync() (the GPU cannot access a mapped GPUBuffer).
4273
+ *
4274
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap)
4275
+ */
4276
+ unmap(): void;
4277
+ }
4278
+
4279
+ declare var GPUBuffer: {
4280
+ prototype: GPUBuffer;
4281
+ new(): GPUBuffer;
4282
+ };
4283
+
4228
4284
  /**
4229
4285
  * The **`GPUCommandBuffer`** interface of the WebGPU API represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.
4230
4286
  * Available only in secure contexts.
@@ -4239,6 +4295,76 @@ declare var GPUCommandBuffer: {
4239
4295
  new(): GPUCommandBuffer;
4240
4296
  };
4241
4297
 
4298
+ /**
4299
+ * The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
4300
+ * Available only in secure contexts.
4301
+ *
4302
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
4303
+ */
4304
+ interface GPUCompilationInfo {
4305
+ /**
4306
+ * The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
4307
+ *
4308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
4309
+ */
4310
+ readonly messages: ReadonlyArray<GPUCompilationMessage>;
4311
+ }
4312
+
4313
+ declare var GPUCompilationInfo: {
4314
+ prototype: GPUCompilationInfo;
4315
+ new(): GPUCompilationInfo;
4316
+ };
4317
+
4318
+ /**
4319
+ * The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
4320
+ * Available only in secure contexts.
4321
+ *
4322
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
4323
+ */
4324
+ interface GPUCompilationMessage {
4325
+ /**
4326
+ * The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
4327
+ *
4328
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
4329
+ */
4330
+ readonly length: number;
4331
+ /**
4332
+ * The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
4333
+ *
4334
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
4335
+ */
4336
+ readonly lineNum: number;
4337
+ /**
4338
+ * The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
4339
+ *
4340
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
4341
+ */
4342
+ readonly linePos: number;
4343
+ /**
4344
+ * The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
4345
+ *
4346
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
4347
+ */
4348
+ readonly message: string;
4349
+ /**
4350
+ * The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
4351
+ *
4352
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
4353
+ */
4354
+ readonly offset: number;
4355
+ /**
4356
+ * The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
4357
+ *
4358
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
4359
+ */
4360
+ readonly type: GPUCompilationMessageType;
4361
+ }
4362
+
4363
+ declare var GPUCompilationMessage: {
4364
+ prototype: GPUCompilationMessage;
4365
+ new(): GPUCompilationMessage;
4366
+ };
4367
+
4242
4368
  /**
4243
4369
  * The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
4244
4370
  * Available only in secure contexts.
@@ -4427,6 +4553,26 @@ declare var GPUSampler: {
4427
4553
  new(): GPUSampler;
4428
4554
  };
4429
4555
 
4556
+ /**
4557
+ * The **`GPUShaderModule`** interface of the WebGPU API represents an internal shader module object, a container for WGSL shader code that can be submitted to the GPU for execution by a pipeline.
4558
+ * Available only in secure contexts.
4559
+ *
4560
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
4561
+ */
4562
+ interface GPUShaderModule extends GPUObjectBase {
4563
+ /**
4564
+ * The **`getCompilationInfo()`** method of the GPUShaderModule interface returns a Promise that fulfills with a GPUCompilationInfo object containing messages generated during the GPUShaderModule's compilation.
4565
+ *
4566
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo)
4567
+ */
4568
+ getCompilationInfo(): Promise<GPUCompilationInfo>;
4569
+ }
4570
+
4571
+ declare var GPUShaderModule: {
4572
+ prototype: GPUShaderModule;
4573
+ new(): GPUShaderModule;
4574
+ };
4575
+
4430
4576
  /**
4431
4577
  * The **`GPUSupportedFeatures`** interface of the WebGPU API is a Set-like object that describes additional functionality supported by a GPUAdapter.
4432
4578
  * Available only in secure contexts.
@@ -5455,6 +5601,19 @@ interface ImportMeta {
5455
5601
  resolve(specifier: string): string;
5456
5602
  }
5457
5603
 
5604
+ /**
5605
+ * The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5606
+ *
5607
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5608
+ */
5609
+ interface InstallEvent extends ExtendableEvent {
5610
+ }
5611
+
5612
+ declare var InstallEvent: {
5613
+ prototype: InstallEvent;
5614
+ new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5615
+ };
5616
+
5458
5617
  /**
5459
5618
  * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
5460
5619
  *
@@ -6452,7 +6611,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
6452
6611
  */
6453
6612
  readonly redirectStart: DOMHighResTimeStamp;
6454
6613
  /**
6455
- * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
6614
+ * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retries the request, the value returned will be the start of the retry request.
6456
6615
  *
6457
6616
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/requestStart)
6458
6617
  */
@@ -12199,7 +12358,10 @@ type GLuint64 = number;
12199
12358
  type GPUFlagsConstant = number;
12200
12359
  type GPUIntegerCoordinate = number;
12201
12360
  type GPUIntegerCoordinateOut = number;
12361
+ type GPUMapModeFlags = number;
12202
12362
  type GPUSize32Out = number;
12363
+ type GPUSize64 = number;
12364
+ type GPUSize64Out = number;
12203
12365
  type GPUTextureUsageFlags = number;
12204
12366
  type HashAlgorithmIdentifier = AlgorithmIdentifier;
12205
12367
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
@@ -12249,6 +12411,8 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
12249
12411
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
12250
12412
  type FontFaceSetLoadStatus = "loaded" | "loading";
12251
12413
  type FrameType = "auxiliary" | "nested" | "none" | "top-level";
12414
+ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
12415
+ type GPUCompilationMessageType = "error" | "info" | "warning";
12252
12416
  type GPUDeviceLostReason = "destroyed" | "unknown";
12253
12417
  type GPUPipelineErrorReason = "internal" | "validation";
12254
12418
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
package/ts5.9/index.d.ts CHANGED
@@ -4225,6 +4225,62 @@ declare var GPUBindGroupLayout: {
4225
4225
  new(): GPUBindGroupLayout;
4226
4226
  };
4227
4227
 
4228
+ /**
4229
+ * The **`GPUBuffer`** interface of the WebGPU API represents a block of memory that can be used to store raw data to use in GPU operations.
4230
+ * Available only in secure contexts.
4231
+ *
4232
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
4233
+ */
4234
+ interface GPUBuffer extends GPUObjectBase {
4235
+ /**
4236
+ * The **`mapState`** read-only property of the GPUBuffer interface represents the mapped state of the GPUBuffer.
4237
+ *
4238
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState)
4239
+ */
4240
+ readonly mapState: GPUBufferMapState;
4241
+ /**
4242
+ * The **`size`** read-only property of the GPUBuffer interface represents the length of the GPUBuffer's memory allocation, in bytes.
4243
+ *
4244
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size)
4245
+ */
4246
+ readonly size: GPUSize64Out;
4247
+ /**
4248
+ * The **`usage`** read-only property of the GPUBuffer interface contains the bitwise flags representing the allowed usages of the GPUBuffer.
4249
+ *
4250
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage)
4251
+ */
4252
+ readonly usage: GPUFlagsConstant;
4253
+ /**
4254
+ * The **`destroy()`** method of the GPUBuffer interface destroys the GPUBuffer.
4255
+ *
4256
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy)
4257
+ */
4258
+ destroy(): void;
4259
+ /**
4260
+ * The **`getMappedRange()`** method of the GPUBuffer interface returns an ArrayBuffer containing the mapped contents of the GPUBuffer in the specified range.
4261
+ *
4262
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange)
4263
+ */
4264
+ getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
4265
+ /**
4266
+ * The **`mapAsync()`** method of the GPUBuffer interface maps the specified range of the GPUBuffer. It returns a Promise that resolves when the GPUBuffer's content is ready to be accessed. While the GPUBuffer is mapped it cannot be used in any GPU commands.
4267
+ *
4268
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync)
4269
+ */
4270
+ mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
4271
+ /**
4272
+ * The **`unmap()`** method of the GPUBuffer interface unmaps the mapped range of the GPUBuffer, making its contents available for use by the GPU again after it has previously been mapped with GPUBuffer.mapAsync() (the GPU cannot access a mapped GPUBuffer).
4273
+ *
4274
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap)
4275
+ */
4276
+ unmap(): void;
4277
+ }
4278
+
4279
+ declare var GPUBuffer: {
4280
+ prototype: GPUBuffer;
4281
+ new(): GPUBuffer;
4282
+ };
4283
+
4228
4284
  /**
4229
4285
  * The **`GPUCommandBuffer`** interface of the WebGPU API represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.
4230
4286
  * Available only in secure contexts.
@@ -4239,6 +4295,76 @@ declare var GPUCommandBuffer: {
4239
4295
  new(): GPUCommandBuffer;
4240
4296
  };
4241
4297
 
4298
+ /**
4299
+ * The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
4300
+ * Available only in secure contexts.
4301
+ *
4302
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
4303
+ */
4304
+ interface GPUCompilationInfo {
4305
+ /**
4306
+ * The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
4307
+ *
4308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
4309
+ */
4310
+ readonly messages: ReadonlyArray<GPUCompilationMessage>;
4311
+ }
4312
+
4313
+ declare var GPUCompilationInfo: {
4314
+ prototype: GPUCompilationInfo;
4315
+ new(): GPUCompilationInfo;
4316
+ };
4317
+
4318
+ /**
4319
+ * The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
4320
+ * Available only in secure contexts.
4321
+ *
4322
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
4323
+ */
4324
+ interface GPUCompilationMessage {
4325
+ /**
4326
+ * The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
4327
+ *
4328
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
4329
+ */
4330
+ readonly length: number;
4331
+ /**
4332
+ * The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
4333
+ *
4334
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
4335
+ */
4336
+ readonly lineNum: number;
4337
+ /**
4338
+ * The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
4339
+ *
4340
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
4341
+ */
4342
+ readonly linePos: number;
4343
+ /**
4344
+ * The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
4345
+ *
4346
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
4347
+ */
4348
+ readonly message: string;
4349
+ /**
4350
+ * The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
4351
+ *
4352
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
4353
+ */
4354
+ readonly offset: number;
4355
+ /**
4356
+ * The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
4357
+ *
4358
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
4359
+ */
4360
+ readonly type: GPUCompilationMessageType;
4361
+ }
4362
+
4363
+ declare var GPUCompilationMessage: {
4364
+ prototype: GPUCompilationMessage;
4365
+ new(): GPUCompilationMessage;
4366
+ };
4367
+
4242
4368
  /**
4243
4369
  * The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
4244
4370
  * Available only in secure contexts.
@@ -4427,6 +4553,26 @@ declare var GPUSampler: {
4427
4553
  new(): GPUSampler;
4428
4554
  };
4429
4555
 
4556
+ /**
4557
+ * The **`GPUShaderModule`** interface of the WebGPU API represents an internal shader module object, a container for WGSL shader code that can be submitted to the GPU for execution by a pipeline.
4558
+ * Available only in secure contexts.
4559
+ *
4560
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
4561
+ */
4562
+ interface GPUShaderModule extends GPUObjectBase {
4563
+ /**
4564
+ * The **`getCompilationInfo()`** method of the GPUShaderModule interface returns a Promise that fulfills with a GPUCompilationInfo object containing messages generated during the GPUShaderModule's compilation.
4565
+ *
4566
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo)
4567
+ */
4568
+ getCompilationInfo(): Promise<GPUCompilationInfo>;
4569
+ }
4570
+
4571
+ declare var GPUShaderModule: {
4572
+ prototype: GPUShaderModule;
4573
+ new(): GPUShaderModule;
4574
+ };
4575
+
4430
4576
  /**
4431
4577
  * The **`GPUSupportedFeatures`** interface of the WebGPU API is a Set-like object that describes additional functionality supported by a GPUAdapter.
4432
4578
  * Available only in secure contexts.
@@ -5455,6 +5601,19 @@ interface ImportMeta {
5455
5601
  resolve(specifier: string): string;
5456
5602
  }
5457
5603
 
5604
+ /**
5605
+ * The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5606
+ *
5607
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5608
+ */
5609
+ interface InstallEvent extends ExtendableEvent {
5610
+ }
5611
+
5612
+ declare var InstallEvent: {
5613
+ prototype: InstallEvent;
5614
+ new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5615
+ };
5616
+
5458
5617
  /**
5459
5618
  * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
5460
5619
  *
@@ -6452,7 +6611,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
6452
6611
  */
6453
6612
  readonly redirectStart: DOMHighResTimeStamp;
6454
6613
  /**
6455
- * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
6614
+ * The **`requestStart`** read-only property returns a timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retries the request, the value returned will be the start of the retry request.
6456
6615
  *
6457
6616
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/requestStart)
6458
6617
  */
@@ -12199,7 +12358,10 @@ type GLuint64 = number;
12199
12358
  type GPUFlagsConstant = number;
12200
12359
  type GPUIntegerCoordinate = number;
12201
12360
  type GPUIntegerCoordinateOut = number;
12361
+ type GPUMapModeFlags = number;
12202
12362
  type GPUSize32Out = number;
12363
+ type GPUSize64 = number;
12364
+ type GPUSize64Out = number;
12203
12365
  type GPUTextureUsageFlags = number;
12204
12366
  type HashAlgorithmIdentifier = AlgorithmIdentifier;
12205
12367
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
@@ -12249,6 +12411,8 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
12249
12411
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
12250
12412
  type FontFaceSetLoadStatus = "loaded" | "loading";
12251
12413
  type FrameType = "auxiliary" | "nested" | "none" | "top-level";
12414
+ type GPUBufferMapState = "mapped" | "pending" | "unmapped";
12415
+ type GPUCompilationMessageType = "error" | "info" | "warning";
12252
12416
  type GPUDeviceLostReason = "destroyed" | "unknown";
12253
12417
  type GPUPipelineErrorReason = "internal" | "validation";
12254
12418
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";