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 8.40.0 to 8.40.2

2

build/constants.d.ts

@@ -88,3 +88,3 @@ /**

};
export declare const DEFAULT_HOSTNAME = "0.0.0.0";
export declare const DEFAULT_HOSTNAME = "127.0.0.1";
export declare const DEFAULT_PROTOCOL = "http";

@@ -91,0 +91,0 @@ export declare const DEFAULT_PATH = "/";

@@ -88,3 +88,3 @@ /**

};
export const DEFAULT_HOSTNAME = '0.0.0.0';
export const DEFAULT_HOSTNAME = '127.0.0.1';
export const DEFAULT_PROTOCOL = 'http';

@@ -91,0 +91,0 @@ export const DEFAULT_PATH = '/';

@@ -15,3 +15,3 @@ import fs from 'node:fs';

import { isChrome, isFirefox, isEdge, isSafari, isAppiumCapability } from '../utils.js';
import { SUPPORTED_BROWSERNAMES } from '../constants.js';
import { DEFAULT_HOSTNAME, SUPPORTED_BROWSERNAMES } from '../constants.js';
const log = logger('@wdio/utils');

@@ -24,3 +24,3 @@ const DRIVER_WAIT_TIMEOUT = 10 * 1000; // 10s

if (process.env.WDIO_SKIP_DRIVER_SETUP) {
options.hostname = '0.0.0.0';
options.hostname = DEFAULT_HOSTNAME;
options.port = 4321;

@@ -147,3 +147,3 @@ return;

.catch((e) => { throw new Error(`Timed out to connect to ${driver}: ${e.message}`); });
options.hostname = '0.0.0.0';
options.hostname = DEFAULT_HOSTNAME;
options.port = port;

@@ -150,0 +150,0 @@ log.info(`Started ${driver} in ${Date.now() - start}ms on port ${port}`);

{
"name": "@wdio/utils",
"version": "8.40.0",
"version": "8.40.2",
"description": "A WDIO helper utility to provide several utility functions used across the project.",

@@ -57,3 +57,3 @@ "author": "Christian Bromann <mail@bromann.dev>",

},
"gitHead": "9c3681f32fd96f81c9f1e07790edd76e6b40609a"
"gitHead": "4cade71f6be0b8c53c48918b9a6da37a6ad21835"
}

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