@vue/compiler-ssr
Advanced tools
Comparing version
/** | ||
* @vue/compiler-ssr v3.5.16 | ||
* @vue/compiler-ssr v3.5.17 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -1089,2 +1089,13 @@ * @license MIT | ||
} | ||
const processSelectChildren = (children) => { | ||
children.forEach((child) => { | ||
if (child.type === 1) { | ||
processOption(child); | ||
} else if (child.type === 11) { | ||
processSelectChildren(child.children); | ||
} else if (child.type === 9) { | ||
child.branches.forEach((b) => processSelectChildren(b.children)); | ||
} | ||
}); | ||
}; | ||
function processOption(plainNode) { | ||
@@ -1116,5 +1127,3 @@ if (plainNode.tag === "option") { | ||
} else if (plainNode.tag === "optgroup") { | ||
plainNode.children.forEach( | ||
(option) => processOption(option) | ||
); | ||
processSelectChildren(plainNode.children); | ||
} | ||
@@ -1204,14 +1213,3 @@ } | ||
} else if (node.tag === "select") { | ||
const processChildren = (children) => { | ||
children.forEach((child) => { | ||
if (child.type === 1) { | ||
processOption(child); | ||
} else if (child.type === 11) { | ||
processChildren(child.children); | ||
} else if (child.type === 9) { | ||
child.branches.forEach((b) => processChildren(b.children)); | ||
} | ||
}); | ||
}; | ||
processChildren(node.children); | ||
processSelectChildren(node.children); | ||
} else { | ||
@@ -1218,0 +1216,0 @@ context.onError( |
{ | ||
"name": "@vue/compiler-ssr", | ||
"version": "3.5.16", | ||
"version": "3.5.17", | ||
"description": "@vue/compiler-ssr", | ||
@@ -31,5 +31,5 @@ "main": "dist/compiler-ssr.cjs.js", | ||
"dependencies": { | ||
"@vue/shared": "3.5.16", | ||
"@vue/compiler-dom": "3.5.16" | ||
"@vue/shared": "3.5.17", | ||
"@vue/compiler-dom": "3.5.17" | ||
} | ||
} |
47692
-0.12%1384
-0.14%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated