What
is called without await at ai-slop-detector.ts:861 inside analyzeFile, which is async. But analyzePackageVersions is also async and internally calls await this.getNpmPackageAge(...) to hit the npm registry.
Impact
The report is generated and the process exits before the HTTP fetches resolve. fresh_package_version issues are never pushed to this.issues and never appear in output.
Fix
Change line 861 from:
this.analyzePackageVersions(filePath, content);
to:
await this.analyzePackageVersions(filePath, content);
Location
ai-slop-detector.ts:861
What
is called without
awaitatai-slop-detector.ts:861insideanalyzeFile, which isasync. ButanalyzePackageVersionsis alsoasyncand internally callsawait this.getNpmPackageAge(...)to hit the npm registry.Impact
The report is generated and the process exits before the HTTP fetches resolve.
fresh_package_versionissues are never pushed tothis.issuesand never appear in output.Fix
Change line 861 from:
to:
Location
ai-slop-detector.ts:861