@types/webworker 0.0.50 → 0.0.52

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
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
45
45
 
46
46
  ## Deploy Metadata
47
47
 
48
- You can read what changed in version 0.0.50 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.50.
48
+ You can read what changed in version 0.0.52 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.52.
package/index.d.ts CHANGED
@@ -428,6 +428,7 @@ interface ImageBitmapRenderingContextSettings {
428
428
 
429
429
  interface ImageDataSettings {
430
430
  colorSpace?: PredefinedColorSpace;
431
+ pixelFormat?: ImageDataPixelFormat;
431
432
  }
432
433
 
433
434
  interface ImageDecodeOptions {
@@ -8182,7 +8183,7 @@ interface ServiceWorkerContainer extends EventTarget {
8182
8183
  */
8183
8184
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
8184
8185
  /**
8185
- * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
8186
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
8186
8187
  *
8187
8188
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
8188
8189
  */
@@ -13502,6 +13503,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
13502
13503
  type IDBRequestReadyState = "done" | "pending";
13503
13504
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
13504
13505
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
13506
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
13505
13507
  type ImageOrientation = "flipY" | "from-image" | "none";
13506
13508
  type ImageSmoothingQuality = "high" | "low" | "medium";
13507
13509
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/webworker",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "Types for the global scope of Web Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -425,6 +425,7 @@ interface ImageBitmapRenderingContextSettings {
425
425
 
426
426
  interface ImageDataSettings {
427
427
  colorSpace?: PredefinedColorSpace;
428
+ pixelFormat?: ImageDataPixelFormat;
428
429
  }
429
430
 
430
431
  interface ImageDecodeOptions {
@@ -8179,7 +8180,7 @@ interface ServiceWorkerContainer extends EventTarget {
8179
8180
  */
8180
8181
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
8181
8182
  /**
8182
- * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
8183
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
8183
8184
  *
8184
8185
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
8185
8186
  */
@@ -13499,6 +13500,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
13499
13500
  type IDBRequestReadyState = "done" | "pending";
13500
13501
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
13501
13502
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
13503
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
13502
13504
  type ImageOrientation = "flipY" | "from-image" | "none";
13503
13505
  type ImageSmoothingQuality = "high" | "low" | "medium";
13504
13506
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/ts5.6/index.d.ts CHANGED
@@ -425,6 +425,7 @@ interface ImageBitmapRenderingContextSettings {
425
425
 
426
426
  interface ImageDataSettings {
427
427
  colorSpace?: PredefinedColorSpace;
428
+ pixelFormat?: ImageDataPixelFormat;
428
429
  }
429
430
 
430
431
  interface ImageDecodeOptions {
@@ -8179,7 +8180,7 @@ interface ServiceWorkerContainer extends EventTarget {
8179
8180
  */
8180
8181
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
8181
8182
  /**
8182
- * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
8183
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
8183
8184
  *
8184
8185
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
8185
8186
  */
@@ -13499,6 +13500,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
13499
13500
  type IDBRequestReadyState = "done" | "pending";
13500
13501
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
13501
13502
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
13503
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
13502
13504
  type ImageOrientation = "flipY" | "from-image" | "none";
13503
13505
  type ImageSmoothingQuality = "high" | "low" | "medium";
13504
13506
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/ts5.9/index.d.ts CHANGED
@@ -425,6 +425,7 @@ interface ImageBitmapRenderingContextSettings {
425
425
 
426
426
  interface ImageDataSettings {
427
427
  colorSpace?: PredefinedColorSpace;
428
+ pixelFormat?: ImageDataPixelFormat;
428
429
  }
429
430
 
430
431
  interface ImageDecodeOptions {
@@ -8179,7 +8180,7 @@ interface ServiceWorkerContainer extends EventTarget {
8179
8180
  */
8180
8181
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
8181
8182
  /**
8182
- * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
8183
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
8183
8184
  *
8184
8185
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
8185
8186
  */
@@ -13499,6 +13500,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
13499
13500
  type IDBRequestReadyState = "done" | "pending";
13500
13501
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
13501
13502
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
13503
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
13502
13504
  type ImageOrientation = "flipY" | "from-image" | "none";
13503
13505
  type ImageSmoothingQuality = "high" | "low" | "medium";
13504
13506
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";