@aofl/cli-lib
Advanced tools
Comparing version 3.9.0-alpha.0 to 3.9.0
@@ -30,2 +30,2 @@ const CommanderHelper = require('./modules/commander-helper'); | ||
module.exports.defaultsDeep = defaultsDeep; | ||
module.exports.WdioPrepareConfig = PrepareConfig; | ||
module.exports.WdioPrepareConfig = PrepareConfig; |
const defaults = (options = {}, defaults) => { | ||
for (const key in defaults) { | ||
if (!Object.prototype.hasOwnProperty.call(defaults, key)) continue; | ||
console.log(key); | ||
if (typeof options[key] === 'undefined') { | ||
@@ -30,2 +29,2 @@ options[key] = defaults[key]; | ||
module.exports.defaults = defaults; | ||
module.exports.defaultsDeep = defaultsDeep; | ||
module.exports.defaultsDeep = defaultsDeep; |
@@ -335,3 +335,3 @@ const spawn = require('cross-spawn'); | ||
if (typeof treeish !== 'undefined') params.push(treeish); | ||
if (typeof paths.length > 0) params.push(...path); | ||
if (paths.length > 0) params.push(...paths); | ||
@@ -338,0 +338,0 @@ return Git.__run(params, options); |
@@ -6,2 +6,3 @@ const path = require('path'); | ||
const LEADING_SLASH_REGEX = new RegExp(`^\\${path.sep}`, 'i'); | ||
const CLEAN_PATH_REGEX = /[#?].*/i; | ||
@@ -57,3 +58,3 @@ /** | ||
/** | ||
/** | ||
* @param {*} path | ||
@@ -60,0 +61,0 @@ * @return {String} |
{ | ||
"name": "@aofl/cli-lib", | ||
"version": "3.9.0-alpha.0", | ||
"version": "3.9.0", | ||
"description": "Shared library for cli and various webpack plugins.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1950
1