Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

min-wd

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

min-wd - npm Package Compare versions

Comparing version 2.5.1 to 2.6.0

4

CHANGES.md
# Changes
## 2.6.0
- Default `sauceJobName` to the name property in cwd `package.json`
## 2.5.1

@@ -4,0 +8,0 @@

8

lib/options.js

@@ -8,2 +8,3 @@ /*

*/
/*jslint stupid: true*/
'use strict';

@@ -23,5 +24,4 @@

function loadOptions(fileName, key, options) {
/*jslint stupid: true*/
if (fs.existsSync(fileName)) {
var overrides = JSON.parse(fs.readFileSync(fileName).toString());
var overrides = JSON.parse(fs.readFileSync(fileName, 'utf8'));
if (key) {

@@ -60,2 +60,6 @@ overrides = overrides[key];

options.port = 80;
if (!options.sauceJobName && fs.existsSync('package.json')) {
var packageJson = JSON.parse(fs.readFileSync('package.json', 'utf8'));
options.sauceJobName = packageJson.name;
}
}

@@ -62,0 +66,0 @@

{
"name": "min-wd",
"version": "2.5.1",
"version": "2.6.0",
"description": "Minimal WebDriver that pipes stdin to browsers",

@@ -5,0 +5,0 @@ "keywords": [

@@ -143,3 +143,4 @@ # Minimal WebDriver

- `sauceJobName` sets a custom name for the SauceLabs job.
- `sauceJobName` sets a custom name for the SauceLabs job. If a `package.json`
file exists in the current directory, this defaults to the package name.
- `BUILD_VAR` sets the environment variable name that contains a build number

@@ -146,0 +147,0 @@ to set, e.g. `TRAVIS_BUILD_NUMBER`.

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