@vue/compiler-sfc 3.5.23 → 3.5.24
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-sfc.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-sfc v3.5.
|
|
2
|
+
* @vue/compiler-sfc v3.5.24
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -25083,7 +25083,7 @@ function mergeSourceMaps(scriptMap, templateMap, templateLineOffset) {
|
|
|
25083
25083
|
return generator.toJSON();
|
|
25084
25084
|
}
|
|
25085
25085
|
|
|
25086
|
-
const version = "3.5.
|
|
25086
|
+
const version = "3.5.24";
|
|
25087
25087
|
const parseCache = parseCache$1;
|
|
25088
25088
|
const errorMessages = {
|
|
25089
25089
|
...CompilerDOM.errorMessages,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-sfc v3.5.
|
|
2
|
+
* @vue/compiler-sfc v3.5.24
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -23681,17 +23681,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
23681
23681
|
knownIds
|
|
23682
23682
|
);
|
|
23683
23683
|
const children = [];
|
|
23684
|
-
const isTSNode = TS_NODE_TYPES.includes(ast.type);
|
|
23685
23684
|
ids.sort((a, b) => a.start - b.start);
|
|
23686
23685
|
ids.forEach((id, i) => {
|
|
23687
23686
|
const start = id.start - 1;
|
|
23688
23687
|
const end = id.end - 1;
|
|
23689
23688
|
const last = ids[i - 1];
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
children.push(leadingText + (id.prefix || ``));
|
|
23694
|
-
}
|
|
23689
|
+
const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
|
|
23690
|
+
if (leadingText.length || id.prefix) {
|
|
23691
|
+
children.push(leadingText + (id.prefix || ``));
|
|
23695
23692
|
}
|
|
23696
23693
|
const source = rawExp.slice(start, end);
|
|
23697
23694
|
children.push(
|
|
@@ -23706,7 +23703,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
23706
23703
|
id.isConstant ? 3 : 0
|
|
23707
23704
|
)
|
|
23708
23705
|
);
|
|
23709
|
-
if (i === ids.length - 1 && end < rawExp.length
|
|
23706
|
+
if (i === ids.length - 1 && end < rawExp.length) {
|
|
23710
23707
|
children.push(rawExp.slice(end));
|
|
23711
23708
|
}
|
|
23712
23709
|
});
|
|
@@ -50633,7 +50630,7 @@ var __spreadValues = (a, b) => {
|
|
|
50633
50630
|
}
|
|
50634
50631
|
return a;
|
|
50635
50632
|
};
|
|
50636
|
-
const version = "3.5.
|
|
50633
|
+
const version = "3.5.24";
|
|
50637
50634
|
const parseCache = parseCache$1;
|
|
50638
50635
|
const errorMessages = __spreadValues(__spreadValues({}, errorMessages$1), DOMErrorMessages);
|
|
50639
50636
|
const walk = walk$2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.24",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"magic-string": "^0.30.21",
|
|
48
48
|
"postcss": "^8.5.6",
|
|
49
49
|
"source-map-js": "^1.2.1",
|
|
50
|
-
"@vue/compiler-core": "3.5.
|
|
51
|
-
"@vue/compiler-dom": "3.5.
|
|
52
|
-
"@vue/compiler-ssr": "3.5.
|
|
53
|
-
"@vue/shared": "3.5.
|
|
50
|
+
"@vue/compiler-core": "3.5.24",
|
|
51
|
+
"@vue/compiler-dom": "3.5.24",
|
|
52
|
+
"@vue/compiler-ssr": "3.5.24",
|
|
53
|
+
"@vue/shared": "3.5.24"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.28.5",
|