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 paths | 0 |
|---|---|
| Removed exports | 1 |
| Changed signatures | 4 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 21 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@wdio/utils | isW3C | function | (capabilities?: any): boolean |
Changed signatures
| export | Before | After |
|---|---|---|
@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)
| Before | After | |
|---|---|---|
engines.node | >=18.20.0 | >=22.19.0 |
New exports (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 |
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