Vigia

Aggiornare @appium/base-driver da 10.x a 11.x

Confronto dell’API pubblica di @appium/base-driver 10.8.3 e 11.0.0, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.

Riepilogo

Percorsi di import rimossi0
Export rimossi11
Firme modificate4
Membri di classi o interfacce rimossi13
Membri di classi o interfacce modificati11
Nuove deprecazioni0
Requisiti cambiati (engines, dipendenze peer)1
Nuovi export15

Export rimossi

importexportkindPrima
@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

Firme modificate

exportPrimaDopo
@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

Membri di classi o interfacce rimossi

memberimportPrima
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

Membri di classi o interfacce modificati

memberPrimaDopo
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

Nuove deprecazioni

Nessuna rilevata.

Requisiti cambiati (engines, dipendenze peer)

PrimaDopo
engines.node^20.19.0 || ^22.12.0 || >=24.0.0^22.22.2 || ^24.15.0 || >=26.0.0
Nuovi export (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

Dai questi dati al tuo agente IA

Vigia è un server MCP gratuito: il tuo agente di programmazione verifica versioni, modifiche incompatibili e vulnerabilità prima di scrivere codice. Senza registrazione né chiave API.

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

Aggiungi a CursorAggiungi a VS Code★ Stella su GitHub

Qualsiasi altro client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill per agenti (SKILL.md): dice all'agente quando usare Vigia · GitHub Action per le pull request

Domande frequenti

Quali sono le modifiche incompatibili aggiornando @appium/base-driver da 10 a 11?

Tra @appium/base-driver 10.8.3 e 11.0.0, Vigia ha trovato 11 export rimossi, 4 firme modificate e 24 membri di classi o interfacce rimossi o modificati.

Cosa è stato deprecato in @appium/base-driver 11?

0 export o membri risultano ora deprecati in @appium/base-driver 11.0.0.

Per gli agenti

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