Socket
Socket
Sign inDemoInstall

@wdio/config

Package Overview
Dependencies
Maintainers
3
Versions
329
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.33.1 to 8.34.0

8

build/node/ConfigParser.js

@@ -36,2 +36,10 @@ import path from 'node:path';

}
/**
* the autoCompileOpts.autoCompile CLI argument has to be converted
* from type string to type boolean
*/
if (typeof _initialConfig.autoCompileOpts?.autoCompile === 'string') {
const strValue = _initialConfig.autoCompileOpts.autoCompile;
_initialConfig.autoCompileOpts.autoCompile = !!strValue && strValue !== 'false';
}
this.merge(_initialConfig, false);

@@ -38,0 +46,0 @@ }

3

build/node/utils.js
import url from 'node:url';
import path from 'node:path';
import { access } from 'node:fs/promises';
import { resolve } from 'import-meta-resolve';

@@ -22,2 +23,4 @@ import logger from '@wdio/logger';

await resolve('ts-node', import.meta.url);
const loaderPath = await resolve('ts-node/esm/transpile-only.mjs', import.meta.url);
await access(new URL(loaderPath));
process.env.WDIO_LOAD_TS_NODE = '1';

@@ -24,0 +27,0 @@ objectToEnv(autoCompileConfig.tsNodeOpts);

4

package.json
{
"name": "@wdio/config",
"version": "8.33.1",
"version": "8.34.0",
"description": "A helper utility to parse and validate WebdriverIO options",

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

},
"gitHead": "6ee4cdd36e9f10541ede896d18b785ac9c56dacf"
"gitHead": "72856f9e3e4c6ae0750a1d3f17b137724a30e4e5"
}

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