@vue/compiler-core 3.5.2 → 3.5.4
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.4
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3492,10 +3492,8 @@ function createRootCodegen(root, context) {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
} else if (children.length > 1) {
|
|
3494
3494
|
let patchFlag = 64;
|
|
3495
|
-
let patchFlagText = shared.PatchFlagNames[64];
|
|
3496
3495
|
if (children.filter((c) => c.type !== 3).length === 1) {
|
|
3497
3496
|
patchFlag |= 2048;
|
|
3498
|
-
patchFlagText += `, ${shared.PatchFlagNames[2048]}`;
|
|
3499
3497
|
}
|
|
3500
3498
|
root.codegenNode = createVNodeCall(
|
|
3501
3499
|
context,
|
|
@@ -4757,10 +4755,8 @@ function createChildrenCodegenNode(branch, keyIndex, context) {
|
|
|
4757
4755
|
return vnodeCall;
|
|
4758
4756
|
} else {
|
|
4759
4757
|
let patchFlag = 64;
|
|
4760
|
-
let patchFlagText = shared.PatchFlagNames[64];
|
|
4761
4758
|
if (!branch.isTemplateIf && children.filter((c) => c.type !== 3).length === 1) {
|
|
4762
4759
|
patchFlag |= 2048;
|
|
4763
|
-
patchFlagText += `, ${shared.PatchFlagNames[2048]}`;
|
|
4764
4760
|
}
|
|
4765
4761
|
return createVNodeCall(
|
|
4766
4762
|
context,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.4
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3437,7 +3437,6 @@ function createRootCodegen(root, context) {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
} else if (children.length > 1) {
|
|
3439
3439
|
let patchFlag = 64;
|
|
3440
|
-
shared.PatchFlagNames[64];
|
|
3441
3440
|
root.codegenNode = createVNodeCall(
|
|
3442
3441
|
context,
|
|
3443
3442
|
helper(FRAGMENT),
|
|
@@ -4674,7 +4673,6 @@ function createChildrenCodegenNode(branch, keyIndex, context) {
|
|
|
4674
4673
|
return vnodeCall;
|
|
4675
4674
|
} else {
|
|
4676
4675
|
let patchFlag = 64;
|
|
4677
|
-
shared.PatchFlagNames[64];
|
|
4678
4676
|
return createVNodeCall(
|
|
4679
4677
|
context,
|
|
4680
4678
|
helper(FRAGMENT),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.4
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3129,10 +3129,8 @@ function createRootCodegen(root, context) {
|
|
|
3129
3129
|
}
|
|
3130
3130
|
} else if (children.length > 1) {
|
|
3131
3131
|
let patchFlag = 64;
|
|
3132
|
-
let patchFlagText = PatchFlagNames[64];
|
|
3133
3132
|
if (!!(process.env.NODE_ENV !== "production") && children.filter((c) => c.type !== 3).length === 1) {
|
|
3134
3133
|
patchFlag |= 2048;
|
|
3135
|
-
patchFlagText += `, ${PatchFlagNames[2048]}`;
|
|
3136
3134
|
}
|
|
3137
3135
|
root.codegenNode = createVNodeCall(
|
|
3138
3136
|
context,
|
|
@@ -4051,10 +4049,8 @@ function createChildrenCodegenNode(branch, keyIndex, context) {
|
|
|
4051
4049
|
return vnodeCall;
|
|
4052
4050
|
} else {
|
|
4053
4051
|
let patchFlag = 64;
|
|
4054
|
-
let patchFlagText = PatchFlagNames[64];
|
|
4055
4052
|
if (!!(process.env.NODE_ENV !== "production") && !branch.isTemplateIf && children.filter((c) => c.type !== 3).length === 1) {
|
|
4056
4053
|
patchFlag |= 2048;
|
|
4057
|
-
patchFlagText += `, ${PatchFlagNames[2048]}`;
|
|
4058
4054
|
}
|
|
4059
4055
|
return createVNodeCall(
|
|
4060
4056
|
context,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.4",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"entities": "^4.5.0",
|
|
51
51
|
"estree-walker": "^2.0.2",
|
|
52
52
|
"source-map-js": "^1.2.0",
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.4"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.25.2"
|