@wdio/utils
Advanced tools
Comparing version 6.3.6 to 6.4.0
@@ -16,2 +16,6 @@ "use strict"; | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
const SCOPE_TYPES = { | ||
@@ -56,4 +60,9 @@ 'browser': function Browser() {}, | ||
const { | ||
puppeteer | ||
} = propertiesObject, | ||
propertiesObjectWithoutPuppeteer = _objectWithoutProperties(propertiesObject, ["puppeteer"]); | ||
propertiesObject['__propertiesObject__'] = { | ||
value: propertiesObject | ||
value: propertiesObjectWithoutPuppeteer | ||
}; | ||
@@ -60,0 +69,0 @@ let client = Object.create(prototype, propertiesObject); |
{ | ||
"name": "@wdio/utils", | ||
"version": "6.3.6", | ||
"version": "6.4.0", | ||
"description": "A WDIO helper utility to provide several utility functions used across the project.", | ||
@@ -39,3 +39,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "ef0a63beabfc75970731da7d00562f6a448606ee" | ||
"gitHead": "ee83c6560fb2bef85d3af570b4aee24de0936018" | ||
} |
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
31743
900