mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
9 lines
249 B
TypeScript
9 lines
249 B
TypeScript
import { PackageDataEntry } from '../services/patch-db/data-model'
|
|
|
|
export function hasCurrentDeps(
|
|
id: string,
|
|
pkgs: Record<string, PackageDataEntry>,
|
|
): boolean {
|
|
return !!Object.values(pkgs).some(pkg => !!pkg['current-dependencies'][id])
|
|
}
|