@lerna/command
Advanced tools
Comparing version 3.18.0 to 3.18.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.18.5](https://github.com/lerna/lerna/compare/v3.18.4...v3.18.5) (2019-11-20) | ||
### Bug Fixes | ||
* **command:** Do not mutate `argv` parameter ([8ca85a4](https://github.com/lerna/lerna/commit/8ca85a4f07acbec02d41077faacdd1f4a62e86a3)), closes [#2348](https://github.com/lerna/lerna/issues/2348) | ||
# [3.18.0](https://github.com/lerna/lerna/compare/v3.17.0...v3.18.0) (2019-10-15) | ||
@@ -8,0 +19,0 @@ |
"use strict"; | ||
const _ = require("lodash"); | ||
const cloneDeep = require("clone-deep"); | ||
const dedent = require("dedent"); | ||
@@ -15,2 +15,3 @@ const execa = require("execa"); | ||
const cleanStack = require("./lib/clean-stack"); | ||
const defaultOptions = require("./lib/default-options"); | ||
const logPackageError = require("./lib/log-package-error"); | ||
@@ -22,6 +23,7 @@ const warnIfHanging = require("./lib/warn-if-hanging"); | ||
class Command { | ||
constructor(argv) { | ||
constructor(_argv) { | ||
log.pause(); | ||
log.heading = "lerna"; | ||
const argv = cloneDeep(_argv); | ||
log.silly("argv", argv); | ||
@@ -164,4 +166,3 @@ | ||
this.options = _.defaults( | ||
{}, | ||
this.options = defaultOptions( | ||
// CLI flags, which if defined overrule subsequent values | ||
@@ -168,0 +169,0 @@ this.argv, |
{ | ||
"name": "@lerna/command", | ||
"version": "3.18.0", | ||
"version": "3.18.5", | ||
"description": "Lerna's internal base class for commands", | ||
@@ -36,13 +36,13 @@ "keywords": [ | ||
"@lerna/child-process": "3.16.5", | ||
"@lerna/package-graph": "3.18.0", | ||
"@lerna/package-graph": "3.18.5", | ||
"@lerna/project": "3.18.0", | ||
"@lerna/validation-error": "3.13.0", | ||
"@lerna/write-log-file": "3.13.0", | ||
"clone-deep": "^4.0.1", | ||
"dedent": "^0.7.0", | ||
"execa": "^1.0.0", | ||
"is-ci": "^2.0.0", | ||
"lodash": "^4.17.14", | ||
"npmlog": "^4.1.2" | ||
}, | ||
"gitHead": "0ea8fb136f408fb4de3fd39bb7069d976235d53d" | ||
"gitHead": "2612f51e7eecec58eacf0571724e6989e4b8e42d" | ||
} |
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
26452
9
306
+ Addedclone-deep@^4.0.1
+ Added@lerna/package-graph@3.18.5(transitive)
+ Addedclone-deep@4.0.1(transitive)
+ Addedshallow-clone@3.0.1(transitive)
- Removedlodash@^4.17.14
- Removed@lerna/package-graph@3.18.0(transitive)
- Removedlodash@4.17.21(transitive)
Updated@lerna/package-graph@3.18.5