@vue/compat 3.4.30 → 3.4.31

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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.30
2
+ * @vue/compat v3.4.31
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -378,11 +378,14 @@ function looseIndexOf(arr, val) {
378
378
  return arr.findIndex((item) => looseEqual(item, val));
379
379
  }
380
380
 
381
+ const isRef$1 = (val) => {
382
+ return !!(val && val.__v_isRef === true);
383
+ };
381
384
  const toDisplayString = (val) => {
382
- return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
385
+ return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef$1(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);
383
386
  };
384
387
  const replacer = (_key, val) => {
385
- if (val && val.__v_isRef) {
388
+ if (isRef$1(val)) {
386
389
  return replacer(_key, val.value);
387
390
  } else if (isMap(val)) {
388
391
  return {
@@ -529,7 +532,7 @@ class ReactiveEffect {
529
532
  /**
530
533
  * @internal
531
534
  */
532
- this._dirtyLevel = 5;
535
+ this._dirtyLevel = 4;
533
536
  /**
534
537
  * @internal
535
538
  */
@@ -549,20 +552,14 @@ class ReactiveEffect {
549
552
  recordEffectScope(this, scope);
550
553
  }
551
554
  get dirty() {
552
- if (this._dirtyLevel === 2)
553
- return false;
554
- if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
555
+ if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
555
556
  this._dirtyLevel = 1;
556
557
  pauseTracking();
557
558
  for (let i = 0; i < this._depsLength; i++) {
558
559
  const dep = this.deps[i];
559
560
  if (dep.computed) {
560
- if (dep.computed.effect._dirtyLevel === 2) {
561
- resetTracking();
562
- return true;
563
- }
564
561
  triggerComputed(dep.computed);
565
- if (this._dirtyLevel >= 5) {
562
+ if (this._dirtyLevel >= 4) {
566
563
  break;
567
564
  }
568
565
  }
@@ -572,10 +569,10 @@ class ReactiveEffect {
572
569
  }
573
570
  resetTracking();
574
571
  }
575
- return this._dirtyLevel >= 5;
572
+ return this._dirtyLevel >= 4;
576
573
  }
577
574
  set dirty(v) {
578
- this._dirtyLevel = v ? 5 : 0;
575
+ this._dirtyLevel = v ? 4 : 0;
579
576
  }
580
577
  run() {
581
578
  this._dirtyLevel = 0;
@@ -697,17 +694,8 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
697
694
  pauseScheduling();
698
695
  for (const effect2 of dep.keys()) {
699
696
  let tracking;
700
- if (!dep.computed && effect2.computed) {
701
- if (effect2._runnings > 0 && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
702
- effect2._dirtyLevel = 2;
703
- continue;
704
- }
705
- }
706
697
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
707
698
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
708
- if (effect2.computed && effect2._dirtyLevel === 2) {
709
- effect2._shouldSchedule = true;
710
- }
711
699
  effect2._dirtyLevel = dirtyLevel;
712
700
  }
713
701
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
@@ -715,7 +703,7 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
715
703
  (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));
716
704
  }
717
705
  effect2.trigger();
718
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
706
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
719
707
  effect2._shouldSchedule = false;
720
708
  if (effect2.scheduler) {
721
709
  queueEffectSchedulers.push(effect2.scheduler);
@@ -807,7 +795,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
807
795
  if (dep) {
808
796
  triggerEffects(
809
797
  dep,
810
- 5,
798
+ 4,
811
799
  {
812
800
  target,
813
801
  type,
@@ -1410,7 +1398,7 @@ class ComputedRefImpl {
1410
1398
  () => getter(this._value),
1411
1399
  () => triggerRefValue(
1412
1400
  this,
1413
- this.effect._dirtyLevel === 3 ? 3 : 4
1401
+ this.effect._dirtyLevel === 2 ? 2 : 3
1414
1402
  )
1415
1403
  );
1416
1404
  this.effect.computed = this;
@@ -1419,11 +1407,8 @@ class ComputedRefImpl {
1419
1407
  }
1420
1408
  get value() {
1421
1409
  const self = toRaw(this);
1422
- const lastDirtyLevel = self.effect._dirtyLevel;
1423
1410
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1424
- if (lastDirtyLevel !== 3) {
1425
- triggerRefValue(self, 5);
1426
- }
1411
+ triggerRefValue(self, 4);
1427
1412
  }
1428
1413
  trackRefValue(self);
1429
1414
  if (self.effect._dirtyLevel >= 2) {
@@ -1432,7 +1417,7 @@ class ComputedRefImpl {
1432
1417
 
1433
1418
  getter: `, this.getter);
1434
1419
  }
1435
- triggerRefValue(self, 3);
1420
+ triggerRefValue(self, 2);
1436
1421
  }
1437
1422
  return self._value;
1438
1423
  }
@@ -1487,7 +1472,7 @@ function trackRefValue(ref2) {
1487
1472
  );
1488
1473
  }
1489
1474
  }
1490
- function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1475
+ function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1491
1476
  ref2 = toRaw(ref2);
1492
1477
  const dep = ref2.dep;
1493
1478
  if (dep) {
@@ -1538,12 +1523,12 @@ class RefImpl {
1538
1523
  const oldVal = this._rawValue;
1539
1524
  this._rawValue = newVal;
1540
1525
  this._value = useDirectValue ? newVal : toReactive(newVal);
1541
- triggerRefValue(this, 5, newVal, oldVal);
1526
+ triggerRefValue(this, 4, newVal, oldVal);
1542
1527
  }
1543
1528
  }
1544
1529
  }
1545
1530
  function triggerRef(ref2) {
1546
- triggerRefValue(ref2, 5, ref2.value );
1531
+ triggerRefValue(ref2, 4, ref2.value );
1547
1532
  }
1548
1533
  function unref(ref2) {
1549
1534
  return isRef(ref2) ? ref2.value : ref2;
@@ -5745,7 +5730,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5745
5730
  return vm;
5746
5731
  }
5747
5732
  }
5748
- Vue.version = `2.6.14-compat:${"3.4.30"}`;
5733
+ Vue.version = `2.6.14-compat:${"3.4.31"}`;
5749
5734
  Vue.config = singletonApp.config;
5750
5735
  Vue.use = (plugin, ...options) => {
5751
5736
  if (plugin && isFunction(plugin.install)) {
@@ -11496,7 +11481,7 @@ function isMemoSame(cached, memo) {
11496
11481
  return true;
11497
11482
  }
11498
11483
 
11499
- const version = "3.4.30";
11484
+ const version = "3.4.31";
11500
11485
  const warn = warn$1 ;
11501
11486
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11502
11487
  const devtools = devtools$1 ;
@@ -17412,7 +17397,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
17412
17397
  node2.name = rewriteIdentifier(node2.name, parent, node2);
17413
17398
  ids.push(node2);
17414
17399
  } else {
17415
- if (!(needPrefix && isLocal) && parent.type !== "CallExpression" && parent.type !== "NewExpression" && parent.type !== "MemberExpression") {
17400
+ if (!(needPrefix && isLocal) && (!parent || parent.type !== "CallExpression" && parent.type !== "NewExpression" && parent.type !== "MemberExpression")) {
17416
17401
  node2.isConstant = true;
17417
17402
  }
17418
17403
  ids.push(node2);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.30
2
+ * @vue/compat v3.4.31
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -306,11 +306,14 @@ function looseIndexOf(arr, val) {
306
306
  return arr.findIndex((item) => looseEqual(item, val));
307
307
  }
308
308
 
309
+ const isRef$1 = (val) => {
310
+ return !!(val && val.__v_isRef === true);
311
+ };
309
312
  const toDisplayString = (val) => {
310
- return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
313
+ return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef$1(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);
311
314
  };
312
315
  const replacer = (_key, val) => {
313
- if (val && val.__v_isRef) {
316
+ if (isRef$1(val)) {
314
317
  return replacer(_key, val.value);
315
318
  } else if (isMap(val)) {
316
319
  return {
@@ -447,7 +450,7 @@ class ReactiveEffect {
447
450
  /**
448
451
  * @internal
449
452
  */
450
- this._dirtyLevel = 5;
453
+ this._dirtyLevel = 4;
451
454
  /**
452
455
  * @internal
453
456
  */
@@ -467,20 +470,14 @@ class ReactiveEffect {
467
470
  recordEffectScope(this, scope);
468
471
  }
469
472
  get dirty() {
470
- if (this._dirtyLevel === 2)
471
- return false;
472
- if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
473
+ if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
473
474
  this._dirtyLevel = 1;
474
475
  pauseTracking();
475
476
  for (let i = 0; i < this._depsLength; i++) {
476
477
  const dep = this.deps[i];
477
478
  if (dep.computed) {
478
- if (dep.computed.effect._dirtyLevel === 2) {
479
- resetTracking();
480
- return true;
481
- }
482
479
  triggerComputed(dep.computed);
483
- if (this._dirtyLevel >= 5) {
480
+ if (this._dirtyLevel >= 4) {
484
481
  break;
485
482
  }
486
483
  }
@@ -490,10 +487,10 @@ class ReactiveEffect {
490
487
  }
491
488
  resetTracking();
492
489
  }
493
- return this._dirtyLevel >= 5;
490
+ return this._dirtyLevel >= 4;
494
491
  }
495
492
  set dirty(v) {
496
- this._dirtyLevel = v ? 5 : 0;
493
+ this._dirtyLevel = v ? 4 : 0;
497
494
  }
498
495
  run() {
499
496
  this._dirtyLevel = 0;
@@ -610,22 +607,13 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
610
607
  pauseScheduling();
611
608
  for (const effect2 of dep.keys()) {
612
609
  let tracking;
613
- if (!dep.computed && effect2.computed) {
614
- if (effect2._runnings > 0 && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
615
- effect2._dirtyLevel = 2;
616
- continue;
617
- }
618
- }
619
610
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
620
611
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
621
- if (effect2.computed && effect2._dirtyLevel === 2) {
622
- effect2._shouldSchedule = true;
623
- }
624
612
  effect2._dirtyLevel = dirtyLevel;
625
613
  }
626
614
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
627
615
  effect2.trigger();
628
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
616
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
629
617
  effect2._shouldSchedule = false;
630
618
  if (effect2.scheduler) {
631
619
  queueEffectSchedulers.push(effect2.scheduler);
@@ -711,7 +699,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
711
699
  if (dep) {
712
700
  triggerEffects(
713
701
  dep,
714
- 5);
702
+ 4);
715
703
  }
716
704
  }
717
705
  resetScheduling();
@@ -1264,7 +1252,7 @@ class ComputedRefImpl {
1264
1252
  () => getter(this._value),
1265
1253
  () => triggerRefValue(
1266
1254
  this,
1267
- this.effect._dirtyLevel === 3 ? 3 : 4
1255
+ this.effect._dirtyLevel === 2 ? 2 : 3
1268
1256
  )
1269
1257
  );
1270
1258
  this.effect.computed = this;
@@ -1273,15 +1261,12 @@ class ComputedRefImpl {
1273
1261
  }
1274
1262
  get value() {
1275
1263
  const self = toRaw(this);
1276
- const lastDirtyLevel = self.effect._dirtyLevel;
1277
1264
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1278
- if (lastDirtyLevel !== 3) {
1279
- triggerRefValue(self, 5);
1280
- }
1265
+ triggerRefValue(self, 4);
1281
1266
  }
1282
1267
  trackRefValue(self);
1283
1268
  if (self.effect._dirtyLevel >= 2) {
1284
- triggerRefValue(self, 3);
1269
+ triggerRefValue(self, 2);
1285
1270
  }
1286
1271
  return self._value;
1287
1272
  }
@@ -1324,7 +1309,7 @@ function trackRefValue(ref2) {
1324
1309
  ));
1325
1310
  }
1326
1311
  }
1327
- function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1312
+ function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1328
1313
  ref2 = toRaw(ref2);
1329
1314
  const dep = ref2.dep;
1330
1315
  if (dep) {
@@ -1367,12 +1352,12 @@ class RefImpl {
1367
1352
  this._rawValue;
1368
1353
  this._rawValue = newVal;
1369
1354
  this._value = useDirectValue ? newVal : toReactive(newVal);
1370
- triggerRefValue(this, 5);
1355
+ triggerRefValue(this, 4);
1371
1356
  }
1372
1357
  }
1373
1358
  }
1374
1359
  function triggerRef(ref2) {
1375
- triggerRefValue(ref2, 5);
1360
+ triggerRefValue(ref2, 4);
1376
1361
  }
1377
1362
  function unref(ref2) {
1378
1363
  return isRef(ref2) ? ref2.value : ref2;
@@ -4463,7 +4448,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
4463
4448
  return vm;
4464
4449
  }
4465
4450
  }
4466
- Vue.version = `2.6.14-compat:${"3.4.30"}`;
4451
+ Vue.version = `2.6.14-compat:${"3.4.31"}`;
4467
4452
  Vue.config = singletonApp.config;
4468
4453
  Vue.use = (plugin, ...options) => {
4469
4454
  if (plugin && isFunction(plugin.install)) {
@@ -9161,7 +9146,7 @@ function isMemoSame(cached, memo) {
9161
9146
  return true;
9162
9147
  }
9163
9148
 
9164
- const version = "3.4.30";
9149
+ const version = "3.4.31";
9165
9150
  const warn$1 = NOOP;
9166
9151
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9167
9152
  const devtools = void 0;
@@ -14821,7 +14806,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
14821
14806
  node2.name = rewriteIdentifier(node2.name, parent, node2);
14822
14807
  ids.push(node2);
14823
14808
  } else {
14824
- if (!(needPrefix && isLocal) && parent.type !== "CallExpression" && parent.type !== "NewExpression" && parent.type !== "MemberExpression") {
14809
+ if (!(needPrefix && isLocal) && (!parent || parent.type !== "CallExpression" && parent.type !== "NewExpression" && parent.type !== "MemberExpression")) {
14825
14810
  node2.isConstant = true;
14826
14811
  }
14827
14812
  ids.push(node2);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.30
2
+ * @vue/compat v3.4.31
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -327,11 +327,14 @@ function looseIndexOf(arr, val) {
327
327
  return arr.findIndex((item) => looseEqual(item, val));
328
328
  }
329
329
 
330
+ const isRef$1 = (val) => {
331
+ return !!(val && val.__v_isRef === true);
332
+ };
330
333
  const toDisplayString = (val) => {
331
- return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
334
+ return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef$1(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);
332
335
  };
333
336
  const replacer = (_key, val) => {
334
- if (val && val.__v_isRef) {
337
+ if (isRef$1(val)) {
335
338
  return replacer(_key, val.value);
336
339
  } else if (isMap(val)) {
337
340
  return {
@@ -478,7 +481,7 @@ class ReactiveEffect {
478
481
  /**
479
482
  * @internal
480
483
  */
481
- this._dirtyLevel = 5;
484
+ this._dirtyLevel = 4;
482
485
  /**
483
486
  * @internal
484
487
  */
@@ -498,20 +501,14 @@ class ReactiveEffect {
498
501
  recordEffectScope(this, scope);
499
502
  }
500
503
  get dirty() {
501
- if (this._dirtyLevel === 2)
502
- return false;
503
- if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
504
+ if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
504
505
  this._dirtyLevel = 1;
505
506
  pauseTracking();
506
507
  for (let i = 0; i < this._depsLength; i++) {
507
508
  const dep = this.deps[i];
508
509
  if (dep.computed) {
509
- if (dep.computed.effect._dirtyLevel === 2) {
510
- resetTracking();
511
- return true;
512
- }
513
510
  triggerComputed(dep.computed);
514
- if (this._dirtyLevel >= 5) {
511
+ if (this._dirtyLevel >= 4) {
515
512
  break;
516
513
  }
517
514
  }
@@ -521,10 +518,10 @@ class ReactiveEffect {
521
518
  }
522
519
  resetTracking();
523
520
  }
524
- return this._dirtyLevel >= 5;
521
+ return this._dirtyLevel >= 4;
525
522
  }
526
523
  set dirty(v) {
527
- this._dirtyLevel = v ? 5 : 0;
524
+ this._dirtyLevel = v ? 4 : 0;
528
525
  }
529
526
  run() {
530
527
  this._dirtyLevel = 0;
@@ -646,17 +643,8 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
646
643
  pauseScheduling();
647
644
  for (const effect2 of dep.keys()) {
648
645
  let tracking;
649
- if (!dep.computed && effect2.computed) {
650
- if (effect2._runnings > 0 && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
651
- effect2._dirtyLevel = 2;
652
- continue;
653
- }
654
- }
655
646
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
656
647
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
657
- if (effect2.computed && effect2._dirtyLevel === 2) {
658
- effect2._shouldSchedule = true;
659
- }
660
648
  effect2._dirtyLevel = dirtyLevel;
661
649
  }
662
650
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
@@ -664,7 +652,7 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
664
652
  (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));
665
653
  }
666
654
  effect2.trigger();
667
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
655
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
668
656
  effect2._shouldSchedule = false;
669
657
  if (effect2.scheduler) {
670
658
  queueEffectSchedulers.push(effect2.scheduler);
@@ -756,7 +744,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
756
744
  if (dep) {
757
745
  triggerEffects(
758
746
  dep,
759
- 5,
747
+ 4,
760
748
  {
761
749
  target,
762
750
  type,
@@ -1359,7 +1347,7 @@ class ComputedRefImpl {
1359
1347
  () => getter(this._value),
1360
1348
  () => triggerRefValue(
1361
1349
  this,
1362
- this.effect._dirtyLevel === 3 ? 3 : 4
1350
+ this.effect._dirtyLevel === 2 ? 2 : 3
1363
1351
  )
1364
1352
  );
1365
1353
  this.effect.computed = this;
@@ -1368,11 +1356,8 @@ class ComputedRefImpl {
1368
1356
  }
1369
1357
  get value() {
1370
1358
  const self = toRaw(this);
1371
- const lastDirtyLevel = self.effect._dirtyLevel;
1372
1359
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1373
- if (lastDirtyLevel !== 3) {
1374
- triggerRefValue(self, 5);
1375
- }
1360
+ triggerRefValue(self, 4);
1376
1361
  }
1377
1362
  trackRefValue(self);
1378
1363
  if (self.effect._dirtyLevel >= 2) {
@@ -1381,7 +1366,7 @@ class ComputedRefImpl {
1381
1366
 
1382
1367
  getter: `, this.getter);
1383
1368
  }
1384
- triggerRefValue(self, 3);
1369
+ triggerRefValue(self, 2);
1385
1370
  }
1386
1371
  return self._value;
1387
1372
  }
@@ -1436,7 +1421,7 @@ function trackRefValue(ref2) {
1436
1421
  );
1437
1422
  }
1438
1423
  }
1439
- function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1424
+ function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1440
1425
  ref2 = toRaw(ref2);
1441
1426
  const dep = ref2.dep;
1442
1427
  if (dep) {
@@ -1487,12 +1472,12 @@ class RefImpl {
1487
1472
  const oldVal = this._rawValue;
1488
1473
  this._rawValue = newVal;
1489
1474
  this._value = useDirectValue ? newVal : toReactive(newVal);
1490
- triggerRefValue(this, 5, newVal, oldVal);
1475
+ triggerRefValue(this, 4, newVal, oldVal);
1491
1476
  }
1492
1477
  }
1493
1478
  }
1494
1479
  function triggerRef(ref2) {
1495
- triggerRefValue(ref2, 5, ref2.value );
1480
+ triggerRefValue(ref2, 4, ref2.value );
1496
1481
  }
1497
1482
  function unref(ref2) {
1498
1483
  return isRef(ref2) ? ref2.value : ref2;
@@ -5694,7 +5679,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5694
5679
  return vm;
5695
5680
  }
5696
5681
  }
5697
- Vue.version = `2.6.14-compat:${"3.4.30"}`;
5682
+ Vue.version = `2.6.14-compat:${"3.4.31"}`;
5698
5683
  Vue.config = singletonApp.config;
5699
5684
  Vue.use = (plugin, ...options) => {
5700
5685
  if (plugin && isFunction(plugin.install)) {
@@ -11405,7 +11390,7 @@ function isMemoSame(cached, memo) {
11405
11390
  return true;
11406
11391
  }
11407
11392
 
11408
- const version = "3.4.30";
11393
+ const version = "3.4.31";
11409
11394
  const warn = warn$1 ;
11410
11395
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11411
11396
  const devtools = devtools$1 ;