@belym.a.2105/sauce-tunnel
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -0,0 +0,0 @@ /* npm */ |
{ | ||
"name": "@belym.a.2105/sauce-tunnel", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "A wrapper around the Sauce Labs tunnel jar", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,6 +21,6 @@ #sauce-tunnel | ||
``` | ||
var tunnel = new SauceTunnel(SAUCE_USERNAME, SAUCE_ACCESSKEY, tunnelIdentifier, tunneled, extraFlags); | ||
var tunnel = new SauceTunnel(SAUCE_USERNAME, SAUCE_ACCESS_KEY, tunnelIdentifier, tunneled, extraFlags); | ||
``` | ||
1. `SAUCE_USERNAME` and `SAUCE_ACCESSKEY` are the username and the accesskey for saucelabs. They are usually set as environment variables (specially in continuous integration tools like [travis](http://travis-ci.org) ) | ||
1. `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` are the username and the accesskey for saucelabs. They are usually set as environment variables (specially in continuous integration tools like [travis](http://travis-ci.org) ) | ||
2. The `tunnelIdentifier` is a unique identifier for the tunnel. It is optional and is automatically generated when not specified. Note that the tunnel identifier may have to be passed in with the browsers object as a desired capability to enable traffic to use the tunnel. More details [here](https://saucelabs.com/docs/additional-config#tunnel-identifier) | ||
@@ -51,3 +51,3 @@ 3. The `tunneled` attribute is a boolean value to indicate if the tunnel is to be created or not. This value can be set to `false` to mock a tunnel creation if the site tested is publicly accessible. This value is optional and defaults to `true`. | ||
var SauceTunnel = require('sauce-tunnel'); | ||
var tunnel = new SauceTunnel(process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESSKEY, 'tunnel', true/* ['--verbose'] */); | ||
var tunnel = new SauceTunnel(process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESS_KEY, 'tunnel', true/* ['--verbose'] */); | ||
tunnel.start(function(status){ | ||
@@ -54,0 +54,0 @@ if (status === false){ |
var SauceTunnel = require('../index'); | ||
var tunnel = new SauceTunnel(process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESSKEY); | ||
var tunnel = new SauceTunnel(process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESS_KEY); | ||
if (!tunnel.identifier) { | ||
@@ -13,3 +13,3 @@ console.error('`tunnel.identifier` should be set to a random variable when not specified in the constructor'); | ||
tunnel = new SauceTunnel(process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESSKEY, null, true, ['--verbose']); | ||
tunnel = new SauceTunnel(process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESS_KEY, null, true, ['--verbose']); | ||
tunnel.on('verbose:ok', function () { | ||
@@ -16,0 +16,0 @@ console.log.apply(console, arguments); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
101911113