@vue/compiler-core 3.5.14 → 3.5.16
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.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3665,7 +3665,9 @@ function createCodegenContext(ast, {
|
|
|
3665
3665
|
name = content;
|
|
3666
3666
|
}
|
|
3667
3667
|
}
|
|
3668
|
-
|
|
3668
|
+
if (node.loc.source) {
|
|
3669
|
+
addMapping(node.loc.start, name);
|
|
3670
|
+
}
|
|
3669
3671
|
}
|
|
3670
3672
|
if (newlineIndex === -3 /* Unknown */) {
|
|
3671
3673
|
advancePositionWithMutation(context, code);
|
|
@@ -3681,7 +3683,7 @@ function createCodegenContext(ast, {
|
|
|
3681
3683
|
context.column = code.length - newlineIndex;
|
|
3682
3684
|
}
|
|
3683
3685
|
}
|
|
3684
|
-
if (node && node.loc !== locStub) {
|
|
3686
|
+
if (node && node.loc !== locStub && node.loc.source) {
|
|
3685
3687
|
addMapping(node.loc.end);
|
|
3686
3688
|
}
|
|
3687
3689
|
}
|
|
@@ -5792,9 +5794,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
5792
5794
|
hasDynamicKeys = true;
|
|
5793
5795
|
if (exp) {
|
|
5794
5796
|
if (isVBind) {
|
|
5795
|
-
pushRefVForMarker();
|
|
5796
|
-
pushMergeArg();
|
|
5797
5797
|
{
|
|
5798
|
+
pushMergeArg();
|
|
5798
5799
|
{
|
|
5799
5800
|
const hasOverridableKeys = mergeArgs.some((arg2) => {
|
|
5800
5801
|
if (arg2.type === 15) {
|
|
@@ -5824,6 +5825,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
5824
5825
|
continue;
|
|
5825
5826
|
}
|
|
5826
5827
|
}
|
|
5828
|
+
pushRefVForMarker();
|
|
5829
|
+
pushMergeArg();
|
|
5827
5830
|
mergeArgs.push(exp);
|
|
5828
5831
|
} else {
|
|
5829
5832
|
pushMergeArg({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3607,7 +3607,9 @@ function createCodegenContext(ast, {
|
|
|
3607
3607
|
name = content;
|
|
3608
3608
|
}
|
|
3609
3609
|
}
|
|
3610
|
-
|
|
3610
|
+
if (node.loc.source) {
|
|
3611
|
+
addMapping(node.loc.start, name);
|
|
3612
|
+
}
|
|
3611
3613
|
}
|
|
3612
3614
|
if (newlineIndex === -3 /* Unknown */) {
|
|
3613
3615
|
advancePositionWithMutation(context, code);
|
|
@@ -3623,7 +3625,7 @@ function createCodegenContext(ast, {
|
|
|
3623
3625
|
context.column = code.length - newlineIndex;
|
|
3624
3626
|
}
|
|
3625
3627
|
}
|
|
3626
|
-
if (node && node.loc !== locStub) {
|
|
3628
|
+
if (node && node.loc !== locStub && node.loc.source) {
|
|
3627
3629
|
addMapping(node.loc.end);
|
|
3628
3630
|
}
|
|
3629
3631
|
}
|
|
@@ -5698,9 +5700,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
5698
5700
|
hasDynamicKeys = true;
|
|
5699
5701
|
if (exp) {
|
|
5700
5702
|
if (isVBind) {
|
|
5701
|
-
pushRefVForMarker();
|
|
5702
|
-
pushMergeArg();
|
|
5703
5703
|
{
|
|
5704
|
+
pushMergeArg();
|
|
5704
5705
|
if (isCompatEnabled(
|
|
5705
5706
|
"COMPILER_V_BIND_OBJECT_ORDER",
|
|
5706
5707
|
context
|
|
@@ -5709,6 +5710,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
5709
5710
|
continue;
|
|
5710
5711
|
}
|
|
5711
5712
|
}
|
|
5713
|
+
pushRefVForMarker();
|
|
5714
|
+
pushMergeArg();
|
|
5712
5715
|
mergeArgs.push(exp);
|
|
5713
5716
|
} else {
|
|
5714
5717
|
pushMergeArg({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4962,9 +4962,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
4962
4962
|
hasDynamicKeys = true;
|
|
4963
4963
|
if (exp) {
|
|
4964
4964
|
if (isVBind) {
|
|
4965
|
-
pushRefVForMarker();
|
|
4966
|
-
pushMergeArg();
|
|
4967
4965
|
{
|
|
4966
|
+
pushMergeArg();
|
|
4968
4967
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
4969
4968
|
const hasOverridableKeys = mergeArgs.some((arg2) => {
|
|
4970
4969
|
if (arg2.type === 15) {
|
|
@@ -4994,6 +4993,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
4994
4993
|
continue;
|
|
4995
4994
|
}
|
|
4996
4995
|
}
|
|
4996
|
+
pushRefVForMarker();
|
|
4997
|
+
pushMergeArg();
|
|
4997
4998
|
mergeArgs.push(exp);
|
|
4998
4999
|
} else {
|
|
4999
5000
|
pushMergeArg({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.16",
|
|
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.1",
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.16"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.27.1"
|