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

@wdio/config

Package Overview
Dependencies
Maintainers
2
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 6.6.0 to 6.6.3

3

build/index.d.ts
import { validateConfig } from "./utils";
import { getSauceEndpoint } from "./utils";
import { detectBackend } from "./utils";
import { isCloudCapability } from "./utils";
import ConfigParser from "./lib/ConfigParser";
import { DEFAULT_CONFIGS } from "./constants";
export { validateConfig, getSauceEndpoint, detectBackend, ConfigParser, DEFAULT_CONFIGS };
export { validateConfig, getSauceEndpoint, detectBackend, isCloudCapability, ConfigParser, DEFAULT_CONFIGS };
//# sourceMappingURL=index.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_CONFIGS = exports.ConfigParser = exports.detectBackend = exports.getSauceEndpoint = exports.validateConfig = void 0;
exports.DEFAULT_CONFIGS = exports.ConfigParser = exports.isCloudCapability = exports.detectBackend = exports.getSauceEndpoint = exports.validateConfig = void 0;
const ConfigParser_1 = __importDefault(require("./lib/ConfigParser"));

@@ -14,3 +14,4 @@ exports.ConfigParser = ConfigParser_1.default;

Object.defineProperty(exports, "detectBackend", { enumerable: true, get: function () { return utils_1.detectBackend; } });
Object.defineProperty(exports, "isCloudCapability", { enumerable: true, get: function () { return utils_1.isCloudCapability; } });
const constants_1 = require("./constants");
Object.defineProperty(exports, "DEFAULT_CONFIGS", { enumerable: true, get: function () { return constants_1.DEFAULT_CONFIGS; } });
export function getSauceEndpoint(region: any, isRDC: any): string;
export function removeLineNumbers(filePath: string): string;
export function isCucumberFeatureWithLineNumber(spec: string | string[]): boolean;
export function isCloudCapability(cap: any): boolean;
export function detectBackend(options?: {}, isRDC?: boolean): {

@@ -5,0 +6,0 @@ protocol: any;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateConfig = exports.detectBackend = exports.isCucumberFeatureWithLineNumber = exports.removeLineNumbers = exports.getSauceEndpoint = exports.validObjectOrArray = void 0;
exports.validateConfig = exports.detectBackend = exports.isCloudCapability = exports.isCucumberFeatureWithLineNumber = exports.removeLineNumbers = exports.getSauceEndpoint = exports.validObjectOrArray = void 0;
const DEFAULT_HOSTNAME = '127.0.0.1';

@@ -38,2 +38,6 @@ const DEFAULT_PORT = 4444;

exports.isCucumberFeatureWithLineNumber = isCucumberFeatureWithLineNumber;
function isCloudCapability(cap) {
return Boolean(cap && (cap['bstack:options'] || cap['sauce:options'] || cap['tb:options']));
}
exports.isCloudCapability = isCloudCapability;
function detectBackend(options = {}, isRDC = false) {

@@ -40,0 +44,0 @@ let { port, hostname, user, key, protocol, region, headless, path } = options;

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

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

},
"gitHead": "643b1f237c0c7e4eb0e28fca31d963d3b19a073c"
"gitHead": "f9b6fdbb63334fbb9942c14b236d9dc4e40d684b"
}

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