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

@wdio/config

Package Overview
Dependencies
Maintainers
2
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 5.0.0-beta.5 to 5.0.0-beta.6

7

build/constants.js

@@ -7,2 +7,5 @@ "use strict";

exports.SUPPORTED_HOOKS = exports.DEFAULT_CONFIGS = void 0;
require("source-map-support/register");
const DEFAULT_TIMEOUT = 10000;

@@ -29,2 +32,3 @@ /* istanbul ignore next */

maxInstancesPerCapability: 100,
filesToWatch: [],
connectionRetryTimeout: 90000,

@@ -82,2 +86,3 @@ connectionRetryCount: 3,

const SUPPORTED_HOOKS = ['before', 'beforeSession', 'beforeSuite', 'beforeHook', 'beforeTest', 'beforeCommand', 'afterCommand', 'afterTest', 'afterHook', 'afterSuite', 'afterSession', 'after', 'beforeFeature', 'beforeScenario', 'beforeStep', 'afterFeature', 'afterScenario', 'afterStep', 'onError', 'onReload'];
exports.SUPPORTED_HOOKS = SUPPORTED_HOOKS;
exports.SUPPORTED_HOOKS = SUPPORTED_HOOKS;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiREVGQVVMVF9USU1FT1VUIiwiTk9PUCIsIkRFRkFVTFRfQ09ORklHUyIsInN5bmMiLCJzcGVjcyIsInN1aXRlcyIsImV4Y2x1ZGUiLCJsb2dEaXIiLCJ1bmRlZmluZWQiLCJsb2dMZXZlbCIsImRlcHJlY2F0aW9uV2FybmluZ3MiLCJiYXNlVXJsIiwiYmFpbCIsIndhaXRmb3JJbnRlcnZhbCIsIndhaXRmb3JUaW1lb3V0IiwiZnJhbWV3b3JrIiwicmVwb3J0ZXJzIiwibWF4SW5zdGFuY2VzIiwibWF4SW5zdGFuY2VzUGVyQ2FwY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ywgJ2JlZm9yZUNvbW1hbmQnLFxuICAgICdhZnRlckNvbW1hbmQnLCAnYWZ0ZXJUZXN0JywgJ2FmdGVySG9vaycsICdhZnRlclN1aXRlJywgJ2FmdGVyU2Vzc2lvbicsICdhZnRlcicsXG4gICAgJ2JlZm9yZUZlYXR1cmUnLCAnYmVmb3JlU2NlbmFyaW8nLCAnYmVmb3JlU3RlcCcsICdhZnRlckZlYXR1cmUnLFxuICAgICdhZnRlclNjZW5hcmlvJywgJ2FmdGVyU3RlcCcsICdvbkVycm9yJywgJ29uUmVsb2FkJ1xuXVxuIl19

5

build/index.js

@@ -61,2 +61,4 @@ "use strict";

require("source-map-support/register");
var _ConfigParser = _interopRequireDefault(require("./lib/ConfigParser"));

@@ -68,2 +70,3 @@

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IENvbmZpZ1BhcnNlciBmcm9tICcuL2xpYi9Db25maWdQYXJzZXInXG5pbXBvcnQgeyB2YWxpZGF0ZUNvbmZpZywgZGV0ZWN0QmFja2VuZCwgaW5pdGlhbGlzZVBsdWdpbiB9IGZyb20gJy4vdXRpbHMnXG5pbXBvcnQge1xuICAgIHdyYXBDb21tYW5kLCBydW5GbkluRmliZXJDb250ZXh0LCBydW5UZXN0SW5GaWJlckNvbnRleHQsIGV4ZWN1dGVIb29rc1dpdGhBcmdzLFxuICAgIGhhc1dkaW9TeW5jU3VwcG9ydFxufSBmcm9tICcuL3NoaW0nXG5cbmV4cG9ydCB7XG4gICAgdmFsaWRhdGVDb25maWcsXG4gICAgZGV0ZWN0QmFja2VuZCxcbiAgICBpbml0aWFsaXNlUGx1Z2luLFxuICAgIENvbmZpZ1BhcnNlcixcblxuICAgIC8qKlxuICAgICAqIHdkaW8tc3luYyBzaGltXG4gICAgICovXG4gICAgd3JhcENvbW1hbmQsXG4gICAgcnVuRm5JbkZpYmVyQ29udGV4dCxcbiAgICBydW5UZXN0SW5GaWJlckNvbnRleHQsXG4gICAgZXhlY3V0ZUhvb2tzV2l0aEFyZ3MsXG4gICAgaGFzV2Rpb1N5bmNTdXBwb3J0XG59XG4iXX0=

@@ -8,2 +8,4 @@ "use strict";

require("source-map-support/register");
var _fs = _interopRequireDefault(require("fs"));

@@ -292,2 +294,3 @@

exports.default = ConfigParser;
exports.default = ConfigParser;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvQ29uZmlnUGFyc2VyLmpzIl0sIm5hbWVzIjpbImxvZyIsIk1FUkdFX09QVElPTlMiLCJjbG9uZSIsIkNvbmZpZ1BhcnNlciIsImNvbnN0cnVjdG9yIiwiX2NvbmZpZyIsIkRFRkFVTFRfQ09ORklHUyIsIl9jYXBhYmlsaXRpZXMiLCJhZGRDb25maWdGaWxlIiwiZmlsZW5hbWUiLCJFcnJvciIsImZpbGVQYXRoIiwicGF0aCIsInJlc29sdmUiLCJwcm9jZXNzIiwiY3dkIiwiZmlsZUNvbmZpZyIsInJlcXVpcmUiLCJjb25maWciLCJkZWZhdWx0VG8iLCJBcnJheSIsImlzQXJyYXkiLCJjYXBhYmlsaXRpZXMiLCJhZGRTZXJ2aWNlIiwiaG9va05hbWUiLCJTVVBQT1JURURfSE9PS1MiLCJlIiwiZXJyb3IiLCJtZXJnZSIsIm9iamVjdCIsInNwZWMiLCJleGNsdWRlIiwic3B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ydmljZSBob29rcyBhbmQgcmVtb3ZlIHRoZW0gZnJvbSBjb25maWdcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgdGhpcy5hZGRTZXJ2aWNlKGZpbGVDb25maWcpXG4gICAgICAgICAgICBmb3IgKGxldCBob29rTmFtZSBvZiBTVVBQT1JURURfSE9PS1MpIHtcbiAgICAgICAgICAgICAgICBkZWxldGUgZmlsZUNvbmZpZ1tob29rTmFtZV1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdGhpcy5fY29uZmlnID0gbWVyZ2UodGhpcy5fY29uZmlnLCBmaWxlQ29uZmlnLCBNRVJHRV9PUFRJT05TKVxuXG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIGRldGVjdCBTZWxlbml1bSBiYWNrZW5kXG4gICAgICAgICAgICAgKi9cbiAgICAgICAgICAgIHRoaXMuX2NvbmZpZyA9IG1lcmdlKGRldGVjdEJhY2tlbmQodGhpcy5fY29uZmlnKSwgdGhpcy5fY29uZmlnLCBNRVJHRV9PUFRJT05TKVxuICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICBsb2cuZXJyb3IoYEZhaWxlZCBsb2FkaW5nIGNvbmZpZ3VyYXRpb24gZmlsZTogJHtmaWxlUGF0aH1gKVxuICAgICAgICAgICAgdGhyb3cgZVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogbWVyZ2UgZXh0ZXJuYWwgb2JqZWN0IHdpdGggY29uZmlnIG9iamVjdFxuICAgICAqIEBwYXJhbSAge09iamVjdH0gb2JqZWN0ICBkZXNpcmVkIG9iamVjdCB0byBtZXJnZSBpbnRvIHRoZSBjb25maWcgb2JqZWN0XG4gICAgICovXG4gICAgbWVyZ2UgKG9iamVjdCA9IHt9KSB7XG4gICAgICAgIHRoaXMuX2NvbmZpZyA9IG1lcmdlKHRoaXMuX2NvbmZpZywgb2JqZWN0LCBNRVJHRV9PUFRJT05TKVxuICAgICAgICBsZXQgc3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WN0QmFja2VuZCh0aGlzLl9jb25maWcpLCB0aGlzLl9jb25maWcsIE1FUkdFX09QVElPTlMpXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogYWRkIGhvb2tzIGZyb20gc2VydmljZXMgdG8gcnVubmVyIGNvbmZpZ1xuICAgICAqIEBwYXJhbSB7T2JqZWN0fSBzZXJ2aWNlICBhIHNlcnZpY2UgaXMgYmFzaWNhbGx5IGFuIG9iamVjdCB0aGF0IGNvbnRhaW5zIGhvb2sgbWV0aG9kc1xuICAgICAqL1xuICAgIGFkZFNlcnZpY2UgKHNlcnZpY2UpIHtcbiAgICAgICAgZm9yIChsZXQgaG9va05hbWUgb2YgU1VQUE9SVEVEX0hPT0tTKSB7XG4gICAgICAgICAgICBpZiAoIXNlcnZpY2VbaG9va05hbWVdKSB7XG4gICAgICAgICAgICAgICAgY29udGludWVcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHR5cGVvZiBzZXJ2aWNlW2hvb2tOYW1lXSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgIHRoaXMuX2NvbmZpZ1tob29rTmFtZV0ucHVzaChzZXJ2aWNlW2hvb2tOYW1lXS5iaW5kKHNlcnZpY2UpKVxuICAgICAgICAgICAgfSBlbHNlIGlmIChBcnJheS5pc0FycmF5KHNlcnZpY2VbaG9va05hbWVdKSkge1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGhvb2sgb2Ygc2VydmljZVtob29rTmFtZV0pIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBob29rID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9jb25maWdbaG9va05hbWVdLnB1c2goaG9vay5iaW5kKHNlcnZpY2UpKVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogZ2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ci5hZGQocGF0aC5yZXNvbHZlKHByb2Nlc3MuY3dkKCksIGZpbHRlcmVkX2ZpbGUpKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgZmlsZUxpc3QuZm9yRWFjaChmaWxlID0+IHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGZpbGUubWF0Y2goZmlsdGVyZWRfZmlsZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZpbGVzVG9GaWx0ZXIuYWRkKGZpbGUpXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgICAgICBpZiAoZmlsZXNUb0ZpbHRlci5zaXplID09PSAwKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoYHNwZWMgZmlsZShzKSAke2NsaUFyZ0ZpbGVMaXN0LmpvaW4oYCwgYCl9IG5vdCBmb3VuZGApXG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGZpbGVzVG9GaWx0ZXJcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiByZXR1cm4gY29uZmlnc1xuICAgICAqL1xuICAgIGdldENvbmZpZyAoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLl9jb25maWdcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiByZXR1cm4gY2FwYWJpbGl0aWVzXG4gICAgICovXG4gICAgZ2V0Q2FwYWJpbGl0aWVzIChpKSB7XG4gICAgICAgIGlmICh0eXBlb2YgaSA9PT0gJ251bWJlcicgJiYgdGhpcy5fY2FwYWJpbGl0aWVzW2ldKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5fY2FwYWJpbGl0aWVzW2ldXG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5fY2FwYWJpbGl0aWVzXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogcmV0dXJucyBhIGZsYXR0ZW4gbGlzd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FwKGZpbGVuYW1lID0+XG4gICAgICAgICAgICAgICAgcGF0aC5pc0Fic29sdXRlKGZpbGVuYW1lKSA/IHBhdGgubm9ybWFsaXplKGZpbGVuYW1lKSA6IHBhdGgucmVzb2x2ZShwcm9jZXNzLmN3ZCgpLCBmaWxlbmFtZSkpXG5cbiAgICAgICAgICAgIGlmIChmaWxlbmFtZXMubGVuZ3RoID09PSAwICYmICFvbWl0V2FybmluZ3MpIHtcbiAgICAgICAgICAgICAgICBsb2cud2FybigncGF0dGVybicsIHBhdHRlcm4sICdkaWQgbm90IG1hdGNoIGFueSBmaWxlJylcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZmlsZXMgPSBtZXJnZShmaWxlcywgZmlsZW5hbWVzLCBNRVJHRV9PUFRJT05TKVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGZpbGVzXG4gICAgfVxufVxuIl19

@@ -8,2 +8,4 @@ "use strict";

require("source-map-support/register");
var _logger = _interopRequireDefault(require("@wdio/logger"));

@@ -100,2 +102,3 @@

log.debug('wdio-sync not found, running tests asynchronous');
}
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zaGltLmpzIl0sIm5hbWVzIjpbImxvZyIsIk5PT1AiLCJleGVjdXRlSG9va3NXaXRoQXJncyIsImV4ZWN1dGVIb29rc1dpdGhBcmdzU2hpbSIsImhvb2tzIiwiYXJncyIsIkFycmF5IiwiaXNBcnJheSIsIm1hcCIsImhvb2siLCJQcm9taXNlIiwicmVzb2x2ZSIsInJlc3VsdCIsImFwcGx5IiwiZSIsImVycm9yIiwic3RhY2siLCJ0aGVuIiwiYWxsIiwicnVuVGVzdEluRmliZXJDb250ZXh0IiwicnVuRm5JbkZpYmVyQ29udGV4dCIsImZuIiwiZG9uZSIsIndyYXBDb21tYW5kIiwiXyIsIm9yaWdGbiIsImhhc1dkaW9TeW5jU3VwcG9ydCIsIndkaW9Te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dHJ5IHtcbiAgICAgICAgICAgIHJlc3VsdCA9IGhvb2suYXBwbHkobnVsbCwgYXJncylcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgbG9nLmVycm9yKGUuc3RhY2spXG4gICAgICAgICAgICByZXR1cm4gcmVzb2x2ZSgpXG4gICAgICAgIH1cblxuICAgICAgICAvKipcbiAgICAgICAgICogaWYgYSBwcm9taXNlIGlzIHJldHVybmVkIG1ha2Ugc3VyZSB3ZSBkb24ndCBoYXZlIGEgY2F0Y2ggaGFuZGxlclxuICAgICAgICAgKiBzbyBpbiBjYXNlIG9mIGEgcmVqZWN0aW9uIGl0IHdvbid0IGNhdXNlIHRoZSBob29rIHRvIGZhaWxcbiAgICAgICAgICovXG4gICAgICAgIGlmIChyZXN1bHQgJiYgdHlwZW9mIHJlc3VsdC50aGVuID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICByZXR1cm4gcmVzdWx0LnRoZW4ocmVzb2x2ZSwgKGUpID0+IHtcbiAgICAgICAgICAgICAgICBsb2cuZXJyb3IoZS5zdGFjaylcbiAgICAgICAgICAgICAgICByZXNvbHZlKClcbiAgICAgICAgICAgIH0pXG4gICAgICAgIH1cblxuICAgICAgICByZXNvbHZlKHJlc3VsdClcbiAgICB9KSlcblxuICAgIHJldHVybiBQcm9taXNlLmFsbChob29rcylcbn1cblxuZXhwb3J0IGxldCBydW5UZXN0SW5GaWJlckNvbnRleHQgPSBOT09QXG5leHBvcnQgbGV0IHJ1bkZuSW5GaWJlckNvbnRleHQgPSAoZm4sIGRvbmUpID0+IHtcbiAgICByZXR1cm4gZnVuY3Rpb24gKC4uLmFyZ3MpIHtcbiAgICAgICAgY29uc3QgcmVzdWx0ID0gZm4uYXBwbHkodGhpcywgYXJncylcblxuICAgICAgICBpZiAodHlwZW9mIGRvbmUgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgIHJldHVybiBkb25lKHJlc3VsdClcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiByZXN1bHRcbiAgICB9XG59XG5leHBvcnQgbGV0IHdyYXBDb21tYW5kID0gKF8sIG9yaWdGbikgPT4gb3JpZ0ZuXG5leHBvcnQgbGV0IGhhc1dkaW9TeW5jU3VwcG9ydCA9IGZhbHNlXG5cbi8qKlxuICogc2hpbSB0byBtYWtlIHN1cmUgdGhhdCB3ZSBvbmx5IHdyYXAgY29tbWFuZHMgaWYgd2Rpby1zeW5jIGlzIGluc3RhbGxlZCBhcyBkZXBlbmRlbmN5XG4gKi9cbnRyeSB7XG4gICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGltcG9ydC9uby11bnJlc29sdmVkXG4gICAgY29uc3Qgd2Rpb1N5bmMgPSByZXF1aXJlKCdAd2Rpby9zeW5jJylcbiAgICBsb2cuZGVidWcoJ3dkaW8tc3luYyBmb3VuZCwgcnVubmluZyB0ZXN0cyBzeW5jaHJvbm91cycpXG5cbiAgICBoYXNXZGlvU3luY1N1cHBvcnQgPSB0cnVlXG4gICAgcnVuRm5JbkZpYmVyQ29udGV4dCA9IHdkaW9TeW5jLnJ1bkZuSW5GaWJlckNvbnRleHRcbiAgICBydW5UZXN0SW5GaWJlckNvbnRleHQgPSB3ZGlvU3luYy5ydW5UZXN0SW5GaWJlckNvbnRleHRcbiAgICB3cmFwQ29tbWFuZCA9IHdkaW9TeW5jLndyYXBDb21tYW5kXG4gICAgZXhlY3V0ZUhvb2tzV2l0aEFyZ3MgPSB3ZGlvU3luYy5leGVjdXRlSG9va3NXaXRoQXJnc1xufSBjYXRjaCAoZSkge1xuICAgIGxvZy5kZWJ1Zygnd2Rpby1zeW5jIG5vdCBmb3VuZCwgcnVubmluZyB0ZXN0cyBhc3luY2hyb25vdXMnKVxufVxuIl19

@@ -9,4 +9,8 @@ "use strict";

exports.validateConfig = validateConfig;
require("source-map-support/register");
const DEFAULT_HOSTNAME = '127.0.0.1';
const DEFAULT_PORT = 4444;
const DEFAULT_PROTOCOL = 'http';
/**

@@ -21,3 +25,4 @@ * helper to detect the Selenium backend according to given capabilities

user,
key
key,
protocol
} = options;

@@ -55,5 +60,5 @@ /**

return {
protocol: 'https',
hostname: 'ondemand.saucelabs.com',
port: 443
protocol: protocol || 'https',
hostname: hostname || 'ondemand.saucelabs.com',
port: port || 443
};

@@ -68,3 +73,4 @@ }

hostname: hostname || DEFAULT_HOSTNAME,
port: port || DEFAULT_PORT
port: port || DEFAULT_PORT,
protocol: protocol || DEFAULT_PROTOCOL
};

@@ -174,2 +180,3 @@ }

return params;
}
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJERUZBVUxUX0hPU1ROQU1FIiwiREVGQVVMVF9QT1JUIiwiREVGQVVMVF9QUk9UT0NPTCIsImRldGVjdEJhY2tlbmQiLCJvcHRpb25zIiwicG9ydCIsImhvc3RuYW1lIiwidXNlciIsImtleSIsInByb3RvY29sIiwibGVuZ3RoIiwic2FmZVJlcXVpcmUiLCJuYW1lIiwicmVxdWlyZSIsImRlZmF1bHQiLCJlIiwibWVzc2FnZSIsIm1hdGNoIiwiRXJyb3IiLCJzdGFjayIsImluaXRpYWxpc2VQbHVnaW4iLCJ0eXBlIiwic2NvcGVkUGx1Z2luIiwidG9Mb3dlckNhc2UiLCJwbHVnaW4iLCJ2YWxpZGF0ZUNvbmZpZyIsImRlZmF1bHRzIiwicGFyYW1zIiwiZXhwZWN0ZWRPcHRpb24iLCJPYmplY3QiLCJlbnRyaWVzIiwicmVxdWlyZWQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsTUFBTUEsZ0JBQWdCLEdBQUcsV0FBekI7QUFDQSxNQUFNQyxZQUFZLEdBQUcsSUFBckI7QUFDQSxNQUFNQyxnQkFBZ0IsR0FBRyxNQUF6QjtBQUVBOzs7O0FBR08sU0FBU0MsYUFBVCxDQUF3QkMsT0FBTyx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gaWYgKHR5cGVvZiBleHBlY3RlZE9wdGlvbi50eXBlID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgZXhwZWN0ZWRPcHRpb24udHlwZShvcHRpb25zW25hbWVdKVxuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKGBUeXBlIGNoZWNrIGZvciBvcHRpb24gXCIke25hbWV9XCIgZmFpbGVkOiAke2UubWVzc2FnZX1gKVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGV4cGVjdGVkT3B0aW9uLm1hdGNoICYmICFvcHRpb25zW25hbWVdLm1hdGNoKGV4cGVjdGVkT3B0aW9uLm1hdGNoKSkge1xuICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihgT3B0aW9uIFwiJHtuYW1lfVwiIGRvZXNuJ3QgbWF0Y2ggZXhwZWN0ZWQgdmFsdWVzOiAke2V4cGVjdGVkT3B0aW9uLm1hdGNofWApXG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHBhcmFtc1tuYW1lXSA9IG9wdGlvbnNbbmFtZV1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBwYXJhbXNcbn1cbiJdfQ==
{
"name": "@wdio/config",
"version": "5.0.0-beta.5",
"version": "5.0.0-beta.6",
"description": "A helper utility to parse and validate WebdriverIO options",

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

"dependencies": {
"@wdio/logger": "^5.0.0-beta.5",
"@wdio/logger": "^5.0.0-beta.6",
"deepmerge": "^2.0.1",

@@ -41,3 +41,3 @@ "glob": "^7.1.2"

},
"gitHead": "9770f6ed0ce15c87b62f0dd01cac2e49af5f54b1"
"gitHead": "77a5528bdd0f864cba471cc808206f81309da3b4"
}
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