@types/serviceworker 0.0.127 → 0.0.129

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.127 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.127.
31
+ You can read what changed in version 0.0.129 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.129.
package/index.d.ts CHANGED
@@ -230,7 +230,6 @@ interface FetchEventInit extends ExtendableEventInit {
230
230
  clientId?: string;
231
231
  handled?: Promise<void>;
232
232
  preloadResponse?: Promise<any>;
233
- replacesClientId?: string;
234
233
  request: Request;
235
234
  resultingClientId?: string;
236
235
  }
@@ -1936,6 +1935,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1936
1935
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1937
1936
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1938
1937
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1938
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1939
1939
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1940
1940
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
1941
1941
  skewXSelf(sx?: number): DOMMatrix;
@@ -3691,7 +3691,7 @@ interface ImageData {
3691
3691
  *
3692
3692
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
3693
3693
  */
3694
- readonly data: Uint8ClampedArray;
3694
+ readonly data: ImageDataArray;
3695
3695
  /**
3696
3696
  * Returns the actual dimensions of the data in the ImageData object, in pixels.
3697
3697
  *
@@ -3709,7 +3709,7 @@ interface ImageData {
3709
3709
  declare var ImageData: {
3710
3710
  prototype: ImageData;
3711
3711
  new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
3712
- new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3712
+ new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3713
3713
  };
3714
3714
 
3715
3715
  interface ImportMeta {
@@ -8745,6 +8745,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
8745
8745
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
8746
8746
  type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
8747
8747
  type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
8748
+ type ImageDataArray = Uint8ClampedArray;
8748
8749
  type Int32List = Int32Array | GLint[];
8749
8750
  type MessageEventSource = MessagePort | ServiceWorker;
8750
8751
  type NamedCurve = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.127",
3
+ "version": "0.0.129",
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
@@ -230,7 +230,6 @@ interface FetchEventInit extends ExtendableEventInit {
230
230
  clientId?: string;
231
231
  handled?: Promise<void>;
232
232
  preloadResponse?: Promise<any>;
233
- replacesClientId?: string;
234
233
  request: Request;
235
234
  resultingClientId?: string;
236
235
  }
@@ -1936,6 +1935,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1936
1935
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1937
1936
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1938
1937
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1938
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1939
1939
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1940
1940
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
1941
1941
  skewXSelf(sx?: number): DOMMatrix;
@@ -3691,7 +3691,7 @@ interface ImageData {
3691
3691
  *
3692
3692
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
3693
3693
  */
3694
- readonly data: Uint8ClampedArray;
3694
+ readonly data: ImageDataArray;
3695
3695
  /**
3696
3696
  * Returns the actual dimensions of the data in the ImageData object, in pixels.
3697
3697
  *
@@ -3709,7 +3709,7 @@ interface ImageData {
3709
3709
  declare var ImageData: {
3710
3710
  prototype: ImageData;
3711
3711
  new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
3712
- new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3712
+ new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3713
3713
  };
3714
3714
 
3715
3715
  interface ImportMeta {
@@ -8745,6 +8745,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
8745
8745
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
8746
8746
  type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
8747
8747
  type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
8748
+ type ImageDataArray = Uint8ClampedArray;
8748
8749
  type Int32List = Int32Array | GLint[];
8749
8750
  type MessageEventSource = MessagePort | ServiceWorker;
8750
8751
  type NamedCurve = string;