@stencil/core 4.38.3-dev.1762837344.bede52f → 4.38.3-dev.1763010140.d86b77c
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/lib.dom.d.ts +4826 -14645
- package/compiler/lib.dom.iterable.d.ts +25 -103
- package/compiler/lib.es2015.symbol.wellknown.d.ts +1 -1
- package/compiler/lib.es2017.sharedmemory.d.ts +1 -1
- package/compiler/lib.es2022.intl.d.ts +1 -25
- package/compiler/lib.es5.d.ts +2 -9
- package/compiler/lib.esnext.d.ts +0 -2
- package/compiler/lib.esnext.float16.d.ts +0 -2
- package/compiler/lib.webworker.d.ts +1342 -4598
- package/compiler/lib.webworker.iterable.d.ts +19 -72
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +7312 -8506
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +2 -2
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1 -1
- package/testing/package.json +1 -1
- package/compiler/lib.esnext.error.d.ts +0 -24
- package/compiler/lib.esnext.sharedmemory.d.ts +0 -25
|
@@ -42,11 +42,7 @@ interface CSSUnparsedValue {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
interface Cache {
|
|
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
|
-
*/
|
|
45
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
|
|
50
46
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
51
47
|
}
|
|
52
48
|
|
|
@@ -60,21 +56,6 @@ interface CanvasPathDrawingStyles {
|
|
|
60
56
|
setLineDash(segments: Iterable<number>): void;
|
|
61
57
|
}
|
|
62
58
|
|
|
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
|
-
|
|
78
59
|
interface DOMStringList {
|
|
79
60
|
[Symbol.iterator](): ArrayIterator<string>;
|
|
80
61
|
}
|
|
@@ -116,7 +97,7 @@ interface Headers {
|
|
|
116
97
|
|
|
117
98
|
interface IDBDatabase {
|
|
118
99
|
/**
|
|
119
|
-
*
|
|
100
|
+
* 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.
|
|
120
101
|
*
|
|
121
102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
|
122
103
|
*/
|
|
@@ -125,7 +106,9 @@ interface IDBDatabase {
|
|
|
125
106
|
|
|
126
107
|
interface IDBObjectStore {
|
|
127
108
|
/**
|
|
128
|
-
*
|
|
109
|
+
* 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.
|
|
110
|
+
*
|
|
111
|
+
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
129
112
|
*
|
|
130
113
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
131
114
|
*/
|
|
@@ -153,33 +136,17 @@ interface StylePropertyMapReadOnly {
|
|
|
153
136
|
}
|
|
154
137
|
|
|
155
138
|
interface SubtleCrypto {
|
|
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
|
-
*/
|
|
139
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
161
140
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
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
|
-
*/
|
|
141
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
167
142
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
168
143
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
169
144
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
170
145
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
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
|
-
*/
|
|
146
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
|
|
176
147
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
177
148
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
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
|
-
*/
|
|
149
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
|
|
183
150
|
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>;
|
|
184
151
|
}
|
|
185
152
|
|
|
@@ -198,39 +165,19 @@ interface URLSearchParams {
|
|
|
198
165
|
}
|
|
199
166
|
|
|
200
167
|
interface WEBGL_draw_buffers {
|
|
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
|
-
*/
|
|
168
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
206
169
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
207
170
|
}
|
|
208
171
|
|
|
209
172
|
interface WEBGL_multi_draw {
|
|
210
|
-
/**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
|
|
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;
|
|
173
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
174
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
175
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
176
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
177
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
178
|
+
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;
|
|
179
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
180
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
234
181
|
}
|
|
235
182
|
|
|
236
183
|
interface WebGL2RenderingContextBase {
|
|
@@ -245,7 +192,7 @@ interface WebGL2RenderingContextBase {
|
|
|
245
192
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
246
193
|
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
247
194
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
|
248
|
-
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint
|
|
195
|
+
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
|
249
196
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
|
250
197
|
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
|
251
198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|