Vigia

@appium/base-driver: 10.x sürümünden 11.x sürümüne yükseltme

@appium/base-driver 10.8.3 ve 11.0.0 sürümlerinin genel API karşılaştırması, TypeScript tiplerinden otomatik olarak hesaplanır. Değişen bir imza olası bir uyumsuz değişikliktir, kesinlik değildir.

Özet

Kaldırılan içe aktarma yolları0
Kaldırılan dışa aktarımlar11
Değişen imzalar4
Kaldırılan sınıf veya arayüz üyeleri13
Değişen sınıf veya arayüz üyeleri11
Yeni kullanımdan kaldırılanlar0
Gereksinim değişiklikleri (engines, peer bağımlılıkları)1
Yeni dışa aktarımlar15

Kaldırılan dışa aktarımlar

importexportkindÖnce
@appium/base-driverserverfunction(opts: ServerOpts): Promise<AppiumServer>
@appium/base-driverJWProxyclassclass
@appium/base-driverdefaultclassclass
@appium/base-driverSTATIC_DIRvariablestring
@appium/base-driverServerOptsinterfaceinterface
@appium/base-driverstatusCodesvariable{ readonly Success: { readonly code: 0; readonly summary: "The command executed successfully."; }; readonly NoSuchDriver: { readonly code: 6; readonly summary: "A session is either terminated or not started"; }; readonly NoSuchElement: { readonly code: 7; readonly summary: "An element could not be located on the page using the given search parameters."; }; readonly NoSuchFrame: { readonly code: 8; readonly summary: "A request to switch to a frame could not be satisfied because the frame could not be found."; }; readonly UnknownCommand: { readonly code: 9; readonly summary: "The requested resou…
@appium/base-drivererrorFromCodefunction(code: number, value?: string | { message: string; } | undefined): ProtocolError
@appium/base-drivergetSummaryByCodefunction(code: string | number): string
@appium/base-driverdetermineProtocolfunction(createSessionArgs: any[]): "W3C" | "MJSONWP"
@appium/base-drivernormalizeBasePathfunction(basePath: string): string
@appium/base-drivererrorFromMJSONWPStatusCodefunction(code: number, value?: string | { message: string; } | undefined): ProtocolError

Değişen imzalar

exportÖnceSonra
@appium/base-driver · checkParams(paramSpec: PayloadParams, args: Record<string, any>, protocol?: "W3C" | "MJSONWP" | undefined): Record<string, any>(paramSpec: PayloadParams, args: Record<string, any>, options?: CheckParamsOptions | undefined): Record<string, any>
@appium/base-driver · BIDI_COMMANDS{ readonly session: { readonly subscribe: { readonly command: "bidiSubscribe"; readonly params: { readonly required: readonly ["events"]; readonly optional: readonly ["contexts"]; }; }; readonly unsubscribe: { readonly command: "bidiUnsubscribe"; readonly params: { readonly optional: readonly ["events", "contexts", "subscriptions"]; }; }; readonly status: { readonly command: "bidiStatus"; readonly params: {}; }; }; readonly browsingContext: { readonly navigate: { readonly command: "bidiNavigate"; readonly params: { readonly required: readonly ["context", "url"]; readonly optional: readonly ["w…{ readonly session: { readonly status: { readonly command: "bidiStatus"; readonly params: {}; }; readonly new: { readonly command: "bidiSessionNew"; readonly params: { readonly required: readonly ["capabilities"]; }; }; readonly end: { readonly command: "bidiSessionEnd"; readonly params: {}; }; readonly subscribe: { readonly command: "bidiSubscribe"; readonly params: { readonly required: readonly ["events"]; readonly optional: readonly ["contexts", "userContexts"]; }; }; readonly unsubscribe: { readonly command: "bidiUnsubscribe"; readonly params: { readonly required: readonly [readonly ["subs…
@appium/base-driver · errorFromW3CJsonCode(signature: string, message: string, stacktrace?: string | undefined): ProtocolError(signature: string, message: string, stacktrace?: string | undefined, data?: Record<string, unknown> | undefined): ProtocolError
@appium/base-driver · generateDriverLogPrefix(obj: object | null, _sessionId?: string | null | undefined): string(obj: object | null): string

Kaldırılan sınıf veya arayüz üyeleri

memberimportÖnce
BaseDriver.reset@appium/base-driver(): Promise<void>
BaseDriver.driverData@appium/base-driver{}
BaseDriver.getSession@appium/base-driver(): Promise<SingularSessionData<C, SessionData>>
BaseDriver.isMjsonwpProtocol@appium/base-driver(): boolean
BaseDriver.setProtocolMJSONWP@appium/base-driver(): void
DriverCore.driverData@appium/base-driver{}
DriverCore.isMjsonwpProtocol@appium/base-driver(): boolean
DriverCore.setProtocolMJSONWP@appium/base-driver(): void
WebDriverProxy.protocolConverter@appium/base-driverProtocolConverter
WebDriverProxy.downstreamProtocol@appium/base-driverProtocol | null | undefined
WebDriverProxy._downstreamProtocol@appium/base-driverany
WebDriverProxy.getSessionIdFromUrl@appium/base-driver(url: string): string | null
WebDriverProxy.getProtocolFromResBody@appium/base-driver(resObj: Record<string, unknown>): Protocol | undefined

Değişen sınıf veya arayüz üyeleri

memberÖnceSonra
BaseDriver.helperstypeof import("/pkg/build/lib/basedriver/helpers")typeof import("/pkg/build/lib/basedriver/helpers/index")
BaseDriver.getStatus(): Promise<{}>(): Promise<any>
BaseDriver.constructor<const C extends Constraints, CArgs extends StringRecord = StringRecord, Settings extends StringRecord = StringRecord, CreateResult = DefaultCreateSessionResult<C>, DeleteResult = DefaultDeleteSessionResult, SessionData extends StringRecord = StringRecord>(opts: InitialOpts, shouldValidateCaps?: boo…<const C extends Constraints, CArgs extends StringRecord = StringRecord, Settings extends StringRecord = StringRecord, CreateResult = DefaultCreateSessionResult<C>, DeleteResult = DefaultDeleteSessionResult>(opts?: any, shouldValidateCaps?: boolean | undefined): BaseDriver<C, CArgs, Settings, Create…
BaseDriver.createSession(w3cCapabilities: W3CDriverCaps<C>): Promise<CreateResult> | (...legacyArgs: LegacyCreateSessionArgs<C>): Promise<CreateResult>(w3cCapabilities: W3CDriverCaps<C>): Promise<CreateResult>
BaseDriver.implicitWaitMsnumberTimeoutValue
BaseDriver.getManagedDrivers(): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[](): Driver[]
DriverCore.helperstypeof import("/pkg/build/lib/basedriver/helpers")typeof import("/pkg/build/lib/basedriver/helpers/index")
DriverCore.getStatus(): Promise<{}>(): Promise<any>
DriverCore.implicitWaitMsnumberTimeoutValue
DriverCore.getManagedDrivers(): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[](): Driver[]
WebDriverProxy.constructor(opts?: any): JWProxy(opts?: any): WebDriverProxy

Yeni kullanımdan kaldırılanlar

Tespit edilmedi.

Gereksinim değişiklikleri (engines, peer bağımlılıkları)

ÖnceSonra
engines.node^20.19.0 || ^22.12.0 || >=24.0.0^22.22.2 || ^24.15.0 || >=26.0.0
Yeni dışa aktarımlar (15)
importexportkind
@appium/base-drivergetProxyReqfunction
@appium/base-drivercalcSignaturefunction
@appium/base-driverJsonParseErrorsclass
@appium/base-driverW3C_TIMEOUTS_MSvariable
@appium/base-driverjsonParseErrorsvariable
@appium/base-driverrunWithProxyReqfunction
@appium/base-driverwithoutProxyReqfunction
@appium/base-driverhandleIdempotencyfunction
@appium/base-driverCheckParamsOptionsinterface
@appium/base-drivermarkResponseEnvelopefunction
@appium/base-driverrunWithCommandTimeoutfunction
@appium/base-driverNEW_COMMAND_TIMEOUT_MSvariable
@appium/base-driverRouteConfiguringFunctiontype
@appium/base-driverisProtocolResponseEnvelopefunction
@appium/base-driverRouteConfiguringFunctionOptsinterface

Bu verileri yapay zekâ ajanınıza verin

Vigia ücretsiz bir MCP sunucusudur: kodlama ajanınız kod yazmadan önce sürümleri, uyumsuz değişiklikleri ve güvenlik açıklarını kontrol eder. Kayıt ve API anahtarı gerekmez.

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

Cursor'a ekleVS Code'a ekle★ GitHub'da yıldız ver

Diğer tüm MCP istemcileri
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Ajan becerisi (SKILL.md): ajana Vigia'yı ne zaman kullanacağını söyler · Pull request için GitHub Action

Sık sorulan sorular

@appium/base-driver paketini 10 sürümünden 11 sürümüne yükseltirken uyumsuz değişiklikler nelerdir?

@appium/base-driver 10.8.3 ile 11.0.0 arasında Vigia 11 kaldırılan dışa aktarım, 4 değişen imza ve 24 kaldırılan veya değişen sınıf ya da arayüz üyesi buldu.

@appium/base-driver 11 sürümünde neler kullanımdan kaldırıldı?

@appium/base-driver 11.0.0 sürümünde 0 dışa aktarım veya üye yeni olarak kullanımdan kaldırılmış işaretlendi.

Ajanlar için

GET https://vigia.coredls.cloud/v1/packages/npm/@appium/base-driver/upgrade?from=10.8.3&to=11.0.0