-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Description
the less.js dependency make-dir
is not up-to-date and causes security warning due to its outdated dependency.
see GHSA-c2qf-rxjj-qqgw
$ npm ls semver
[email protected] project
└─┬ [email protected]
└── [email protected]
I would suggest updating to a current make-dir
version here.
A quick search showed that it is only used here, so from my point of view an update should bring little problems.
less.js/packages/less/bin/lessc
Lines 163 to 172 in 7491578
if (mkdirp === undefined) { | |
try { | |
mkdirp = require('make-dir'); | |
} catch (e) { | |
mkdirp = null; | |
} | |
} | |
cmd = mkdirp && mkdirp.sync || fs.mkdirSync; | |
cmd(dir); |
jorenbroekema