Socket
Socket
Sign inDemoInstall

@lerna/command

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/command - npm Package Compare versions

Comparing version 3.18.0 to 3.18.5

lib/default-options.js

11

CHANGELOG.md

@@ -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 @@

9

index.js
"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"
}
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