@stencil/core 4.43.5 → 4.44.0
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/package.json +1 -1
- package/compiler/stencil.js +232 -128
- 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 +61 -30
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +44 -26
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +7 -0
- package/internal/stencil-public-compiler.d.ts +4 -0
- package/internal/stencil-public-runtime.d.ts +11 -0
- package/internal/testing/index.js +43 -25
- 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 +1 -1
- package/readme.md +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +30 -30
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +6 -1
- package/testing/package.json +1 -1
- /package/{LICENSE.md → LICENSE} +0 -0
|
@@ -1008,6 +1008,7 @@ export declare namespace JSXBase {
|
|
|
1008
1008
|
onClose?: (event: Event) => void;
|
|
1009
1009
|
open?: boolean;
|
|
1010
1010
|
returnValue?: string;
|
|
1011
|
+
closedby?: 'any' | 'closerequest' | 'none';
|
|
1011
1012
|
}
|
|
1012
1013
|
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1013
1014
|
height?: number | string;
|
|
@@ -1045,6 +1046,8 @@ export declare namespace JSXBase {
|
|
|
1045
1046
|
allowtransparency?: string | boolean;
|
|
1046
1047
|
frameBorder?: number | string;
|
|
1047
1048
|
frameborder?: number | string;
|
|
1049
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1050
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1048
1051
|
importance?: 'low' | 'auto' | 'high';
|
|
1049
1052
|
height?: number | string;
|
|
1050
1053
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -1067,6 +1070,8 @@ export declare namespace JSXBase {
|
|
|
1067
1070
|
crossOrigin?: string;
|
|
1068
1071
|
crossorigin?: string;
|
|
1069
1072
|
decoding?: 'async' | 'auto' | 'sync';
|
|
1073
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1074
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1070
1075
|
importance?: 'low' | 'auto' | 'high';
|
|
1071
1076
|
height?: number | string;
|
|
1072
1077
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -1166,6 +1171,8 @@ export declare namespace JSXBase {
|
|
|
1166
1171
|
}
|
|
1167
1172
|
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1168
1173
|
as?: string;
|
|
1174
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1175
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1169
1176
|
href?: string;
|
|
1170
1177
|
hrefLang?: string;
|
|
1171
1178
|
hreflang?: string;
|
|
@@ -1289,6 +1296,8 @@ export declare namespace JSXBase {
|
|
|
1289
1296
|
crossOrigin?: string;
|
|
1290
1297
|
crossorigin?: string;
|
|
1291
1298
|
defer?: boolean;
|
|
1299
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1300
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1292
1301
|
importance?: 'low' | 'auto' | 'high';
|
|
1293
1302
|
integrity?: string;
|
|
1294
1303
|
nonce?: string;
|
|
@@ -1404,7 +1413,9 @@ export declare namespace JSXBase {
|
|
|
1404
1413
|
tabIndex?: number;
|
|
1405
1414
|
tabindex?: number | string;
|
|
1406
1415
|
title?: string;
|
|
1416
|
+
translate?: 'yes' | 'no' | (string & {});
|
|
1407
1417
|
popover?: string | null;
|
|
1418
|
+
focusgroup?: string;
|
|
1408
1419
|
inputMode?: string;
|
|
1409
1420
|
inputmode?: string;
|
|
1410
1421
|
enterKeyHint?: string;
|
|
@@ -2172,6 +2172,8 @@ var DEFAULT_DOC_DATA = {
|
|
|
2172
2172
|
};
|
|
2173
2173
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
2174
2174
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
2175
|
+
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
2176
|
+
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
2175
2177
|
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
2176
2178
|
"formAssociatedCallback",
|
|
2177
2179
|
"formResetCallback",
|
|
@@ -2601,7 +2603,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
2601
2603
|
slottedNodes.push(childNode);
|
|
2602
2604
|
if (typeof slotName !== "undefined") return slottedNodes;
|
|
2603
2605
|
}
|
|
2604
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode
|
|
2606
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
|
|
2605
2607
|
}
|
|
2606
2608
|
return slottedNodes;
|
|
2607
2609
|
}
|
|
@@ -2948,13 +2950,13 @@ var patchChildSlotNodes = (elm) => {
|
|
|
2948
2950
|
patchHostOriginalAccessor("firstChild", elm);
|
|
2949
2951
|
Object.defineProperty(elm, "firstChild", {
|
|
2950
2952
|
get() {
|
|
2951
|
-
return this.childNodes[0];
|
|
2953
|
+
return this.childNodes[0] || null;
|
|
2952
2954
|
}
|
|
2953
2955
|
});
|
|
2954
2956
|
patchHostOriginalAccessor("lastChild", elm);
|
|
2955
2957
|
Object.defineProperty(elm, "lastChild", {
|
|
2956
2958
|
get() {
|
|
2957
|
-
return this.childNodes[this.childNodes.length - 1];
|
|
2959
|
+
return this.childNodes[this.childNodes.length - 1] || null;
|
|
2958
2960
|
}
|
|
2959
2961
|
});
|
|
2960
2962
|
patchHostOriginalAccessor("childNodes", elm);
|
|
@@ -2985,7 +2987,7 @@ var patchNextSibling = (node) => {
|
|
|
2985
2987
|
const parentNodes = (_a2 = this["s-ol"]) == null ? void 0 : _a2.parentNode.childNodes;
|
|
2986
2988
|
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
2987
2989
|
if (parentNodes && index > -1) {
|
|
2988
|
-
return parentNodes[index + 1];
|
|
2990
|
+
return parentNodes[index + 1] || null;
|
|
2989
2991
|
}
|
|
2990
2992
|
return this.__nextSibling;
|
|
2991
2993
|
}
|
|
@@ -3000,7 +3002,7 @@ var patchNextElementSibling = (element) => {
|
|
|
3000
3002
|
const parentEles = (_a2 = this["s-ol"]) == null ? void 0 : _a2.parentNode.children;
|
|
3001
3003
|
const index = parentEles == null ? void 0 : parentEles.indexOf(this);
|
|
3002
3004
|
if (parentEles && index > -1) {
|
|
3003
|
-
return parentEles[index + 1];
|
|
3005
|
+
return parentEles[index + 1] || null;
|
|
3004
3006
|
}
|
|
3005
3007
|
return this.__nextElementSibling;
|
|
3006
3008
|
}
|
|
@@ -3015,7 +3017,7 @@ var patchPreviousSibling = (node) => {
|
|
|
3015
3017
|
const parentNodes = (_a2 = this["s-ol"]) == null ? void 0 : _a2.parentNode.childNodes;
|
|
3016
3018
|
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
3017
3019
|
if (parentNodes && index > -1) {
|
|
3018
|
-
return parentNodes[index - 1];
|
|
3020
|
+
return parentNodes[index - 1] || null;
|
|
3019
3021
|
}
|
|
3020
3022
|
return this.__previousSibling;
|
|
3021
3023
|
}
|
|
@@ -3030,7 +3032,7 @@ var patchPreviousElementSibling = (element) => {
|
|
|
3030
3032
|
const parentNodes = (_a2 = this["s-ol"]) == null ? void 0 : _a2.parentNode.children;
|
|
3031
3033
|
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
3032
3034
|
if (parentNodes && index > -1) {
|
|
3033
|
-
return parentNodes[index - 1];
|
|
3035
|
+
return parentNodes[index - 1] || null;
|
|
3034
3036
|
}
|
|
3035
3037
|
return this.__previousElementSibling;
|
|
3036
3038
|
}
|
|
@@ -3341,10 +3343,15 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
3341
3343
|
} else if (child != null && typeof child !== "boolean") {
|
|
3342
3344
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
3343
3345
|
child = String(child);
|
|
3344
|
-
} else if (
|
|
3345
|
-
|
|
3346
|
+
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
3347
|
+
if (import_app_data8.BUILD.isDev) {
|
|
3348
|
+
consoleDevError(`vNode passed as children has unexpected type.
|
|
3346
3349
|
Make sure it's using the correct h() function.
|
|
3347
3350
|
Empty objects can also be the cause, look for JSX comments that became objects.`);
|
|
3351
|
+
} else {
|
|
3352
|
+
consoleError("Invalid vNode child");
|
|
3353
|
+
}
|
|
3354
|
+
continue;
|
|
3348
3355
|
}
|
|
3349
3356
|
if (simple && lastSimple) {
|
|
3350
3357
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -4933,7 +4940,10 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
4933
4940
|
const slotName = childNode["s-sn"];
|
|
4934
4941
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
4935
4942
|
node = hostContentNodes[j];
|
|
4936
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] &&
|
|
4943
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && // let an exact named-slot match override a stale default-slot claim. Skip this for
|
|
4944
|
+
// `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
|
|
4945
|
+
// would trivially "match" on every re-render and force pointless re-insertion.
|
|
4946
|
+
(!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
|
|
4937
4947
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
4938
4948
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
4939
4949
|
checkSlotFallbackVisibility = true;
|
|
@@ -5209,7 +5219,7 @@ var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
5209
5219
|
}
|
|
5210
5220
|
};
|
|
5211
5221
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
5212
|
-
if (import_app_data14.BUILD.
|
|
5222
|
+
if (import_app_data14.BUILD.updatable) {
|
|
5213
5223
|
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
5214
5224
|
}
|
|
5215
5225
|
if (import_app_data14.BUILD.asyncLoading && hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
@@ -5279,7 +5289,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
5279
5289
|
}
|
|
5280
5290
|
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
5281
5291
|
if (import_app_data14.BUILD.isDev) {
|
|
5282
|
-
hostRef.$flags$ |=
|
|
5292
|
+
hostRef.$flags$ |= 2048 /* devOnRender */;
|
|
5283
5293
|
}
|
|
5284
5294
|
if (import_app_data14.BUILD.hydrateServerSide) {
|
|
5285
5295
|
await callRender(hostRef, instance, elm, isInitialLoad);
|
|
@@ -5288,7 +5298,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
5288
5298
|
}
|
|
5289
5299
|
if (import_app_data14.BUILD.isDev) {
|
|
5290
5300
|
hostRef.$renderCount$ = hostRef.$renderCount$ === void 0 ? 1 : hostRef.$renderCount$ + 1;
|
|
5291
|
-
hostRef.$flags$ &= ~
|
|
5301
|
+
hostRef.$flags$ &= ~2048 /* devOnRender */;
|
|
5292
5302
|
}
|
|
5293
5303
|
if (import_app_data14.BUILD.hydrateServerSide) {
|
|
5294
5304
|
try {
|
|
@@ -5328,12 +5338,11 @@ var renderingRef = null;
|
|
|
5328
5338
|
var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
5329
5339
|
const allRenderFn = import_app_data14.BUILD.allRenderFn ? true : false;
|
|
5330
5340
|
const lazyLoad = import_app_data14.BUILD.lazyLoad ? true : false;
|
|
5331
|
-
const taskQueue = import_app_data14.BUILD.taskQueue ? true : false;
|
|
5332
5341
|
const updatable = import_app_data14.BUILD.updatable ? true : false;
|
|
5333
5342
|
try {
|
|
5334
5343
|
renderingRef = instance;
|
|
5335
5344
|
instance = allRenderFn ? instance.render() : instance.render && instance.render();
|
|
5336
|
-
if (updatable
|
|
5345
|
+
if (updatable) {
|
|
5337
5346
|
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
5338
5347
|
}
|
|
5339
5348
|
if (updatable || lazyLoad) {
|
|
@@ -5369,11 +5378,11 @@ var postUpdateComponent = (hostRef) => {
|
|
|
5369
5378
|
const instance = import_app_data14.BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
5370
5379
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
5371
5380
|
if (import_app_data14.BUILD.isDev) {
|
|
5372
|
-
hostRef.$flags$ |=
|
|
5381
|
+
hostRef.$flags$ |= 2048 /* devOnRender */;
|
|
5373
5382
|
}
|
|
5374
5383
|
safeCall(instance, "componentDidRender", void 0, elm);
|
|
5375
5384
|
if (import_app_data14.BUILD.isDev) {
|
|
5376
|
-
hostRef.$flags$ &= ~
|
|
5385
|
+
hostRef.$flags$ &= ~2048 /* devOnRender */;
|
|
5377
5386
|
}
|
|
5378
5387
|
emitLifecycleEvent(elm, "componentDidRender");
|
|
5379
5388
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
@@ -5382,11 +5391,11 @@ var postUpdateComponent = (hostRef) => {
|
|
|
5382
5391
|
addHydratedFlag(elm);
|
|
5383
5392
|
}
|
|
5384
5393
|
if (import_app_data14.BUILD.isDev) {
|
|
5385
|
-
hostRef.$flags$ |=
|
|
5394
|
+
hostRef.$flags$ |= 4096 /* devOnDidLoad */;
|
|
5386
5395
|
}
|
|
5387
5396
|
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
5388
5397
|
if (import_app_data14.BUILD.isDev) {
|
|
5389
|
-
hostRef.$flags$ &= ~
|
|
5398
|
+
hostRef.$flags$ &= ~4096 /* devOnDidLoad */;
|
|
5390
5399
|
}
|
|
5391
5400
|
emitLifecycleEvent(elm, "componentDidLoad");
|
|
5392
5401
|
endPostUpdate();
|
|
@@ -5398,11 +5407,11 @@ var postUpdateComponent = (hostRef) => {
|
|
|
5398
5407
|
}
|
|
5399
5408
|
} else {
|
|
5400
5409
|
if (import_app_data14.BUILD.isDev) {
|
|
5401
|
-
hostRef.$flags$ |=
|
|
5410
|
+
hostRef.$flags$ |= 2048 /* devOnRender */;
|
|
5402
5411
|
}
|
|
5403
5412
|
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
5404
5413
|
if (import_app_data14.BUILD.isDev) {
|
|
5405
|
-
hostRef.$flags$ &= ~
|
|
5414
|
+
hostRef.$flags$ &= ~2048 /* devOnRender */;
|
|
5406
5415
|
}
|
|
5407
5416
|
emitLifecycleEvent(elm, "componentDidUpdate");
|
|
5408
5417
|
endPostUpdate();
|
|
@@ -5534,7 +5543,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
5534
5543
|
}
|
|
5535
5544
|
}
|
|
5536
5545
|
if (import_app_data15.BUILD.isDev) {
|
|
5537
|
-
if (hostRef.$flags$ &
|
|
5546
|
+
if (hostRef.$flags$ & 2048 /* devOnRender */) {
|
|
5538
5547
|
consoleDevWarn(
|
|
5539
5548
|
`The state/prop "${propName}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,
|
|
5540
5549
|
"\nElement",
|
|
@@ -5544,7 +5553,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
5544
5553
|
"\nOld value",
|
|
5545
5554
|
oldVal
|
|
5546
5555
|
);
|
|
5547
|
-
} else if (hostRef.$flags$ &
|
|
5556
|
+
} else if (hostRef.$flags$ & 4096 /* devOnDidLoad */) {
|
|
5548
5557
|
consoleDevWarn(
|
|
5549
5558
|
`The state/prop "${propName}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,
|
|
5550
5559
|
"\nElement",
|
|
@@ -5835,10 +5844,12 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
5835
5844
|
|
|
5836
5845
|
// src/runtime/initialize-component.ts
|
|
5837
5846
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
5847
|
+
var _a2;
|
|
5838
5848
|
let Cstr;
|
|
5839
5849
|
try {
|
|
5840
5850
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
5841
5851
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
5852
|
+
hostRef.$flags$ &= ~1024 /* hasFailedLoad */;
|
|
5842
5853
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
5843
5854
|
if (import_app_data17.BUILD.lazyLoad && bundleId) {
|
|
5844
5855
|
const CstrImport = loadModule(cmpMeta, hostRef, hmrVersionId);
|
|
@@ -5853,6 +5864,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
5853
5864
|
Cstr = CstrImport;
|
|
5854
5865
|
}
|
|
5855
5866
|
if (!Cstr) {
|
|
5867
|
+
hostRef.$flags$ &= ~32 /* hasInitializedComponent */;
|
|
5868
|
+
hostRef.$loadRetryCount$ = ((_a2 = hostRef.$loadRetryCount$) != null ? _a2 : 0) + 1;
|
|
5869
|
+
if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
|
|
5870
|
+
hostRef.$flags$ |= 1024 /* hasFailedLoad */;
|
|
5871
|
+
}
|
|
5856
5872
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
5857
5873
|
}
|
|
5858
5874
|
if (import_app_data17.BUILD.member && !Cstr.isProxied) {
|
|
@@ -5932,7 +5948,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
5932
5948
|
hostRef.$onRenderResolve$();
|
|
5933
5949
|
hostRef.$onRenderResolve$ = void 0;
|
|
5934
5950
|
}
|
|
5935
|
-
if (import_app_data17.BUILD.asyncLoading && hostRef.$onReadyResolve$) {
|
|
5951
|
+
if (import_app_data17.BUILD.asyncLoading && hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
|
|
5936
5952
|
hostRef.$onReadyResolve$(elm);
|
|
5937
5953
|
}
|
|
5938
5954
|
}
|
|
@@ -6004,6 +6020,8 @@ var connectedCallback = (elm) => {
|
|
|
6004
6020
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
|
|
6005
6021
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
6006
6022
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
6023
|
+
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
6024
|
+
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
6007
6025
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
6008
6026
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
6009
6027
|
}
|
|
@@ -6307,7 +6325,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
6307
6325
|
}
|
|
6308
6326
|
disconnectedCallback() {
|
|
6309
6327
|
plt.jmp(() => disconnectedCallback(this));
|
|
6310
|
-
|
|
6328
|
+
nextTick(() => {
|
|
6311
6329
|
var _a4;
|
|
6312
6330
|
const hostRef = getHostRef(this);
|
|
6313
6331
|
if (!hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.44.0",
|
|
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
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Mock Doc v4.
|
|
2
|
+
Stencil Mock Doc v4.44.0 | 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;
|
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<a href="https://www.npmjs.com/package/@stencil/core">
|
|
17
17
|
<img src="https://img.shields.io/npm/v/@stencil/core.svg" alt="StencilJS is released under the MIT license." /></a>
|
|
18
|
-
<a href="https://github.com/stenciljs/core/blob/main/LICENSE
|
|
18
|
+
<a href="https://github.com/stenciljs/core/blob/main/LICENSE">
|
|
19
19
|
<img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="StencilJS is released under the MIT license." />
|
|
20
20
|
</a>
|
|
21
21
|
<a href="https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md">
|
package/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED