4/5/1404
This commit is contained in:
+2
-7
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.18
|
||||
* @vue/reactivity v3.5.14
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -491,7 +491,6 @@ class Link {
|
||||
}
|
||||
}
|
||||
class Dep {
|
||||
// TODO isolatedDeclarations "__v_skip"
|
||||
constructor(computed) {
|
||||
this.computed = computed;
|
||||
this.version = 0;
|
||||
@@ -512,10 +511,6 @@ class Dep {
|
||||
* Subscriber counter
|
||||
*/
|
||||
this.sc = 0;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
this.__v_skip = true;
|
||||
}
|
||||
track(debugInfo) {
|
||||
if (!activeSub || !shouldTrack || activeSub === this.computed) {
|
||||
@@ -1675,11 +1670,11 @@ function watch(source, cb, options = shared.EMPTY_OBJ) {
|
||||
oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
|
||||
boundCleanup
|
||||
];
|
||||
oldValue = newValue;
|
||||
call ? call(cb, 3, args) : (
|
||||
// @ts-expect-error
|
||||
cb(...args)
|
||||
);
|
||||
oldValue = newValue;
|
||||
} finally {
|
||||
activeWatcher = currentWatcher;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/reactivity",
|
||||
"version": "3.5.18",
|
||||
"version": "3.5.14",
|
||||
"description": "@vue/reactivity",
|
||||
"main": "index.js",
|
||||
"module": "dist/reactivity.esm-bundler.js",
|
||||
@@ -50,6 +50,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.5.18"
|
||||
"@vue/shared": "3.5.14"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user