Socket
Socket
Sign inDemoInstall

@lerna/child-process

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/child-process - npm Package Compare versions

Comparing version 3.13.3 to 3.14.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.14.2](https://github.com/lerna/lerna/compare/v3.14.1...v3.14.2) (2019-06-09)
### Bug Fixes
* **child-process:** Ensure adjacent prefixes are always a different color ([5a10146](https://github.com/lerna/lerna/commit/5a10146))
## [3.13.3](https://github.com/lerna/lerna/compare/v3.13.2...v3.13.3) (2019-04-17)

@@ -8,0 +19,0 @@

10

index.js

@@ -15,2 +15,5 @@ "use strict";

// ever-increasing index ensures colors are always sequential
let currentColor = 0;
function exec(command, args, opts) {

@@ -39,4 +42,2 @@ const options = Object.assign({ stdio: "pipe" }, opts);

const colorName = colorWheel[children % NUM_COLORS];
const color = chalk[colorName];
const spawned = spawnProcess(command, args, options);

@@ -48,2 +49,7 @@

if (prefix) {
const colorName = colorWheel[currentColor % NUM_COLORS];
const color = chalk[colorName];
currentColor += 1;
stdoutOpts.tag = `${color.bold(prefix)}:`;

@@ -50,0 +56,0 @@ stderrOpts.tag = `${color(prefix)}:`;

4

package.json
{
"name": "@lerna/child-process",
"version": "3.13.3",
"version": "3.14.2",
"description": "Lerna's internal child_process wrapper",

@@ -38,3 +38,3 @@ "keywords": [

},
"gitHead": "1496beb6278b001074d970bdd5869bb1f958d998"
"gitHead": "b22345b9870f62f1125e109fcc47d2e4260b9d09"
}
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