@stencil/core 4.45.1 → 4.45.2-dev.1791263369.8b082e0

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.
@@ -108,6 +108,10 @@ var require_brace_expansion = __commonJS({
108
108
  var escClose = "\0CLOSE" + Math.random() + "\0";
109
109
  var escComma = "\0COMMA" + Math.random() + "\0";
110
110
  var escPeriod = "\0PERIOD" + Math.random() + "\0";
111
+ var EXPANSION_MAX = 1e5;
112
+ var EXPANSION_MAX_LENGTH = 4e6;
113
+ var EXPANSION_MAX_DEPTH = 1e3;
114
+ var EXPANSION_MAX_REWRITES = 1e3;
111
115
  function numeric(str) {
112
116
  return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
113
117
  }
@@ -117,33 +121,49 @@ var require_brace_expansion = __commonJS({
117
121
  function unescapeBraces(str) {
118
122
  return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
119
123
  }
124
+ function pushAll(target, items) {
125
+ for (var i2 = 0; i2 < items.length; i2++) {
126
+ target.push(items[i2]);
127
+ }
128
+ }
120
129
  function parseCommaParts(str) {
121
- if (!str)
122
- return [""];
123
130
  var parts = [];
124
- var m = balanced("{", "}", str);
125
- if (!m)
126
- return str.split(",");
127
- var pre = m.pre;
128
- var body = m.body;
129
- var post = m.post;
130
- var p = pre.split(",");
131
- p[p.length - 1] += "{" + body + "}";
132
- var postParts = parseCommaParts(post);
133
- if (post.length) {
134
- p[p.length - 1] += postParts.shift();
135
- p.push.apply(p, postParts);
136
- }
137
- parts.push.apply(parts, p);
138
- return parts;
139
- }
140
- function expandTop(str) {
131
+ var carry = "";
132
+ for (; ; ) {
133
+ var m = balanced("{", "}", str);
134
+ if (!m) {
135
+ var tail = str.split(",");
136
+ tail[0] = carry + tail[0];
137
+ pushAll(parts, tail);
138
+ return parts;
139
+ }
140
+ var pre = m.pre;
141
+ var body = m.body;
142
+ var post = m.post;
143
+ var p = pre.split(",");
144
+ p[0] = carry + p[0];
145
+ p[p.length - 1] += "{" + body + "}";
146
+ if (!post.length) {
147
+ pushAll(parts, p);
148
+ return parts;
149
+ }
150
+ carry = p.pop();
151
+ pushAll(parts, p);
152
+ str = post;
153
+ }
154
+ }
155
+ function expandTop(str, options) {
141
156
  if (!str)
142
157
  return [];
158
+ options = options || {};
159
+ var max = options.max == null ? EXPANSION_MAX : options.max;
160
+ var maxLength = options.maxLength == null ? EXPANSION_MAX_LENGTH : options.maxLength;
161
+ var maxDepth = options.maxDepth == null ? EXPANSION_MAX_DEPTH : options.maxDepth;
162
+ var maxRewrites = options.maxRewrites == null ? EXPANSION_MAX_REWRITES : options.maxRewrites;
143
163
  if (str.substr(0, 2) === "{}") {
144
164
  str = "\\{\\}" + str.substr(2);
145
165
  }
146
- return expand2(escapeBraces(str), true).map(unescapeBraces);
166
+ return expand2(escapeBraces(str), max, maxLength, maxDepth, 0, maxRewrites, true).map(unescapeBraces);
147
167
  }
148
168
  function embrace(str) {
149
169
  return "{" + str + "}";
@@ -157,93 +177,165 @@ var require_brace_expansion = __commonJS({
157
177
  function gte(i2, y) {
158
178
  return i2 >= y;
159
179
  }
160
- function expand2(str, isTop) {
161
- var expansions = [];
162
- var m = balanced("{", "}", str);
163
- if (!m) return [str];
164
- var pre = m.pre;
165
- var post = m.post.length ? expand2(m.post, false) : [""];
166
- if (/\$$/.test(m.pre)) {
167
- for (var k = 0; k < post.length; k++) {
168
- var expansion = pre + "{" + m.body + "}" + post[k];
169
- expansions.push(expansion);
180
+ function combine(acc, pre, values, max, maxLength, dropEmpties) {
181
+ var out = [];
182
+ var length = 0;
183
+ for (var a = 0; a < acc.length; a++) {
184
+ for (var v = 0; v < values.length; v++) {
185
+ if (out.length >= max) return out;
186
+ var expansion = acc[a] + pre + values[v];
187
+ if (dropEmpties && !expansion) continue;
188
+ if (length + expansion.length > maxLength) return out;
189
+ out.push(expansion);
190
+ length += expansion.length;
191
+ }
192
+ }
193
+ return out;
194
+ }
195
+ function expandSequence(body, isAlphaSequence, max, maxLength) {
196
+ var n = body.split(/\.\./);
197
+ var N = [];
198
+ if (n[0] === void 0 || n[1] === void 0) {
199
+ return N;
200
+ }
201
+ var x = numeric(n[0]);
202
+ var y = numeric(n[1]);
203
+ var width = Math.max(n[0].length, n[1].length);
204
+ var incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
205
+ var test = lte;
206
+ var reverse = y < x;
207
+ if (reverse) {
208
+ incr *= -1;
209
+ test = gte;
210
+ }
211
+ var pad = n.some(isPadded);
212
+ var length = 0;
213
+ for (var i2 = x; test(i2, y) && N.length < max; i2 += incr) {
214
+ var c;
215
+ if (isAlphaSequence) {
216
+ c = String.fromCharCode(i2);
217
+ if (c === "\\") {
218
+ c = "";
219
+ }
220
+ } else {
221
+ c = String(i2);
222
+ if (pad) {
223
+ var need = width - c.length;
224
+ if (need > 0) {
225
+ var z = new Array(need + 1).join("0");
226
+ if (i2 < 0) {
227
+ c = "-" + z + c.slice(1);
228
+ } else {
229
+ c = z + c;
230
+ }
231
+ }
232
+ }
233
+ }
234
+ if (length + c.length > maxLength) break;
235
+ N.push(c);
236
+ length += c.length;
237
+ }
238
+ return N;
239
+ }
240
+ function expand2(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
241
+ if (depth > maxDepth) {
242
+ return [str];
243
+ }
244
+ var acc = [""];
245
+ var rewrites = 0;
246
+ var dropEmpties = false;
247
+ var firstGroup = true;
248
+ for (; ; ) {
249
+ const m = balanced("{", "}", str);
250
+ if (!m) {
251
+ return combine(acc, str, [""], max, maxLength, dropEmpties);
252
+ }
253
+ const pre = m.pre;
254
+ if (/\$$/.test(pre)) {
255
+ acc = combine(
256
+ acc,
257
+ pre + "{" + m.body + "}",
258
+ [""],
259
+ max,
260
+ maxLength,
261
+ dropEmpties && !m.post.length
262
+ );
263
+ firstGroup = false;
264
+ if (!m.post.length) break;
265
+ str = m.post;
266
+ continue;
170
267
  }
171
- } else {
172
268
  var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
173
269
  var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
174
270
  var isSequence = isNumericSequence || isAlphaSequence;
175
271
  var isOptions = m.body.indexOf(",") >= 0;
176
272
  if (!isSequence && !isOptions) {
177
- if (m.post.match(/,(?!,).*\}/)) {
273
+ if (rewrites < maxRewrites && m.post.match(/,(?!,).*\}/)) {
274
+ rewrites++;
178
275
  str = m.pre + "{" + m.body + escClose + m.post;
179
- return expand2(str);
276
+ isTop = true;
277
+ continue;
180
278
  }
181
- return [str];
279
+ return combine(
280
+ acc,
281
+ pre + "{" + m.body + "}" + m.post,
282
+ [""],
283
+ max,
284
+ maxLength,
285
+ dropEmpties
286
+ );
287
+ }
288
+ if (firstGroup) {
289
+ dropEmpties = isTop && !isSequence;
290
+ firstGroup = false;
182
291
  }
183
- var n;
292
+ var values;
184
293
  if (isSequence) {
185
- n = m.body.split(/\.\./);
294
+ values = expandSequence(m.body, isAlphaSequence, max, maxLength);
186
295
  } else {
187
- n = parseCommaParts(m.body);
188
- if (n.length === 1) {
189
- n = expand2(n[0], false).map(embrace);
296
+ var n = parseCommaParts(m.body);
297
+ if (n.length === 1 && n[0] !== void 0) {
298
+ n = expand2(n[0], max, maxLength, maxDepth, depth + 1, maxRewrites, false).map(embrace);
190
299
  if (n.length === 1) {
191
- return post.map(function(p) {
192
- return m.pre + n[0] + p;
193
- });
300
+ acc = combine(
301
+ acc,
302
+ pre + n[0],
303
+ [""],
304
+ max,
305
+ maxLength,
306
+ dropEmpties && !m.post.length
307
+ );
308
+ if (!m.post.length) break;
309
+ str = m.post;
310
+ continue;
194
311
  }
195
312
  }
196
- }
197
- var N;
198
- if (isSequence) {
199
- var x = numeric(n[0]);
200
- var y = numeric(n[1]);
201
- var width = Math.max(n[0].length, n[1].length);
202
- var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
203
- var test = lte;
204
- var reverse = y < x;
205
- if (reverse) {
206
- incr *= -1;
207
- test = gte;
313
+ var dropsEmpties = dropEmpties && !m.post.length && !pre;
314
+ for (var d = 0; dropsEmpties && d < acc.length; d++) {
315
+ if (acc[d]) {
316
+ dropsEmpties = false;
317
+ }
208
318
  }
209
- var pad = n.some(isPadded);
210
- N = [];
211
- for (var i2 = x; test(i2, y); i2 += incr) {
212
- var c;
213
- if (isAlphaSequence) {
214
- c = String.fromCharCode(i2);
215
- if (c === "\\")
216
- c = "";
217
- } else {
218
- c = String(i2);
219
- if (pad) {
220
- var need = width - c.length;
221
- if (need > 0) {
222
- var z = new Array(need + 1).join("0");
223
- if (i2 < 0)
224
- c = "-" + z + c.slice(1);
225
- else
226
- c = z + c;
227
- }
319
+ values = [];
320
+ var valuesLength = 0;
321
+ outer: for (var j = 0; j < n.length; j++) {
322
+ var expanded = expand2(n[j], max, maxLength, maxDepth, depth + 1, maxRewrites, false);
323
+ for (var k = 0; k < expanded.length; k++) {
324
+ var v = expanded[k];
325
+ if (dropsEmpties && !v) continue;
326
+ if (values.length >= max || valuesLength + v.length > maxLength) {
327
+ break outer;
228
328
  }
329
+ values.push(v);
330
+ valuesLength += v.length;
229
331
  }
230
- N.push(c);
231
- }
232
- } else {
233
- N = [];
234
- for (var j = 0; j < n.length; j++) {
235
- N.push.apply(N, expand2(n[j], false));
236
- }
237
- }
238
- for (var j = 0; j < N.length; j++) {
239
- for (var k = 0; k < post.length; k++) {
240
- var expansion = pre + N[j] + post[k];
241
- if (!isTop || isSequence || expansion)
242
- expansions.push(expansion);
243
332
  }
244
333
  }
334
+ acc = combine(acc, pre, values, max, maxLength, dropEmpties && !m.post.length);
335
+ if (!m.post.length) break;
336
+ str = m.post;
245
337
  }
246
- return expansions;
338
+ return acc;
247
339
  }
248
340
  }
249
341
  });
@@ -4190,7 +4282,7 @@ var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) =>
4190
4282
  }
4191
4283
  }).join(", ");
4192
4284
  };
4193
- var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer");
4285
+ var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer") || selector.startsWith("@container");
4194
4286
  var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
4195
4287
  return processRules(cssText, (rule) => {
4196
4288
  let selector = rule.selector;
@@ -4411,7 +4503,12 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
4411
4503
  newClasses = [...new Set(newClasses)].filter((c) => c);
4412
4504
  classList.add(...newClasses);
4413
4505
  } else {
4414
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
4506
+ let removedClasses = oldClasses.filter((c) => c && !newClasses.includes(c));
4507
+ if (import_app_data11.BUILD.hydrateClientSide && initialRender && !(flags & 4 /* isHost */)) {
4508
+ const ownClasses = getOwnHostClasses(elm);
4509
+ removedClasses = removedClasses.filter((c) => !ownClasses.includes(c));
4510
+ }
4511
+ classList.remove(...removedClasses);
4415
4512
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
4416
4513
  }
4417
4514
  } else if (import_app_data11.BUILD.vdomStyle && memberName === "style") {
@@ -4537,6 +4634,18 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
4537
4634
  var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
4538
4635
  var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
4539
4636
  var parseClassListRegex = /\s/;
4637
+ var getOwnHostClasses = (elm) => {
4638
+ var _a2, _b, _c;
4639
+ const hostRef = getHostRef(elm);
4640
+ if (!hostRef || !(hostRef.$flags$ & 2 /* hasRendered */)) {
4641
+ return [];
4642
+ }
4643
+ const ownClasses = parseClassList((_b = (_a2 = hostRef.$vnode$) == null ? void 0 : _a2.$attrs$) == null ? void 0 : _b.class);
4644
+ if (import_app_data11.BUILD.hydratedClass) {
4645
+ ownClasses.push((_c = import_app_data11.BUILD.hydratedSelectorName) != null ? _c : "hydrated");
4646
+ }
4647
+ return ownClasses;
4648
+ };
4540
4649
  var parseClassList = (value) => {
4541
4650
  if (typeof value === "object" && value && "baseVal" in value) {
4542
4651
  value = value.baseVal;
@@ -5609,6 +5718,19 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
5609
5718
 
5610
5719
  // src/runtime/proxy-component.ts
5611
5720
  var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
5721
+ var replayPendingSetterValues = (hostRef, cmpMeta) => {
5722
+ var _a2;
5723
+ const instance = hostRef.$lazyInstance$;
5724
+ if (!instance) return;
5725
+ for (const [memberName, [memberFlags]] of Object.entries((_a2 = cmpMeta.$members$) != null ? _a2 : {})) {
5726
+ if (memberFlags & 4096 /* Setter */ && hostRef.$instanceValues$.has(memberName)) {
5727
+ const pendingValue = hostRef.$instanceValues$.get(memberName);
5728
+ if (instance[memberName] !== pendingValue) {
5729
+ instance[memberName] = pendingValue;
5730
+ }
5731
+ }
5732
+ }
5733
+ };
5612
5734
  var proxyComponent = (Cstr, cmpMeta, flags) => {
5613
5735
  var _a2, _b;
5614
5736
  const prototype = Cstr.prototype;
@@ -5665,9 +5787,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
5665
5787
  return getValue(this, memberName);
5666
5788
  }
5667
5789
  const ref = getHostRef(this);
5668
- const instance = ref ? ref.$lazyInstance$ : prototype;
5669
- if (!instance) return;
5670
- return instance[memberName];
5790
+ if (!ref) return prototype[memberName];
5791
+ return ref.$lazyInstance$ ? ref.$lazyInstance$[memberName] : getValue(this, memberName);
5671
5792
  }
5672
5793
  if (!import_app_data16.BUILD.lazyLoad) {
5673
5794
  return origGetter ? origGetter.apply(this) : getValue(this, memberName);
@@ -5721,13 +5842,6 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
5721
5842
  if (import_app_data16.BUILD.lazyLoad) {
5722
5843
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
5723
5844
  setValue(this, memberName, newValue, cmpMeta);
5724
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
5725
- ref.$fetchedCbList$.push(() => {
5726
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
5727
- ref.$lazyInstance$[memberName] = newValue;
5728
- }
5729
- });
5730
- }
5731
5845
  return;
5732
5846
  }
5733
5847
  const parsedValue = parsePropertyValue(
@@ -5735,24 +5849,15 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
5735
5849
  memberFlags,
5736
5850
  import_app_data16.BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
5737
5851
  );
5738
- const setterSetVal = (val) => {
5852
+ if (ref.$lazyInstance$) {
5739
5853
  const currentValue = ref.$lazyInstance$[memberName];
5740
5854
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
5741
5855
  ref.$instanceValues$.set(memberName, currentValue);
5742
5856
  }
5743
- ref.$lazyInstance$[memberName] = val;
5857
+ ref.$lazyInstance$[memberName] = parsedValue;
5744
5858
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
5745
- };
5746
- if (ref.$lazyInstance$) {
5747
- setterSetVal(parsedValue);
5748
5859
  } else {
5749
5860
  ref.$instanceValues$.set(memberName, parsedValue);
5750
- ref.$fetchedCbList$.push(() => {
5751
- const pendingValue = ref.$instanceValues$.get(memberName);
5752
- if (ref.$lazyInstance$[memberName] !== pendingValue) {
5753
- setterSetVal(pendingValue);
5754
- }
5755
- });
5756
5861
  }
5757
5862
  }
5758
5863
  }
@@ -5834,11 +5939,11 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
5834
5939
  }
5835
5940
  const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
5836
5941
  if (isBooleanTarget) {
5837
- newValue = newValue === null || newValue === "false" ? false : true;
5942
+ const isFormAssociated = import_app_data16.BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */);
5943
+ newValue = newValue === null || newValue === "false" && !isFormAssociated ? false : true;
5838
5944
  }
5839
- const currentValue = import_app_data16.BUILD.lazyLoad && propMemberFlags & 4096 /* Setter */ ? hostRef.$instanceValues$.get(propName) : this[propName];
5840
5945
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
5841
- if (!isSpuriousBooleanRemoval && newValue != currentValue && (!propDesc.get || !!propDesc.set)) {
5946
+ if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
5842
5947
  this[propName] = newValue;
5843
5948
  }
5844
5949
  });
@@ -5911,6 +6016,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
5911
6016
  }
5912
6017
  if (import_app_data17.BUILD.member) {
5913
6018
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
6019
+ replayPendingSetterValues(hostRef, cmpMeta);
5914
6020
  }
5915
6021
  if (import_app_data17.BUILD.propChangeCallback) {
5916
6022
  hostRef.$flags$ |= 128 /* isWatchReady */;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.45.1",
3
+ "version": "4.45.2-dev.1791263369.8b082e0",
4
4
  "description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "private": true
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v4.45.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.45.2-dev.1791263369.8b082e0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __defProp = Object.defineProperty;
@@ -6615,13 +6615,15 @@ var MockTokenList = class {
6615
6615
  token = String(token);
6616
6616
  return getItems(this.elm, this.attr).includes(token);
6617
6617
  }
6618
- toggle(token) {
6618
+ toggle(token, force) {
6619
6619
  token = String(token);
6620
- if (this.contains(token) === true) {
6621
- this.remove(token);
6622
- } else {
6620
+ const shouldAdd = force === void 0 ? !this.contains(token) : !!force;
6621
+ if (shouldAdd) {
6623
6622
  this.add(token);
6623
+ } else {
6624
+ this.remove(token);
6624
6625
  }
6626
+ return shouldAdd;
6625
6627
  }
6626
6628
  get length() {
6627
6629
  return getItems(this.elm, this.attr).length;
@@ -961,7 +961,7 @@ declare class MockTokenList {
961
961
  add(...tokens: string[]): void;
962
962
  remove(...tokens: string[]): void;
963
963
  contains(token: string): boolean;
964
- toggle(token: string): void;
964
+ toggle(token: string, force?: boolean): boolean;
965
965
  get length(): number;
966
966
  item(index: number): string;
967
967
  toString(): string;
package/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v4.45.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.45.2-dev.1791263369.8b082e0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  var __defProp = Object.defineProperty;
5
5
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -6563,13 +6563,15 @@ var MockTokenList = class {
6563
6563
  token = String(token);
6564
6564
  return getItems(this.elm, this.attr).includes(token);
6565
6565
  }
6566
- toggle(token) {
6566
+ toggle(token, force) {
6567
6567
  token = String(token);
6568
- if (this.contains(token) === true) {
6569
- this.remove(token);
6570
- } else {
6568
+ const shouldAdd = force === void 0 ? !this.contains(token) : !!force;
6569
+ if (shouldAdd) {
6571
6570
  this.add(token);
6571
+ } else {
6572
+ this.remove(token);
6572
6573
  }
6574
+ return shouldAdd;
6573
6575
  }
6574
6576
  get length() {
6575
6577
  return getItems(this.elm, this.attr).length;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.45.1",
3
+ "version": "4.45.2-dev.1791263369.8b082e0",
4
4
  "description": "Mock window, document and DOM outside of a browser environment.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "4.45.1",
3
+ "version": "4.45.2-dev.1791263369.8b082e0",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",