@types/sharedworker 0.0.115 → 0.0.117

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +12 -4
  3. package/package.json +1 -1
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.115 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.115.
31
+ You can read what changed in version 0.0.117 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.117.
package/index.d.ts CHANGED
@@ -280,10 +280,6 @@ interface ImageEncodeOptions {
280
280
  type?: string;
281
281
  }
282
282
 
283
- interface ImportMeta {
284
- url: string;
285
- }
286
-
287
283
  interface JsonWebKey {
288
284
  alg?: string;
289
285
  crv?: string;
@@ -3479,6 +3475,11 @@ declare var ImageData: {
3479
3475
  new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3480
3476
  };
3481
3477
 
3478
+ interface ImportMeta {
3479
+ url: string;
3480
+ resolve(specifier: string): string;
3481
+ }
3482
+
3482
3483
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */
3483
3484
  interface KHR_parallel_shader_compile {
3484
3485
  readonly COMPLETION_STATUS_KHR: 0x91B1;
@@ -5135,6 +5136,8 @@ declare var URL: {
5135
5136
  canParse(url: string | URL, base?: string): boolean;
5136
5137
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
5137
5138
  createObjectURL(obj: Blob): string;
5139
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5140
+ parse(url: string | URL, base?: string): URL | null;
5138
5141
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
5139
5142
  revokeObjectURL(url: string): void;
5140
5143
  };
@@ -6840,6 +6843,7 @@ declare var WebGLRenderingContext: {
6840
6843
  };
6841
6844
 
6842
6845
  interface WebGLRenderingContextBase {
6846
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
6843
6847
  drawingBufferColorSpace: PredefinedColorSpace;
6844
6848
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
6845
6849
  readonly drawingBufferHeight: GLsizei;
@@ -7853,7 +7857,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
7853
7857
  onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
7854
7858
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
7855
7859
  ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
7860
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
7856
7861
  onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
7862
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
7857
7863
  onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
7858
7864
  /**
7859
7865
  * Returns workerGlobal.
@@ -8489,7 +8495,9 @@ declare var onlanguagechange: ((this: SharedWorkerGlobalScope, ev: Event) => any
8489
8495
  declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
8490
8496
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
8491
8497
  declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
8498
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
8492
8499
  declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
8500
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
8493
8501
  declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
8494
8502
  /**
8495
8503
  * Returns workerGlobal.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.115",
3
+ "version": "0.0.117",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],