@vue/compiler-core 3.5.23 → 3.5.25
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.25
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2262,6 +2262,20 @@ function getMemoedVNodeCall(node) {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
}
|
|
2264
2264
|
const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;
|
|
2265
|
+
function isAllWhitespace(str) {
|
|
2266
|
+
for (let i = 0; i < str.length; i++) {
|
|
2267
|
+
if (!isWhitespace(str.charCodeAt(i))) {
|
|
2268
|
+
return false;
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
return true;
|
|
2272
|
+
}
|
|
2273
|
+
function isWhitespaceText(node) {
|
|
2274
|
+
return node.type === 2 && isAllWhitespace(node.content) || node.type === 12 && isWhitespaceText(node.content);
|
|
2275
|
+
}
|
|
2276
|
+
function isCommentOrWhitespace(node) {
|
|
2277
|
+
return node.type === 3 || isWhitespaceText(node);
|
|
2278
|
+
}
|
|
2265
2279
|
|
|
2266
2280
|
const defaultParserOptions = {
|
|
2267
2281
|
parseMode: "base",
|
|
@@ -2881,14 +2895,6 @@ function condenseWhitespace(nodes) {
|
|
|
2881
2895
|
}
|
|
2882
2896
|
return removedWhitespace ? nodes.filter(Boolean) : nodes;
|
|
2883
2897
|
}
|
|
2884
|
-
function isAllWhitespace(str) {
|
|
2885
|
-
for (let i = 0; i < str.length; i++) {
|
|
2886
|
-
if (!isWhitespace(str.charCodeAt(i))) {
|
|
2887
|
-
return false;
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
return true;
|
|
2891
|
-
}
|
|
2892
2898
|
function hasNewlineChar(str) {
|
|
2893
2899
|
for (let i = 0; i < str.length; i++) {
|
|
2894
2900
|
const c = str.charCodeAt(i);
|
|
@@ -4595,17 +4601,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
4595
4601
|
knownIds
|
|
4596
4602
|
);
|
|
4597
4603
|
const children = [];
|
|
4598
|
-
const isTSNode = TS_NODE_TYPES.includes(ast.type);
|
|
4599
4604
|
ids.sort((a, b) => a.start - b.start);
|
|
4600
4605
|
ids.forEach((id, i) => {
|
|
4601
4606
|
const start = id.start - 1;
|
|
4602
4607
|
const end = id.end - 1;
|
|
4603
4608
|
const last = ids[i - 1];
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
children.push(leadingText + (id.prefix || ``));
|
|
4608
|
-
}
|
|
4609
|
+
const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
|
|
4610
|
+
if (leadingText.length || id.prefix) {
|
|
4611
|
+
children.push(leadingText + (id.prefix || ``));
|
|
4609
4612
|
}
|
|
4610
4613
|
const source = rawExp.slice(start, end);
|
|
4611
4614
|
children.push(
|
|
@@ -4620,7 +4623,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
4620
4623
|
id.isConstant ? 3 : 0
|
|
4621
4624
|
)
|
|
4622
4625
|
);
|
|
4623
|
-
if (i === ids.length - 1 && end < rawExp.length
|
|
4626
|
+
if (i === ids.length - 1 && end < rawExp.length) {
|
|
4624
4627
|
children.push(rawExp.slice(end));
|
|
4625
4628
|
}
|
|
4626
4629
|
});
|
|
@@ -4717,13 +4720,11 @@ function processIf(node, dir, context, processCodegen) {
|
|
|
4717
4720
|
let i = siblings.indexOf(node);
|
|
4718
4721
|
while (i-- >= -1) {
|
|
4719
4722
|
const sibling = siblings[i];
|
|
4720
|
-
if (sibling && sibling
|
|
4721
|
-
context.removeNode(sibling);
|
|
4722
|
-
comments.unshift(sibling);
|
|
4723
|
-
continue;
|
|
4724
|
-
}
|
|
4725
|
-
if (sibling && sibling.type === 2 && !sibling.content.trim().length) {
|
|
4723
|
+
if (sibling && isCommentOrWhitespace(sibling)) {
|
|
4726
4724
|
context.removeNode(sibling);
|
|
4725
|
+
if (sibling.type === 3) {
|
|
4726
|
+
comments.unshift(sibling);
|
|
4727
|
+
}
|
|
4727
4728
|
continue;
|
|
4728
4729
|
}
|
|
4729
4730
|
if (sibling && sibling.type === 9) {
|
|
@@ -5241,7 +5242,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
5241
5242
|
let prev;
|
|
5242
5243
|
while (j--) {
|
|
5243
5244
|
prev = children[j];
|
|
5244
|
-
if (
|
|
5245
|
+
if (!isCommentOrWhitespace(prev)) {
|
|
5245
5246
|
break;
|
|
5246
5247
|
}
|
|
5247
5248
|
}
|
|
@@ -5319,7 +5320,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
5319
5320
|
} else if (implicitDefaultChildren.length && // #3766
|
|
5320
5321
|
// with whitespace: 'preserve', whitespaces between slots will end up in
|
|
5321
5322
|
// implicitDefaultChildren. Ignore if all implicit children are whitespaces.
|
|
5322
|
-
implicitDefaultChildren.
|
|
5323
|
+
!implicitDefaultChildren.every(isWhitespaceText)) {
|
|
5323
5324
|
if (hasNamedDefaultSlot) {
|
|
5324
5325
|
context.onError(
|
|
5325
5326
|
createCompilerError(
|
|
@@ -5392,11 +5393,6 @@ function hasForwardedSlots(children) {
|
|
|
5392
5393
|
}
|
|
5393
5394
|
return false;
|
|
5394
5395
|
}
|
|
5395
|
-
function isNonWhitespaceContent(node) {
|
|
5396
|
-
if (node.type !== 2 && node.type !== 12)
|
|
5397
|
-
return true;
|
|
5398
|
-
return node.type === 2 ? !!node.content.trim() : isNonWhitespaceContent(node.content);
|
|
5399
|
-
}
|
|
5400
5396
|
|
|
5401
5397
|
const directiveImportMap = /* @__PURE__ */ new WeakMap();
|
|
5402
5398
|
const transformElement = (node, context) => {
|
|
@@ -6819,6 +6815,8 @@ exports.hasDynamicKeyVBind = hasDynamicKeyVBind;
|
|
|
6819
6815
|
exports.hasScopeRef = hasScopeRef;
|
|
6820
6816
|
exports.helperNameMap = helperNameMap;
|
|
6821
6817
|
exports.injectProp = injectProp;
|
|
6818
|
+
exports.isAllWhitespace = isAllWhitespace;
|
|
6819
|
+
exports.isCommentOrWhitespace = isCommentOrWhitespace;
|
|
6822
6820
|
exports.isCoreComponent = isCoreComponent;
|
|
6823
6821
|
exports.isFnExpression = isFnExpression;
|
|
6824
6822
|
exports.isFnExpressionBrowser = isFnExpressionBrowser;
|
|
@@ -6840,6 +6838,7 @@ exports.isTemplateNode = isTemplateNode;
|
|
|
6840
6838
|
exports.isText = isText$1;
|
|
6841
6839
|
exports.isVPre = isVPre;
|
|
6842
6840
|
exports.isVSlot = isVSlot;
|
|
6841
|
+
exports.isWhitespaceText = isWhitespaceText;
|
|
6843
6842
|
exports.locStub = locStub;
|
|
6844
6843
|
exports.noopDirectiveTransform = noopDirectiveTransform;
|
|
6845
6844
|
exports.processExpression = processExpression;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.25
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2258,6 +2258,20 @@ function getMemoedVNodeCall(node) {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
}
|
|
2260
2260
|
const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;
|
|
2261
|
+
function isAllWhitespace(str) {
|
|
2262
|
+
for (let i = 0; i < str.length; i++) {
|
|
2263
|
+
if (!isWhitespace(str.charCodeAt(i))) {
|
|
2264
|
+
return false;
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
return true;
|
|
2268
|
+
}
|
|
2269
|
+
function isWhitespaceText(node) {
|
|
2270
|
+
return node.type === 2 && isAllWhitespace(node.content) || node.type === 12 && isWhitespaceText(node.content);
|
|
2271
|
+
}
|
|
2272
|
+
function isCommentOrWhitespace(node) {
|
|
2273
|
+
return node.type === 3 || isWhitespaceText(node);
|
|
2274
|
+
}
|
|
2261
2275
|
|
|
2262
2276
|
const defaultParserOptions = {
|
|
2263
2277
|
parseMode: "base",
|
|
@@ -2847,14 +2861,6 @@ function condenseWhitespace(nodes) {
|
|
|
2847
2861
|
}
|
|
2848
2862
|
return removedWhitespace ? nodes.filter(Boolean) : nodes;
|
|
2849
2863
|
}
|
|
2850
|
-
function isAllWhitespace(str) {
|
|
2851
|
-
for (let i = 0; i < str.length; i++) {
|
|
2852
|
-
if (!isWhitespace(str.charCodeAt(i))) {
|
|
2853
|
-
return false;
|
|
2854
|
-
}
|
|
2855
|
-
}
|
|
2856
|
-
return true;
|
|
2857
|
-
}
|
|
2858
2864
|
function hasNewlineChar(str) {
|
|
2859
2865
|
for (let i = 0; i < str.length; i++) {
|
|
2860
2866
|
const c = str.charCodeAt(i);
|
|
@@ -4519,17 +4525,14 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
4519
4525
|
knownIds
|
|
4520
4526
|
);
|
|
4521
4527
|
const children = [];
|
|
4522
|
-
const isTSNode = TS_NODE_TYPES.includes(ast.type);
|
|
4523
4528
|
ids.sort((a, b) => a.start - b.start);
|
|
4524
4529
|
ids.forEach((id, i) => {
|
|
4525
4530
|
const start = id.start - 1;
|
|
4526
4531
|
const end = id.end - 1;
|
|
4527
4532
|
const last = ids[i - 1];
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
children.push(leadingText + (id.prefix || ``));
|
|
4532
|
-
}
|
|
4533
|
+
const leadingText = rawExp.slice(last ? last.end - 1 : 0, start);
|
|
4534
|
+
if (leadingText.length || id.prefix) {
|
|
4535
|
+
children.push(leadingText + (id.prefix || ``));
|
|
4533
4536
|
}
|
|
4534
4537
|
const source = rawExp.slice(start, end);
|
|
4535
4538
|
children.push(
|
|
@@ -4544,7 +4547,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
4544
4547
|
id.isConstant ? 3 : 0
|
|
4545
4548
|
)
|
|
4546
4549
|
);
|
|
4547
|
-
if (i === ids.length - 1 && end < rawExp.length
|
|
4550
|
+
if (i === ids.length - 1 && end < rawExp.length) {
|
|
4548
4551
|
children.push(rawExp.slice(end));
|
|
4549
4552
|
}
|
|
4550
4553
|
});
|
|
@@ -4640,11 +4643,7 @@ function processIf(node, dir, context, processCodegen) {
|
|
|
4640
4643
|
let i = siblings.indexOf(node);
|
|
4641
4644
|
while (i-- >= -1) {
|
|
4642
4645
|
const sibling = siblings[i];
|
|
4643
|
-
if (sibling && sibling
|
|
4644
|
-
context.removeNode(sibling);
|
|
4645
|
-
continue;
|
|
4646
|
-
}
|
|
4647
|
-
if (sibling && sibling.type === 2 && !sibling.content.trim().length) {
|
|
4646
|
+
if (sibling && isCommentOrWhitespace(sibling)) {
|
|
4648
4647
|
context.removeNode(sibling);
|
|
4649
4648
|
continue;
|
|
4650
4649
|
}
|
|
@@ -5156,7 +5155,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
5156
5155
|
let prev;
|
|
5157
5156
|
while (j--) {
|
|
5158
5157
|
prev = children[j];
|
|
5159
|
-
if (
|
|
5158
|
+
if (!isCommentOrWhitespace(prev)) {
|
|
5160
5159
|
break;
|
|
5161
5160
|
}
|
|
5162
5161
|
}
|
|
@@ -5234,7 +5233,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
5234
5233
|
} else if (implicitDefaultChildren.length && // #3766
|
|
5235
5234
|
// with whitespace: 'preserve', whitespaces between slots will end up in
|
|
5236
5235
|
// implicitDefaultChildren. Ignore if all implicit children are whitespaces.
|
|
5237
|
-
implicitDefaultChildren.
|
|
5236
|
+
!implicitDefaultChildren.every(isWhitespaceText)) {
|
|
5238
5237
|
if (hasNamedDefaultSlot) {
|
|
5239
5238
|
context.onError(
|
|
5240
5239
|
createCompilerError(
|
|
@@ -5307,11 +5306,6 @@ function hasForwardedSlots(children) {
|
|
|
5307
5306
|
}
|
|
5308
5307
|
return false;
|
|
5309
5308
|
}
|
|
5310
|
-
function isNonWhitespaceContent(node) {
|
|
5311
|
-
if (node.type !== 2 && node.type !== 12)
|
|
5312
|
-
return true;
|
|
5313
|
-
return node.type === 2 ? !!node.content.trim() : isNonWhitespaceContent(node.content);
|
|
5314
|
-
}
|
|
5315
5309
|
|
|
5316
5310
|
const directiveImportMap = /* @__PURE__ */ new WeakMap();
|
|
5317
5311
|
const transformElement = (node, context) => {
|
|
@@ -6696,6 +6690,8 @@ exports.hasDynamicKeyVBind = hasDynamicKeyVBind;
|
|
|
6696
6690
|
exports.hasScopeRef = hasScopeRef;
|
|
6697
6691
|
exports.helperNameMap = helperNameMap;
|
|
6698
6692
|
exports.injectProp = injectProp;
|
|
6693
|
+
exports.isAllWhitespace = isAllWhitespace;
|
|
6694
|
+
exports.isCommentOrWhitespace = isCommentOrWhitespace;
|
|
6699
6695
|
exports.isCoreComponent = isCoreComponent;
|
|
6700
6696
|
exports.isFnExpression = isFnExpression;
|
|
6701
6697
|
exports.isFnExpressionBrowser = isFnExpressionBrowser;
|
|
@@ -6717,6 +6713,7 @@ exports.isTemplateNode = isTemplateNode;
|
|
|
6717
6713
|
exports.isText = isText$1;
|
|
6718
6714
|
exports.isVPre = isVPre;
|
|
6719
6715
|
exports.isVSlot = isVSlot;
|
|
6716
|
+
exports.isWhitespaceText = isWhitespaceText;
|
|
6720
6717
|
exports.locStub = locStub;
|
|
6721
6718
|
exports.noopDirectiveTransform = noopDirectiveTransform;
|
|
6722
6719
|
exports.processExpression = processExpression;
|
package/dist/compiler-core.d.ts
CHANGED
|
@@ -1041,6 +1041,9 @@ export declare function toValidAssetId(name: string, type: 'component' | 'direct
|
|
|
1041
1041
|
export declare function hasScopeRef(node: TemplateChildNode | IfBranchNode | ExpressionNode | CacheExpression | undefined, ids: TransformContext['identifiers']): boolean;
|
|
1042
1042
|
export declare function getMemoedVNodeCall(node: BlockCodegenNode | MemoExpression): VNodeCall | RenderSlotCall;
|
|
1043
1043
|
export declare const forAliasRE: RegExp;
|
|
1044
|
+
export declare function isAllWhitespace(str: string): boolean;
|
|
1045
|
+
export declare function isWhitespaceText(node: TemplateChildNode): boolean;
|
|
1046
|
+
export declare function isCommentOrWhitespace(node: TemplateChildNode): boolean;
|
|
1044
1047
|
|
|
1045
1048
|
/**
|
|
1046
1049
|
* Return value indicates whether the AST walked can be a constant
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.25
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1923,6 +1923,20 @@ function getMemoedVNodeCall(node) {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
}
|
|
1925
1925
|
const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;
|
|
1926
|
+
function isAllWhitespace(str) {
|
|
1927
|
+
for (let i = 0; i < str.length; i++) {
|
|
1928
|
+
if (!isWhitespace(str.charCodeAt(i))) {
|
|
1929
|
+
return false;
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
return true;
|
|
1933
|
+
}
|
|
1934
|
+
function isWhitespaceText(node) {
|
|
1935
|
+
return node.type === 2 && isAllWhitespace(node.content) || node.type === 12 && isWhitespaceText(node.content);
|
|
1936
|
+
}
|
|
1937
|
+
function isCommentOrWhitespace(node) {
|
|
1938
|
+
return node.type === 3 || isWhitespaceText(node);
|
|
1939
|
+
}
|
|
1926
1940
|
|
|
1927
1941
|
const defaultParserOptions = {
|
|
1928
1942
|
parseMode: "base",
|
|
@@ -2545,14 +2559,6 @@ function condenseWhitespace(nodes) {
|
|
|
2545
2559
|
}
|
|
2546
2560
|
return removedWhitespace ? nodes.filter(Boolean) : nodes;
|
|
2547
2561
|
}
|
|
2548
|
-
function isAllWhitespace(str) {
|
|
2549
|
-
for (let i = 0; i < str.length; i++) {
|
|
2550
|
-
if (!isWhitespace(str.charCodeAt(i))) {
|
|
2551
|
-
return false;
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
return true;
|
|
2555
|
-
}
|
|
2556
2562
|
function hasNewlineChar(str) {
|
|
2557
2563
|
for (let i = 0; i < str.length; i++) {
|
|
2558
2564
|
const c = str.charCodeAt(i);
|
|
@@ -3984,13 +3990,11 @@ function processIf(node, dir, context, processCodegen) {
|
|
|
3984
3990
|
let i = siblings.indexOf(node);
|
|
3985
3991
|
while (i-- >= -1) {
|
|
3986
3992
|
const sibling = siblings[i];
|
|
3987
|
-
if (sibling && sibling
|
|
3988
|
-
context.removeNode(sibling);
|
|
3989
|
-
!!(process.env.NODE_ENV !== "production") && comments.unshift(sibling);
|
|
3990
|
-
continue;
|
|
3991
|
-
}
|
|
3992
|
-
if (sibling && sibling.type === 2 && !sibling.content.trim().length) {
|
|
3993
|
+
if (sibling && isCommentOrWhitespace(sibling)) {
|
|
3993
3994
|
context.removeNode(sibling);
|
|
3995
|
+
if (!!(process.env.NODE_ENV !== "production") && sibling.type === 3) {
|
|
3996
|
+
comments.unshift(sibling);
|
|
3997
|
+
}
|
|
3994
3998
|
continue;
|
|
3995
3999
|
}
|
|
3996
4000
|
if (sibling && sibling.type === 9) {
|
|
@@ -4462,7 +4466,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
4462
4466
|
let prev;
|
|
4463
4467
|
while (j--) {
|
|
4464
4468
|
prev = children[j];
|
|
4465
|
-
if (
|
|
4469
|
+
if (!isCommentOrWhitespace(prev)) {
|
|
4466
4470
|
break;
|
|
4467
4471
|
}
|
|
4468
4472
|
}
|
|
@@ -4540,7 +4544,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
4540
4544
|
} else if (implicitDefaultChildren.length && // #3766
|
|
4541
4545
|
// with whitespace: 'preserve', whitespaces between slots will end up in
|
|
4542
4546
|
// implicitDefaultChildren. Ignore if all implicit children are whitespaces.
|
|
4543
|
-
implicitDefaultChildren.
|
|
4547
|
+
!implicitDefaultChildren.every(isWhitespaceText)) {
|
|
4544
4548
|
if (hasNamedDefaultSlot) {
|
|
4545
4549
|
context.onError(
|
|
4546
4550
|
createCompilerError(
|
|
@@ -4613,11 +4617,6 @@ function hasForwardedSlots(children) {
|
|
|
4613
4617
|
}
|
|
4614
4618
|
return false;
|
|
4615
4619
|
}
|
|
4616
|
-
function isNonWhitespaceContent(node) {
|
|
4617
|
-
if (node.type !== 2 && node.type !== 12)
|
|
4618
|
-
return true;
|
|
4619
|
-
return node.type === 2 ? !!node.content.trim() : isNonWhitespaceContent(node.content);
|
|
4620
|
-
}
|
|
4621
4620
|
|
|
4622
4621
|
const directiveImportMap = /* @__PURE__ */ new WeakMap();
|
|
4623
4622
|
const transformElement = (node, context) => {
|
|
@@ -5812,4 +5811,4 @@ const BindingTypes = {
|
|
|
5812
5811
|
|
|
5813
5812
|
const noopDirectiveTransform = () => ({ props: [] });
|
|
5814
5813
|
|
|
5815
|
-
export { BASE_TRANSITION, BindingTypes, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, CompilerDeprecationTypes, ConstantTypes, ElementTypes, ErrorCodes, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, Namespaces, NodeTypes, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TS_NODE_TYPES, UNREF, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, errorMessages, extractIdentifiers, findDir, findProp, forAliasRE, generate, getBaseTransformPreset, getConstantType, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isCoreComponent, isFnExpression, isFnExpressionBrowser, isFnExpressionNode, isFunctionType, isInDestructureAssignment, isInNewExpression, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVPre, isVSlot, locStub, noopDirectiveTransform, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, transformVBindShorthand, traverseNode, unwrapTSNode, validFirstIdentCharRE, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|
|
5814
|
+
export { BASE_TRANSITION, BindingTypes, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, CompilerDeprecationTypes, ConstantTypes, ElementTypes, ErrorCodes, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, Namespaces, NodeTypes, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TS_NODE_TYPES, UNREF, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, errorMessages, extractIdentifiers, findDir, findProp, forAliasRE, generate, getBaseTransformPreset, getConstantType, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isAllWhitespace, isCommentOrWhitespace, isCoreComponent, isFnExpression, isFnExpressionBrowser, isFnExpressionNode, isFunctionType, isInDestructureAssignment, isInNewExpression, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVPre, isVSlot, isWhitespaceText, locStub, noopDirectiveTransform, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, transformVBindShorthand, traverseNode, unwrapTSNode, validFirstIdentCharRE, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.25",
|
|
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.25"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.28.5"
|