@types/audioworklet 0.0.54 → 0.0.56

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 +13 -0
  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.54 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.54.
31
+ You can read what changed in version 0.0.56 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.56.
package/index.d.ts CHANGED
@@ -68,6 +68,17 @@ interface ReadableStreamGetReaderOptions {
68
68
  mode?: ReadableStreamReaderMode;
69
69
  }
70
70
 
71
+ interface ReadableStreamIteratorOptions {
72
+ /**
73
+ * Asynchronously iterates over the chunks in the stream's internal queue.
74
+ *
75
+ * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop.
76
+ *
77
+ * By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option.
78
+ */
79
+ preventCancel?: boolean;
80
+ }
81
+
71
82
  interface ReadableStreamReadDoneResult<T> {
72
83
  done: true;
73
84
  value?: T;
@@ -1017,6 +1028,8 @@ declare var URL: {
1017
1028
  new(url: string | URL, base?: string | URL): URL;
1018
1029
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
1019
1030
  canParse(url: string | URL, base?: string): boolean;
1031
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
1032
+ parse(url: string | URL, base?: string): URL | null;
1020
1033
  };
1021
1034
 
1022
1035
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],