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
fix(cli): lexer-based comment handling and binding-verified createRequire detection
Scanning now runs on a comment-stripped, template-blanked copy of the
source (string-aware, offsets preserved), so commented-out code never
registers require names, closed inline comments don't hide real calls,
and // inside a string is not mistaken for a comment. Calls are only
recognized when the createRequire binding provably comes from the module
builtin (named import, namespace member, or CJS destructure), typed
require variables and two-level-nested createRequire arguments are
matched, whitespace before require( is accepted, and the node_modules
skip matches path segments instead of substrings.
0 commit comments