We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9b5c8 commit 45c0709Copy full SHA for 45c0709
1 file changed
services/apps/packages_worker/src/security-contacts/extractors/registry/index.ts
@@ -17,16 +17,17 @@ type EcosystemFetcher = (
17
repoUrl?: string,
18
) => Promise<ExtractorResult>
19
20
-// Keyed by the lowercased packages.ecosystem value.
21
-const FETCHERS: Record<string, EcosystemFetcher> = {
+// Keyed by the lowercased packages.ecosystem value. Composer packages live under
+// 'packagist' — the value the packagist worker seeds — not 'composer', which no
22
+// writer ever produces (the original entry predated the worker and guessed wrong).
23
+export const FETCHERS: Record<string, EcosystemFetcher> = {
24
npm: fetchNpm,
25
pypi: fetchPypi,
26
maven: fetchMaven,
27
cargo: fetchCargo,
28
nuget: fetchNuget,
29
rubygems: fetchRubygems,
30
packagist: fetchComposer,
- composer: fetchComposer,
31
go: fetchGo,
32
}
33
0 commit comments