Socket
Socket
Sign inDemoInstall

saucelabs

Package Overview
Dependencies
Maintainers
2
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 1.1.0 to 1.2.0

7

lib/SauceLabs.js

@@ -70,2 +70,9 @@ var crypto = require('crypto');

SauceLabs.prototype.getUserConcurrency = function (callback) {
this.send({
method: 'GET',
path: 'users/:username/concurrency'
}, callback);
};
SauceLabs.prototype.getAccountUsage = function (callback) {

@@ -72,0 +79,0 @@ this.send({

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A wrapper around Sauce Labs REST API",
"version": "1.1.0",
"version": "1.2.0",
"homepage": "https://github.com/holidayextras/node-saucelabs",

@@ -8,0 +8,0 @@ "repository": {

@@ -1,2 +0,2 @@

# node-saucelabs [![Build Status](https://secure.travis-ci.org/holidayextras/node-saucelabs.png)](http://travis-ci.org/holidayextras/node-saucelabs)[![Build Status](https://www.codeship.io/projects/83c9b290-21de-0131-e459-3688c4e23c72/status)](https://www.codeship.io/projects/83c9b290-21de-0131-e459-3688c4e23c72/status)
# node-saucelabs [![Build Status](https://secure.travis-ci.org/danjenkins/node-saucelabs.png)](http://travis-ci.org/danjenkins/node-saucelabs)[![Build Status](https://www.codeship.io/projects/83c9b290-21de-0131-e459-3688c4e23c72/status)](https://www.codeship.io/projects/83c9b290-21de-0131-e459-3688c4e23c72/status)

@@ -120,2 +120,11 @@ Wrapper around the Sauce Labs REST API for [Node.js](http://nodejs.org/).

<td>
GET /users/:username/concurrency <br />
Get currently running job counts broken down by account and job status
</td>
<td>
getUserConcurrency(cb) -> cb(err, res)
</td>
</tr>
<tr>
<td>
GET /users/:username/usage <br />

@@ -122,0 +131,0 @@ Access historical account usage data.

@@ -98,2 +98,9 @@ describe('SauceLabs', function () {

describe('#getUserConcurrency', function () {
it('GETs `/rest/v1/users/:username/concurrency`', function (done) {
var mock = nockle.get('/rest/v1/users/:username/concurrency');
sauce.getUserConcurrency(verifySuccess(mock, done));
});
});
describe('#getAccountUsage', function () {

@@ -100,0 +107,0 @@ it('GETs `/rest/v1/users/:username/usage`', function (done) {

Sorry, the diff of this file is not supported yet

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