Vigia

Upgrading @wdio/utils from 9.x to 10.x

Comparison of the public API of @wdio/utils 9.32.0 and 10.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports1
Changed signatures4
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports21

Removed exports

importexportkindBefore
@wdio/utilsisW3Cfunction(capabilities?: any): boolean

Changed signatures

exportBeforeAfter
@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; }

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
engines.node>=18.20.0>=22.19.0
New exports (21)
importexportkind
@wdio/utilsRoleRuletype
@wdio/utilsWdioKindtype
@wdio/utilsWDIO_KINDvariable
@wdio/utilsroleTablefunction
@wdio/utilsWDIO_KINDSvariable
@wdio/utilsknownRolesfunction
@wdio/utilsgetWdioKindfunction
@wdio/utilssetWdioKindfunction
@wdio/utilsAttributeTesttype
@wdio/utilsROLE_SYNONYMSvariable
@wdio/utilsWDIO_CHAINABLEvariable
@wdio/utilsisLoadedElementfunction
@wdio/utilsgetLoadedWdioKindfunction
@wdio/utilsisArrayOfElementsfunction
@wdio/utilsELEMENT_ARRAY_WRAPvariable
@wdio/utilsgetCurrentRunnablefunction
@wdio/utilssetDebugAgentPausefunction
@wdio/utilschainElementPromisefunction
@wdio/utilsELEMENT_ARRAY_COMMANDSvariable
@wdio/utilsregisterElementArrayFactoryfunction
@wdio/utilsresolveCustomCommandOptionsfunction

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

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

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading @wdio/utils from 9 to 10?

Between @wdio/utils 9.32.0 and 10.0.0, Vigia found 1 removed exports, 4 changed signatures and 0 removed or changed class or interface members.

What became deprecated in @wdio/utils 10?

0 exports or members are newly marked as deprecated in @wdio/utils 10.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@wdio/utils/upgrade?from=9.32.0&to=10.0.0