vue 3.2.38 → 3.2.39

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.
@@ -1876,7 +1876,9 @@ function queuePostFlushCb(cb) {
1876
1876
  }
1877
1877
  queueFlush();
1878
1878
  }
1879
- function flushPreFlushCbs(seen, i = flushIndex) {
1879
+ function flushPreFlushCbs(seen,
1880
+ // if currently flushing, skip the current job itself
1881
+ i = isFlushing ? flushIndex + 1 : 0) {
1880
1882
  {
1881
1883
  seen = seen || new Map();
1882
1884
  }
@@ -8742,7 +8744,8 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
8742
8744
  // only do on-the-fly compile if not in SSR - SSR on-the-fly compilation
8743
8745
  // is done by server-renderer
8744
8746
  if (!isSSR && compile && !Component.render) {
8745
- const template = Component.template;
8747
+ const template = Component.template ||
8748
+ resolveMergedOptions(instance).template;
8746
8749
  if (template) {
8747
8750
  {
8748
8751
  startMeasure(instance, `compile`);
@@ -9297,7 +9300,7 @@ function isMemoSame(cached, memo) {
9297
9300
  }
9298
9301
 
9299
9302
  // Core API ------------------------------------------------------------------
9300
- const version = "3.2.38";
9303
+ const version = "3.2.39";
9301
9304
  /**
9302
9305
  * SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
9303
9306
  * @internal