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 {
2727 MkExtendedInstance ( VueExtend extend , DataFlow:: NewNode sub ) {
2828 sub = extend .getAnInstantiation ( )
2929 } or
30- MkComponent ( DataFlow:: CallNode def ) { def = vue ( ) .getAMemberCall ( "component" ) } or
30+ MkComponentRegistration ( DataFlow:: CallNode def ) { def = vue ( ) .getAMemberCall ( "component" ) } or
3131 MkSingleFileComponent ( VueFile file )
3232
3333 /** Gets the name of a lifecycle hook method. */
@@ -402,10 +402,10 @@ module Vue {
402402 /**
403403 * A Vue component from `Vue.component("my-component", { ... })`.
404404 */
405- class Component extends Instance , MkComponent {
405+ class ComponentRegistration extends Instance , MkComponentRegistration {
406406 DataFlow:: CallNode def ;
407407
408- Component ( ) { this = MkComponent ( def ) }
408+ ComponentRegistration ( ) { this = MkComponentRegistration ( def ) }
409409
410410 override string toString ( ) { result = def .toString ( ) }
411411
You can’t perform that action at this time.
0 commit comments