@stencil/core 4.41.2-dev.1768972237.75e7562 → 4.41.2-dev.1769144964.5ca9668
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 +37 -5
- 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 +16 -7
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +68 -7
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/index.js +15 -6
- 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/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +27 -27
- 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
|
@@ -5225,13 +5225,22 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
5225
5225
|
if ((!import_app_data15.BUILD.lazyLoad || !(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
5226
5226
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
5227
5227
|
if (import_app_data15.BUILD.serializer && import_app_data15.BUILD.reflect && cmpMeta.$attrsToReflect$) {
|
|
5228
|
-
if (
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
const [
|
|
5232
|
-
|
|
5228
|
+
if (cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
|
|
5229
|
+
const runSerializer = (inst) => {
|
|
5230
|
+
let attrVal = newVal;
|
|
5231
|
+
for (const serializer of cmpMeta.$serializers$[propName]) {
|
|
5232
|
+
const [[methodName]] = Object.entries(serializer);
|
|
5233
|
+
attrVal = inst[methodName](attrVal, propName);
|
|
5234
|
+
}
|
|
5235
|
+
hostRef.$serializerValues$.set(propName, attrVal);
|
|
5236
|
+
};
|
|
5237
|
+
if (instance) {
|
|
5238
|
+
runSerializer(instance);
|
|
5239
|
+
} else {
|
|
5240
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
5241
|
+
runSerializer(hostRef.$lazyInstance$);
|
|
5242
|
+
});
|
|
5233
5243
|
}
|
|
5234
|
-
hostRef.$serializerValues$.set(propName, attrVal);
|
|
5235
5244
|
}
|
|
5236
5245
|
}
|
|
5237
5246
|
if (import_app_data15.BUILD.isDev) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.41.2-dev.
|
|
3
|
+
"version": "4.41.2-dev.1769144964.5ca9668",
|
|
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.41.2-dev.
|
|
2
|
+
Stencil Mock Doc v4.41.2-dev.1769144964.5ca9668 | 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/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED