gitea push
This commit is contained in:
+14
-7
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-core v3.5.33
|
||||
* @vue/runtime-core v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -5185,7 +5185,7 @@ function getInvalidTypeMessage(name, value, expectedTypes) {
|
||||
const receivedType = shared.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} `;
|
||||
@@ -5195,7 +5195,9 @@ function getInvalidTypeMessage(name, value, expectedTypes) {
|
||||
return message;
|
||||
}
|
||||
function styleValue(value, type) {
|
||||
if (type === "String") {
|
||||
if (shared.isSymbol(value)) {
|
||||
return value.toString();
|
||||
} else if (type === "String") {
|
||||
return `"${value}"`;
|
||||
} else if (type === "Number") {
|
||||
return `${Number(value)}`;
|
||||
@@ -5207,8 +5209,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";
|
||||
@@ -7228,13 +7233,14 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
suspense.isHydrating = false;
|
||||
} else if (!resume) {
|
||||
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
||||
let hasUpdatedAnchor = false;
|
||||
if (delayEnter) {
|
||||
activeBranch.transition.afterLeave = () => {
|
||||
if (pendingId === suspense.pendingId) {
|
||||
move(
|
||||
pendingBranch,
|
||||
container2,
|
||||
anchor === initialAnchor ? next(activeBranch) : anchor,
|
||||
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
||||
0
|
||||
);
|
||||
queuePostFlushCb(effects);
|
||||
@@ -7247,6 +7253,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
if (activeBranch && !suspense.isFallbackMountPending) {
|
||||
if (parentNode(activeBranch.el) === container2) {
|
||||
anchor = next(activeBranch);
|
||||
hasUpdatedAnchor = true;
|
||||
}
|
||||
unmount(activeBranch, parentComponent2, suspense, true);
|
||||
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
||||
@@ -8553,7 +8560,7 @@ function isMemoSame(cached, memo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.5.33";
|
||||
const version = "3.5.34";
|
||||
const warn = warn$1 ;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = devtools$1 ;
|
||||
|
||||
+5
-3
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-core v3.5.33
|
||||
* @vue/runtime-core v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -5730,13 +5730,14 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
suspense.isHydrating = false;
|
||||
} else if (!resume) {
|
||||
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
||||
let hasUpdatedAnchor = false;
|
||||
if (delayEnter) {
|
||||
activeBranch.transition.afterLeave = () => {
|
||||
if (pendingId === suspense.pendingId) {
|
||||
move(
|
||||
pendingBranch,
|
||||
container2,
|
||||
anchor === initialAnchor ? next(activeBranch) : anchor,
|
||||
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
||||
0
|
||||
);
|
||||
queuePostFlushCb(effects);
|
||||
@@ -5749,6 +5750,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
if (activeBranch && !suspense.isFallbackMountPending) {
|
||||
if (parentNode(activeBranch.el) === container2) {
|
||||
anchor = next(activeBranch);
|
||||
hasUpdatedAnchor = true;
|
||||
}
|
||||
unmount(activeBranch, parentComponent2, suspense, true);
|
||||
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
||||
@@ -6691,7 +6693,7 @@ function isMemoSame(cached, memo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.5.33";
|
||||
const version = "3.5.34";
|
||||
const warn$1 = shared.NOOP;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = void 0;
|
||||
|
||||
+14
-7
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-core v3.5.33
|
||||
* @vue/runtime-core v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -5207,7 +5207,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} `;
|
||||
@@ -5217,7 +5217,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)}`;
|
||||
@@ -5229,8 +5231,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";
|
||||
@@ -7288,13 +7293,14 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
suspense.isHydrating = false;
|
||||
} else if (!resume) {
|
||||
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
||||
let hasUpdatedAnchor = false;
|
||||
if (delayEnter) {
|
||||
activeBranch.transition.afterLeave = () => {
|
||||
if (pendingId === suspense.pendingId) {
|
||||
move(
|
||||
pendingBranch,
|
||||
container2,
|
||||
anchor === initialAnchor ? next(activeBranch) : anchor,
|
||||
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
||||
0
|
||||
);
|
||||
queuePostFlushCb(effects);
|
||||
@@ -7307,6 +7313,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
if (activeBranch && !suspense.isFallbackMountPending) {
|
||||
if (parentNode(activeBranch.el) === container2) {
|
||||
anchor = next(activeBranch);
|
||||
hasUpdatedAnchor = true;
|
||||
}
|
||||
unmount(activeBranch, parentComponent2, suspense, true);
|
||||
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
||||
@@ -8627,7 +8634,7 @@ function isMemoSame(cached, memo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.5.33";
|
||||
const version = "3.5.34";
|
||||
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/runtime-core",
|
||||
"version": "3.5.33",
|
||||
"version": "3.5.34",
|
||||
"description": "@vue/runtime-core",
|
||||
"main": "index.js",
|
||||
"module": "dist/runtime-core.esm-bundler.js",
|
||||
@@ -46,7 +46,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.5.33",
|
||||
"@vue/reactivity": "3.5.33"
|
||||
"@vue/shared": "3.5.34",
|
||||
"@vue/reactivity": "3.5.34"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user