Socket
Socket
Sign inDemoInstall

saucelabs

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saucelabs - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

25

a.js
const SauceLabs = require('./build').default
const api = new SauceLabs({
// user: process.env.HEADLESS_SAUCE_USERNAME,
// key: process.env.HEADLESS_SAUCE_ACCESS_KEY,
// region: 'eu'
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
})
// api.listJobs(
// process.env.SAUCE_USERNAME,
// {
// limit: 1,
// full: 1,
// // name: 'Login Tests Bad'
// }
// ).then(console.log)
api.getPerformanceMetricsByJobId('73b1ad4e397e48cbb972e07018280260', { full: true })
.then(
(a) => console.log(JSON.stringify(a, null, 4)),
(err) => console.log('uouups', err)
)
api.getPerformanceMetricsByJobId(
'73b1ad4e397e48cbb972e07018280260',
{ full: true }
).then(
(data) => console.log(JSON.stringify(data, null, 4))
)

@@ -1110,3 +1110,2 @@ {

"default": false,
"description": "FIXME ---- ?",
"in": "query",

@@ -1113,0 +1112,0 @@ "name": "auto_only",

@@ -24,4 +24,5 @@ "use strict";

const command = `${commandName} ${params.map(p => p.required ? `<${p.name}>` : `[${p.name}]`).join(' ')}`;
const description = options.description.summary || options.description.description || 'Unknown description';
_yargs.default.command(command.trim(), options.description.summary, yargs => {
_yargs.default.command(command.trim(), description, yargs => {
for (const param of params) {

@@ -28,0 +29,0 @@ const paramDescription = {

@@ -1962,3 +1962,3 @@ export interface SauceLabsOptions {

* @param {boolean} manualOnly - Only return manual jobsOption
* @param {boolean} autoOnly - FIXME ---- ?Option
* @param {boolean} autoOnly - This is a REST API documentation provided by Sauce LabsOption
* @param {string} name - name of the jobOption

@@ -1965,0 +1965,0 @@ * @param {string} ownerType - owner type for jobsOption

{
"name": "saucelabs",
"version": "3.0.0",
"version": "3.0.1",
"author": "Christian Bromann <christian@saucelabs.com>",

@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API",

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