Skip to content

pantoken-root / plugins/pantoken/deprecations/src / dueForRemoval

函数: dueForRemoval() ​

dueForRemoval(ledger, current): DeprecationEntry[]

Beta

那些其 removeIn 上游次版本已被当前构建达到的条目 —— 即现在必须退役的 shims。 只要存在这些条目,升级流水线在执行 bless 时就会失败。

参数 ​

ledger ​

DeprecationLedger

弃用账本。

current ​

UpstreamVersions

当前解析出的上游版本。

返回值 ​

DeprecationEntry[]

预计将被移除的条目。