@wdio/utils को 9.x से 10.x पर अपग्रेड करना
@wdio/utils 9.32.0 और 10.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 1 |
| बदले गए सिग्नेचर | 4 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 0 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 1 |
| नए एक्सपोर्ट | 21 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
@wdio/utils | isW3C | function | (capabilities?: any): boolean |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
@wdio/utils · testFnWrapper | (this: unknown, args_0: string, args_1: SpecFunction, args_2: BeforeHookParam<unknown>, args_3: AfterHookParam<unknown>, args_4: string, args_5: number, args_6?: string | undefined, args_7?: number | undefined): Promise<any> | (this: unknown, args_0: string, args_1: SpecFunction, args_2: BeforeHookParam<unknown>, args_3: AfterHookParam<unknown>, args_4: string, args_5: number, args_6?: string | undefined, args_7?: number | undefined): Promise<unknown> |
@wdio/utils · webdriverMonad | (options: object, modifier?: Function | undefined, propertiesObject?: PropertiesObject | undefined): { (this: void, sessionId: string, commandWrapper?: Function | undefined, elementCmdImplicitWaitExclusionList?: string[] | undefined): any; lift(name: string, func: Function, proto: Record<string, any>, origCommand?: Function | undefined): void; } | (options: object, modifier?: Function | undefined, propertiesObject?: PropertiesObject | undefined): { (this: void, sessionId: string, commandWrapper?: Function | undefined, elementCmdImplicitWaitExclusionList?: string[] | undefined): any; lift(name: string, func: Function, proto?: Record<string, any> | undefined, origCommand?: Function | undefined): void; } |
@wdio/utils · wrapGlobalTestMethod | (this: unknown, isSpec: boolean, beforeFn: Function | Function[], beforeArgsFn: HookFnArgs<unknown>, afterFn: Function | Function[], afterArgsFn: HookFnArgs<unknown>, fnName: string, cid: string, scope?: typeof globalThis | undefined): void | (this: unknown, isSpec: boolean, beforeFn: Function | Function[], beforeArgsFn: HookFnArgs<unknown>, afterFn: Function | Function[], afterArgsFn: HookFnArgs<unknown>, fnName: string, cid: string, scope?: typeof globalThis | undefined, frameworkResult?: (() => FrameworkResult | undefined) | undefined): void |
@wdio/utils · sessionEnvironmentDetector | ({ capabilities, requestedCapabilities }: { capabilities: WebdriverIO.Capabilities; requestedCapabilities: Capabilities.RequestedStandaloneCapabilities; }): { isW3C: boolean; isChrome: boolean; isFirefox: boolean; isMobile: boolean; isIOS: boolean; isAndroid: boolean; isSauce: boolean; isSeleniumStandalone: boolean; isBidi: boolean; isChromium: boolean; isWindowsApp: boolean; isMacApp: boolean; } | ({ capabilities, requestedCapabilities }: { capabilities: WebdriverIO.Capabilities; requestedCapabilities: Capabilities.RequestedStandaloneCapabilities; }): { isChrome: boolean; isFirefox: boolean; isMobile: boolean; isIOS: boolean; isAndroid: boolean; isSauce: boolean; isSeleniumStandalone: boolean; isBidi: boolean; isChromium: boolean; isWindowsApp: boolean; isMacApp: boolean; } |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
कुछ नहीं मिला।
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.node | >=18.20.0 | >=22.19.0 |
नए एक्सपोर्ट (21)
| import | export | kind |
|---|---|---|
@wdio/utils | RoleRule | type |
@wdio/utils | WdioKind | type |
@wdio/utils | WDIO_KIND | variable |
@wdio/utils | roleTable | function |
@wdio/utils | WDIO_KINDS | variable |
@wdio/utils | knownRoles | function |
@wdio/utils | getWdioKind | function |
@wdio/utils | setWdioKind | function |
@wdio/utils | AttributeTest | type |
@wdio/utils | ROLE_SYNONYMS | variable |
@wdio/utils | WDIO_CHAINABLE | variable |
@wdio/utils | isLoadedElement | function |
@wdio/utils | getLoadedWdioKind | function |
@wdio/utils | isArrayOfElements | function |
@wdio/utils | ELEMENT_ARRAY_WRAP | variable |
@wdio/utils | getCurrentRunnable | function |
@wdio/utils | setDebugAgentPause | function |
@wdio/utils | chainElementPromise | function |
@wdio/utils | ELEMENT_ARRAY_COMMANDS | variable |
@wdio/utils | registerElementArrayFactory | function |
@wdio/utils | resolveCustomCommandOptions | function |
अपने 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
अक्सर पूछे जाने वाले प्रश्न
@wdio/utils को 9 से 10 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
@wdio/utils 9.32.0 और 10.0.0 के बीच Vigia को 1 हटाए गए एक्सपोर्ट, 4 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
@wdio/utils 10 में क्या डिप्रिकेट हुआ?
@wdio/utils 10.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/@wdio/utils/upgrade?from=9.32.0&to=10.0.0