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

webdriver

Package Overview
Dependencies
Maintainers
1
Versions
483
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdriver - npm Package Compare versions

Comparing version 5.0.0-beta.14 to 5.0.0-beta.15

7

build/utils.js

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

*/
if (!capabilities || capabilities.automationName || capabilities.deviceName) {
if (!capabilities) {
return false;

@@ -203,4 +203,5 @@ }

return Boolean(capabilities.platformName);
const isAppium = capabilities.automationName || capabilities.deviceName;
return Boolean(capabilities.platformName || isAppium);
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJsb2ciLCJpc1N1Y2Nlc3NmdWxSZXNwb25zZSIsImJvZHkiLCJzdGF0dXNDb2RlIiwidmFsdWUiLCJkZWJ1ZyIsInN0YXR1cyIsIm1lc3NhZ2UiLCJzdGFydHNXaXRoIiwiaGFzRXJyb3JSZXNwb25zZSIsImVycm9yIiwic3RhY2tUcmFjZSIsInN0YWNrdHJhY2UiLCJpc1ZhbGlkUGFyYW1ldGVyIiwiYXJnIiwiZXhwZWN0ZWRUeXBlIiwic2hvdWxkQmVBcnJheSIsInNsaWNlIiwiQXJyYXkiLCJpc0FycmF5IiwiYXJnRW50aXR5IiwibWF0Y2giLCJnZXRQcm90b3R5cGUiLCJpc1czQyIsInByb3RvdHlwZSIsIlByb3RvY29sQ29tbWFuZHMiLCJPYmplY3QiLCJhc3NpZ24iLCJXZWJEcml2ZXJQcm90b2NvbCIsIkpzb25XUHJvdG9jb2wiLCJNSnNvbldQcm90b2NvbCIsIkFwcGl1bVByb3RvY29sIiwiZW5kcG9pbnQiLCJtZXRob2RzIiwiZW50cmllcyIsIm1ldGhvZCIsImNvbW1hbmREYXRhIiwiY29tbWFuZCIsImNvbW1h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pdGllcyBhcmUgcmV0dXJuZWRcbiAgICAgKiAgIChodHRwczovL3czYy5naXRodWIuaW8vd2ViZHJpdmVyLyNkZm4tbmV3LXNlc3Npb25zKVxuICAgICAqIC0gcGxhdGZvcm1OYW1lIGlzIHJldHVybmVkIHdoaWNoIGlzIG5vdCBkZWZpbmVkIGluIHRoZSBKU09OV2lyZSBwcm90b2NvbFxuICAgICAqL1xuICAgIGNvbnN0IGlzQXBwaXVtID0gY2FwYWJpbGl0aWVzLmF1dG9tYXRpb25OYW1lIHx8IGNhcGFiaWxpdGllcy5kZXZpY2VOYW1lXG4gICAgcmV0dXJuIEJvb2xlYW4oY2FwYWJpbGl0aWVzLnBsYXRmb3JtTmFtZSB8fCBpc0FwcGl1bSlcbn1cbiJdfQ==
{
"name": "webdriver",
"version": "5.0.0-beta.14",
"version": "5.0.0-beta.15",
"description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",

@@ -31,8 +31,8 @@ "author": "Christian Bromann <christian@saucelabs.com>",

"dependencies": {
"@wdio/config": "^5.0.0-beta.14",
"@wdio/logger": "^5.0.0-beta.14",
"@wdio/config": "^5.0.0-beta.15",
"@wdio/logger": "^5.0.0-beta.15",
"deepmerge": "^2.0.1",
"request": "^2.83.0"
},
"gitHead": "8ddc33906f9f9129df13c2e45b04b191270ef1fa"
"gitHead": "e399691ea545908a208c62d6730b0a53cee27df8"
}
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