@stencil/core 4.38.3-dev.1762795767.192e568 → 4.38.3-dev.1762923738.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.decorators.d.ts +13 -15
- package/compiler/lib.dom.asynciterable.d.ts +14 -6
- package/compiler/lib.dom.d.ts +1647 -633
- package/compiler/lib.dom.iterable.d.ts +104 -86
- package/compiler/lib.es2015.core.d.ts +9 -9
- package/compiler/lib.es2015.generator.d.ts +2 -2
- package/compiler/lib.es2015.iterable.d.ts +214 -104
- package/compiler/lib.es2015.symbol.wellknown.d.ts +10 -10
- package/compiler/lib.es2016.array.include.d.ts +9 -9
- package/compiler/lib.es2016.intl.d.ts +1 -1
- package/compiler/lib.es2017.arraybuffer.d.ts +21 -0
- package/compiler/lib.es2017.d.ts +3 -2
- package/compiler/lib.es2017.object.d.ts +4 -4
- package/compiler/lib.es2017.sharedmemory.d.ts +14 -14
- package/compiler/lib.es2017.typedarrays.d.ts +9 -9
- package/compiler/lib.es2018.asyncgenerator.d.ts +2 -2
- package/compiler/lib.es2018.asynciterable.d.ts +16 -6
- package/compiler/lib.es2020.bigint.d.ts +100 -62
- package/compiler/lib.es2020.intl.d.ts +36 -36
- package/compiler/lib.es2020.sharedmemory.d.ts +13 -11
- package/compiler/lib.es2020.string.d.ts +3 -1
- package/compiler/lib.es2020.symbol.wellknown.d.ts +5 -1
- package/compiler/lib.es2021.intl.d.ts +17 -17
- package/compiler/lib.es2021.weakref.d.ts +2 -0
- package/compiler/lib.es2022.array.d.ts +11 -11
- package/compiler/lib.es2022.d.ts +1 -2
- package/compiler/lib.es2022.error.d.ts +2 -0
- package/compiler/lib.es2022.intl.d.ts +14 -10
- package/compiler/lib.es2023.array.d.ts +79 -79
- package/compiler/lib.es2024.arraybuffer.d.ts +65 -0
- package/compiler/lib.es2024.collection.d.ts +29 -0
- package/compiler/lib.es2024.d.ts +26 -0
- package/compiler/lib.es2024.full.d.ts +24 -0
- package/compiler/lib.es2024.promise.d.ts +35 -0
- package/compiler/{lib.es2022.sharedmemory.d.ts → lib.es2024.sharedmemory.d.ts} +29 -0
- package/compiler/lib.es5.d.ts +312 -303
- package/compiler/lib.esnext.array.d.ts +1 -1
- package/compiler/lib.esnext.collection.d.ts +1 -11
- package/compiler/lib.esnext.d.ts +4 -5
- package/compiler/lib.esnext.disposable.d.ts +8 -0
- package/compiler/lib.esnext.float16.d.ts +443 -0
- package/compiler/lib.esnext.iterator.d.ts +148 -0
- package/compiler/lib.esnext.promise.d.ts +11 -12
- package/compiler/lib.webworker.asynciterable.d.ts +14 -6
- package/compiler/lib.webworker.d.ts +609 -146
- package/compiler/lib.webworker.iterable.d.ts +53 -42
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +12519 -8269
- 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/screenshot/screenshot-fs.d.ts +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.object.d.ts → lib.es2024.object.d.ts} +0 -0
- /package/compiler/{lib.esnext.regexp.d.ts → lib.es2024.regexp.d.ts} +0 -0
- /package/compiler/{lib.esnext.string.d.ts → lib.es2024.string.d.ts} +0 -0
|
@@ -20,30 +20,25 @@ 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]():
|
|
30
|
-
entries():
|
|
31
|
-
keys():
|
|
32
|
-
values():
|
|
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]():
|
|
37
|
-
entries():
|
|
38
|
-
keys():
|
|
39
|
-
values():
|
|
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]():
|
|
44
|
-
entries():
|
|
45
|
-
keys():
|
|
46
|
-
values():
|
|
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 {
|
|
@@ -62,34 +57,42 @@ interface CanvasPathDrawingStyles {
|
|
|
62
57
|
}
|
|
63
58
|
|
|
64
59
|
interface DOMStringList {
|
|
65
|
-
[Symbol.iterator]():
|
|
60
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
66
61
|
}
|
|
67
62
|
|
|
68
63
|
interface FileList {
|
|
69
|
-
[Symbol.iterator]():
|
|
64
|
+
[Symbol.iterator](): ArrayIterator<File>;
|
|
70
65
|
}
|
|
71
66
|
|
|
72
67
|
interface FontFaceSet extends Set<FontFace> {
|
|
73
68
|
}
|
|
74
69
|
|
|
70
|
+
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
71
|
+
[Symbol.iterator](): FormDataIterator<T>;
|
|
72
|
+
}
|
|
73
|
+
|
|
75
74
|
interface FormData {
|
|
76
|
-
[Symbol.iterator]():
|
|
75
|
+
[Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
|
|
77
76
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
78
|
-
entries():
|
|
77
|
+
entries(): FormDataIterator<[string, FormDataEntryValue]>;
|
|
79
78
|
/** Returns a list of keys in the list. */
|
|
80
|
-
keys():
|
|
79
|
+
keys(): FormDataIterator<string>;
|
|
81
80
|
/** Returns a list of values in the list. */
|
|
82
|
-
values():
|
|
81
|
+
values(): FormDataIterator<FormDataEntryValue>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
85
|
+
[Symbol.iterator](): HeadersIterator<T>;
|
|
83
86
|
}
|
|
84
87
|
|
|
85
88
|
interface Headers {
|
|
86
|
-
[Symbol.iterator]():
|
|
89
|
+
[Symbol.iterator](): HeadersIterator<[string, string]>;
|
|
87
90
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
88
|
-
entries():
|
|
91
|
+
entries(): HeadersIterator<[string, string]>;
|
|
89
92
|
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
90
|
-
keys():
|
|
93
|
+
keys(): HeadersIterator<string>;
|
|
91
94
|
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
92
|
-
values():
|
|
95
|
+
values(): HeadersIterator<string>;
|
|
93
96
|
}
|
|
94
97
|
|
|
95
98
|
interface IDBDatabase {
|
|
@@ -112,27 +115,31 @@ interface IDBObjectStore {
|
|
|
112
115
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
113
116
|
}
|
|
114
117
|
|
|
118
|
+
interface ImageTrackList {
|
|
119
|
+
[Symbol.iterator](): ArrayIterator<ImageTrack>;
|
|
120
|
+
}
|
|
121
|
+
|
|
115
122
|
interface MessageEvent<T = any> {
|
|
116
|
-
/**
|
|
117
|
-
* @deprecated
|
|
118
|
-
*
|
|
119
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
120
|
-
*/
|
|
123
|
+
/** @deprecated */
|
|
121
124
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
122
125
|
}
|
|
123
126
|
|
|
127
|
+
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
128
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
|
129
|
+
}
|
|
130
|
+
|
|
124
131
|
interface StylePropertyMapReadOnly {
|
|
125
|
-
[Symbol.iterator]():
|
|
126
|
-
entries():
|
|
127
|
-
keys():
|
|
128
|
-
values():
|
|
132
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
133
|
+
entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
134
|
+
keys(): StylePropertyMapReadOnlyIterator<string>;
|
|
135
|
+
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
|
|
129
136
|
}
|
|
130
137
|
|
|
131
138
|
interface SubtleCrypto {
|
|
132
139
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
133
140
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
134
141
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
135
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
142
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
136
143
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
137
144
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
138
145
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
@@ -143,14 +150,18 @@ interface SubtleCrypto {
|
|
|
143
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>;
|
|
144
151
|
}
|
|
145
152
|
|
|
153
|
+
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
154
|
+
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
155
|
+
}
|
|
156
|
+
|
|
146
157
|
interface URLSearchParams {
|
|
147
|
-
[Symbol.iterator]():
|
|
158
|
+
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
|
148
159
|
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
149
|
-
entries():
|
|
160
|
+
entries(): URLSearchParamsIterator<[string, string]>;
|
|
150
161
|
/** Returns a list of keys in the search params. */
|
|
151
|
-
keys():
|
|
162
|
+
keys(): URLSearchParamsIterator<string>;
|
|
152
163
|
/** Returns a list of values in the search params. */
|
|
153
|
-
values():
|
|
164
|
+
values(): URLSearchParamsIterator<string>;
|
|
154
165
|
}
|
|
155
166
|
|
|
156
167
|
interface WEBGL_draw_buffers {
|
|
@@ -231,7 +242,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
231
242
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
232
243
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
233
244
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
234
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
245
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
235
246
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
236
247
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
237
248
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|