mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
9 lines
250 B
TypeScript
9 lines
250 B
TypeScript
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
|
|
|
|
export function hasCurrentDeps(
|
|
id: string,
|
|
pkgs: Record<string, PackageDataEntry>,
|
|
): boolean {
|
|
return !!Object.values(pkgs).some(pkg => !!pkg.currentDependencies[id])
|
|
}
|