Ignore node_modules dir
Make leak tests pass.
Remove unused variable.
A bit of refactoring, separating concerns.
Refactor out finding of all references.
Separate declaration lookup.
Separate identifier and declaration lookup.
Move method around.
Rename to consistent _ prefixed name.
Extract method and remove duplication.
Use the first definition as declaration, fixes the failing test too.
Add another test case.
Add two failing test cases.
Just a better name.
Don't expect those to be in references (I just misunderstood the API until now).
Find function declaration, should close #7.
Now that all tests pass #8 should be closed too.