Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@wdio/config

Package Overview
Dependencies
Maintainers
4
Versions
333
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/config - npm Package Compare versions

Comparing version 5.15.0 to 5.15.1

6

build/constants.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.SUPPORTED_HOOKS = exports.DEFAULT_CONFIGS = void 0;
exports.NON_WORKER_SERVICES = exports.SUPPORTED_HOOKS = exports.DEFAULT_CONFIGS = void 0;
const DEFAULT_TIMEOUT = 10000;

@@ -64,2 +64,4 @@ const DEFAULT_CONFIGS = {

const SUPPORTED_HOOKS = ['before', 'beforeSession', 'beforeSuite', 'beforeHook', 'beforeTest', 'beforeCommand', 'afterCommand', 'afterTest', 'afterHook', 'afterSuite', 'afterSession', 'after', 'beforeFeature', 'beforeScenario', 'beforeStep', 'afterStep', 'afterScenario', 'afterFeature', 'onReload', 'onPrepare', 'onComplete'];
exports.SUPPORTED_HOOKS = SUPPORTED_HOOKS;
exports.SUPPORTED_HOOKS = SUPPORTED_HOOKS;
const NON_WORKER_SERVICES = ['chromedriver', 'selenium-standalone', 'appium', 'reportportal', 'firefox-profile'];
exports.NON_WORKER_SERVICES = NON_WORKER_SERVICES;

@@ -58,2 +58,3 @@ "use strict";

this._config = (0, _deepmerge.default)((0, _utils.detectBackend)(this._config, isRDC), this._config, MERGE_OPTIONS);
delete this._config.watch;
} catch (e) {

@@ -227,4 +228,14 @@ log.error(`Failed loading configuration file: ${filePath}:`, e.message);

filterWorkerServices() {
if (!Array.isArray(this._config.services)) {
return;
}
this._config.services = this._config.services.filter(service => {
return !_constants.NON_WORKER_SERVICES.includes(service);
});
}
}
exports.default = ConfigParser;
{
"name": "@wdio/config",
"version": "5.15.0",
"version": "5.15.1",
"description": "A helper utility to parse and validate WebdriverIO options",

@@ -40,3 +40,3 @@ "author": "Christian Bromann <christian@saucelabs.com>",

},
"gitHead": "f49384dd159bbd308c70db1c119499b774c95f75"
"gitHead": "03d712f71c7df07873b72dd3d7d19f08d8c00dc9"
}
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