@vue/compiler-core 3.4.0-alpha.2 → 3.4.0-alpha.3
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.
|
@@ -1157,7 +1157,7 @@ function defaultOnWarn(msg) {
|
|
|
1157
1157
|
!!(process.env.NODE_ENV !== "production") && console.warn(`[Vue warn] ${msg.message}`);
|
|
1158
1158
|
}
|
|
1159
1159
|
function createCompilerError(code, loc, messages, additionalMessage) {
|
|
1160
|
-
const msg = !!(process.env.NODE_ENV !== "production") || false ? (messages || errorMessages)[code] + (additionalMessage || ``) : code
|
|
1160
|
+
const msg = !!(process.env.NODE_ENV !== "production") || false ? (messages || errorMessages)[code] + (additionalMessage || ``) : `https://vuejs.org/errors/#compiler-${code}`;
|
|
1161
1161
|
const error = new SyntaxError(String(msg));
|
|
1162
1162
|
error.code = code;
|
|
1163
1163
|
error.loc = loc;
|
|
@@ -1680,6 +1680,8 @@ const tokenizer = new Tokenizer(stack, {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
},
|
|
1682
1682
|
ondirarg(start, end) {
|
|
1683
|
+
if (start === end)
|
|
1684
|
+
return;
|
|
1683
1685
|
const arg = getSlice(start, end);
|
|
1684
1686
|
if (inVPre) {
|
|
1685
1687
|
currentProp.name += arg;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.4.0-alpha.
|
|
3
|
+
"version": "3.4.0-alpha.3",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/parser": "^7.23.
|
|
35
|
+
"@babel/parser": "^7.23.4",
|
|
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.0-alpha.
|
|
39
|
+
"@vue/shared": "3.4.0-alpha.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@babel/types": "^7.23.
|
|
42
|
+
"@babel/types": "^7.23.4"
|
|
43
43
|
}
|
|
44
44
|
}
|