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

guacamole

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guacamole - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0-beta

test/standard-capabilities.js

2

package.json
{
"name": "guacamole",
"version": "1.1.4",
"version": "1.2.0-beta",
"description": "A friendly wrapper for the SauceLabs browser listing API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -184,3 +184,21 @@ var Q = require("q");

}
// clean up capabilities here, only deal with saucelabs wrap here
if (wrapped) {
if(result.desiredCapabilities['appiumVersion'] || result.desiredCapabilities['appium-version']){
// if using appium, use safari as browser for iOS
if(result.desiredCapabilities.platformName === 'iOS'){
result.desiredCapabilities.browserName = 'Safari';
}
}else{
if(result.desiredCapabilities.platform === 'iOS'){
// iOS is not platform name, use OS X 10.10 instead
result.desiredCapabilities.platform = 'OS X 10.10';
}else if(result.desiredCapabilities.platform === 'Android'){
// Android is not platform name, use linux instead
result.desiredCapabilities.platform = 'Linux';
}
}
}
return result;

@@ -187,0 +205,0 @@ });

@@ -46,3 +46,3 @@ var Browsers = require("../src/browsers");

expect(chrome43).to.have.property("platform", "Windows 2012 R2");
expect(chrome43).to.have.property("version", "43");
expect(chrome43).to.have.property("version", "46");
expect(chrome43).to.have.property("browserName", "chrome");

@@ -49,0 +49,0 @@ });

@@ -28,3 +28,3 @@ var Browsers = require("../src/browsers");

var result = Browsers.get({ platform: "Windows XP" });
expect(result).to.have.length(65);
expect(result).to.have.length(68);
});

@@ -34,3 +34,3 @@

var result = Browsers.get({ platform: "Windows 7" });
expect(result).to.have.length(67);
expect(result).to.have.length(70);
});

@@ -40,3 +40,3 @@

var result = Browsers.get({ platform: "Windows 8" });
expect(result).to.have.length(61);
expect(result).to.have.length(64);
});

@@ -46,3 +46,3 @@

var result = Browsers.get({ platform: "Windows 8.1" });
expect(result).to.have.length(61);
expect(result).to.have.length(64);
});

@@ -49,0 +49,0 @@

Sorry, the diff of this file is too big to display

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