@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.
Files changed (83) 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 +1647 -633
  7. package/compiler/lib.dom.iterable.d.ts +104 -86
  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 +10 -10
  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 +14 -14
  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 +14 -10
  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 +312 -303
  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 +4 -5
  43. package/compiler/lib.esnext.disposable.d.ts +8 -0
  44. package/compiler/lib.esnext.float16.d.ts +443 -0
  45. package/compiler/lib.esnext.iterator.d.ts +148 -0
  46. package/compiler/lib.esnext.promise.d.ts +11 -12
  47. package/compiler/lib.webworker.asynciterable.d.ts +14 -6
  48. package/compiler/lib.webworker.d.ts +609 -146
  49. package/compiler/lib.webworker.iterable.d.ts +53 -42
  50. package/compiler/package.json +1 -1
  51. package/compiler/stencil.js +12519 -8269
  52. package/dev-server/client/index.js +1 -1
  53. package/dev-server/client/package.json +1 -1
  54. package/dev-server/connector.html +2 -2
  55. package/dev-server/index.js +1 -1
  56. package/dev-server/package.json +1 -1
  57. package/dev-server/server-process.js +2 -2
  58. package/internal/app-data/package.json +1 -1
  59. package/internal/app-globals/package.json +1 -1
  60. package/internal/client/index.js +1 -1
  61. package/internal/client/package.json +1 -1
  62. package/internal/client/patch-browser.js +1 -1
  63. package/internal/hydrate/index.js +1 -1
  64. package/internal/hydrate/package.json +1 -1
  65. package/internal/hydrate/runner.js +1 -1
  66. package/internal/package.json +1 -1
  67. package/internal/testing/package.json +1 -1
  68. package/mock-doc/index.cjs +1 -1
  69. package/mock-doc/index.js +1 -1
  70. package/mock-doc/package.json +1 -1
  71. package/package.json +2 -2
  72. package/screenshot/index.js +1 -1
  73. package/screenshot/package.json +1 -1
  74. package/screenshot/pixel-match.js +1 -1
  75. package/screenshot/screenshot-fs.d.ts +1 -1
  76. package/sys/node/index.js +1 -1
  77. package/sys/node/package.json +1 -1
  78. package/sys/node/worker.js +1 -1
  79. package/testing/index.js +1 -1
  80. package/testing/package.json +1 -1
  81. /package/compiler/{lib.esnext.object.d.ts → lib.es2024.object.d.ts} +0 -0
  82. /package/compiler/{lib.esnext.regexp.d.ts → lib.es2024.regexp.d.ts} +0 -0
  83. /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](): 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 {
@@ -62,34 +57,42 @@ interface CanvasPathDrawingStyles {
62
57
  }
63
58
 
64
59
  interface DOMStringList {
65
- [Symbol.iterator](): IterableIterator<string>;
60
+ [Symbol.iterator](): ArrayIterator<string>;
66
61
  }
67
62
 
68
63
  interface FileList {
69
- [Symbol.iterator](): IterableIterator<File>;
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](): IterableIterator<[string, FormDataEntryValue]>;
75
+ [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
77
76
  /** Returns an array of key, value pairs for every entry in the list. */
78
- entries(): IterableIterator<[string, FormDataEntryValue]>;
77
+ entries(): FormDataIterator<[string, FormDataEntryValue]>;
79
78
  /** Returns a list of keys in the list. */
80
- keys(): IterableIterator<string>;
79
+ keys(): FormDataIterator<string>;
81
80
  /** Returns a list of values in the list. */
82
- values(): IterableIterator<FormDataEntryValue>;
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](): IterableIterator<[string, string]>;
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(): IterableIterator<[string, string]>;
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(): IterableIterator<string>;
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(): IterableIterator<string>;
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](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
126
- entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
127
- keys(): IterableIterator<string>;
128
- values(): IterableIterator<Iterable<CSSStyleValue>>;
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](): IterableIterator<[string, string]>;
158
+ [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
148
159
  /** Returns an array of key, value pairs for every entry in the search params. */
149
- entries(): IterableIterator<[string, string]>;
160
+ entries(): URLSearchParamsIterator<[string, string]>;
150
161
  /** Returns a list of keys in the search params. */
151
- keys(): IterableIterator<string>;
162
+ keys(): URLSearchParamsIterator<string>;
152
163
  /** Returns a list of values in the search params. */
153
- values(): IterableIterator<string>;
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/WebGLRenderingContext/uniformMatrix) */
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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/compiler",
3
- "version": "4.38.3-dev.1762795767.192e568",
3
+ "version": "4.38.3-dev.1762923738.d86b77c",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",