@vue/compat 3.6.0-beta.11 → 3.6.0-beta.12
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 +23 -15
- package/dist/vue.cjs.prod.js +23 -15
- package/dist/vue.esm-browser.js +23 -15
- package/dist/vue.esm-browser.prod.js +6 -6
- package/dist/vue.esm-bundler.js +23 -15
- package/dist/vue.global.js +23 -15
- package/dist/vue.global.prod.js +6 -6
- package/dist/vue.runtime.esm-browser.js +23 -15
- package/dist/vue.runtime.esm-browser.prod.js +6 -6
- package/dist/vue.runtime.esm-bundler.js +23 -15
- package/dist/vue.runtime.global.js +23 -15
- package/dist/vue.runtime.global.prod.js +6 -6
- package/package.json +2 -2
package/dist/vue.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -566,6 +566,13 @@ function warn$2(msg, ...args) {
|
|
|
566
566
|
const notifyBuffer = [];
|
|
567
567
|
let batchDepth = 0;
|
|
568
568
|
let activeSub = void 0;
|
|
569
|
+
let runDepth = 0;
|
|
570
|
+
function incRunDepth() {
|
|
571
|
+
++runDepth;
|
|
572
|
+
}
|
|
573
|
+
function decRunDepth() {
|
|
574
|
+
--runDepth;
|
|
575
|
+
}
|
|
569
576
|
let globalVersion = 0;
|
|
570
577
|
let notifyIndex = 0;
|
|
571
578
|
let notifyBufferLength = 0;
|
|
@@ -639,8 +646,10 @@ function propagate(link) {
|
|
|
639
646
|
const sub = link.sub;
|
|
640
647
|
let flags = sub.flags;
|
|
641
648
|
if (flags & 3) {
|
|
642
|
-
if (!(flags & 60))
|
|
643
|
-
|
|
649
|
+
if (!(flags & 60)) {
|
|
650
|
+
sub.flags = flags | 32;
|
|
651
|
+
if (runDepth) sub.flags |= 8;
|
|
652
|
+
} else if (!(flags & 12)) flags = 0;
|
|
644
653
|
else if (!(flags & 4)) sub.flags = flags & -9 | 32;
|
|
645
654
|
else if (!(flags & 48) && isValidLink(link, sub)) {
|
|
646
655
|
sub.flags = flags | 40;
|
|
@@ -709,13 +718,13 @@ function checkDirty(link, sub) {
|
|
|
709
718
|
let dirty = false;
|
|
710
719
|
if (sub.flags & 16) dirty = true;
|
|
711
720
|
else if ((depFlags & 17) === 17) {
|
|
721
|
+
const subs = dep.subs;
|
|
712
722
|
if (dep.update()) {
|
|
713
|
-
const subs = dep.subs;
|
|
714
723
|
if (subs.nextSub !== void 0) shallowPropagate(subs);
|
|
715
724
|
dirty = true;
|
|
716
725
|
}
|
|
717
726
|
} else if ((depFlags & 33) === 33) {
|
|
718
|
-
|
|
727
|
+
stack = {
|
|
719
728
|
value: link,
|
|
720
729
|
prev: stack
|
|
721
730
|
};
|
|
@@ -730,15 +739,12 @@ function checkDirty(link, sub) {
|
|
|
730
739
|
}
|
|
731
740
|
while (checkDepth) {
|
|
732
741
|
--checkDepth;
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
if (hasMultipleSubs) {
|
|
736
|
-
link = stack.value;
|
|
737
|
-
stack = stack.prev;
|
|
738
|
-
} else link = firstSub;
|
|
742
|
+
link = stack.value;
|
|
743
|
+
stack = stack.prev;
|
|
739
744
|
if (dirty) {
|
|
745
|
+
const subs = sub.subs;
|
|
740
746
|
if (sub.update()) {
|
|
741
|
-
if (
|
|
747
|
+
if (subs.nextSub !== void 0) shallowPropagate(subs);
|
|
742
748
|
sub = link.sub;
|
|
743
749
|
continue;
|
|
744
750
|
}
|
|
@@ -750,7 +756,7 @@ function checkDirty(link, sub) {
|
|
|
750
756
|
}
|
|
751
757
|
dirty = false;
|
|
752
758
|
}
|
|
753
|
-
return dirty;
|
|
759
|
+
return dirty && !!sub.flags;
|
|
754
760
|
} while (true);
|
|
755
761
|
}
|
|
756
762
|
function shallowPropagate(link) {
|
|
@@ -1902,9 +1908,11 @@ var ReactiveEffect = class {
|
|
|
1902
1908
|
if (!this.active) return this.fn();
|
|
1903
1909
|
cleanup(this);
|
|
1904
1910
|
const prevSub = startTracking(this);
|
|
1911
|
+
incRunDepth();
|
|
1905
1912
|
try {
|
|
1906
1913
|
return this.fn();
|
|
1907
1914
|
} finally {
|
|
1915
|
+
decRunDepth();
|
|
1908
1916
|
endTracking(this, prevSub);
|
|
1909
1917
|
const flags = this.flags;
|
|
1910
1918
|
if ((flags & 136) === 136) {
|
|
@@ -6323,7 +6331,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6323
6331
|
if (options.el) return vm.$mount(options.el);
|
|
6324
6332
|
else return vm;
|
|
6325
6333
|
}
|
|
6326
|
-
Vue.version = `2.6.14-compat:3.6.0-beta.
|
|
6334
|
+
Vue.version = `2.6.14-compat:3.6.0-beta.12`;
|
|
6327
6335
|
Vue.config = singletonApp.config;
|
|
6328
6336
|
Vue.use = (plugin, ...options) => {
|
|
6329
6337
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -9787,7 +9795,7 @@ function isMemoSame(cached, memo) {
|
|
|
9787
9795
|
}
|
|
9788
9796
|
//#endregion
|
|
9789
9797
|
//#region packages/runtime-core/src/index.ts
|
|
9790
|
-
const version = "3.6.0-beta.
|
|
9798
|
+
const version = "3.6.0-beta.12";
|
|
9791
9799
|
const warn = warn$1;
|
|
9792
9800
|
/**
|
|
9793
9801
|
* Runtime error messages. Only exposed in dev or esm builds.
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -432,6 +432,13 @@ function getSequence(arr) {
|
|
|
432
432
|
const notifyBuffer = [];
|
|
433
433
|
let batchDepth = 0;
|
|
434
434
|
let activeSub = void 0;
|
|
435
|
+
let runDepth = 0;
|
|
436
|
+
function incRunDepth() {
|
|
437
|
+
++runDepth;
|
|
438
|
+
}
|
|
439
|
+
function decRunDepth() {
|
|
440
|
+
--runDepth;
|
|
441
|
+
}
|
|
435
442
|
let globalVersion = 0;
|
|
436
443
|
let notifyIndex = 0;
|
|
437
444
|
let notifyBufferLength = 0;
|
|
@@ -505,8 +512,10 @@ function propagate(link) {
|
|
|
505
512
|
const sub = link.sub;
|
|
506
513
|
let flags = sub.flags;
|
|
507
514
|
if (flags & 3) {
|
|
508
|
-
if (!(flags & 60))
|
|
509
|
-
|
|
515
|
+
if (!(flags & 60)) {
|
|
516
|
+
sub.flags = flags | 32;
|
|
517
|
+
if (runDepth) sub.flags |= 8;
|
|
518
|
+
} else if (!(flags & 12)) flags = 0;
|
|
510
519
|
else if (!(flags & 4)) sub.flags = flags & -9 | 32;
|
|
511
520
|
else if (!(flags & 48) && isValidLink(link, sub)) {
|
|
512
521
|
sub.flags = flags | 40;
|
|
@@ -574,13 +583,13 @@ function checkDirty(link, sub) {
|
|
|
574
583
|
let dirty = false;
|
|
575
584
|
if (sub.flags & 16) dirty = true;
|
|
576
585
|
else if ((depFlags & 17) === 17) {
|
|
586
|
+
const subs = dep.subs;
|
|
577
587
|
if (dep.update()) {
|
|
578
|
-
const subs = dep.subs;
|
|
579
588
|
if (subs.nextSub !== void 0) shallowPropagate(subs);
|
|
580
589
|
dirty = true;
|
|
581
590
|
}
|
|
582
591
|
} else if ((depFlags & 33) === 33) {
|
|
583
|
-
|
|
592
|
+
stack = {
|
|
584
593
|
value: link,
|
|
585
594
|
prev: stack
|
|
586
595
|
};
|
|
@@ -595,15 +604,12 @@ function checkDirty(link, sub) {
|
|
|
595
604
|
}
|
|
596
605
|
while (checkDepth) {
|
|
597
606
|
--checkDepth;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
if (hasMultipleSubs) {
|
|
601
|
-
link = stack.value;
|
|
602
|
-
stack = stack.prev;
|
|
603
|
-
} else link = firstSub;
|
|
607
|
+
link = stack.value;
|
|
608
|
+
stack = stack.prev;
|
|
604
609
|
if (dirty) {
|
|
610
|
+
const subs = sub.subs;
|
|
605
611
|
if (sub.update()) {
|
|
606
|
-
if (
|
|
612
|
+
if (subs.nextSub !== void 0) shallowPropagate(subs);
|
|
607
613
|
sub = link.sub;
|
|
608
614
|
continue;
|
|
609
615
|
}
|
|
@@ -615,7 +621,7 @@ function checkDirty(link, sub) {
|
|
|
615
621
|
}
|
|
616
622
|
dirty = false;
|
|
617
623
|
}
|
|
618
|
-
return dirty;
|
|
624
|
+
return dirty && !!sub.flags;
|
|
619
625
|
} while (true);
|
|
620
626
|
}
|
|
621
627
|
function shallowPropagate(link) {
|
|
@@ -1720,9 +1726,11 @@ var ReactiveEffect = class {
|
|
|
1720
1726
|
if (!this.active) return this.fn();
|
|
1721
1727
|
cleanup(this);
|
|
1722
1728
|
const prevSub = startTracking(this);
|
|
1729
|
+
incRunDepth();
|
|
1723
1730
|
try {
|
|
1724
1731
|
return this.fn();
|
|
1725
1732
|
} finally {
|
|
1733
|
+
decRunDepth();
|
|
1726
1734
|
endTracking(this, prevSub);
|
|
1727
1735
|
const flags = this.flags;
|
|
1728
1736
|
if ((flags & 136) === 136) {
|
|
@@ -5244,7 +5252,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5244
5252
|
if (options.el) return vm.$mount(options.el);
|
|
5245
5253
|
else return vm;
|
|
5246
5254
|
}
|
|
5247
|
-
Vue.version = `2.6.14-compat:3.6.0-beta.
|
|
5255
|
+
Vue.version = `2.6.14-compat:3.6.0-beta.12`;
|
|
5248
5256
|
Vue.config = singletonApp.config;
|
|
5249
5257
|
Vue.use = (plugin, ...options) => {
|
|
5250
5258
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -8010,7 +8018,7 @@ function isMemoSame(cached, memo) {
|
|
|
8010
8018
|
}
|
|
8011
8019
|
//#endregion
|
|
8012
8020
|
//#region packages/runtime-core/src/index.ts
|
|
8013
|
-
const version = "3.6.0-beta.
|
|
8021
|
+
const version = "3.6.0-beta.12";
|
|
8014
8022
|
const warn = NOOP;
|
|
8015
8023
|
/**
|
|
8016
8024
|
* Runtime error messages. Only exposed in dev or esm builds.
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -521,6 +521,13 @@ function warn$2(msg, ...args) {
|
|
|
521
521
|
const notifyBuffer = [];
|
|
522
522
|
let batchDepth = 0;
|
|
523
523
|
let activeSub = void 0;
|
|
524
|
+
let runDepth = 0;
|
|
525
|
+
function incRunDepth() {
|
|
526
|
+
++runDepth;
|
|
527
|
+
}
|
|
528
|
+
function decRunDepth() {
|
|
529
|
+
--runDepth;
|
|
530
|
+
}
|
|
524
531
|
let globalVersion = 0;
|
|
525
532
|
let notifyIndex = 0;
|
|
526
533
|
let notifyBufferLength = 0;
|
|
@@ -594,8 +601,10 @@ function propagate(link) {
|
|
|
594
601
|
const sub = link.sub;
|
|
595
602
|
let flags = sub.flags;
|
|
596
603
|
if (flags & 3) {
|
|
597
|
-
if (!(flags & 60))
|
|
598
|
-
|
|
604
|
+
if (!(flags & 60)) {
|
|
605
|
+
sub.flags = flags | 32;
|
|
606
|
+
if (runDepth) sub.flags |= 8;
|
|
607
|
+
} else if (!(flags & 12)) flags = 0;
|
|
599
608
|
else if (!(flags & 4)) sub.flags = flags & -9 | 32;
|
|
600
609
|
else if (!(flags & 48) && isValidLink(link, sub)) {
|
|
601
610
|
sub.flags = flags | 40;
|
|
@@ -664,13 +673,13 @@ function checkDirty(link, sub) {
|
|
|
664
673
|
let dirty = false;
|
|
665
674
|
if (sub.flags & 16) dirty = true;
|
|
666
675
|
else if ((depFlags & 17) === 17) {
|
|
676
|
+
const subs = dep.subs;
|
|
667
677
|
if (dep.update()) {
|
|
668
|
-
const subs = dep.subs;
|
|
669
678
|
if (subs.nextSub !== void 0) shallowPropagate(subs);
|
|
670
679
|
dirty = true;
|
|
671
680
|
}
|
|
672
681
|
} else if ((depFlags & 33) === 33) {
|
|
673
|
-
|
|
682
|
+
stack = {
|
|
674
683
|
value: link,
|
|
675
684
|
prev: stack
|
|
676
685
|
};
|
|
@@ -685,15 +694,12 @@ function checkDirty(link, sub) {
|
|
|
685
694
|
}
|
|
686
695
|
while (checkDepth) {
|
|
687
696
|
--checkDepth;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
if (hasMultipleSubs) {
|
|
691
|
-
link = stack.value;
|
|
692
|
-
stack = stack.prev;
|
|
693
|
-
} else link = firstSub;
|
|
697
|
+
link = stack.value;
|
|
698
|
+
stack = stack.prev;
|
|
694
699
|
if (dirty) {
|
|
700
|
+
const subs = sub.subs;
|
|
695
701
|
if (sub.update()) {
|
|
696
|
-
if (
|
|
702
|
+
if (subs.nextSub !== void 0) shallowPropagate(subs);
|
|
697
703
|
sub = link.sub;
|
|
698
704
|
continue;
|
|
699
705
|
}
|
|
@@ -705,7 +711,7 @@ function checkDirty(link, sub) {
|
|
|
705
711
|
}
|
|
706
712
|
dirty = false;
|
|
707
713
|
}
|
|
708
|
-
return dirty;
|
|
714
|
+
return dirty && !!sub.flags;
|
|
709
715
|
} while (true);
|
|
710
716
|
}
|
|
711
717
|
function shallowPropagate(link) {
|
|
@@ -1857,9 +1863,11 @@ var ReactiveEffect = class {
|
|
|
1857
1863
|
if (!this.active) return this.fn();
|
|
1858
1864
|
cleanup(this);
|
|
1859
1865
|
const prevSub = startTracking(this);
|
|
1866
|
+
incRunDepth();
|
|
1860
1867
|
try {
|
|
1861
1868
|
return this.fn();
|
|
1862
1869
|
} finally {
|
|
1870
|
+
decRunDepth();
|
|
1863
1871
|
endTracking(this, prevSub);
|
|
1864
1872
|
const flags = this.flags;
|
|
1865
1873
|
if ((flags & 136) === 136) {
|
|
@@ -6255,7 +6263,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6255
6263
|
if (options.el) return vm.$mount(options.el);
|
|
6256
6264
|
else return vm;
|
|
6257
6265
|
}
|
|
6258
|
-
Vue.version = `2.6.14-compat:3.6.0-beta.
|
|
6266
|
+
Vue.version = `2.6.14-compat:3.6.0-beta.12`;
|
|
6259
6267
|
Vue.config = singletonApp.config;
|
|
6260
6268
|
Vue.use = (plugin, ...options) => {
|
|
6261
6269
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -9709,7 +9717,7 @@ function isMemoSame(cached, memo) {
|
|
|
9709
9717
|
}
|
|
9710
9718
|
//#endregion
|
|
9711
9719
|
//#region packages/runtime-core/src/index.ts
|
|
9712
|
-
const version = "3.6.0-beta.
|
|
9720
|
+
const version = "3.6.0-beta.12";
|
|
9713
9721
|
const warn = warn$1;
|
|
9714
9722
|
/**
|
|
9715
9723
|
* Runtime error messages. Only exposed in dev or esm builds.
|