@wdio/utils
Advanced tools
Comparing version 5.16.15 to 5.18.6
@@ -8,6 +8,10 @@ "use strict"; | ||
var _path = _interopRequireDefault(require("path")); | ||
var _utils = require("./utils"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function initialisePlugin(name, type, target = 'default') { | ||
if (name[0] === '@') { | ||
if (name[0] === '@' || _path.default.isAbsolute(name)) { | ||
const service = (0, _utils.safeRequire)(name); | ||
@@ -14,0 +18,0 @@ return service[target]; |
{ | ||
"name": "@wdio/utils", | ||
"version": "5.16.15", | ||
"version": "5.18.6", | ||
"description": "A WDIO helper utility to provide several utility functions used across the project.", | ||
@@ -40,3 +40,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "3f388c0f8b5b3ff56db62c6183dd92cdf39df0f3" | ||
"gitHead": "fa344d53871401ad3a6513ffa16ed4f9d2218f59" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29786
830