ترقية @wdio/utils من 9.x إلى 10.x
مقارنة الواجهة العامة لـ @wdio/utils بين 9.32.0 و10.0.0، محسوبة تلقائيًا من أنواع 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 |
زوّد وكيل الذكاء الاصطناعي بهذه البيانات
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؟
عُلِّم 0 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في @wdio/utils 10.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/@wdio/utils/upgrade?from=9.32.0&to=10.0.0