@vue/compat 3.4.0-rc.2 → 3.4.0

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.
@@ -1728,7 +1728,7 @@ const ErrorTypeStrings$1 = {
1728
1728
  [11]: "app warnHandler",
1729
1729
  [12]: "ref function",
1730
1730
  [13]: "async component loader",
1731
- [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
1731
+ [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
1732
1732
  };
1733
1733
  function callWithErrorHandling(fn, instance, type, args) {
1734
1734
  let res;
@@ -2731,7 +2731,9 @@ function emit(instance, event, ...rawArgs) {
2731
2731
  `Event "${lowerCaseEvent}" is emitted in component ${formatComponentName(
2732
2732
  instance,
2733
2733
  instance.type
2734
- )} but the handler is registered for "${event}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${hyphenate(event)}" instead of "${event}".`
2734
+ )} but the handler is registered for "${event}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${hyphenate(
2735
+ event
2736
+ )}" instead of "${event}".`
2735
2737
  );
2736
2738
  }
2737
2739
  }
@@ -3207,7 +3209,6 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
3207
3209
  const selfName = getComponentName(
3208
3210
  Component,
3209
3211
  false
3210
- /* do not include inferred name to avoid breaking existing code */
3211
3212
  );
3212
3213
  if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {
3213
3214
  return Component;
@@ -3737,6 +3738,7 @@ function hydrateSuspense(node, vnode, parentComponent, parentSuspense, namespace
3737
3738
  parentSuspense,
3738
3739
  parentComponent,
3739
3740
  node.parentNode,
3741
+ // eslint-disable-next-line no-restricted-globals
3740
3742
  document.createElement("div"),
3741
3743
  null,
3742
3744
  namespace,
@@ -3744,7 +3746,6 @@ function hydrateSuspense(node, vnode, parentComponent, parentSuspense, namespace
3744
3746
  optimized,
3745
3747
  rendererInternals,
3746
3748
  true
3747
- /* hydrating */
3748
3749
  );
3749
3750
  const result = hydrateNode(
3750
3751
  node,
@@ -3884,7 +3885,14 @@ function watch(source, cb, options) {
3884
3885
  }
3885
3886
  return doWatch(source, cb, options);
3886
3887
  }
3887
- function doWatch(source, cb, { immediate, deep, flush, once, onTrack, onTrigger } = EMPTY_OBJ) {
3888
+ function doWatch(source, cb, {
3889
+ immediate,
3890
+ deep,
3891
+ flush,
3892
+ once,
3893
+ onTrack,
3894
+ onTrigger
3895
+ } = EMPTY_OBJ) {
3888
3896
  var _a;
3889
3897
  if (cb && once) {
3890
3898
  const _cb = cb;
@@ -4608,7 +4616,6 @@ function defineAsyncComponent(source) {
4608
4616
  instance,
4609
4617
  13,
4610
4618
  !errorComponent
4611
- /* do not throw in dev if user provided error component */
4612
4619
  );
4613
4620
  };
4614
4621
  if (suspensible && instance.suspense || isInSSRComponentSetup) {
@@ -5010,8 +5017,8 @@ function getCompatListeners(instance) {
5010
5017
  }
5011
5018
 
5012
5019
  function convertLegacyRenderFn(instance) {
5013
- const Component2 = instance.type;
5014
- const render = Component2.render;
5020
+ const Component = instance.type;
5021
+ const render = Component.render;
5015
5022
  if (!render || render._rc || render._compatChecked || render._compatWrapped) {
5016
5023
  return;
5017
5024
  }
@@ -5020,7 +5027,7 @@ function convertLegacyRenderFn(instance) {
5020
5027
  return;
5021
5028
  }
5022
5029
  if (checkCompatEnabled$1("RENDER_FUNCTION", instance)) {
5023
- const wrapped = Component2.render = function compatRender() {
5030
+ const wrapped = Component.render = function compatRender() {
5024
5031
  return render.call(this, compatH);
5025
5032
  };
5026
5033
  wrapped._compatWrapped = true;
@@ -5179,12 +5186,10 @@ function defineLegacyVNodeProperties(vnode) {
5179
5186
  "RENDER_FUNCTION",
5180
5187
  currentRenderingInstance,
5181
5188
  true
5182
- /* enable for built-ins */
5183
5189
  ) && isCompatEnabled$1(
5184
5190
  "PRIVATE_APIS",
5185
5191
  currentRenderingInstance,
5186
5192
  true
5187
- /* enable for built-ins */
5188
5193
  )) {
5189
5194
  const context = currentRenderingInstance;
5190
5195
  const getInstance = () => vnode.component && vnode.component.proxy;
@@ -5514,7 +5519,6 @@ function installCompatInstanceProperties(map) {
5514
5519
  assertCompatEnabled(
5515
5520
  "GLOBAL_MOUNT",
5516
5521
  null
5517
- /* this warning is global */
5518
5522
  );
5519
5523
  return i.ctx._compat_mount || NOOP;
5520
5524
  },
@@ -5908,7 +5912,7 @@ function useSlots() {
5908
5912
  function useAttrs() {
5909
5913
  return getContext().attrs;
5910
5914
  }
5911
- function useModel(props, name) {
5915
+ function useModel(props, name, options = EMPTY_OBJ) {
5912
5916
  const i = getCurrentInstance();
5913
5917
  if (!!(process.env.NODE_ENV !== "production") && !i) {
5914
5918
  warn$1(`useModel() called without active instance.`);
@@ -5918,7 +5922,7 @@ function useModel(props, name) {
5918
5922
  warn$1(`useModel() called with prop "${name}" which is not declared.`);
5919
5923
  return ref();
5920
5924
  }
5921
- return customRef((track, trigger) => {
5925
+ const res = customRef((track, trigger) => {
5922
5926
  let localValue;
5923
5927
  watchSyncEffect(() => {
5924
5928
  const propValue = props[name];
@@ -5930,7 +5934,7 @@ function useModel(props, name) {
5930
5934
  return {
5931
5935
  get() {
5932
5936
  track();
5933
- return localValue;
5937
+ return options.get ? options.get(localValue) : localValue;
5934
5938
  },
5935
5939
  set(value) {
5936
5940
  const rawProps = i.vnode.props;
@@ -5938,10 +5942,24 @@ function useModel(props, name) {
5938
5942
  localValue = value;
5939
5943
  trigger();
5940
5944
  }
5941
- i.emit(`update:${name}`, value);
5945
+ i.emit(`update:${name}`, options.set ? options.set(value) : value);
5942
5946
  }
5943
5947
  };
5944
5948
  });
5949
+ const modifierKey = name === "modelValue" ? "modelModifiers" : `${name}Modifiers`;
5950
+ res[Symbol.iterator] = () => {
5951
+ let i2 = 0;
5952
+ return {
5953
+ next() {
5954
+ if (i2 < 2) {
5955
+ return { value: i2++ ? props[modifierKey] : res, done: false };
5956
+ } else {
5957
+ return { done: true };
5958
+ }
5959
+ }
5960
+ };
5961
+ };
5962
+ return res;
5945
5963
  }
5946
5964
  function getContext() {
5947
5965
  const i = getCurrentInstance();
@@ -6244,7 +6262,6 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP)
6244
6262
  opt.from || key,
6245
6263
  opt.default,
6246
6264
  true
6247
- /* treat default function as factory */
6248
6265
  );
6249
6266
  } else {
6250
6267
  injected = inject(opt.from || key);
@@ -6517,7 +6534,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6517
6534
  return vm;
6518
6535
  }
6519
6536
  }
6520
- Vue.version = `2.6.14-compat:${"3.4.0-rc.2"}`;
6537
+ Vue.version = `2.6.14-compat:${"3.4.0"}`;
6521
6538
  Vue.config = singletonApp.config;
6522
6539
  Vue.use = (p, ...options) => {
6523
6540
  if (p && isFunction(p.install)) {
@@ -7227,7 +7244,6 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
7227
7244
  value,
7228
7245
  instance,
7229
7246
  false
7230
- /* isAbsent */
7231
7247
  );
7232
7248
  }
7233
7249
  } else {
@@ -7266,7 +7282,6 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
7266
7282
  void 0,
7267
7283
  instance,
7268
7284
  true
7269
- /* isAbsent */
7270
7285
  );
7271
7286
  }
7272
7287
  } else {
@@ -10289,7 +10304,6 @@ function createElementBlock(type, props, children, patchFlag, dynamicProps, shap
10289
10304
  dynamicProps,
10290
10305
  shapeFlag,
10291
10306
  true
10292
- /* isBlock */
10293
10307
  )
10294
10308
  );
10295
10309
  }
@@ -10302,7 +10316,6 @@ function createBlock(type, props, children, patchFlag, dynamicProps) {
10302
10316
  patchFlag,
10303
10317
  dynamicProps,
10304
10318
  true
10305
- /* isBlock: prevent a block from tracking itself */
10306
10319
  )
10307
10320
  );
10308
10321
  }
@@ -10821,7 +10834,10 @@ function setupStatefulComponent(instance, isSSR) {
10821
10834
  setup,
10822
10835
  instance,
10823
10836
  0,
10824
- [!!(process.env.NODE_ENV !== "production") ? shallowReadonly(instance.props) : instance.props, setupContext]
10837
+ [
10838
+ !!(process.env.NODE_ENV !== "production") ? shallowReadonly(instance.props) : instance.props,
10839
+ setupContext
10840
+ ]
10825
10841
  );
10826
10842
  resetTracking();
10827
10843
  unsetCurrentInstance();
@@ -10945,7 +10961,6 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10945
10961
  if (!compile$1 && Component.template) {
10946
10962
  warn$1(
10947
10963
  `Component provided template option but runtime compilation is not supported in this build of Vue.` + (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".` )
10948
- /* should not happen */
10949
10964
  );
10950
10965
  } else {
10951
10966
  warn$1(`Component is missing template or render function.`);
@@ -11319,7 +11334,7 @@ function isMemoSame(cached, memo) {
11319
11334
  return true;
11320
11335
  }
11321
11336
 
11322
- const version = "3.4.0-rc.2";
11337
+ const version = "3.4.0";
11323
11338
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
11324
11339
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11325
11340
  const devtools = !!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__ ? devtools$1 : void 0;
@@ -15833,7 +15848,6 @@ function createRootCodegen(root, context) {
15833
15848
  true,
15834
15849
  void 0,
15835
15850
  false
15836
- /* isComponent */
15837
15851
  );
15838
15852
  } else ;
15839
15853
  }
@@ -16844,7 +16858,6 @@ const transformFor = createStructuralDirectiveTransform(
16844
16858
  true,
16845
16859
  void 0,
16846
16860
  false
16847
- /* isComponent */
16848
16861
  );
16849
16862
  } else {
16850
16863
  childBlock = children[0].codegenNode;
@@ -16901,7 +16914,6 @@ const transformFor = createStructuralDirectiveTransform(
16901
16914
  createForLoopParams(forNode.parseResult),
16902
16915
  childBlock,
16903
16916
  true
16904
- /* force newline */
16905
16917
  )
16906
16918
  );
16907
16919
  }
@@ -17118,13 +17130,15 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
17118
17130
  createForLoopParams(parseResult),
17119
17131
  buildDynamicSlot(slotName, slotFunction),
17120
17132
  true
17121
- /* force newline */
17122
17133
  )
17123
17134
  ])
17124
17135
  );
17125
17136
  } else {
17126
17137
  context.onError(
17127
- createCompilerError(32, vFor.loc)
17138
+ createCompilerError(
17139
+ 32,
17140
+ vFor.loc
17141
+ )
17128
17142
  );
17129
17143
  }
17130
17144
  } else {
@@ -1729,7 +1729,7 @@ var Vue = (function () {
1729
1729
  [11]: "app warnHandler",
1730
1730
  [12]: "ref function",
1731
1731
  [13]: "async component loader",
1732
- [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
1732
+ [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
1733
1733
  };
1734
1734
  function callWithErrorHandling(fn, instance, type, args) {
1735
1735
  let res;
@@ -2727,7 +2727,9 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
2727
2727
  `Event "${lowerCaseEvent}" is emitted in component ${formatComponentName(
2728
2728
  instance,
2729
2729
  instance.type
2730
- )} but the handler is registered for "${event}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${hyphenate(event)}" instead of "${event}".`
2730
+ )} but the handler is registered for "${event}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${hyphenate(
2731
+ event
2732
+ )}" instead of "${event}".`
2731
2733
  );
2732
2734
  }
2733
2735
  }
@@ -3203,7 +3205,6 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
3203
3205
  const selfName = getComponentName(
3204
3206
  Component,
3205
3207
  false
3206
- /* do not include inferred name to avoid breaking existing code */
3207
3208
  );
3208
3209
  if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {
3209
3210
  return Component;
@@ -3733,6 +3734,7 @@ If this is a native custom element, make sure to exclude it from component resol
3733
3734
  parentSuspense,
3734
3735
  parentComponent,
3735
3736
  node.parentNode,
3737
+ // eslint-disable-next-line no-restricted-globals
3736
3738
  document.createElement("div"),
3737
3739
  null,
3738
3740
  namespace,
@@ -3740,7 +3742,6 @@ If this is a native custom element, make sure to exclude it from component resol
3740
3742
  optimized,
3741
3743
  rendererInternals,
3742
3744
  true
3743
- /* hydrating */
3744
3745
  );
3745
3746
  const result = hydrateNode(
3746
3747
  node,
@@ -3880,7 +3881,14 @@ If this is a native custom element, make sure to exclude it from component resol
3880
3881
  }
3881
3882
  return doWatch(source, cb, options);
3882
3883
  }
3883
- function doWatch(source, cb, { immediate, deep, flush, once, onTrack, onTrigger } = EMPTY_OBJ) {
3884
+ function doWatch(source, cb, {
3885
+ immediate,
3886
+ deep,
3887
+ flush,
3888
+ once,
3889
+ onTrack,
3890
+ onTrigger
3891
+ } = EMPTY_OBJ) {
3884
3892
  var _a;
3885
3893
  if (cb && once) {
3886
3894
  const _cb = cb;
@@ -4581,7 +4589,6 @@ If this is a native custom element, make sure to exclude it from component resol
4581
4589
  instance,
4582
4590
  13,
4583
4591
  !errorComponent
4584
- /* do not throw in dev if user provided error component */
4585
4592
  );
4586
4593
  };
4587
4594
  if (suspensible && instance.suspense || false) {
@@ -4977,8 +4984,8 @@ If this is a native custom element, make sure to exclude it from component resol
4977
4984
  }
4978
4985
 
4979
4986
  function convertLegacyRenderFn(instance) {
4980
- const Component2 = instance.type;
4981
- const render = Component2.render;
4987
+ const Component = instance.type;
4988
+ const render = Component.render;
4982
4989
  if (!render || render._rc || render._compatChecked || render._compatWrapped) {
4983
4990
  return;
4984
4991
  }
@@ -4987,7 +4994,7 @@ If this is a native custom element, make sure to exclude it from component resol
4987
4994
  return;
4988
4995
  }
4989
4996
  if (checkCompatEnabled$1("RENDER_FUNCTION", instance)) {
4990
- const wrapped = Component2.render = function compatRender() {
4997
+ const wrapped = Component.render = function compatRender() {
4991
4998
  return render.call(this, compatH);
4992
4999
  };
4993
5000
  wrapped._compatWrapped = true;
@@ -5146,12 +5153,10 @@ If this is a native custom element, make sure to exclude it from component resol
5146
5153
  "RENDER_FUNCTION",
5147
5154
  currentRenderingInstance,
5148
5155
  true
5149
- /* enable for built-ins */
5150
5156
  ) && isCompatEnabled$1(
5151
5157
  "PRIVATE_APIS",
5152
5158
  currentRenderingInstance,
5153
5159
  true
5154
- /* enable for built-ins */
5155
5160
  )) {
5156
5161
  const context = currentRenderingInstance;
5157
5162
  const getInstance = () => vnode.component && vnode.component.proxy;
@@ -5481,7 +5486,6 @@ If this is a native custom element, make sure to exclude it from component resol
5481
5486
  assertCompatEnabled(
5482
5487
  "GLOBAL_MOUNT",
5483
5488
  null
5484
- /* this warning is global */
5485
5489
  );
5486
5490
  return i.ctx._compat_mount || NOOP;
5487
5491
  },
@@ -5875,7 +5879,7 @@ If this is a native custom element, make sure to exclude it from component resol
5875
5879
  function useAttrs() {
5876
5880
  return getContext().attrs;
5877
5881
  }
5878
- function useModel(props, name) {
5882
+ function useModel(props, name, options = EMPTY_OBJ) {
5879
5883
  const i = getCurrentInstance();
5880
5884
  if (!i) {
5881
5885
  warn$1(`useModel() called without active instance.`);
@@ -5885,7 +5889,7 @@ If this is a native custom element, make sure to exclude it from component resol
5885
5889
  warn$1(`useModel() called with prop "${name}" which is not declared.`);
5886
5890
  return ref();
5887
5891
  }
5888
- return customRef((track, trigger) => {
5892
+ const res = customRef((track, trigger) => {
5889
5893
  let localValue;
5890
5894
  watchSyncEffect(() => {
5891
5895
  const propValue = props[name];
@@ -5897,7 +5901,7 @@ If this is a native custom element, make sure to exclude it from component resol
5897
5901
  return {
5898
5902
  get() {
5899
5903
  track();
5900
- return localValue;
5904
+ return options.get ? options.get(localValue) : localValue;
5901
5905
  },
5902
5906
  set(value) {
5903
5907
  const rawProps = i.vnode.props;
@@ -5905,10 +5909,24 @@ If this is a native custom element, make sure to exclude it from component resol
5905
5909
  localValue = value;
5906
5910
  trigger();
5907
5911
  }
5908
- i.emit(`update:${name}`, value);
5912
+ i.emit(`update:${name}`, options.set ? options.set(value) : value);
5909
5913
  }
5910
5914
  };
5911
5915
  });
5916
+ const modifierKey = name === "modelValue" ? "modelModifiers" : `${name}Modifiers`;
5917
+ res[Symbol.iterator] = () => {
5918
+ let i2 = 0;
5919
+ return {
5920
+ next() {
5921
+ if (i2 < 2) {
5922
+ return { value: i2++ ? props[modifierKey] : res, done: false };
5923
+ } else {
5924
+ return { done: true };
5925
+ }
5926
+ }
5927
+ };
5928
+ };
5929
+ return res;
5912
5930
  }
5913
5931
  function getContext() {
5914
5932
  const i = getCurrentInstance();
@@ -6209,7 +6227,6 @@ If this is a native custom element, make sure to exclude it from component resol
6209
6227
  opt.from || key,
6210
6228
  opt.default,
6211
6229
  true
6212
- /* treat default function as factory */
6213
6230
  );
6214
6231
  } else {
6215
6232
  injected = inject(opt.from || key);
@@ -6482,7 +6499,7 @@ If this is a native custom element, make sure to exclude it from component resol
6482
6499
  return vm;
6483
6500
  }
6484
6501
  }
6485
- Vue.version = `2.6.14-compat:${"3.4.0-rc.2"}`;
6502
+ Vue.version = `2.6.14-compat:${"3.4.0"}`;
6486
6503
  Vue.config = singletonApp.config;
6487
6504
  Vue.use = (p, ...options) => {
6488
6505
  if (p && isFunction(p.install)) {
@@ -7189,7 +7206,6 @@ If you want to remount the same app, move your app creation logic into a factory
7189
7206
  value,
7190
7207
  instance,
7191
7208
  false
7192
- /* isAbsent */
7193
7209
  );
7194
7210
  }
7195
7211
  } else {
@@ -7228,7 +7244,6 @@ If you want to remount the same app, move your app creation logic into a factory
7228
7244
  void 0,
7229
7245
  instance,
7230
7246
  true
7231
- /* isAbsent */
7232
7247
  );
7233
7248
  }
7234
7249
  } else {
@@ -10203,7 +10218,6 @@ Server rendered element contains fewer child nodes than client vdom.`
10203
10218
  dynamicProps,
10204
10219
  shapeFlag,
10205
10220
  true
10206
- /* isBlock */
10207
10221
  )
10208
10222
  );
10209
10223
  }
@@ -10216,7 +10230,6 @@ Server rendered element contains fewer child nodes than client vdom.`
10216
10230
  patchFlag,
10217
10231
  dynamicProps,
10218
10232
  true
10219
- /* isBlock: prevent a block from tracking itself */
10220
10233
  )
10221
10234
  );
10222
10235
  }
@@ -10718,7 +10731,10 @@ Component that was made reactive: `,
10718
10731
  setup,
10719
10732
  instance,
10720
10733
  0,
10721
- [shallowReadonly(instance.props) , setupContext]
10734
+ [
10735
+ shallowReadonly(instance.props) ,
10736
+ setupContext
10737
+ ]
10722
10738
  );
10723
10739
  resetTracking();
10724
10740
  unsetCurrentInstance();
@@ -10840,7 +10856,6 @@ Component that was made reactive: `,
10840
10856
  if (!compile$1 && Component.template) {
10841
10857
  warn$1(
10842
10858
  `Component provided template option but runtime compilation is not supported in this build of Vue.` + (` Use "vue.global.js" instead.` )
10843
- /* should not happen */
10844
10859
  );
10845
10860
  } else {
10846
10861
  warn$1(`Component is missing template or render function.`);
@@ -11194,7 +11209,7 @@ Component that was made reactive: `,
11194
11209
  return true;
11195
11210
  }
11196
11211
 
11197
- const version = "3.4.0-rc.2";
11212
+ const version = "3.4.0";
11198
11213
  const warn = warn$1 ;
11199
11214
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11200
11215
  const devtools = devtools$1 ;
@@ -15645,7 +15660,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
15645
15660
  true,
15646
15661
  void 0,
15647
15662
  false
15648
- /* isComponent */
15649
15663
  );
15650
15664
  } else ;
15651
15665
  }
@@ -16656,7 +16670,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
16656
16670
  true,
16657
16671
  void 0,
16658
16672
  false
16659
- /* isComponent */
16660
16673
  );
16661
16674
  } else {
16662
16675
  childBlock = children[0].codegenNode;
@@ -16713,7 +16726,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
16713
16726
  createForLoopParams(forNode.parseResult),
16714
16727
  childBlock,
16715
16728
  true
16716
- /* force newline */
16717
16729
  )
16718
16730
  );
16719
16731
  }
@@ -16930,13 +16942,15 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
16930
16942
  createForLoopParams(parseResult),
16931
16943
  buildDynamicSlot(slotName, slotFunction),
16932
16944
  true
16933
- /* force newline */
16934
16945
  )
16935
16946
  ])
16936
16947
  );
16937
16948
  } else {
16938
16949
  context.onError(
16939
- createCompilerError(32, vFor.loc)
16950
+ createCompilerError(
16951
+ 32,
16952
+ vFor.loc
16953
+ )
16940
16954
  );
16941
16955
  }
16942
16956
  } else {