Vigia

将 send 从 0.x 升级到 1.x

根据 TypeScript 类型自动比较 send 0.19.2 与 1.2.1 的公开 API。签名变化表示可能存在不兼容变更,并非确定结论。

概要

已删除的导入路径0
已删除的导出1
已修改的签名0
已删除的类或接口成员6
已修改的类或接口成员0
新增弃用0
要求变化(engines、peer 依赖)1
新增导出0

已删除的导出

importexportkind之前
sendmimevariableany

已修改的签名

未发现。

已删除的类或接口成员

memberimport之前
SendStream.etagsend(val: boolean): SendStream
SendStream.fromsend(paths: string): SendStream
SendStream.rootsend(paths: string): SendStream
SendStream.indexsend(paths: string | string[]): SendStream
SendStream.hiddensend(val: boolean): SendStream
SendStream.maxagesend(maxAge: string | number): SendStream

已修改的类或接口成员

未发现。

新增弃用

未发现。

要求变化(engines、peer 依赖)

之前之后
engines.node>= 0.8.0>= 18

常见问题

将 send 从 0 升级到 1 有哪些不兼容变更?

在 send 0.19.2 与 1.2.1 之间,Vigia 发现 1 个已删除的导出、0 个已修改的签名,以及 6 个已删除或修改的类或接口成员。

send 1 中弃用了哪些内容?

send 1.2.1 中有 0 个导出或成员新被标记为弃用。

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/send/upgrade?from=0.19.2&to=1.2.1