gitea push
This commit is contained in:
+18
-8
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.33
|
||||
* @vue/reactivity v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -35,12 +35,18 @@ class EffectScope {
|
||||
*/
|
||||
this.cleanups = [];
|
||||
this._isPaused = false;
|
||||
this._warnOnRun = true;
|
||||
this.__v_skip = true;
|
||||
this.parent = activeEffectScope;
|
||||
if (!detached && activeEffectScope) {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
if (activeEffectScope.active) {
|
||||
this.parent = activeEffectScope;
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
} else {
|
||||
this._active = false;
|
||||
this._warnOnRun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
@@ -88,7 +94,7 @@ class EffectScope {
|
||||
} finally {
|
||||
activeEffectScope = currentEffectScope;
|
||||
}
|
||||
} else {
|
||||
} else if (this._warnOnRun) {
|
||||
warn(`cannot run an inactive effect scope.`);
|
||||
}
|
||||
}
|
||||
@@ -212,8 +218,12 @@ class ReactiveEffect {
|
||||
*/
|
||||
this.cleanup = void 0;
|
||||
this.scheduler = void 0;
|
||||
if (activeEffectScope && activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
if (activeEffectScope) {
|
||||
if (activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
} else {
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
pause() {
|
||||
|
||||
+17
-7
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.33
|
||||
* @vue/reactivity v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -31,12 +31,18 @@ class EffectScope {
|
||||
*/
|
||||
this.cleanups = [];
|
||||
this._isPaused = false;
|
||||
this._warnOnRun = true;
|
||||
this.__v_skip = true;
|
||||
this.parent = activeEffectScope;
|
||||
if (!detached && activeEffectScope) {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
if (activeEffectScope.active) {
|
||||
this.parent = activeEffectScope;
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
} else {
|
||||
this._active = false;
|
||||
this._warnOnRun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
@@ -202,8 +208,12 @@ class ReactiveEffect {
|
||||
*/
|
||||
this.cleanup = void 0;
|
||||
this.scheduler = void 0;
|
||||
if (activeEffectScope && activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
if (activeEffectScope) {
|
||||
if (activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
} else {
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
pause() {
|
||||
|
||||
+1
@@ -663,6 +663,7 @@ export declare function trigger(target: object, type: TriggerOpTypes, key?: unkn
|
||||
export declare class EffectScope {
|
||||
detached: boolean;
|
||||
private _isPaused;
|
||||
private _warnOnRun;
|
||||
readonly __v_skip = true;
|
||||
constructor(detached?: boolean);
|
||||
get active(): boolean;
|
||||
|
||||
+18
-8
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.33
|
||||
* @vue/reactivity v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -82,12 +82,18 @@ class EffectScope {
|
||||
*/
|
||||
this.cleanups = [];
|
||||
this._isPaused = false;
|
||||
this._warnOnRun = true;
|
||||
this.__v_skip = true;
|
||||
this.parent = activeEffectScope;
|
||||
if (!detached && activeEffectScope) {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
if (activeEffectScope.active) {
|
||||
this.parent = activeEffectScope;
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
} else {
|
||||
this._active = false;
|
||||
this._warnOnRun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
@@ -135,7 +141,7 @@ class EffectScope {
|
||||
} finally {
|
||||
activeEffectScope = currentEffectScope;
|
||||
}
|
||||
} else {
|
||||
} else if (this._warnOnRun) {
|
||||
warn(`cannot run an inactive effect scope.`);
|
||||
}
|
||||
}
|
||||
@@ -259,8 +265,12 @@ class ReactiveEffect {
|
||||
*/
|
||||
this.cleanup = void 0;
|
||||
this.scheduler = void 0;
|
||||
if (activeEffectScope && activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
if (activeEffectScope) {
|
||||
if (activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
} else {
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
pause() {
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+18
-8
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.33
|
||||
* @vue/reactivity v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -31,12 +31,18 @@ class EffectScope {
|
||||
*/
|
||||
this.cleanups = [];
|
||||
this._isPaused = false;
|
||||
this._warnOnRun = true;
|
||||
this.__v_skip = true;
|
||||
this.parent = activeEffectScope;
|
||||
if (!detached && activeEffectScope) {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
if (activeEffectScope.active) {
|
||||
this.parent = activeEffectScope;
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
} else {
|
||||
this._active = false;
|
||||
this._warnOnRun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
@@ -84,7 +90,7 @@ class EffectScope {
|
||||
} finally {
|
||||
activeEffectScope = currentEffectScope;
|
||||
}
|
||||
} else if (!!(process.env.NODE_ENV !== "production")) {
|
||||
} else if (!!(process.env.NODE_ENV !== "production") && this._warnOnRun) {
|
||||
warn(`cannot run an inactive effect scope.`);
|
||||
}
|
||||
}
|
||||
@@ -208,8 +214,12 @@ class ReactiveEffect {
|
||||
*/
|
||||
this.cleanup = void 0;
|
||||
this.scheduler = void 0;
|
||||
if (activeEffectScope && activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
if (activeEffectScope) {
|
||||
if (activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
} else {
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
pause() {
|
||||
|
||||
+18
-8
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.33
|
||||
* @vue/reactivity v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -85,12 +85,18 @@ var VueReactivity = (function (exports) {
|
||||
*/
|
||||
this.cleanups = [];
|
||||
this._isPaused = false;
|
||||
this._warnOnRun = true;
|
||||
this.__v_skip = true;
|
||||
this.parent = activeEffectScope;
|
||||
if (!detached && activeEffectScope) {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
if (activeEffectScope.active) {
|
||||
this.parent = activeEffectScope;
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
} else {
|
||||
this._active = false;
|
||||
this._warnOnRun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
@@ -138,7 +144,7 @@ var VueReactivity = (function (exports) {
|
||||
} finally {
|
||||
activeEffectScope = currentEffectScope;
|
||||
}
|
||||
} else {
|
||||
} else if (this._warnOnRun) {
|
||||
warn(`cannot run an inactive effect scope.`);
|
||||
}
|
||||
}
|
||||
@@ -262,8 +268,12 @@ var VueReactivity = (function (exports) {
|
||||
*/
|
||||
this.cleanup = void 0;
|
||||
this.scheduler = void 0;
|
||||
if (activeEffectScope && activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
if (activeEffectScope) {
|
||||
if (activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
} else {
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
pause() {
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/reactivity",
|
||||
"version": "3.5.33",
|
||||
"version": "3.5.34",
|
||||
"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.33"
|
||||
"@vue/shared": "3.5.34"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user