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

@wdio/config

Package Overview
Dependencies
Maintainers
3
Versions
336
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 8.31.0 to 8.31.1

2

build/node/ConfigParser.d.ts

@@ -15,3 +15,5 @@ import type { Capabilities, Options, Services } from '@wdio/types';

specs?: Spec[];
'wdio:specs'?: Spec[];
exclude?: string[];
'wdio:exclude'?: string[];
}

@@ -18,0 +20,0 @@ export default class ConfigParser {

13

build/node/ConfigParser.js

@@ -130,8 +130,15 @@ import path from 'node:path';

/**
* overwrite config specs that got piped into the wdio command
* overwrite config specs that got piped into the wdio command,
* also adhering to the wdio-prefixes from a capability
*/
if (object.specs && object.specs.length > 0) {
if (object['wdio:specs'] && object['wdio:specs'].length > 0) {
this._config.specs = object['wdio:specs'];
}
else if (object.specs && object.specs.length > 0) {
this._config.specs = object.specs;
}
if (object.exclude && object.exclude.length > 0) {
if (object['wdio:exclude'] && object['wdio:exclude'].length > 0) {
this._config.exclude = object['wdio:exclude'];
}
else if (object.exclude && object.exclude.length > 0) {
this._config.exclude = object.exclude;

@@ -138,0 +145,0 @@ }

{
"name": "@wdio/config",
"version": "8.31.0",
"version": "8.31.1",
"description": "A helper utility to parse and validate WebdriverIO options",

@@ -40,4 +40,4 @@ "author": "Christian Bromann <mail@bromann.dev>",

"@wdio/logger": "8.28.0",
"@wdio/types": "8.31.0",
"@wdio/utils": "8.31.0",
"@wdio/types": "8.31.1",
"@wdio/utils": "8.31.1",
"decamelize": "^6.0.0",

@@ -55,3 +55,3 @@ "deepmerge-ts": "^5.0.0",

},
"gitHead": "3d44631bdcb332238b29aa0859dae7b335e51f89"
"gitHead": "6e8c6f8013df7a9abf4be69934a9e88ba2dc6268"
}

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