pantoken / plugins/pantoken/deprecations/src / deprecationShims
Function: deprecationShims()
deprecationShims(
ledger):PantokenPlugin
Beta
Create the deprecation-shim plugin from a ledger.
Parameters
ledger
DeprecationLedger
The DeprecationLedger (e.g. formats/tokens/deprecations.json).
Returns
A PantokenPlugin whose tokens hook appends one shim per entry.