@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.
@@ -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 (instance && cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
5229
- let attrVal = newVal;
5230
- for (const serializer of cmpMeta.$serializers$[propName]) {
5231
- const [[methodName]] = Object.entries(serializer);
5232
- attrVal = instance[methodName](attrVal, propName);
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.1768972237.75e7562",
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v4.41.2-dev.1768972237.75e7562 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.41.2-dev.1769144964.5ca9668 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __defProp = Object.defineProperty;
package/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v4.41.2-dev.1768972237.75e7562 | MIT Licensed | https://stenciljs.com
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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.41.2-dev.1768972237.75e7562",
3
+ "version": "4.41.2-dev.1769144964.5ca9668",
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.41.2-dev.1768972237.75e7562",
3
+ "version": "4.41.2-dev.1769144964.5ca9668",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot v4.41.2-dev.1768972237.75e7562 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot v4.41.2-dev.1769144964.5ca9668 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/screenshot",
3
- "version": "4.41.2-dev.1768972237.75e7562",
3
+ "version": "4.41.2-dev.1769144964.5ca9668",
4
4
  "description": "Stencil Screenshot.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot Pixel Match v4.41.2-dev.1768972237.75e7562 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot Pixel Match v4.41.2-dev.1769144964.5ca9668 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;