(path: string)
| 52 | |
| 53 | /** Returns true if the file path is a supported dependency manifest. */ |
| 54 | export function isManifestFile(path: string): boolean { |
| 55 | const basename = path.split('/').pop() ?? ''; |
| 56 | if (LOCK_BASENAMES.has(basename)) return false; |
| 57 | return MANIFEST_BASENAMES.has(basename); |
| 58 | } |
| 59 | |
| 60 | /** Dispatch to the correct parser based on filename. */ |
| 61 | export function parseManifest( |
no outgoing calls
no test coverage detected