@vue/compiler-core 3.3.12 → 3.3.13
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.
|
@@ -448,7 +448,7 @@ const isMemberExpressionNode = (path, context) => {
|
|
|
448
448
|
if (ret.type === "TSAsExpression" || ret.type === "TSTypeAssertion") {
|
|
449
449
|
ret = ret.expression;
|
|
450
450
|
}
|
|
451
|
-
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier";
|
|
451
|
+
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier" && ret.name !== "undefined";
|
|
452
452
|
} catch (e) {
|
|
453
453
|
return false;
|
|
454
454
|
}
|
|
@@ -447,7 +447,7 @@ const isMemberExpressionNode = (path, context) => {
|
|
|
447
447
|
if (ret.type === "TSAsExpression" || ret.type === "TSTypeAssertion") {
|
|
448
448
|
ret = ret.expression;
|
|
449
449
|
}
|
|
450
|
-
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier";
|
|
450
|
+
return ret.type === "MemberExpression" || ret.type === "OptionalMemberExpression" || ret.type === "Identifier" && ret.name !== "undefined";
|
|
451
451
|
} catch (e) {
|
|
452
452
|
return false;
|
|
453
453
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.13",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@babel/parser": "^7.23.5",
|
|
36
36
|
"estree-walker": "^2.0.2",
|
|
37
37
|
"source-map-js": "^1.0.2",
|
|
38
|
-
"@vue/shared": "3.3.
|
|
38
|
+
"@vue/shared": "3.3.13"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@babel/types": "^7.23.5"
|