telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

fix: fix lodash vulnerability and unit tests with Node.js 10 #1122

Closed rosen-vladimirov closed 6 years ago

rosen-vladimirov commented 6 years ago

fix: update lodash

Update lodash to its latest version in order to fix a vulnerability issue.

fix: unit tests fail with Node.js 10.x.x

Unit tests fail with Node.js 10.x.x as the behavior of util.format has been changed. When an object is passed to it and some of the properties of the object are long strings, the util.format adds new lines in some unexpected places. In order to ensure tests work correctly in Node.js 10 and 8, do not pass object to util.format in the ErrorsStub

TsvetanMilanov commented 6 years ago

:+1: