@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.
@@ -1897,7 +1897,9 @@ function queuePostFlushCb(cb) {
1897
1897
  }
1898
1898
  queueFlush();
1899
1899
  }
1900
- function flushPreFlushCbs(seen, i = flushIndex) {
1900
+ function flushPreFlushCbs(seen,
1901
+ // if currently flushing, skip the current job itself
1902
+ i = isFlushing ? flushIndex + 1 : 0) {
1901
1903
  if ((process.env.NODE_ENV !== 'production')) {
1902
1904
  seen = seen || new Map();
1903
1905
  }
@@ -7203,7 +7205,7 @@ function createCompatVue(createApp, createSingletonApp) {
7203
7205
  return vm;
7204
7206
  }
7205
7207
  }
7206
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
7208
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
7207
7209
  Vue.config = singletonApp.config;
7208
7210
  Vue.use = (p, ...options) => {
7209
7211
  if (p && isFunction(p.install)) {
@@ -10704,7 +10706,8 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10704
10706
  if (!isSSR && compile && !Component.render) {
10705
10707
  const template = (instance.vnode.props &&
10706
10708
  instance.vnode.props['inline-template']) ||
10707
- Component.template;
10709
+ Component.template ||
10710
+ resolveMergedOptions(instance).template;
10708
10711
  if (template) {
10709
10712
  if ((process.env.NODE_ENV !== 'production')) {
10710
10713
  startMeasure(instance, `compile`);
@@ -11283,7 +11286,7 @@ function isMemoSame(cached, memo) {
11283
11286
  }
11284
11287
 
11285
11288
  // Core API ------------------------------------------------------------------
11286
- const version = "3.2.38";
11289
+ const version = "3.2.39";
11287
11290
  const _ssrUtils = {
11288
11291
  createComponentInstance,
11289
11292
  setupComponent,
@@ -1879,7 +1879,9 @@ var Vue = (function () {
1879
1879
  }
1880
1880
  queueFlush();
1881
1881
  }
1882
- function flushPreFlushCbs(seen, i = flushIndex) {
1882
+ function flushPreFlushCbs(seen,
1883
+ // if currently flushing, skip the current job itself
1884
+ i = isFlushing ? flushIndex + 1 : 0) {
1883
1885
  {
1884
1886
  seen = seen || new Map();
1885
1887
  }
@@ -7137,7 +7139,7 @@ var Vue = (function () {
7137
7139
  return vm;
7138
7140
  }
7139
7141
  }
7140
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
7142
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
7141
7143
  Vue.config = singletonApp.config;
7142
7144
  Vue.use = (p, ...options) => {
7143
7145
  if (p && isFunction(p.install)) {
@@ -10572,7 +10574,8 @@ var Vue = (function () {
10572
10574
  if (!isSSR && compile && !Component.render) {
10573
10575
  const template = (instance.vnode.props &&
10574
10576
  instance.vnode.props['inline-template']) ||
10575
- Component.template;
10577
+ Component.template ||
10578
+ resolveMergedOptions(instance).template;
10576
10579
  if (template) {
10577
10580
  {
10578
10581
  startMeasure(instance, `compile`);
@@ -11130,7 +11133,7 @@ var Vue = (function () {
11130
11133
  }
11131
11134
 
11132
11135
  // Core API ------------------------------------------------------------------
11133
- const version = "3.2.38";
11136
+ const version = "3.2.39";
11134
11137
  /**
11135
11138
  * SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
11136
11139
  * @internal