Socket
Socket
Sign inDemoInstall

@wdio/utils

Package Overview
Dependencies
Maintainers
3
Versions
291
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/utils - npm Package Compare versions

Comparing version 9.0.0-alpha.369 to 9.0.0-alpha.426

LICENSE

12

build/monad.js

@@ -196,2 +196,14 @@ import { EventEmitter } from 'node:events';

const method = eventCommand;
/**
* Emit an event when a dialog listener is registered or unregistered.
* This is used in `packages/webdriverio/src/dialog.ts`
* to decide whether to propagate a `dialog` event to
* the user or automatically accept or dismiss the dialog.
*/
if (method === 'on' && args[0] === 'dialog') {
eventHandler.emit('_dialogListenerRegistered');
}
if (method === 'off' && args[0] === 'dialog') {
eventHandler.emit('_dialogListenerRemoved');
}
eventHandler[method]?.(...args);

@@ -198,0 +210,0 @@ return this;

4

build/node/manager.js

@@ -46,3 +46,5 @@ import logger from '@wdio/logger';

// - driver options don't define a binary path
!getDriverOptions(cap).binary));
!getDriverOptions(cap).binary &&
// - environment does not define a binary path
!(process.env.CHROMEDRIVER_PATH && isChrome(cap.browserName))));
/**

@@ -49,0 +51,0 @@ * nothing to setup

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import cp from 'node:child_process';

@@ -3,0 +2,0 @@ import { type SafaridriverOptions as SafaridriverParameters } from 'safaridriver';

@@ -103,5 +103,6 @@ import os from 'node:os';

await install(args).catch((err) => {
const error = `Failed downloading ${args.browser} v${args.buildId}: ${err.message}, retrying ...`;
const error = `Failed downloading ${args.browser} v${args.buildId} using ${JSON.stringify(args)}: ${err.message}, retrying ...`;
if (retry) {
throw new Error(error);
err.message += '\n' + error.replace(', retrying ...', '');
throw new Error(err);
}

@@ -108,0 +109,0 @@ log.error(error);

@@ -1,4 +0,3 @@

/// <reference types="node" resolution-mode="require"/>
import type { Capabilities } from '@wdio/types';
export declare function startWebDriver(options: Capabilities.RemoteConfig): Promise<import("child_process").ChildProcess | undefined>;
//# sourceMappingURL=startWebDriver.d.ts.map

@@ -27,4 +27,4 @@ import type { Options, Services } from '@wdio/types';

}): "\"<Screenshot[base64]>\"" | "\"<Script[base64]>\"" | {
file?: string | undefined;
script?: string | undefined;
file?: string;
script?: string;
};

@@ -31,0 +31,0 @@ /**

{
"name": "@wdio/utils",
"version": "9.0.0-alpha.369+43868ec82",
"version": "9.0.0-alpha.426+d760644c4",
"description": "A WDIO helper utility to provide several utility functions used across the project.",

@@ -41,7 +41,7 @@ "author": "Christian Bromann <mail@bromann.dev>",

"@puppeteer/browsers": "^2.2.0",
"@wdio/logger": "9.0.0-alpha.369+43868ec82",
"@wdio/types": "9.0.0-alpha.369+43868ec82",
"@wdio/logger": "9.0.0-alpha.426+d760644c4",
"@wdio/types": "9.0.0-alpha.426+d760644c4",
"decamelize": "^6.0.0",
"deepmerge-ts": "^7.0.3",
"edgedriver": "^5.5.0",
"edgedriver": "^5.6.1",
"geckodriver": "^4.3.3",

@@ -58,3 +58,3 @@ "get-port": "^7.0.0",

},
"gitHead": "43868ec82075db90009f00bb737f6df0f1744ca6"
"gitHead": "d760644c4c6e1ef910c0bee120cb422e25dbbe06"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc