gitea push
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/server-renderer v3.5.33
|
||||
* @vue/server-renderer v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/server-renderer v3.5.33
|
||||
* @vue/server-renderer v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
|
||||
+28
-13
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/server-renderer v3.5.33
|
||||
* @vue/server-renderer v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -385,12 +385,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() {
|
||||
@@ -438,7 +444,7 @@ class EffectScope {
|
||||
} finally {
|
||||
activeEffectScope = currentEffectScope;
|
||||
}
|
||||
} else {
|
||||
} else if (this._warnOnRun) {
|
||||
warn$2(`cannot run an inactive effect scope.`);
|
||||
}
|
||||
}
|
||||
@@ -532,8 +538,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() {
|
||||
@@ -4861,7 +4871,7 @@ function getInvalidTypeMessage(name, value, expectedTypes) {
|
||||
const receivedType = toRawType(value);
|
||||
const expectedValue = styleValue(value, expectedType);
|
||||
const receivedValue = styleValue(value, receivedType);
|
||||
if (expectedTypes.length === 1 && isExplicable(expectedType) && !isBoolean(expectedType, receivedType)) {
|
||||
if (expectedTypes.length === 1 && isExplicable(expectedType) && isCoercible(expectedType, receivedType)) {
|
||||
message += ` with value ${expectedValue}`;
|
||||
}
|
||||
message += `, got ${receivedType} `;
|
||||
@@ -4871,7 +4881,9 @@ function getInvalidTypeMessage(name, value, expectedTypes) {
|
||||
return message;
|
||||
}
|
||||
function styleValue(value, type) {
|
||||
if (type === "String") {
|
||||
if (isSymbol(value)) {
|
||||
return value.toString();
|
||||
} else if (type === "String") {
|
||||
return `"${value}"`;
|
||||
} else if (type === "Number") {
|
||||
return `${Number(value)}`;
|
||||
@@ -4883,8 +4895,11 @@ function isExplicable(type) {
|
||||
const explicitTypes = ["string", "number", "boolean"];
|
||||
return explicitTypes.some((elem) => type.toLowerCase() === elem);
|
||||
}
|
||||
function isBoolean(...args) {
|
||||
return args.some((elem) => elem.toLowerCase() === "boolean");
|
||||
function isCoercible(...args) {
|
||||
return args.every((elem) => {
|
||||
const value = elem.toLowerCase();
|
||||
return value !== "boolean" && value !== "symbol";
|
||||
});
|
||||
}
|
||||
|
||||
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
||||
@@ -7273,7 +7288,7 @@ const computed = (getterOrOptions, debugOptions) => {
|
||||
return c;
|
||||
};
|
||||
|
||||
const version = "3.5.33";
|
||||
const version = "3.5.34";
|
||||
const warn = warn$1 ;
|
||||
const _ssrUtils = {
|
||||
createComponentInstance: createComponentInstance$1,
|
||||
|
||||
Generated
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/server-renderer v3.5.33
|
||||
* @vue/server-renderer v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/server-renderer",
|
||||
"version": "3.5.33",
|
||||
"version": "3.5.34",
|
||||
"description": "@vue/server-renderer",
|
||||
"main": "index.js",
|
||||
"module": "dist/server-renderer.esm-bundler.js",
|
||||
@@ -46,10 +46,10 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
||||
"peerDependencies": {
|
||||
"vue": "3.5.33"
|
||||
"vue": "3.5.34"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.5.33",
|
||||
"@vue/compiler-ssr": "3.5.33"
|
||||
"@vue/shared": "3.5.34",
|
||||
"@vue/compiler-ssr": "3.5.34"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user