You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2024. It is now read-only.
This is because our crawling is doing JavaScript AST parsing and is looking for function calls require(), but does not look inside strings.
Looking inside strings would be quite complicated. Also I don't really see why one would want to wrap require() in eval() here since eval() inherits the current context.
See #16 (comment) (comment by @jon301).
Dependencies crawling works with:
But not with:
This is because our crawling is doing JavaScript AST parsing and is looking for function calls
require()
, but does not look inside strings.Looking inside strings would be quite complicated. Also I don't really see why one would want to wrap
require()
ineval()
here sinceeval()
inherits the current context.However it turns out this specific project is actually doing just that.
I've opened an issue here for this specific library.
The text was updated successfully, but these errors were encountered: