@stencil/core 4.38.0 → 4.38.1

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 (90) hide show
  1. package/cli/index.cjs +1 -1
  2. package/cli/index.js +1 -1
  3. package/cli/package.json +1 -1
  4. package/compiler/lib.decorators.d.ts +13 -15
  5. package/compiler/lib.dom.asynciterable.d.ts +14 -6
  6. package/compiler/lib.dom.d.ts +15847 -5014
  7. package/compiler/lib.dom.iterable.d.ts +207 -111
  8. package/compiler/lib.es2015.core.d.ts +9 -9
  9. package/compiler/lib.es2015.generator.d.ts +2 -2
  10. package/compiler/lib.es2015.iterable.d.ts +214 -104
  11. package/compiler/lib.es2015.symbol.wellknown.d.ts +11 -11
  12. package/compiler/lib.es2016.array.include.d.ts +9 -9
  13. package/compiler/lib.es2016.intl.d.ts +1 -1
  14. package/compiler/lib.es2017.arraybuffer.d.ts +21 -0
  15. package/compiler/lib.es2017.d.ts +3 -2
  16. package/compiler/lib.es2017.object.d.ts +4 -4
  17. package/compiler/lib.es2017.sharedmemory.d.ts +15 -15
  18. package/compiler/lib.es2017.typedarrays.d.ts +9 -9
  19. package/compiler/lib.es2018.asyncgenerator.d.ts +2 -2
  20. package/compiler/lib.es2018.asynciterable.d.ts +16 -6
  21. package/compiler/lib.es2020.bigint.d.ts +100 -62
  22. package/compiler/lib.es2020.intl.d.ts +36 -36
  23. package/compiler/lib.es2020.sharedmemory.d.ts +13 -11
  24. package/compiler/lib.es2020.string.d.ts +3 -1
  25. package/compiler/lib.es2020.symbol.wellknown.d.ts +5 -1
  26. package/compiler/lib.es2021.intl.d.ts +17 -17
  27. package/compiler/lib.es2021.weakref.d.ts +2 -0
  28. package/compiler/lib.es2022.array.d.ts +11 -11
  29. package/compiler/lib.es2022.d.ts +1 -2
  30. package/compiler/lib.es2022.error.d.ts +2 -0
  31. package/compiler/lib.es2022.intl.d.ts +39 -11
  32. package/compiler/lib.es2023.array.d.ts +79 -79
  33. package/compiler/lib.es2024.arraybuffer.d.ts +65 -0
  34. package/compiler/lib.es2024.collection.d.ts +29 -0
  35. package/compiler/lib.es2024.d.ts +26 -0
  36. package/compiler/lib.es2024.full.d.ts +24 -0
  37. package/compiler/lib.es2024.promise.d.ts +35 -0
  38. package/compiler/{lib.es2022.sharedmemory.d.ts → lib.es2024.sharedmemory.d.ts} +29 -0
  39. package/compiler/lib.es5.d.ts +321 -305
  40. package/compiler/lib.esnext.array.d.ts +1 -1
  41. package/compiler/lib.esnext.collection.d.ts +1 -11
  42. package/compiler/lib.esnext.d.ts +6 -5
  43. package/compiler/lib.esnext.disposable.d.ts +8 -0
  44. package/compiler/lib.esnext.error.d.ts +24 -0
  45. package/compiler/lib.esnext.float16.d.ts +445 -0
  46. package/compiler/lib.esnext.iterator.d.ts +148 -0
  47. package/compiler/lib.esnext.promise.d.ts +11 -12
  48. package/compiler/lib.esnext.sharedmemory.d.ts +25 -0
  49. package/compiler/lib.webworker.asynciterable.d.ts +14 -6
  50. package/compiler/lib.webworker.d.ts +5113 -1394
  51. package/compiler/lib.webworker.iterable.d.ts +125 -61
  52. package/compiler/package.json +1 -1
  53. package/compiler/stencil.js +20679 -15213
  54. package/dev-server/client/index.js +1 -1
  55. package/dev-server/client/package.json +1 -1
  56. package/dev-server/connector.html +2 -2
  57. package/dev-server/index.js +1 -1
  58. package/dev-server/package.json +1 -1
  59. package/dev-server/server-process.js +2 -2
  60. package/internal/app-data/package.json +1 -1
  61. package/internal/app-globals/package.json +1 -1
  62. package/internal/client/index.js +5 -2
  63. package/internal/client/package.json +1 -1
  64. package/internal/client/patch-browser.js +1 -1
  65. package/internal/hydrate/index.js +5 -2
  66. package/internal/hydrate/package.json +1 -1
  67. package/internal/hydrate/runner.js +2 -2
  68. package/internal/package.json +1 -1
  69. package/internal/stencil-public-runtime.d.ts +2 -1
  70. package/internal/testing/index.js +4 -1
  71. package/internal/testing/package.json +1 -1
  72. package/mock-doc/index.cjs +2 -2
  73. package/mock-doc/index.d.ts +2 -2
  74. package/mock-doc/index.js +2 -2
  75. package/mock-doc/package.json +1 -1
  76. package/package.json +9 -9
  77. package/screenshot/index.js +1 -1
  78. package/screenshot/package.json +1 -1
  79. package/screenshot/pixel-match.js +1 -1
  80. package/screenshot/screenshot-fs.d.ts +1 -1
  81. package/sys/node/index.js +1 -1
  82. package/sys/node/package.json +1 -1
  83. package/sys/node/worker.js +1 -1
  84. package/testing/index.d.ts +1 -1
  85. package/testing/index.js +93 -1
  86. package/testing/mocks.d.ts +1 -0
  87. package/testing/package.json +1 -1
  88. /package/compiler/{lib.esnext.object.d.ts → lib.es2024.object.d.ts} +0 -0
  89. /package/compiler/{lib.esnext.regexp.d.ts → lib.es2024.regexp.d.ts} +0 -0
  90. /package/compiler/{lib.esnext.string.d.ts → lib.es2024.string.d.ts} +0 -0
@@ -20,34 +20,33 @@ and limitations under the License.
20
20
  /// Worker Iterable APIs
21
21
  /////////////////////////////
22
22
 
23
- interface AbortSignal {
24
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
25
- any(signals: Iterable<AbortSignal>): AbortSignal;
26
- }
27
-
28
23
  interface CSSNumericArray {
29
- [Symbol.iterator](): IterableIterator<CSSNumericValue>;
30
- entries(): IterableIterator<[number, CSSNumericValue]>;
31
- keys(): IterableIterator<number>;
32
- values(): IterableIterator<CSSNumericValue>;
24
+ [Symbol.iterator](): ArrayIterator<CSSNumericValue>;
25
+ entries(): ArrayIterator<[number, CSSNumericValue]>;
26
+ keys(): ArrayIterator<number>;
27
+ values(): ArrayIterator<CSSNumericValue>;
33
28
  }
34
29
 
35
30
  interface CSSTransformValue {
36
- [Symbol.iterator](): IterableIterator<CSSTransformComponent>;
37
- entries(): IterableIterator<[number, CSSTransformComponent]>;
38
- keys(): IterableIterator<number>;
39
- values(): IterableIterator<CSSTransformComponent>;
31
+ [Symbol.iterator](): ArrayIterator<CSSTransformComponent>;
32
+ entries(): ArrayIterator<[number, CSSTransformComponent]>;
33
+ keys(): ArrayIterator<number>;
34
+ values(): ArrayIterator<CSSTransformComponent>;
40
35
  }
41
36
 
42
37
  interface CSSUnparsedValue {
43
- [Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
44
- entries(): IterableIterator<[number, CSSUnparsedSegment]>;
45
- keys(): IterableIterator<number>;
46
- values(): IterableIterator<CSSUnparsedSegment>;
38
+ [Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;
39
+ entries(): ArrayIterator<[number, CSSUnparsedSegment]>;
40
+ keys(): ArrayIterator<number>;
41
+ values(): ArrayIterator<CSSUnparsedSegment>;
47
42
  }
48
43
 
49
44
  interface Cache {
50
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
45
+ /**
46
+ * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
47
+ *
48
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
49
+ */
51
50
  addAll(requests: Iterable<RequestInfo>): Promise<void>;
52
51
  }
53
52
 
@@ -61,40 +60,63 @@ interface CanvasPathDrawingStyles {
61
60
  setLineDash(segments: Iterable<number>): void;
62
61
  }
63
62
 
63
+ interface CookieStoreManager {
64
+ /**
65
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
66
+ *
67
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
68
+ */
69
+ subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
70
+ /**
71
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
72
+ *
73
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
74
+ */
75
+ unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
76
+ }
77
+
64
78
  interface DOMStringList {
65
- [Symbol.iterator](): IterableIterator<string>;
79
+ [Symbol.iterator](): ArrayIterator<string>;
66
80
  }
67
81
 
68
82
  interface FileList {
69
- [Symbol.iterator](): IterableIterator<File>;
83
+ [Symbol.iterator](): ArrayIterator<File>;
70
84
  }
71
85
 
72
86
  interface FontFaceSet extends Set<FontFace> {
73
87
  }
74
88
 
89
+ interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
90
+ [Symbol.iterator](): FormDataIterator<T>;
91
+ }
92
+
75
93
  interface FormData {
76
- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
94
+ [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
77
95
  /** Returns an array of key, value pairs for every entry in the list. */
78
- entries(): IterableIterator<[string, FormDataEntryValue]>;
96
+ entries(): FormDataIterator<[string, FormDataEntryValue]>;
79
97
  /** Returns a list of keys in the list. */
80
- keys(): IterableIterator<string>;
98
+ keys(): FormDataIterator<string>;
81
99
  /** Returns a list of values in the list. */
82
- values(): IterableIterator<FormDataEntryValue>;
100
+ values(): FormDataIterator<FormDataEntryValue>;
101
+ }
102
+
103
+ interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
104
+ [Symbol.iterator](): HeadersIterator<T>;
83
105
  }
84
106
 
85
107
  interface Headers {
86
- [Symbol.iterator](): IterableIterator<[string, string]>;
108
+ [Symbol.iterator](): HeadersIterator<[string, string]>;
87
109
  /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
88
- entries(): IterableIterator<[string, string]>;
110
+ entries(): HeadersIterator<[string, string]>;
89
111
  /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
90
- keys(): IterableIterator<string>;
112
+ keys(): HeadersIterator<string>;
91
113
  /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
92
- values(): IterableIterator<string>;
114
+ values(): HeadersIterator<string>;
93
115
  }
94
116
 
95
117
  interface IDBDatabase {
96
118
  /**
97
- * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
119
+ * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
98
120
  *
99
121
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
100
122
  */
@@ -103,70 +125,112 @@ interface IDBDatabase {
103
125
 
104
126
  interface IDBObjectStore {
105
127
  /**
106
- * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
107
- *
108
- * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
128
+ * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.
109
129
  *
110
130
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
111
131
  */
112
132
  createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
113
133
  }
114
134
 
135
+ interface ImageTrackList {
136
+ [Symbol.iterator](): ArrayIterator<ImageTrack>;
137
+ }
138
+
115
139
  interface MessageEvent<T = any> {
116
- /**
117
- * @deprecated
118
- *
119
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
120
- */
140
+ /** @deprecated */
121
141
  initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
122
142
  }
123
143
 
144
+ interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
145
+ [Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
146
+ }
147
+
124
148
  interface StylePropertyMapReadOnly {
125
- [Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
126
- entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
127
- keys(): IterableIterator<string>;
128
- values(): IterableIterator<Iterable<CSSStyleValue>>;
149
+ [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
150
+ entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
151
+ keys(): StylePropertyMapReadOnlyIterator<string>;
152
+ values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
129
153
  }
130
154
 
131
155
  interface SubtleCrypto {
132
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
156
+ /**
157
+ * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
158
+ *
159
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
160
+ */
133
161
  deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
134
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
135
- generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
162
+ /**
163
+ * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
164
+ *
165
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
166
+ */
167
+ generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
136
168
  generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
137
169
  generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
138
170
  generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
139
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
171
+ /**
172
+ * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
173
+ *
174
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
175
+ */
140
176
  importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
141
177
  importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
142
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
178
+ /**
179
+ * The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
180
+ *
181
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
182
+ */
143
183
  unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
144
184
  }
145
185
 
186
+ interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
187
+ [Symbol.iterator](): URLSearchParamsIterator<T>;
188
+ }
189
+
146
190
  interface URLSearchParams {
147
- [Symbol.iterator](): IterableIterator<[string, string]>;
191
+ [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
148
192
  /** Returns an array of key, value pairs for every entry in the search params. */
149
- entries(): IterableIterator<[string, string]>;
193
+ entries(): URLSearchParamsIterator<[string, string]>;
150
194
  /** Returns a list of keys in the search params. */
151
- keys(): IterableIterator<string>;
195
+ keys(): URLSearchParamsIterator<string>;
152
196
  /** Returns a list of values in the search params. */
153
- values(): IterableIterator<string>;
197
+ values(): URLSearchParamsIterator<string>;
154
198
  }
155
199
 
156
200
  interface WEBGL_draw_buffers {
157
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
201
+ /**
202
+ * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
203
+ *
204
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
205
+ */
158
206
  drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
159
207
  }
160
208
 
161
209
  interface WEBGL_multi_draw {
162
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
163
- multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
164
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
165
- multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
166
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
167
- multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
168
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
169
- multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
210
+ /**
211
+ * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
212
+ *
213
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
214
+ */
215
+ multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
216
+ /**
217
+ * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
218
+ *
219
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
220
+ */
221
+ multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
222
+ /**
223
+ * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
224
+ *
225
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
226
+ */
227
+ multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
228
+ /**
229
+ * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
230
+ *
231
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
232
+ */
233
+ multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
170
234
  }
171
235
 
172
236
  interface WebGL2RenderingContextBase {
@@ -181,7 +245,7 @@ interface WebGL2RenderingContextBase {
181
245
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
182
246
  getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
183
247
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
184
- getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
248
+ getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
185
249
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
186
250
  invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
187
251
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
@@ -231,7 +295,7 @@ interface WebGL2RenderingContextOverloads {
231
295
  uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
232
296
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
233
297
  uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
234
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
298
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
235
299
  uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
236
300
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
237
301
  uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/compiler",
3
- "version": "4.38.0",
3
+ "version": "4.38.1",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",