Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Injection vulnerability found in js-yaml dependency #24

Closed
SilentComics opened this issue Jun 18, 2019 · 2 comments
Closed

Code Injection vulnerability found in js-yaml dependency #24

SilentComics opened this issue Jun 18, 2019 · 2 comments

Comments

@SilentComics
Copy link

tachyons-cli > tachyons-build-css > cssnano > postcss-svgo > svgo > js-yaml

To remediate:

Upgrade js-yaml to version 3.13.1 or later
https://npmjs.com/advisories/813

Thank you!

@YJPL
Copy link

YJPL commented Jun 28, 2019

This shouldn't happen if you install globally

npm install --global tachyons-cli

see: https:/tachyons-css/cli#installation

It is meant to be installed globally with the --global flag, and requires v4 of node or higher.

If you get this error, uninstall tachyons-cli [dev]:

npm uninstall tachyons-cli

then use the global installation command, to install the package properly. That will suppress the warning(s).

@SilentComics
Copy link
Author

Exactly. Oversight on my part. Reinstalled globally and it works without warning anymore. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants