Vigia

@appium/base-driver को 10.x से 11.x पर अपग्रेड करना

@appium/base-driver 10.8.3 और 11.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।

सारांश

हटाए गए इम्पोर्ट पाथ0
हटाए गए एक्सपोर्ट11
बदले गए सिग्नेचर4
क्लास या इंटरफ़ेस के हटाए गए सदस्य13
क्लास या इंटरफ़ेस के बदले गए सदस्य11
नए डिप्रिकेटेड0
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)1
नए एक्सपोर्ट15

हटाए गए एक्सपोर्ट

importexportkindपहले
@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

बदले गए सिग्नेचर

exportपहलेबाद में
@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

क्लास या इंटरफ़ेस के हटाए गए सदस्य

memberimportपहले
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

क्लास या इंटरफ़ेस के बदले गए सदस्य

memberपहलेबाद में
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

नए डिप्रिकेटेड

कुछ नहीं मिला।

आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)

पहलेबाद में
engines.node^20.19.0 || ^22.12.0 || >=24.0.0^22.22.2 || ^24.15.0 || >=26.0.0
नए एक्सपोर्ट (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

अपने 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/base-driver को 10 से 11 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?

@appium/base-driver 10.8.3 और 11.0.0 के बीच Vigia को 11 हटाए गए एक्सपोर्ट, 4 बदले गए सिग्नेचर और 24 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।

@appium/base-driver 11 में क्या डिप्रिकेट हुआ?

@appium/base-driver 11.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।

एजेंटों के लिए

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