Open shenoyguru opened 3 years ago
@xzyfer could you please review this ? our project has a dependency on this and we have to whitelist this package as a result of security audit failure
Hi. Recently I got some audit warnings coming from this package's dependencies.
Create an empty folder and run the following:
yarn init --yes
yarn add sass-graph
yarn audit
or
npm init --yes
npm install sass-graph --save
npm audit
yargs
dependency to ^17.0.0
(preferably ^17.2.1
)yargs
looking for breaking changesyargs
requires >=12
so this package should too).travis.yml
file and add newer node versions (15 & 16)I ran the tests on these node versions and both npm test
and ./bin/sassgraph descendents test/fixtures test/fixtures/simple/index.scss
looked good
@shenoyguru Could you update the minimum node version and travis config too? I could open a new PR if you don't want to deal with it.
@xzyfer Do you need any help to merge in and release a new verion?
Edit: Btw, there's more issues / pull requests trying to solve similar issues: #114 & #112, all using or suggesting older yargs version
Thanks for this.
Do you need any help to merge in and release a new verion? @kiskoza the more complete the PR is i.e. the things you've mentioned above, the easier it'll be for me to find the time to get this released since this package is essentially in maintenance mode.
the current version of yargs used a version of y18n that has Prototype Pollution issues https://www.npmjs.com/advisories/1654 As mentioned in the abive document this has been resolved in 5.0.5 or later versions of y18n.
yargs version 17.0.1 uses the v5.0.5 of y18n which should resolve this issue