Socket
Socket
Sign inDemoInstall

protractor-cucumber-framework

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protractor-cucumber-framework - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

18

index.js

@@ -43,8 +43,8 @@ var q = require('q'),

if (cliArgumentValues.length) {
if (cliArgumentValues === true) {
cliArguments.push('--' + option);
} else if (cliArgumentValues.length) {
cliArgumentValues.forEach(function (value) {
cliArguments.push('--' + option, value);
});
} else {
cliArguments.push('--' + option);
}

@@ -75,9 +75,7 @@ }

function convertGenericOptionValuesToCliValues(values) {
return values.reduce(function (opts, value) {
if (value !== true) {
opts.push(value);
}
return opts;
}, []);
if (values[0] === true) {
return values[0]
} else {
return values;
}
}

@@ -84,0 +82,0 @@

{
"name": "protractor-cucumber-framework",
"version": "0.3.0",
"version": "0.3.1",
"description": "Protractor framework for Cucumber.js",

@@ -5,0 +5,0 @@ "main": "index.js",

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