File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ module Vue {
27
27
MkExtendedInstance ( VueExtend extend , DataFlow:: NewNode sub ) {
28
28
sub = extend .getAnInstantiation ( )
29
29
} or
30
- MkComponent ( DataFlow:: CallNode def ) { def = vue ( ) .getAMemberCall ( "component" ) } or
30
+ MkComponentRegistration ( DataFlow:: CallNode def ) { def = vue ( ) .getAMemberCall ( "component" ) } or
31
31
MkSingleFileComponent ( VueFile file )
32
32
33
33
/** Gets the name of a lifecycle hook method. */
@@ -402,10 +402,10 @@ module Vue {
402
402
/**
403
403
* A Vue component from `Vue.component("my-component", { ... })`.
404
404
*/
405
- class Component extends Instance , MkComponent {
405
+ class ComponentRegistration extends Instance , MkComponentRegistration {
406
406
DataFlow:: CallNode def ;
407
407
408
- Component ( ) { this = MkComponent ( def ) }
408
+ ComponentRegistration ( ) { this = MkComponentRegistration ( def ) }
409
409
410
410
override string toString ( ) { result = def .toString ( ) }
411
411
You can’t perform that action at this time.
0 commit comments