@vue/compiler-core 3.6.0-rc.1 → 3.6.0-rc.2
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.6.0-rc.
|
|
2
|
+
* @vue/compiler-core v3.6.0-rc.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3156,7 +3156,7 @@ function getSelfName(filename) {
|
|
|
3156
3156
|
const nameMatch = filename.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/);
|
|
3157
3157
|
return nameMatch ? (0, _vue_shared.capitalize)((0, _vue_shared.camelize)(nameMatch[1])) : null;
|
|
3158
3158
|
}
|
|
3159
|
-
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = _vue_shared.NOOP, isCustomElement = _vue_shared.NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = _vue_shared.EMPTY_OBJ, inline = false, isTS = false,
|
|
3159
|
+
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = _vue_shared.NOOP, isCustomElement = _vue_shared.NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = _vue_shared.EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
|
|
3160
3160
|
const context = {
|
|
3161
3161
|
filename,
|
|
3162
3162
|
selfName: getSelfName(filename),
|
|
@@ -3178,7 +3178,6 @@ function createTransformContext(root, { filename = "", prefixIdentifiers = false
|
|
|
3178
3178
|
bindingMetadata,
|
|
3179
3179
|
inline,
|
|
3180
3180
|
isTS,
|
|
3181
|
-
eventDelegation,
|
|
3182
3181
|
onError,
|
|
3183
3182
|
onWarn,
|
|
3184
3183
|
compatConfig,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.6.0-rc.
|
|
2
|
+
* @vue/compiler-core v3.6.0-rc.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3135,7 +3135,7 @@ function getSelfName(filename) {
|
|
|
3135
3135
|
const nameMatch = filename.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/);
|
|
3136
3136
|
return nameMatch ? (0, _vue_shared.capitalize)((0, _vue_shared.camelize)(nameMatch[1])) : null;
|
|
3137
3137
|
}
|
|
3138
|
-
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = _vue_shared.NOOP, isCustomElement = _vue_shared.NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = _vue_shared.EMPTY_OBJ, inline = false, isTS = false,
|
|
3138
|
+
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = _vue_shared.NOOP, isCustomElement = _vue_shared.NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = _vue_shared.EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
|
|
3139
3139
|
const context = {
|
|
3140
3140
|
filename,
|
|
3141
3141
|
selfName: getSelfName(filename),
|
|
@@ -3157,7 +3157,6 @@ function createTransformContext(root, { filename = "", prefixIdentifiers = false
|
|
|
3157
3157
|
bindingMetadata,
|
|
3158
3158
|
inline,
|
|
3159
3159
|
isTS,
|
|
3160
|
-
eventDelegation,
|
|
3161
3160
|
onError,
|
|
3162
3161
|
onWarn,
|
|
3163
3162
|
compatConfig,
|
package/dist/compiler-core.d.ts
CHANGED
|
@@ -154,7 +154,6 @@ export declare function createTransformContext(root: RootNode, {
|
|
|
154
154
|
bindingMetadata,
|
|
155
155
|
inline,
|
|
156
156
|
isTS,
|
|
157
|
-
eventDelegation,
|
|
158
157
|
onError,
|
|
159
158
|
onWarn,
|
|
160
159
|
compatConfig
|
|
@@ -929,12 +928,6 @@ export interface TransformOptions extends SharedTransformCodegenOptions, ErrorHa
|
|
|
929
928
|
* correctly, e.g. #6938, #7138
|
|
930
929
|
*/
|
|
931
930
|
hmr?: boolean;
|
|
932
|
-
/**
|
|
933
|
-
* Vapor only: control whether eligible static DOM events are compiled to
|
|
934
|
-
* document-level delegated events.
|
|
935
|
-
* @default true
|
|
936
|
-
*/
|
|
937
|
-
eventDelegation?: boolean;
|
|
938
931
|
}
|
|
939
932
|
export interface CodegenOptions extends SharedTransformCodegenOptions {
|
|
940
933
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.6.0-rc.
|
|
2
|
+
* @vue/compiler-core v3.6.0-rc.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2494,7 +2494,7 @@ function getSelfName(filename) {
|
|
|
2494
2494
|
const nameMatch = filename.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/);
|
|
2495
2495
|
return nameMatch ? capitalize(camelize(nameMatch[1])) : null;
|
|
2496
2496
|
}
|
|
2497
|
-
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = NOOP, isCustomElement = NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = EMPTY_OBJ, inline = false, isTS = false,
|
|
2497
|
+
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = NOOP, isCustomElement = NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
|
|
2498
2498
|
const context = {
|
|
2499
2499
|
filename,
|
|
2500
2500
|
selfName: getSelfName(filename),
|
|
@@ -2516,7 +2516,6 @@ function createTransformContext(root, { filename = "", prefixIdentifiers = false
|
|
|
2516
2516
|
bindingMetadata,
|
|
2517
2517
|
inline,
|
|
2518
2518
|
isTS,
|
|
2519
|
-
eventDelegation,
|
|
2520
2519
|
onError,
|
|
2521
2520
|
onWarn,
|
|
2522
2521
|
compatConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.6.0-rc.
|
|
3
|
+
"version": "3.6.0-rc.2",
|
|
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": "^7.0.1",
|
|
51
51
|
"estree-walker": "^2.0.2",
|
|
52
52
|
"source-map-js": "^1.2.1",
|
|
53
|
-
"@vue/shared": "3.6.0-rc.
|
|
53
|
+
"@vue/shared": "3.6.0-rc.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.29.7"
|