@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.
package/dist/vue.cjs.js CHANGED
@@ -2022,7 +2022,9 @@ function queuePostFlushCb(cb) {
2022
2022
  }
2023
2023
  queueFlush();
2024
2024
  }
2025
- function flushPreFlushCbs(seen, i = flushIndex) {
2025
+ function flushPreFlushCbs(seen,
2026
+ // if currently flushing, skip the current job itself
2027
+ i = isFlushing ? flushIndex + 1 : 0) {
2026
2028
  {
2027
2029
  seen = seen || new Map();
2028
2030
  }
@@ -7307,7 +7309,7 @@ function createCompatVue(createApp, createSingletonApp) {
7307
7309
  return vm;
7308
7310
  }
7309
7311
  }
7310
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
7312
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
7311
7313
  Vue.config = singletonApp.config;
7312
7314
  Vue.use = (p, ...options) => {
7313
7315
  if (p && isFunction(p.install)) {
@@ -10747,7 +10749,8 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10747
10749
  if (!isSSR && compile && !Component.render) {
10748
10750
  const template = (instance.vnode.props &&
10749
10751
  instance.vnode.props['inline-template']) ||
10750
- Component.template;
10752
+ Component.template ||
10753
+ resolveMergedOptions(instance).template;
10751
10754
  if (template) {
10752
10755
  {
10753
10756
  startMeasure(instance, `compile`);
@@ -11309,7 +11312,7 @@ function isMemoSame(cached, memo) {
11309
11312
  }
11310
11313
 
11311
11314
  // Core API ------------------------------------------------------------------
11312
- const version = "3.2.38";
11315
+ const version = "3.2.39";
11313
11316
  const _ssrUtils = {
11314
11317
  createComponentInstance,
11315
11318
  setupComponent,
@@ -1819,7 +1819,9 @@ function queuePostFlushCb(cb) {
1819
1819
  }
1820
1820
  queueFlush();
1821
1821
  }
1822
- function flushPreFlushCbs(seen, i = flushIndex) {
1822
+ function flushPreFlushCbs(seen,
1823
+ // if currently flushing, skip the current job itself
1824
+ i = isFlushing ? flushIndex + 1 : 0) {
1823
1825
  for (; i < queue.length; i++) {
1824
1826
  const cb = queue[i];
1825
1827
  if (cb && cb.pre) {
@@ -5872,7 +5874,7 @@ function createCompatVue(createApp, createSingletonApp) {
5872
5874
  return vm;
5873
5875
  }
5874
5876
  }
5875
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
5877
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
5876
5878
  Vue.config = singletonApp.config;
5877
5879
  Vue.use = (p, ...options) => {
5878
5880
  if (p && isFunction(p.install)) {
@@ -8859,7 +8861,8 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
8859
8861
  if (!isSSR && compile && !Component.render) {
8860
8862
  const template = (instance.vnode.props &&
8861
8863
  instance.vnode.props['inline-template']) ||
8862
- Component.template;
8864
+ Component.template ||
8865
+ resolveMergedOptions(instance).template;
8863
8866
  if (template) {
8864
8867
  const { isCustomElement, compilerOptions } = instance.appContext.config;
8865
8868
  const { delimiters, compilerOptions: componentCompilerOptions } = Component;
@@ -9176,7 +9179,7 @@ function isMemoSame(cached, memo) {
9176
9179
  }
9177
9180
 
9178
9181
  // Core API ------------------------------------------------------------------
9179
- const version = "3.2.38";
9182
+ const version = "3.2.39";
9180
9183
  const _ssrUtils = {
9181
9184
  createComponentInstance,
9182
9185
  setupComponent,
@@ -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
  }
@@ -7134,7 +7136,7 @@ function createCompatVue(createApp, createSingletonApp) {
7134
7136
  return vm;
7135
7137
  }
7136
7138
  }
7137
- Vue.version = `2.6.14-compat:${"3.2.38"}`;
7139
+ Vue.version = `2.6.14-compat:${"3.2.39"}`;
7138
7140
  Vue.config = singletonApp.config;
7139
7141
  Vue.use = (p, ...options) => {
7140
7142
  if (p && isFunction(p.install)) {
@@ -10569,7 +10571,8 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10569
10571
  if (!isSSR && compile && !Component.render) {
10570
10572
  const template = (instance.vnode.props &&
10571
10573
  instance.vnode.props['inline-template']) ||
10572
- Component.template;
10574
+ Component.template ||
10575
+ resolveMergedOptions(instance).template;
10573
10576
  if (template) {
10574
10577
  {
10575
10578
  startMeasure(instance, `compile`);
@@ -11132,7 +11135,7 @@ function isMemoSame(cached, memo) {
11132
11135
  }
11133
11136
 
11134
11137
  // Core API ------------------------------------------------------------------
11135
- const version = "3.2.38";
11138
+ const version = "3.2.39";
11136
11139
  /**
11137
11140
  * SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
11138
11141
  * @internal