Vigia

将 @appium/support 从 7.x 升级到 8.x

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

概要

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

已删除的导出

importexportkind之前
@appium/supportenvnamespacenamespace
@appium/supportnpmvariableNPM
@appium/supportmjpegnamespacenamespace
@appium/supportReadFntype(fd: number, buffer: any, offset?: number | undefined, length?: number | undefined, position?: number | null | undefined) => B<{ bytesRead: number; buffer: TBuffer; }>
@appium/supportmkdirpvariable(dir: any): Promise<string | undefined>
@appium/supportprocessnamespacenamespace
@appium/supportExecOptsinterfaceinterface
@appium/supportimageUtilnamespacenamespace
@appium/supportFtpUploadOptionsinterfaceinterface
@appium/supportcancellableDelayvariable(ms: number): any
@appium/supportNpmInstallReceiptinterfaceinterface
@appium/supportInstallPackageOptsinterfaceinterface
@appium/supportNotHttpUploadOptionstypeFtpUploadOptions

已修改的签名

export之前之后
@appium/support · fs{ hasAccess(filePath: PathLike): Promise<boolean>; isExecutable(filePath: PathLike): Promise<boolean>; exists(filePath: PathLike): Promise<boolean>; rimraf(filepath: PathLike): Promise<void>; rimrafSync(filepath: PathLike): void; mkdir(filepath: any, opts?: any): Promise<string | undefined>; copyFile(source: string, destination: string, opts?: CopyFileOptions | undefined): Promise<void>; md5(filePath: PathLike): Promise<string>; mv(from: string, to: string, opts?: MvOptions | undefined): Promise<void>; which: any; glob(pattern: string, options?: any): Promise<string[]>; sanitizeName: any; hash…{ hasAccess(filePath: PathLike): Promise<boolean>; isExecutable(filePath: PathLike): Promise<boolean>; exists(filePath: PathLike): Promise<boolean>; rimraf(filepath: PathLike, opts?: RimrafOptions | undefined): Promise<void>; rimrafSync(filepath: PathLike, opts?: RimrafOptions | undefined): void; mkdir(filepath: any, opts?: any): Promise<string | undefined>; copyFile(source: string, destination: string, opts?: CopyFileOptions | undefined): Promise<void>; md5(filePath: PathLike): Promise<string>; mv(from: string, to: string, opts?: MvOptions | undefined): Promise<void>; which: any; glob: GlobFn…
@appium/support · default{ tempDir: typeof import("/pkg/build/lib/tempdir"); system: typeof import("/pkg/build/lib/system"); util: typeof import("/pkg/build/lib/util"); fs: { hasAccess(filePath: any): Promise<boolean>; isExecutable(filePath: any): Promise<boolean>; exists(filePath: any): Promise<boolean>; rimraf(filepath: any): Promise<void>; rimrafSync(filepath: any): void; mkdir(filepath: any, opts?: any): Promise<string | undefined>; copyFile(source: string, destination: string, opts?: CopyFileOptions | undefined): Promise<void>; md5(filePath: any): Promise<string>; mv(from: string, to: string, opts?: MvOptions | u…{ tempDir: typeof import("/pkg/build/lib/tempdir"); system: typeof import("/pkg/build/lib/system"); util: typeof import("/pkg/build/lib/util"); fs: { hasAccess(filePath: any): Promise<boolean>; isExecutable(filePath: any): Promise<boolean>; exists(filePath: any): Promise<boolean>; rimraf(filepath: any, opts?: RimrafOptions | undefined): Promise<void>; rimrafSync(filepath: any, opts?: RimrafOptions | undefined): void; mkdir(filepath: any, opts?: any): Promise<string | undefined>; copyFile(source: string, destination: string, opts?: CopyFileOptions | undefined): Promise<void>; md5(filePath: any)…

已删除的类或接口成员

memberimport之前
CopyFileOptions.errs@appium/supportany
CopyFileOptions.limit@appium/supportnumber | undefined
CopyFileOptions.stopOnErr@appium/supportboolean | undefined
CopyFileOptions.transform@appium/support((read: NodeJS.ReadableStream, write: NodeJS.WritableStream, file: CopyFileDescriptor) => void) | undefined
ExtractAllOptions.useSystemUnzip@appium/supportboolean | undefined

已修改的类或接口成员

未发现。

新增弃用

未发现。

要求变化(engines、peer 依赖)

之前之后
engines.node^20.19.0 || ^22.12.0 || >=24.0.0^22.22.2 || ^24.15.0 || >=26.0.0
新增导出 (5)
importexportkind
@appium/supportPortStatustype
@appium/supportRimrafOptionstype
@appium/supportFreePortOptionsinterface
@appium/supportPortCheckOptionsinterface
@appium/supportExtractStreamOptionsinterface

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

将 @appium/support 从 7 升级到 8 有哪些不兼容变更?

在 @appium/support 7.2.9 与 8.0.0 之间,Vigia 发现 13 个已删除的导出、2 个已修改的签名,以及 5 个已删除或修改的类或接口成员。

@appium/support 8 中弃用了哪些内容?

@appium/support 8.0.0 中有 0 个导出或成员新被标记为弃用。

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/@appium/support/upgrade?from=7.2.9&to=8.0.0