feat(module-source): fix types, expose analyzer.js subpath (#3218)