@vue/compiler-core 3.4.6 → 3.4.8
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,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/compiler-core v3.4.8
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
1
6
|
'use strict';
|
|
2
7
|
|
|
3
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -2591,7 +2596,7 @@ function onCloseTag(el, end, isImplied = false) {
|
|
|
2591
2596
|
}
|
|
2592
2597
|
}
|
|
2593
2598
|
}
|
|
2594
|
-
if (isCompatEnabled(
|
|
2599
|
+
if (!tokenizer.inSFCRoot && isCompatEnabled(
|
|
2595
2600
|
"COMPILER_NATIVE_TEMPLATE",
|
|
2596
2601
|
currentOptions
|
|
2597
2602
|
) && el.tag === "template" && !isFragmentTemplate(el)) {
|
|
@@ -3226,8 +3231,7 @@ function createTransformContext(root, {
|
|
|
3226
3231
|
}
|
|
3227
3232
|
context.parent.children.splice(removalIndex, 1);
|
|
3228
3233
|
},
|
|
3229
|
-
onNodeRemoved:
|
|
3230
|
-
},
|
|
3234
|
+
onNodeRemoved: shared.NOOP,
|
|
3231
3235
|
addIdentifiers(exp) {
|
|
3232
3236
|
{
|
|
3233
3237
|
if (shared.isString(exp)) {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/compiler-core v3.4.8
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
1
6
|
'use strict';
|
|
2
7
|
|
|
3
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -2562,7 +2567,7 @@ function onCloseTag(el, end, isImplied = false) {
|
|
|
2562
2567
|
}
|
|
2563
2568
|
{
|
|
2564
2569
|
const props = el.props;
|
|
2565
|
-
if (isCompatEnabled(
|
|
2570
|
+
if (!tokenizer.inSFCRoot && isCompatEnabled(
|
|
2566
2571
|
"COMPILER_NATIVE_TEMPLATE",
|
|
2567
2572
|
currentOptions
|
|
2568
2573
|
) && el.tag === "template" && !isFragmentTemplate(el)) {
|
|
@@ -3171,8 +3176,7 @@ function createTransformContext(root, {
|
|
|
3171
3176
|
}
|
|
3172
3177
|
context.parent.children.splice(removalIndex, 1);
|
|
3173
3178
|
},
|
|
3174
|
-
onNodeRemoved:
|
|
3175
|
-
},
|
|
3179
|
+
onNodeRemoved: shared.NOOP,
|
|
3176
3180
|
addIdentifiers(exp) {
|
|
3177
3181
|
{
|
|
3178
3182
|
if (shared.isString(exp)) {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/compiler-core v3.4.8
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
1
6
|
import { isString, NOOP, isObject, NO, extend, isSymbol, isArray, capitalize, camelize, EMPTY_OBJ, PatchFlagNames, slotFlagsText, isOn, isBuiltInDirective, isReservedProp, toHandlerKey } from '@vue/shared';
|
|
2
7
|
export { generateCodeFrame } from '@vue/shared';
|
|
3
8
|
|
|
@@ -2356,7 +2361,7 @@ function onCloseTag(el, end, isImplied = false) {
|
|
|
2356
2361
|
}
|
|
2357
2362
|
}
|
|
2358
2363
|
}
|
|
2359
|
-
if (isCompatEnabled(
|
|
2364
|
+
if (!tokenizer.inSFCRoot && isCompatEnabled(
|
|
2360
2365
|
"COMPILER_NATIVE_TEMPLATE",
|
|
2361
2366
|
currentOptions
|
|
2362
2367
|
) && el.tag === "template" && !isFragmentTemplate(el)) {
|
|
@@ -2970,8 +2975,7 @@ function createTransformContext(root, {
|
|
|
2970
2975
|
}
|
|
2971
2976
|
context.parent.children.splice(removalIndex, 1);
|
|
2972
2977
|
},
|
|
2973
|
-
onNodeRemoved:
|
|
2974
|
-
},
|
|
2978
|
+
onNodeRemoved: NOOP,
|
|
2975
2979
|
addIdentifiers(exp) {
|
|
2976
2980
|
},
|
|
2977
2981
|
removeIdentifiers(exp) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.8",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"entities": "^4.5.0",
|
|
37
37
|
"estree-walker": "^2.0.2",
|
|
38
38
|
"source-map-js": "^1.0.2",
|
|
39
|
-
"@vue/shared": "3.4.
|
|
39
|
+
"@vue/shared": "3.4.8"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@babel/types": "^7.23.6"
|