Comparing version 3.2.2 to 3.2.3
{ | ||
"name": "guacamole", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "A friendly wrapper for the SauceLabs browser listing API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,4 @@ | ||
# guacamole | ||
# magellan-saucelabs-plugin | ||
`guacamole` is a wrapper for the SauceLabs platform API (i.e. the browser/platform selector API). | ||
`magellan-saucelabs-plugin` is a wrapper for the SauceLabs platform API (i.e. the browser/platform selector API). | ||
@@ -380,5 +380,3 @@ ### Features: | ||
## Licenses | ||
All code not otherwise specified is Copyright Wal-Mart Stores, Inc. | ||
Released under the [MIT](./LICENSE) License. | ||
## License | ||
Documentation in this project is licensed under Creative Commons Attribution 4.0 International License. Full details available at https://creativecommons.org/licenses/by/4.0 |
@@ -412,4 +412,8 @@ /* eslint no-trailing-spaces: 0, no-magic-numbers: 0, max-len: 0, | ||
const deferred = Q.defer(); | ||
request(SauceBrowsers.SAUCE_URL, (err, data) => { | ||
const SAUCE_USERNAME = process.env.SAUCE_USERNAME; | ||
const SAUCE_ACCESS_KEY = process.env.SAUCE_ACCESS_KEY; | ||
const url = SAUCE_USERNAME && SAUCE_ACCESS_KEY ? | ||
SauceBrowsers.SAUCE_URL.replace(/^https:\/\//, "https://" + SAUCE_USERNAME + ":" + SAUCE_ACCESS_KEY + "@") : | ||
SauceBrowsers.SAUCE_URL; | ||
request(url, (err, data) => { | ||
if (err) { | ||
@@ -416,0 +420,0 @@ deferred.reject(err); |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
803
463189
18
382
10