@vue/runtime-dom 3.5.7 → 3.5.8
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/runtime-dom.cjs.js +1 -1
- package/dist/runtime-dom.cjs.prod.js +1 -1
- package/dist/runtime-dom.esm-browser.js +5 -5
- package/dist/runtime-dom.esm-browser.prod.js +2 -2
- package/dist/runtime-dom.esm-bundler.js +1 -1
- package/dist/runtime-dom.global.js +5 -5
- package/dist/runtime-dom.global.prod.js +2 -2
- package/package.json +4 -4
package/dist/runtime-dom.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.5.
|
|
2
|
+
* @vue/runtime-dom v3.5.8
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -597,7 +597,7 @@ function prepareDeps(sub) {
|
|
|
597
597
|
link.dep.activeLink = link;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function cleanupDeps(sub) {
|
|
600
|
+
function cleanupDeps(sub, fromComputed = false) {
|
|
601
601
|
let head;
|
|
602
602
|
let tail = sub.depsTail;
|
|
603
603
|
let link = tail;
|
|
@@ -605,7 +605,7 @@ function cleanupDeps(sub) {
|
|
|
605
605
|
const prev = link.prevDep;
|
|
606
606
|
if (link.version === -1) {
|
|
607
607
|
if (link === tail) tail = prev;
|
|
608
|
-
removeSub(link);
|
|
608
|
+
removeSub(link, fromComputed);
|
|
609
609
|
removeDep(link);
|
|
610
610
|
} else {
|
|
611
611
|
head = link;
|
|
@@ -660,7 +660,7 @@ function refreshComputed(computed) {
|
|
|
660
660
|
} finally {
|
|
661
661
|
activeSub = prevSub;
|
|
662
662
|
shouldTrack = prevShouldTrack;
|
|
663
|
-
cleanupDeps(computed);
|
|
663
|
+
cleanupDeps(computed, true);
|
|
664
664
|
computed.flags &= ~2;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
@@ -10436,7 +10436,7 @@ function isMemoSame(cached, memo) {
|
|
|
10436
10436
|
return true;
|
|
10437
10437
|
}
|
|
10438
10438
|
|
|
10439
|
-
const version = "3.5.
|
|
10439
|
+
const version = "3.5.8";
|
|
10440
10440
|
const warn = warn$1 ;
|
|
10441
10441
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10442
10442
|
const devtools = devtools$1 ;
|