---
jsApi: true
title: "[F] getVersionDependencies"

---
```ts
getVersionDependencies(program, namespace): Map< Namespace, Map< Version, Version > | Version > | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `namespace` | `Namespace` |

## Returns

`Map`< `Namespace`, `Map`< [`Version`](Interface.Version.md), [`Version`](Interface.Version.md) \> \| [`Version`](Interface.Version.md) \> \| `undefined`
