vue 3.4.4 → 3.4.5
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.esm-browser.js +4 -3
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.global.js +4 -3
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +4 -3
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.global.js +4 -3
- package/dist/vue.runtime.global.prod.js +5 -5
- package/package.json +11 -7
package/dist/vue.esm-browser.js
CHANGED
|
@@ -3471,10 +3471,11 @@ function doWatch(source, cb, {
|
|
|
3471
3471
|
scheduler = () => queueJob(job);
|
|
3472
3472
|
}
|
|
3473
3473
|
const effect = new ReactiveEffect(getter, NOOP, scheduler);
|
|
3474
|
+
const scope = getCurrentScope();
|
|
3474
3475
|
const unwatch = () => {
|
|
3475
3476
|
effect.stop();
|
|
3476
|
-
if (
|
|
3477
|
-
remove(
|
|
3477
|
+
if (scope) {
|
|
3478
|
+
remove(scope.effects, effect);
|
|
3478
3479
|
}
|
|
3479
3480
|
};
|
|
3480
3481
|
{
|
|
@@ -9489,7 +9490,7 @@ function isMemoSame(cached, memo) {
|
|
|
9489
9490
|
return true;
|
|
9490
9491
|
}
|
|
9491
9492
|
|
|
9492
|
-
const version = "3.4.
|
|
9493
|
+
const version = "3.4.5";
|
|
9493
9494
|
const warn = warn$1 ;
|
|
9494
9495
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9495
9496
|
const devtools = devtools$1 ;
|