@vue/compiler-core 3.4.29 → 3.4.30
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.4.
|
|
2
|
+
* @vue/compiler-core v3.4.30
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5083,9 +5083,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
5083
5083
|
break;
|
|
5084
5084
|
}
|
|
5085
5085
|
}
|
|
5086
|
-
if (prev && isTemplateNode(prev) && findDir(prev,
|
|
5087
|
-
children.splice(i, 1);
|
|
5088
|
-
i--;
|
|
5086
|
+
if (prev && isTemplateNode(prev) && findDir(prev, /^(else-)?if$/)) {
|
|
5089
5087
|
let conditional = dynamicSlots[dynamicSlots.length - 1];
|
|
5090
5088
|
while (conditional.alternate.type === 19) {
|
|
5091
5089
|
conditional = conditional.alternate;
|
|
@@ -6241,8 +6239,7 @@ const transformFilter = (node, context) => {
|
|
|
6241
6239
|
}
|
|
6242
6240
|
if (node.type === 5) {
|
|
6243
6241
|
rewriteFilter(node.content, context);
|
|
6244
|
-
}
|
|
6245
|
-
if (node.type === 1) {
|
|
6242
|
+
} else if (node.type === 1) {
|
|
6246
6243
|
node.props.forEach((prop) => {
|
|
6247
6244
|
if (prop.type === 7 && prop.name !== "for" && prop.exp) {
|
|
6248
6245
|
rewriteFilter(prop.exp, context);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.4.
|
|
2
|
+
* @vue/compiler-core v3.4.30
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5002,9 +5002,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
5002
5002
|
break;
|
|
5003
5003
|
}
|
|
5004
5004
|
}
|
|
5005
|
-
if (prev && isTemplateNode(prev) && findDir(prev,
|
|
5006
|
-
children.splice(i, 1);
|
|
5007
|
-
i--;
|
|
5005
|
+
if (prev && isTemplateNode(prev) && findDir(prev, /^(else-)?if$/)) {
|
|
5008
5006
|
let conditional = dynamicSlots[dynamicSlots.length - 1];
|
|
5009
5007
|
while (conditional.alternate.type === 19) {
|
|
5010
5008
|
conditional = conditional.alternate;
|
|
@@ -6122,8 +6120,7 @@ const transformFilter = (node, context) => {
|
|
|
6122
6120
|
}
|
|
6123
6121
|
if (node.type === 5) {
|
|
6124
6122
|
rewriteFilter(node.content, context);
|
|
6125
|
-
}
|
|
6126
|
-
if (node.type === 1) {
|
|
6123
|
+
} else if (node.type === 1) {
|
|
6127
6124
|
node.props.forEach((prop) => {
|
|
6128
6125
|
if (prop.type === 7 && prop.name !== "for" && prop.exp) {
|
|
6129
6126
|
rewriteFilter(prop.exp, context);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.4.
|
|
2
|
+
* @vue/compiler-core v3.4.30
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4391,9 +4391,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
4391
4391
|
break;
|
|
4392
4392
|
}
|
|
4393
4393
|
}
|
|
4394
|
-
if (prev && isTemplateNode(prev) && findDir(prev,
|
|
4395
|
-
children.splice(i, 1);
|
|
4396
|
-
i--;
|
|
4394
|
+
if (prev && isTemplateNode(prev) && findDir(prev, /^(else-)?if$/)) {
|
|
4397
4395
|
let conditional = dynamicSlots[dynamicSlots.length - 1];
|
|
4398
4396
|
while (conditional.alternate.type === 19) {
|
|
4399
4397
|
conditional = conditional.alternate;
|
|
@@ -5429,8 +5427,7 @@ const transformFilter = (node, context) => {
|
|
|
5429
5427
|
}
|
|
5430
5428
|
if (node.type === 5) {
|
|
5431
5429
|
rewriteFilter(node.content, context);
|
|
5432
|
-
}
|
|
5433
|
-
if (node.type === 1) {
|
|
5430
|
+
} else if (node.type === 1) {
|
|
5434
5431
|
node.props.forEach((prop) => {
|
|
5435
5432
|
if (prop.type === 7 && prop.name !== "for" && prop.exp) {
|
|
5436
5433
|
rewriteFilter(prop.exp, context);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.30",
|
|
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.4.
|
|
53
|
+
"@vue/shared": "3.4.30"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.24.7"
|