@vue/compat 3.5.10 → 3.5.11
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 +27 -27
- package/dist/vue.cjs.prod.js +27 -27
- package/dist/vue.esm-browser.js +27 -27
- package/dist/vue.esm-browser.prod.js +6 -6
- package/dist/vue.esm-bundler.js +27 -27
- package/dist/vue.global.js +27 -27
- package/dist/vue.global.prod.js +6 -6
- package/dist/vue.runtime.esm-browser.js +27 -27
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +27 -27
- package/dist/vue.runtime.global.js +27 -27
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.11
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -557,8 +557,14 @@ class ReactiveEffect {
|
|
|
557
557
|
}
|
|
558
558
|
let batchDepth = 0;
|
|
559
559
|
let batchedSub;
|
|
560
|
-
|
|
560
|
+
let batchedComputed;
|
|
561
|
+
function batch(sub, isComputed = false) {
|
|
561
562
|
sub.flags |= 8;
|
|
563
|
+
if (isComputed) {
|
|
564
|
+
sub.next = batchedComputed;
|
|
565
|
+
batchedComputed = sub;
|
|
566
|
+
return;
|
|
567
|
+
}
|
|
562
568
|
sub.next = batchedSub;
|
|
563
569
|
batchedSub = sub;
|
|
564
570
|
}
|
|
@@ -569,20 +575,22 @@ function endBatch() {
|
|
|
569
575
|
if (--batchDepth > 0) {
|
|
570
576
|
return;
|
|
571
577
|
}
|
|
578
|
+
if (batchedComputed) {
|
|
579
|
+
let e = batchedComputed;
|
|
580
|
+
batchedComputed = void 0;
|
|
581
|
+
while (e) {
|
|
582
|
+
const next = e.next;
|
|
583
|
+
e.next = void 0;
|
|
584
|
+
e.flags &= ~8;
|
|
585
|
+
e = next;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
572
588
|
let error;
|
|
573
589
|
while (batchedSub) {
|
|
574
590
|
let e = batchedSub;
|
|
575
|
-
let next;
|
|
576
|
-
while (e) {
|
|
577
|
-
if (!(e.flags & 1)) {
|
|
578
|
-
e.flags &= ~8;
|
|
579
|
-
}
|
|
580
|
-
e = e.next;
|
|
581
|
-
}
|
|
582
|
-
e = batchedSub;
|
|
583
591
|
batchedSub = void 0;
|
|
584
592
|
while (e) {
|
|
585
|
-
next = e.next;
|
|
593
|
+
const next = e.next;
|
|
586
594
|
e.next = void 0;
|
|
587
595
|
e.flags &= ~8;
|
|
588
596
|
if (e.flags & 1) {
|
|
@@ -778,7 +786,6 @@ class Dep {
|
|
|
778
786
|
/**
|
|
779
787
|
* For object property deps cleanup
|
|
780
788
|
*/
|
|
781
|
-
this.target = void 0;
|
|
782
789
|
this.map = void 0;
|
|
783
790
|
this.key = void 0;
|
|
784
791
|
/**
|
|
@@ -906,7 +913,6 @@ function track(target, type, key) {
|
|
|
906
913
|
let dep = depsMap.get(key);
|
|
907
914
|
if (!dep) {
|
|
908
915
|
depsMap.set(key, dep = new Dep());
|
|
909
|
-
dep.target = target;
|
|
910
916
|
dep.map = depsMap;
|
|
911
917
|
dep.key = key;
|
|
912
918
|
}
|
|
@@ -1952,7 +1958,7 @@ class ComputedRefImpl {
|
|
|
1952
1958
|
this.flags |= 16;
|
|
1953
1959
|
if (!(this.flags & 8) && // avoid infinite self recursion
|
|
1954
1960
|
activeSub !== this) {
|
|
1955
|
-
batch(this);
|
|
1961
|
+
batch(this, true);
|
|
1956
1962
|
return true;
|
|
1957
1963
|
} else if (!!(process.env.NODE_ENV !== "production")) ;
|
|
1958
1964
|
}
|
|
@@ -2479,10 +2485,8 @@ function logError(err, type, contextVNode, throwInDev = true, throwInProd = fals
|
|
|
2479
2485
|
}
|
|
2480
2486
|
}
|
|
2481
2487
|
|
|
2482
|
-
let isFlushing = false;
|
|
2483
|
-
let isFlushPending = false;
|
|
2484
2488
|
const queue = [];
|
|
2485
|
-
let flushIndex =
|
|
2489
|
+
let flushIndex = -1;
|
|
2486
2490
|
const pendingPostFlushCbs = [];
|
|
2487
2491
|
let activePostFlushCbs = null;
|
|
2488
2492
|
let postFlushIndex = 0;
|
|
@@ -2494,7 +2498,7 @@ function nextTick(fn) {
|
|
|
2494
2498
|
return fn ? p.then(this ? fn.bind(this) : fn) : p;
|
|
2495
2499
|
}
|
|
2496
2500
|
function findInsertionIndex(id) {
|
|
2497
|
-
let start =
|
|
2501
|
+
let start = flushIndex + 1;
|
|
2498
2502
|
let end = queue.length;
|
|
2499
2503
|
while (start < end) {
|
|
2500
2504
|
const middle = start + end >>> 1;
|
|
@@ -2523,8 +2527,7 @@ function queueJob(job) {
|
|
|
2523
2527
|
}
|
|
2524
2528
|
}
|
|
2525
2529
|
function queueFlush() {
|
|
2526
|
-
if (!
|
|
2527
|
-
isFlushPending = true;
|
|
2530
|
+
if (!currentFlushPromise) {
|
|
2528
2531
|
currentFlushPromise = resolvedPromise.then(flushJobs);
|
|
2529
2532
|
}
|
|
2530
2533
|
}
|
|
@@ -2541,7 +2544,7 @@ function queuePostFlushCb(cb) {
|
|
|
2541
2544
|
}
|
|
2542
2545
|
queueFlush();
|
|
2543
2546
|
}
|
|
2544
|
-
function flushPreFlushCbs(instance, seen, i =
|
|
2547
|
+
function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
|
|
2545
2548
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
2546
2549
|
seen = seen || /* @__PURE__ */ new Map();
|
|
2547
2550
|
}
|
|
@@ -2597,8 +2600,6 @@ function flushPostFlushCbs(seen) {
|
|
|
2597
2600
|
}
|
|
2598
2601
|
const getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;
|
|
2599
2602
|
function flushJobs(seen) {
|
|
2600
|
-
isFlushPending = false;
|
|
2601
|
-
isFlushing = true;
|
|
2602
2603
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
2603
2604
|
seen = seen || /* @__PURE__ */ new Map();
|
|
2604
2605
|
}
|
|
@@ -2630,10 +2631,9 @@ function flushJobs(seen) {
|
|
|
2630
2631
|
job.flags &= ~1;
|
|
2631
2632
|
}
|
|
2632
2633
|
}
|
|
2633
|
-
flushIndex =
|
|
2634
|
+
flushIndex = -1;
|
|
2634
2635
|
queue.length = 0;
|
|
2635
2636
|
flushPostFlushCbs(seen);
|
|
2636
|
-
isFlushing = false;
|
|
2637
2637
|
currentFlushPromise = null;
|
|
2638
2638
|
if (queue.length || pendingPostFlushCbs.length) {
|
|
2639
2639
|
flushJobs(seen);
|
|
@@ -7131,7 +7131,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7131
7131
|
return vm;
|
|
7132
7132
|
}
|
|
7133
7133
|
}
|
|
7134
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7134
|
+
Vue.version = `2.6.14-compat:${"3.5.11"}`;
|
|
7135
7135
|
Vue.config = singletonApp.config;
|
|
7136
7136
|
Vue.use = (plugin, ...options) => {
|
|
7137
7137
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12300,7 +12300,7 @@ function isMemoSame(cached, memo) {
|
|
|
12300
12300
|
return true;
|
|
12301
12301
|
}
|
|
12302
12302
|
|
|
12303
|
-
const version = "3.5.
|
|
12303
|
+
const version = "3.5.11";
|
|
12304
12304
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
12305
12305
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12306
12306
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.11
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -560,8 +560,14 @@ var Vue = (function () {
|
|
|
560
560
|
}
|
|
561
561
|
let batchDepth = 0;
|
|
562
562
|
let batchedSub;
|
|
563
|
-
|
|
563
|
+
let batchedComputed;
|
|
564
|
+
function batch(sub, isComputed = false) {
|
|
564
565
|
sub.flags |= 8;
|
|
566
|
+
if (isComputed) {
|
|
567
|
+
sub.next = batchedComputed;
|
|
568
|
+
batchedComputed = sub;
|
|
569
|
+
return;
|
|
570
|
+
}
|
|
565
571
|
sub.next = batchedSub;
|
|
566
572
|
batchedSub = sub;
|
|
567
573
|
}
|
|
@@ -572,20 +578,22 @@ var Vue = (function () {
|
|
|
572
578
|
if (--batchDepth > 0) {
|
|
573
579
|
return;
|
|
574
580
|
}
|
|
581
|
+
if (batchedComputed) {
|
|
582
|
+
let e = batchedComputed;
|
|
583
|
+
batchedComputed = void 0;
|
|
584
|
+
while (e) {
|
|
585
|
+
const next = e.next;
|
|
586
|
+
e.next = void 0;
|
|
587
|
+
e.flags &= ~8;
|
|
588
|
+
e = next;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
575
591
|
let error;
|
|
576
592
|
while (batchedSub) {
|
|
577
593
|
let e = batchedSub;
|
|
578
|
-
let next;
|
|
579
|
-
while (e) {
|
|
580
|
-
if (!(e.flags & 1)) {
|
|
581
|
-
e.flags &= ~8;
|
|
582
|
-
}
|
|
583
|
-
e = e.next;
|
|
584
|
-
}
|
|
585
|
-
e = batchedSub;
|
|
586
594
|
batchedSub = void 0;
|
|
587
595
|
while (e) {
|
|
588
|
-
next = e.next;
|
|
596
|
+
const next = e.next;
|
|
589
597
|
e.next = void 0;
|
|
590
598
|
e.flags &= ~8;
|
|
591
599
|
if (e.flags & 1) {
|
|
@@ -781,7 +789,6 @@ var Vue = (function () {
|
|
|
781
789
|
/**
|
|
782
790
|
* For object property deps cleanup
|
|
783
791
|
*/
|
|
784
|
-
this.target = void 0;
|
|
785
792
|
this.map = void 0;
|
|
786
793
|
this.key = void 0;
|
|
787
794
|
/**
|
|
@@ -909,7 +916,6 @@ var Vue = (function () {
|
|
|
909
916
|
let dep = depsMap.get(key);
|
|
910
917
|
if (!dep) {
|
|
911
918
|
depsMap.set(key, dep = new Dep());
|
|
912
|
-
dep.target = target;
|
|
913
919
|
dep.map = depsMap;
|
|
914
920
|
dep.key = key;
|
|
915
921
|
}
|
|
@@ -1945,7 +1951,7 @@ var Vue = (function () {
|
|
|
1945
1951
|
this.flags |= 16;
|
|
1946
1952
|
if (!(this.flags & 8) && // avoid infinite self recursion
|
|
1947
1953
|
activeSub !== this) {
|
|
1948
|
-
batch(this);
|
|
1954
|
+
batch(this, true);
|
|
1949
1955
|
return true;
|
|
1950
1956
|
}
|
|
1951
1957
|
}
|
|
@@ -2467,10 +2473,8 @@ var Vue = (function () {
|
|
|
2467
2473
|
}
|
|
2468
2474
|
}
|
|
2469
2475
|
|
|
2470
|
-
let isFlushing = false;
|
|
2471
|
-
let isFlushPending = false;
|
|
2472
2476
|
const queue = [];
|
|
2473
|
-
let flushIndex =
|
|
2477
|
+
let flushIndex = -1;
|
|
2474
2478
|
const pendingPostFlushCbs = [];
|
|
2475
2479
|
let activePostFlushCbs = null;
|
|
2476
2480
|
let postFlushIndex = 0;
|
|
@@ -2482,7 +2486,7 @@ var Vue = (function () {
|
|
|
2482
2486
|
return fn ? p.then(this ? fn.bind(this) : fn) : p;
|
|
2483
2487
|
}
|
|
2484
2488
|
function findInsertionIndex(id) {
|
|
2485
|
-
let start =
|
|
2489
|
+
let start = flushIndex + 1;
|
|
2486
2490
|
let end = queue.length;
|
|
2487
2491
|
while (start < end) {
|
|
2488
2492
|
const middle = start + end >>> 1;
|
|
@@ -2511,8 +2515,7 @@ var Vue = (function () {
|
|
|
2511
2515
|
}
|
|
2512
2516
|
}
|
|
2513
2517
|
function queueFlush() {
|
|
2514
|
-
if (!
|
|
2515
|
-
isFlushPending = true;
|
|
2518
|
+
if (!currentFlushPromise) {
|
|
2516
2519
|
currentFlushPromise = resolvedPromise.then(flushJobs);
|
|
2517
2520
|
}
|
|
2518
2521
|
}
|
|
@@ -2529,7 +2532,7 @@ var Vue = (function () {
|
|
|
2529
2532
|
}
|
|
2530
2533
|
queueFlush();
|
|
2531
2534
|
}
|
|
2532
|
-
function flushPreFlushCbs(instance, seen, i =
|
|
2535
|
+
function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
|
|
2533
2536
|
{
|
|
2534
2537
|
seen = seen || /* @__PURE__ */ new Map();
|
|
2535
2538
|
}
|
|
@@ -2585,8 +2588,6 @@ var Vue = (function () {
|
|
|
2585
2588
|
}
|
|
2586
2589
|
const getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;
|
|
2587
2590
|
function flushJobs(seen) {
|
|
2588
|
-
isFlushPending = false;
|
|
2589
|
-
isFlushing = true;
|
|
2590
2591
|
{
|
|
2591
2592
|
seen = seen || /* @__PURE__ */ new Map();
|
|
2592
2593
|
}
|
|
@@ -2618,10 +2619,9 @@ var Vue = (function () {
|
|
|
2618
2619
|
job.flags &= ~1;
|
|
2619
2620
|
}
|
|
2620
2621
|
}
|
|
2621
|
-
flushIndex =
|
|
2622
|
+
flushIndex = -1;
|
|
2622
2623
|
queue.length = 0;
|
|
2623
2624
|
flushPostFlushCbs(seen);
|
|
2624
|
-
isFlushing = false;
|
|
2625
2625
|
currentFlushPromise = null;
|
|
2626
2626
|
if (queue.length || pendingPostFlushCbs.length) {
|
|
2627
2627
|
flushJobs(seen);
|
|
@@ -7093,7 +7093,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
7093
7093
|
return vm;
|
|
7094
7094
|
}
|
|
7095
7095
|
}
|
|
7096
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7096
|
+
Vue.version = `2.6.14-compat:${"3.5.11"}`;
|
|
7097
7097
|
Vue.config = singletonApp.config;
|
|
7098
7098
|
Vue.use = (plugin, ...options) => {
|
|
7099
7099
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12171,7 +12171,7 @@ Component that was made reactive: `,
|
|
|
12171
12171
|
return true;
|
|
12172
12172
|
}
|
|
12173
12173
|
|
|
12174
|
-
const version = "3.5.
|
|
12174
|
+
const version = "3.5.11";
|
|
12175
12175
|
const warn = warn$1 ;
|
|
12176
12176
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12177
12177
|
const devtools = devtools$1 ;
|