@types/serviceworker 0.0.82 → 0.0.84

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.82 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.82.
31
+ You can read what changed in version 0.0.84 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.84.
package/index.d.ts CHANGED
@@ -587,16 +587,16 @@ interface RsaPssParams extends Algorithm {
587
587
  interface SecurityPolicyViolationEventInit extends EventInit {
588
588
  blockedURI?: string;
589
589
  columnNumber?: number;
590
- disposition: SecurityPolicyViolationEventDisposition;
591
- documentURI: string;
592
- effectiveDirective: string;
590
+ disposition?: SecurityPolicyViolationEventDisposition;
591
+ documentURI?: string;
592
+ effectiveDirective?: string;
593
593
  lineNumber?: number;
594
- originalPolicy: string;
594
+ originalPolicy?: string;
595
595
  referrer?: string;
596
596
  sample?: string;
597
597
  sourceFile?: string;
598
- statusCode: number;
599
- violatedDirective: string;
598
+ statusCode?: number;
599
+ violatedDirective?: string;
600
600
  }
601
601
 
602
602
  interface StorageEstimate {
@@ -819,6 +819,8 @@ declare var AbortSignal: {
819
819
  new(): AbortSignal;
820
820
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
821
821
  // abort(reason?: any): AbortSignal; - To be re-added in the future
822
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
823
+ any(signals: AbortSignal[]): AbortSignal;
822
824
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
823
825
  timeout(milliseconds: number): AbortSignal;
824
826
  };
@@ -4881,6 +4883,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
4881
4883
 
4882
4884
  /**
4883
4885
  * This ServiceWorker API interface represents the global execution context of a service worker.
4886
+ * Available only in secure contexts.
4884
4887
  *
4885
4888
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
4886
4889
  */
package/iterable.d.ts CHANGED
@@ -2,6 +2,11 @@
2
2
  /// ServiceWorker Iterable APIs
3
3
  /////////////////////////////
4
4
 
5
+ interface AbortSignal {
6
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7
+ any(signals: Iterable<AbortSignal>): AbortSignal;
8
+ }
9
+
5
10
  interface CSSNumericArray {
6
11
  [Symbol.iterator](): IterableIterator<CSSNumericValue>;
7
12
  entries(): IterableIterator<[number, CSSNumericValue]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],