Socket
Socket
Sign inDemoInstall

saucelabs

Package Overview
Dependencies
Maintainers
1
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 0.0.4 to 0.0.5

6

lib/Saucelabs.js

@@ -269,3 +269,3 @@ var https = require('https');

}else if(typeof use_hour == 'function'){
callback = hour;
callback = use_hour;
use_hour = null;

@@ -276,3 +276,3 @@ }

if(self.username && self.password){
if(self.options.username && self.options.password){
if(datetime instanceof Date){

@@ -290,3 +290,5 @@ //in format YYYY-MM-DD-HH or YYYY-MM-DD

}
console.log(datetime_string);
}
console.log(self.options.username + ':' + self.options.password + (datetime_string ? ':' + datetime_string : ''));
var hash = crypto.createHmac('md5', self.options.username + ':' + self.options.password + (datetime_string ? ':' + datetime_string : '')).update(id).digest('hex');

@@ -293,0 +295,0 @@ url += '?auth=' + hash;

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

"description": "A wrapper around Saucelabs REST API",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "https://github.com/holidayextras/node-saucelabs",

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

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