Marak / colors.js

get colors in your node.js console
https://github.com/Marak/colors.js
Other
5.16k stars 446 forks source link

Fix breaking argv change in Chromium 89.0.4389.86 #279

Open Custard7 opened 3 years ago

Custard7 commented 3 years ago

We take a dependency on Winston, which takes a dependency on colors.js. This morning our dev team upgraded to Chromium 89.0.4389.86, which does not guarantee that process has an argv field, causing site-breaking changes to projects that take dependency on colors.

Process Error

This updates so if there is no argv, it resorts to an empty array (alternate behavior may be desired).