---
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`](../interfaces/Version.md), [`Version`](../interfaces/Version.md)\> \| [`Version`](../interfaces/Version.md)\> \| `undefined`
