@stencil/core 4.38.3-dev.1762750959.bede52f → 4.38.3-dev.1762795767.192e568
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 +15 -13
- package/compiler/lib.dom.asynciterable.d.ts +6 -14
- package/compiler/lib.dom.d.ts +5094 -15927
- package/compiler/lib.dom.iterable.d.ts +111 -207
- 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 +104 -214
- package/compiler/lib.es2015.symbol.wellknown.d.ts +11 -11
- package/compiler/lib.es2016.array.include.d.ts +9 -9
- package/compiler/lib.es2016.intl.d.ts +1 -1
- package/compiler/lib.es2017.d.ts +2 -3
- package/compiler/lib.es2017.object.d.ts +4 -4
- package/compiler/lib.es2017.sharedmemory.d.ts +15 -15
- 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 +6 -16
- package/compiler/lib.es2020.bigint.d.ts +62 -100
- package/compiler/lib.es2020.intl.d.ts +36 -36
- package/compiler/lib.es2020.sharedmemory.d.ts +11 -13
- package/compiler/lib.es2020.string.d.ts +1 -3
- package/compiler/lib.es2020.symbol.wellknown.d.ts +1 -5
- package/compiler/lib.es2021.intl.d.ts +17 -17
- package/compiler/lib.es2021.weakref.d.ts +0 -2
- package/compiler/lib.es2022.array.d.ts +11 -11
- package/compiler/lib.es2022.d.ts +2 -1
- package/compiler/lib.es2022.error.d.ts +0 -2
- package/compiler/lib.es2022.intl.d.ts +11 -39
- package/compiler/{lib.es2024.sharedmemory.d.ts → lib.es2022.sharedmemory.d.ts} +0 -29
- package/compiler/lib.es2023.array.d.ts +79 -79
- package/compiler/lib.es5.d.ts +305 -321
- package/compiler/lib.esnext.array.d.ts +1 -1
- package/compiler/lib.esnext.collection.d.ts +11 -1
- package/compiler/lib.esnext.d.ts +5 -6
- package/compiler/lib.esnext.disposable.d.ts +0 -8
- package/compiler/lib.esnext.promise.d.ts +12 -11
- package/compiler/lib.webworker.asynciterable.d.ts +6 -14
- package/compiler/lib.webworker.d.ts +1393 -5112
- package/compiler/lib.webworker.iterable.d.ts +61 -125
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +15142 -20586
- 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.es2017.arraybuffer.d.ts +0 -21
- package/compiler/lib.es2024.arraybuffer.d.ts +0 -65
- package/compiler/lib.es2024.collection.d.ts +0 -29
- package/compiler/lib.es2024.d.ts +0 -26
- package/compiler/lib.es2024.full.d.ts +0 -24
- package/compiler/lib.es2024.promise.d.ts +0 -35
- package/compiler/lib.esnext.error.d.ts +0 -24
- package/compiler/lib.esnext.float16.d.ts +0 -445
- package/compiler/lib.esnext.iterator.d.ts +0 -148
- package/compiler/lib.esnext.sharedmemory.d.ts +0 -25
- /package/compiler/{lib.es2024.object.d.ts → lib.esnext.object.d.ts} +0 -0
- /package/compiler/{lib.es2024.regexp.d.ts → lib.esnext.regexp.d.ts} +0 -0
- /package/compiler/{lib.es2024.string.d.ts → lib.esnext.string.d.ts} +0 -0
|
@@ -20,7 +20,7 @@ declare namespace Intl {
|
|
|
20
20
|
/**
|
|
21
21
|
* An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter.
|
|
22
22
|
*
|
|
23
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
|
|
23
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
|
|
24
24
|
*/
|
|
25
25
|
interface SegmenterOptions {
|
|
26
26
|
/** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
|
|
@@ -29,27 +29,15 @@ declare namespace Intl {
|
|
|
29
29
|
granularity?: "grapheme" | "word" | "sentence" | undefined;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string.
|
|
34
|
-
*
|
|
35
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter)
|
|
36
|
-
*/
|
|
37
32
|
interface Segmenter {
|
|
38
33
|
/**
|
|
39
34
|
* Returns `Segments` object containing the segments of the input string, using the segmenter's locale and granularity.
|
|
40
35
|
*
|
|
41
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment)
|
|
42
|
-
*
|
|
43
36
|
* @param input - The text to be segmented as a `string`.
|
|
44
37
|
*
|
|
45
38
|
* @returns A new iterable Segments object containing the segments of the input string, using the segmenter's locale and granularity.
|
|
46
39
|
*/
|
|
47
40
|
segment(input: string): Segments;
|
|
48
|
-
/**
|
|
49
|
-
* The `resolvedOptions()` method of `Intl.Segmenter` instances returns a new object with properties reflecting the options computed during initialization of this `Segmenter` object.
|
|
50
|
-
*
|
|
51
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/resolvedOptions)
|
|
52
|
-
*/
|
|
53
41
|
resolvedOptions(): ResolvedSegmenterOptions;
|
|
54
42
|
}
|
|
55
43
|
|
|
@@ -58,27 +46,16 @@ declare namespace Intl {
|
|
|
58
46
|
granularity: "grapheme" | "word" | "sentence";
|
|
59
47
|
}
|
|
60
48
|
|
|
61
|
-
interface SegmentIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
62
|
-
[Symbol.iterator](): SegmentIterator<T>;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* A `Segments` object is an iterable collection of the segments of a text string. It is returned by a call to the `segment()` method of an `Intl.Segmenter` object.
|
|
67
|
-
*
|
|
68
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments)
|
|
69
|
-
*/
|
|
70
49
|
interface Segments {
|
|
71
50
|
/**
|
|
72
51
|
* Returns an object describing the segment in the original string that includes the code unit at a specified index.
|
|
73
52
|
*
|
|
74
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments/containing)
|
|
75
|
-
*
|
|
76
53
|
* @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`.
|
|
77
54
|
*/
|
|
78
|
-
containing(codeUnitIndex?: number): SegmentData
|
|
55
|
+
containing(codeUnitIndex?: number): SegmentData;
|
|
79
56
|
|
|
80
57
|
/** Returns an iterator to iterate over the segments. */
|
|
81
|
-
[Symbol.iterator]():
|
|
58
|
+
[Symbol.iterator](): IterableIterator<SegmentData>;
|
|
82
59
|
}
|
|
83
60
|
|
|
84
61
|
interface SegmentData {
|
|
@@ -95,11 +72,6 @@ declare namespace Intl {
|
|
|
95
72
|
isWordLike?: boolean;
|
|
96
73
|
}
|
|
97
74
|
|
|
98
|
-
/**
|
|
99
|
-
* The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string.
|
|
100
|
-
*
|
|
101
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter)
|
|
102
|
-
*/
|
|
103
75
|
const Segmenter: {
|
|
104
76
|
prototype: Segmenter;
|
|
105
77
|
|
|
@@ -108,14 +80,14 @@ declare namespace Intl {
|
|
|
108
80
|
*
|
|
109
81
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
|
110
82
|
* For the general form and interpretation of the `locales` argument,
|
|
111
|
-
* see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
83
|
+
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
112
84
|
*
|
|
113
|
-
* @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
|
|
85
|
+
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
|
|
114
86
|
* with some or all options of `SegmenterOptions`.
|
|
115
87
|
*
|
|
116
|
-
* @returns [Intl.Segmenter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.
|
|
88
|
+
* @returns [Intl.Segmenter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.
|
|
117
89
|
*
|
|
118
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).
|
|
90
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).
|
|
119
91
|
*/
|
|
120
92
|
new (locales?: LocalesArgument, options?: SegmenterOptions): Segmenter;
|
|
121
93
|
|
|
@@ -124,19 +96,19 @@ declare namespace Intl {
|
|
|
124
96
|
*
|
|
125
97
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
|
126
98
|
* For the general form and interpretation of the `locales` argument,
|
|
127
|
-
* see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
99
|
+
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
128
100
|
*
|
|
129
|
-
* @param options An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters).
|
|
101
|
+
* @param options An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters).
|
|
130
102
|
* with some or all possible options.
|
|
131
103
|
*
|
|
132
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)
|
|
104
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)
|
|
133
105
|
*/
|
|
134
106
|
supportedLocalesOf(locales: LocalesArgument, options?: Pick<SegmenterOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[];
|
|
135
107
|
};
|
|
136
108
|
|
|
137
109
|
/**
|
|
138
110
|
* Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation.
|
|
139
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf)
|
|
111
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf)
|
|
140
112
|
*
|
|
141
113
|
* @param key A string indicating the category of values to return.
|
|
142
114
|
* @returns A sorted array of the supported values.
|
|
@@ -16,8 +16,6 @@ and limitations under the License.
|
|
|
16
16
|
|
|
17
17
|
/// <reference no-default-lib="true"/>
|
|
18
18
|
|
|
19
|
-
/// <reference lib="es2020.bigint" />
|
|
20
|
-
|
|
21
19
|
interface Atomics {
|
|
22
20
|
/**
|
|
23
21
|
* A non-blocking, asynchronous version of wait which is usable on the main thread.
|
|
@@ -39,30 +37,3 @@ interface Atomics {
|
|
|
39
37
|
*/
|
|
40
38
|
waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; };
|
|
41
39
|
}
|
|
42
|
-
|
|
43
|
-
interface SharedArrayBuffer {
|
|
44
|
-
/**
|
|
45
|
-
* Returns true if this SharedArrayBuffer can be grown.
|
|
46
|
-
*
|
|
47
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/growable)
|
|
48
|
-
*/
|
|
49
|
-
get growable(): boolean;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not.
|
|
53
|
-
*
|
|
54
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/maxByteLength)
|
|
55
|
-
*/
|
|
56
|
-
get maxByteLength(): number;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Grows the SharedArrayBuffer to the specified size (in bytes).
|
|
60
|
-
*
|
|
61
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/grow)
|
|
62
|
-
*/
|
|
63
|
-
grow(newByteLength?: number): void;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface SharedArrayBufferConstructor {
|
|
67
|
-
new (byteLength: number, options?: { maxByteLength?: number; }): SharedArrayBuffer;
|
|
68
|
-
}
|