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 rimossi | 0 |
|---|---|
| Export rimossi | 11 |
| Firme modificate | 4 |
| Membri di classi o interfacce rimossi | 13 |
| Membri di classi o interfacce modificati | 11 |
| Nuove deprecazioni | 0 |
| Requisiti cambiati (engines, dipendenze peer) | 1 |
| Nuovi export | 15 |
Export rimossi
| import | export | kind | Prima |
|---|---|---|---|
@appium/base-driver | server | function | (opts: ServerOpts): Promise<AppiumServer> |
@appium/base-driver | JWProxy | class | class |
@appium/base-driver | default | class | class |
@appium/base-driver | STATIC_DIR | variable | string |
@appium/base-driver | ServerOpts | interface | interface |
@appium/base-driver | statusCodes | variable | { 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-driver | errorFromCode | function | (code: number, value?: string | { message: string; } | undefined): ProtocolError |
@appium/base-driver | getSummaryByCode | function | (code: string | number): string |
@appium/base-driver | determineProtocol | function | (createSessionArgs: any[]): "W3C" | "MJSONWP" |
@appium/base-driver | normalizeBasePath | function | (basePath: string): string |
@appium/base-driver | errorFromMJSONWPStatusCode | function | (code: number, value?: string | { message: string; } | undefined): ProtocolError |
Firme modificate
| export | Prima | Dopo |
|---|---|---|
@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
| member | import | Prima |
|---|---|---|
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-driver | ProtocolConverter |
WebDriverProxy.downstreamProtocol | @appium/base-driver | Protocol | null | undefined |
WebDriverProxy._downstreamProtocol | @appium/base-driver | any |
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
| member | Prima | Dopo |
|---|---|---|
BaseDriver.helpers | typeof 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.implicitWaitMs | number | TimeoutValue |
BaseDriver.getManagedDrivers | (): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[] | (): Driver[] |
DriverCore.helpers | typeof import("/pkg/build/lib/basedriver/helpers") | typeof import("/pkg/build/lib/basedriver/helpers/index") |
DriverCore.getStatus | (): Promise<{}> | (): Promise<any> |
DriverCore.implicitWaitMs | number | TimeoutValue |
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)
| Prima | Dopo | |
|---|---|---|
engines.node | ^20.19.0 || ^22.12.0 || >=24.0.0 | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Nuovi export (15)
| import | export | kind |
|---|---|---|
@appium/base-driver | getProxyReq | function |
@appium/base-driver | calcSignature | function |
@appium/base-driver | JsonParseErrors | class |
@appium/base-driver | W3C_TIMEOUTS_MS | variable |
@appium/base-driver | jsonParseErrors | variable |
@appium/base-driver | runWithProxyReq | function |
@appium/base-driver | withoutProxyReq | function |
@appium/base-driver | handleIdempotency | function |
@appium/base-driver | CheckParamsOptions | interface |
@appium/base-driver | markResponseEnvelope | function |
@appium/base-driver | runWithCommandTimeout | function |
@appium/base-driver | NEW_COMMAND_TIMEOUT_MS | variable |
@appium/base-driver | RouteConfiguringFunction | type |
@appium/base-driver | isProtocolResponseEnvelope | function |
@appium/base-driver | RouteConfiguringFunctionOpts | interface |
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