@types/sharedworker 0.0.200 → 0.0.202

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.200 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.200.
31
+ You can read what changed in version 0.0.202 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.202.
package/index.d.ts CHANGED
@@ -282,6 +282,7 @@ interface ImageBitmapRenderingContextSettings {
282
282
 
283
283
  interface ImageDataSettings {
284
284
  colorSpace?: PredefinedColorSpace;
285
+ pixelFormat?: ImageDataPixelFormat;
285
286
  }
286
287
 
287
288
  interface ImageEncodeOptions {
@@ -6637,7 +6638,7 @@ interface ServiceWorkerContainer extends EventTarget {
6637
6638
  */
6638
6639
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
6639
6640
  /**
6640
- * 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.
6641
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
6641
6642
  *
6642
6643
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
6643
6644
  */
@@ -11494,6 +11495,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11494
11495
  type IDBRequestReadyState = "done" | "pending";
11495
11496
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11496
11497
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11498
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11497
11499
  type ImageOrientation = "flipY" | "from-image" | "none";
11498
11500
  type ImageSmoothingQuality = "high" | "low" | "medium";
11499
11501
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.200",
3
+ "version": "0.0.202",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -279,6 +279,7 @@ interface ImageBitmapRenderingContextSettings {
279
279
 
280
280
  interface ImageDataSettings {
281
281
  colorSpace?: PredefinedColorSpace;
282
+ pixelFormat?: ImageDataPixelFormat;
282
283
  }
283
284
 
284
285
  interface ImageEncodeOptions {
@@ -6634,7 +6635,7 @@ interface ServiceWorkerContainer extends EventTarget {
6634
6635
  */
6635
6636
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
6636
6637
  /**
6637
- * 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.
6638
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
6638
6639
  *
6639
6640
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
6640
6641
  */
@@ -11491,6 +11492,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11491
11492
  type IDBRequestReadyState = "done" | "pending";
11492
11493
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11493
11494
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11495
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11494
11496
  type ImageOrientation = "flipY" | "from-image" | "none";
11495
11497
  type ImageSmoothingQuality = "high" | "low" | "medium";
11496
11498
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/ts5.6/index.d.ts CHANGED
@@ -279,6 +279,7 @@ interface ImageBitmapRenderingContextSettings {
279
279
 
280
280
  interface ImageDataSettings {
281
281
  colorSpace?: PredefinedColorSpace;
282
+ pixelFormat?: ImageDataPixelFormat;
282
283
  }
283
284
 
284
285
  interface ImageEncodeOptions {
@@ -6634,7 +6635,7 @@ interface ServiceWorkerContainer extends EventTarget {
6634
6635
  */
6635
6636
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
6636
6637
  /**
6637
- * 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.
6638
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
6638
6639
  *
6639
6640
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
6640
6641
  */
@@ -11491,6 +11492,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11491
11492
  type IDBRequestReadyState = "done" | "pending";
11492
11493
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11493
11494
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11495
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11494
11496
  type ImageOrientation = "flipY" | "from-image" | "none";
11495
11497
  type ImageSmoothingQuality = "high" | "low" | "medium";
11496
11498
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/ts5.9/index.d.ts CHANGED
@@ -279,6 +279,7 @@ interface ImageBitmapRenderingContextSettings {
279
279
 
280
280
  interface ImageDataSettings {
281
281
  colorSpace?: PredefinedColorSpace;
282
+ pixelFormat?: ImageDataPixelFormat;
282
283
  }
283
284
 
284
285
  interface ImageEncodeOptions {
@@ -6634,7 +6635,7 @@ interface ServiceWorkerContainer extends EventTarget {
6634
6635
  */
6635
6636
  getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
6636
6637
  /**
6637
- * 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.
6638
+ * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
6638
6639
  *
6639
6640
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
6640
6641
  */
@@ -11491,6 +11492,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11491
11492
  type IDBRequestReadyState = "done" | "pending";
11492
11493
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11493
11494
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11495
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11494
11496
  type ImageOrientation = "flipY" | "from-image" | "none";
11495
11497
  type ImageSmoothingQuality = "high" | "low" | "medium";
11496
11498
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";