@vue/compat 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.
@@ -1818,7 +1818,9 @@ function queuePostFlushCb(cb) {
1818
1818
  }
1819
1819
  queueFlush();
1820
1820
  }
1821
- function flushPreFlushCbs(seen, i = flushIndex) {
1821
+ function flushPreFlushCbs(seen,
1822
+ // if currently flushing, skip the current job itself
1823
+ i = isFlushing ? flushIndex + 1 : 0) {
1822
1824
  if ((process.env.NODE_ENV !== 'production')) {
1823
1825
  seen = seen || new Map();
1824
1826
  }
@@ -7124,7 +7126,7 @@ function createCompatVue(createApp, createSingletonApp) {
7124
7126
  return vm;
7125
7127
  }
7126
7128
  }
7127
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
7129
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
7128
7130
  Vue.config = singletonApp.config;
7129
7131
  Vue.use = (p, ...options) => {
7130
7132
  if (p && isFunction(p.install)) {
@@ -10625,7 +10627,8 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10625
10627
  if (!isSSR && compile && !Component.render) {
10626
10628
  const template = (instance.vnode.props &&
10627
10629
  instance.vnode.props['inline-template']) ||
10628
- Component.template;
10630
+ Component.template ||
10631
+ resolveMergedOptions(instance).template;
10629
10632
  if (template) {
10630
10633
  if ((process.env.NODE_ENV !== 'production')) {
10631
10634
  startMeasure(instance, `compile`);
@@ -11204,7 +11207,7 @@ function isMemoSame(cached, memo) {
11204
11207
  }
11205
11208
 
11206
11209
  // Core API ------------------------------------------------------------------
11207
- const version = "3.2.38";
11210
+ const version = "3.2.39";
11208
11211
  const _ssrUtils = {
11209
11212
  createComponentInstance,
11210
11213
  setupComponent,
@@ -1800,7 +1800,9 @@ var Vue = (function () {
1800
1800
  }
1801
1801
  queueFlush();
1802
1802
  }
1803
- function flushPreFlushCbs(seen, i = flushIndex) {
1803
+ function flushPreFlushCbs(seen,
1804
+ // if currently flushing, skip the current job itself
1805
+ i = isFlushing ? flushIndex + 1 : 0) {
1804
1806
  {
1805
1807
  seen = seen || new Map();
1806
1808
  }
@@ -7058,7 +7060,7 @@ var Vue = (function () {
7058
7060
  return vm;
7059
7061
  }
7060
7062
  }
7061
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
7063
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
7062
7064
  Vue.config = singletonApp.config;
7063
7065
  Vue.use = (p, ...options) => {
7064
7066
  if (p && isFunction(p.install)) {
@@ -10493,7 +10495,8 @@ var Vue = (function () {
10493
10495
  if (!isSSR && compile && !Component.render) {
10494
10496
  const template = (instance.vnode.props &&
10495
10497
  instance.vnode.props['inline-template']) ||
10496
- Component.template;
10498
+ Component.template ||
10499
+ resolveMergedOptions(instance).template;
10497
10500
  if (template) {
10498
10501
  {
10499
10502
  startMeasure(instance, `compile`);
@@ -11051,7 +11054,7 @@ var Vue = (function () {
11051
11054
  }
11052
11055
 
11053
11056
  // Core API ------------------------------------------------------------------
11054
- const version = "3.2.38";
11057
+ const version = "3.2.39";
11055
11058
  /**
11056
11059
  * SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
11057
11060
  * @internal