@types/serviceworker 0.0.170 → 0.0.172

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.170 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.170.
31
+ You can read what changed in version 0.0.172 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.172.
package/index.d.ts CHANGED
@@ -338,6 +338,7 @@ interface ImageBitmapRenderingContextSettings {
338
338
 
339
339
  interface ImageDataSettings {
340
340
  colorSpace?: PredefinedColorSpace;
341
+ pixelFormat?: ImageDataPixelFormat;
341
342
  }
342
343
 
343
344
  interface ImageEncodeOptions {
@@ -837,6 +838,7 @@ interface WebGLContextAttributes {
837
838
  premultipliedAlpha?: boolean;
838
839
  preserveDrawingBuffer?: boolean;
839
840
  stencil?: boolean;
841
+ xrCompatible?: boolean;
840
842
  }
841
843
 
842
844
  interface WebGLContextEventInit extends EventInit {
@@ -11814,6 +11816,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11814
11816
  type IDBRequestReadyState = "done" | "pending";
11815
11817
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11816
11818
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11819
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11817
11820
  type ImageOrientation = "flipY" | "from-image" | "none";
11818
11821
  type ImageSmoothingQuality = "high" | "low" | "medium";
11819
11822
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.170",
3
+ "version": "0.0.172",
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
@@ -335,6 +335,7 @@ interface ImageBitmapRenderingContextSettings {
335
335
 
336
336
  interface ImageDataSettings {
337
337
  colorSpace?: PredefinedColorSpace;
338
+ pixelFormat?: ImageDataPixelFormat;
338
339
  }
339
340
 
340
341
  interface ImageEncodeOptions {
@@ -834,6 +835,7 @@ interface WebGLContextAttributes {
834
835
  premultipliedAlpha?: boolean;
835
836
  preserveDrawingBuffer?: boolean;
836
837
  stencil?: boolean;
838
+ xrCompatible?: boolean;
837
839
  }
838
840
 
839
841
  interface WebGLContextEventInit extends EventInit {
@@ -11811,6 +11813,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11811
11813
  type IDBRequestReadyState = "done" | "pending";
11812
11814
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11813
11815
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11816
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11814
11817
  type ImageOrientation = "flipY" | "from-image" | "none";
11815
11818
  type ImageSmoothingQuality = "high" | "low" | "medium";
11816
11819
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/ts5.6/index.d.ts CHANGED
@@ -335,6 +335,7 @@ interface ImageBitmapRenderingContextSettings {
335
335
 
336
336
  interface ImageDataSettings {
337
337
  colorSpace?: PredefinedColorSpace;
338
+ pixelFormat?: ImageDataPixelFormat;
338
339
  }
339
340
 
340
341
  interface ImageEncodeOptions {
@@ -834,6 +835,7 @@ interface WebGLContextAttributes {
834
835
  premultipliedAlpha?: boolean;
835
836
  preserveDrawingBuffer?: boolean;
836
837
  stencil?: boolean;
838
+ xrCompatible?: boolean;
837
839
  }
838
840
 
839
841
  interface WebGLContextEventInit extends EventInit {
@@ -11811,6 +11813,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11811
11813
  type IDBRequestReadyState = "done" | "pending";
11812
11814
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11813
11815
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11816
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11814
11817
  type ImageOrientation = "flipY" | "from-image" | "none";
11815
11818
  type ImageSmoothingQuality = "high" | "low" | "medium";
11816
11819
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/ts5.9/index.d.ts CHANGED
@@ -335,6 +335,7 @@ interface ImageBitmapRenderingContextSettings {
335
335
 
336
336
  interface ImageDataSettings {
337
337
  colorSpace?: PredefinedColorSpace;
338
+ pixelFormat?: ImageDataPixelFormat;
338
339
  }
339
340
 
340
341
  interface ImageEncodeOptions {
@@ -834,6 +835,7 @@ interface WebGLContextAttributes {
834
835
  premultipliedAlpha?: boolean;
835
836
  preserveDrawingBuffer?: boolean;
836
837
  stencil?: boolean;
838
+ xrCompatible?: boolean;
837
839
  }
838
840
 
839
841
  interface WebGLContextEventInit extends EventInit {
@@ -11811,6 +11813,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
11811
11813
  type IDBRequestReadyState = "done" | "pending";
11812
11814
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
11813
11815
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11816
+ type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
11814
11817
  type ImageOrientation = "flipY" | "from-image" | "none";
11815
11818
  type ImageSmoothingQuality = "high" | "low" | "medium";
11816
11819
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";