@vue/compiler-ssr 3.4.0-rc.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler-ssr.cjs.js +3 -7
- package/package.json +3 -3
package/dist/compiler-ssr.cjs.js
CHANGED
|
@@ -292,7 +292,6 @@ const ssrTransformElement = (node, context) => {
|
|
|
292
292
|
false,
|
|
293
293
|
false,
|
|
294
294
|
true
|
|
295
|
-
/* ssr */
|
|
296
295
|
);
|
|
297
296
|
if (props || directives.length) {
|
|
298
297
|
const mergedProps = buildSSRProps(props, directives, context);
|
|
@@ -428,7 +427,6 @@ const ssrTransformElement = (node, context) => {
|
|
|
428
427
|
compilerDom.createSimpleExpression(" " + attrName, true),
|
|
429
428
|
compilerDom.createSimpleExpression("", true),
|
|
430
429
|
false
|
|
431
|
-
/* no newline */
|
|
432
430
|
)
|
|
433
431
|
);
|
|
434
432
|
} else if (shared.isSSRSafeAttrName(attrName)) {
|
|
@@ -574,7 +572,6 @@ function ssrTransformTransitionGroup(node, context) {
|
|
|
574
572
|
true,
|
|
575
573
|
false,
|
|
576
574
|
true
|
|
577
|
-
/* ssr (skip event listeners) */
|
|
578
575
|
);
|
|
579
576
|
let propsExp = null;
|
|
580
577
|
if (props || directives.length) {
|
|
@@ -778,7 +775,6 @@ function ssrProcessComponent(node, context, parent) {
|
|
|
778
775
|
context,
|
|
779
776
|
false,
|
|
780
777
|
true
|
|
781
|
-
/* withSlotScopeId */
|
|
782
778
|
),
|
|
783
779
|
vnodeBranch
|
|
784
780
|
);
|
|
@@ -991,7 +987,9 @@ function processChildren(parent, context, asFragment = false, disableNestedFragm
|
|
|
991
987
|
break;
|
|
992
988
|
case 5:
|
|
993
989
|
context.pushStringPart(
|
|
994
|
-
compilerDom.createCallExpression(context.helper(SSR_INTERPOLATE), [
|
|
990
|
+
compilerDom.createCallExpression(context.helper(SSR_INTERPOLATE), [
|
|
991
|
+
child.content
|
|
992
|
+
])
|
|
995
993
|
);
|
|
996
994
|
break;
|
|
997
995
|
case 9:
|
|
@@ -1061,7 +1059,6 @@ const ssrTransformModel = (dir, node, context) => {
|
|
|
1061
1059
|
compilerDom.createSimpleExpression(" selected", true),
|
|
1062
1060
|
compilerDom.createSimpleExpression("", true),
|
|
1063
1061
|
false
|
|
1064
|
-
/* no newline */
|
|
1065
1062
|
)
|
|
1066
1063
|
);
|
|
1067
1064
|
}
|
|
@@ -1196,7 +1193,6 @@ const ssrTransformShow = (dir, node, context) => {
|
|
|
1196
1193
|
)
|
|
1197
1194
|
]),
|
|
1198
1195
|
false
|
|
1199
|
-
/* no newline */
|
|
1200
1196
|
)
|
|
1201
1197
|
)
|
|
1202
1198
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.4.0
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/
|
|
32
|
-
"@vue/
|
|
31
|
+
"@vue/shared": "3.4.0",
|
|
32
|
+
"@vue/compiler-dom": "3.4.0"
|
|
33
33
|
}
|
|
34
34
|
}
|