---
url: /api/plugins/pantoken/deprecations/src/functions/dueForRemoval.md
---
[pantoken-root](../../../../../index.md) / [plugins/pantoken/deprecations/src](../index.md) / dueForRemoval

# Function: dueForRemoval()

> **dueForRemoval**(`ledger`, `current`): `DeprecationEntry`\[]

Beta

The entries whose `removeIn` upstream minor has been reached by the current build — i.e. shims that
must now be retired. The upgrade pipeline fails a bless while any are present.

## Parameters

### ledger

`DeprecationLedger`

The deprecation ledger.

### current

[`UpstreamVersions`](../interfaces/UpstreamVersions.md)

The current resolved upstream versions.

## Returns

`DeprecationEntry`\[]

The entries due for removal.
