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

Fix vulnerabilities and remove npm shrinkwrap #497

Merged
merged 4 commits into from
Jun 2, 2017
Merged

Conversation

matteofigus
Copy link
Member

Fixes #404 and addresses a little bit of #298 (jade to pug migration is internal, but still not supported by templates).

After this upgrades, Snyk should go green so the shinkwrap should be not required anymore.

@matteofigus matteofigus changed the title Shrinkwrap Fix vulnerabilities and remove npm shrinkwrap Jun 1, 2017
@@ -68,7 +68,8 @@
"form-data": "0.1.4",
"fs-extra": "0.30.0",
"infinite-loop-loader": "1.0.1",
"jade": "1.11.0",
"jstransformer-clean-css": "^2.0.0",
"jstransformer-uglify-js": "^1.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I don't know much about those libraries, where/how do those helpers being registered/used? (I guess you using the clean-css here, but couldn't find other references to those in the PR)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jade has bultin transformers for uglify-js and clean-css. With Pug, they modularised all the tranformers and you need to install all the transformers you want to use separately. That's why I had to include them. Also, 'uglify-css' has been renamed to 'clean-css'.

@matteofigus matteofigus mentioned this pull request Jun 1, 2017
Copy link
Contributor

@nickbalestra nickbalestra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@nickbalestra nickbalestra merged commit 7f44bae into master Jun 2, 2017
@nickbalestra nickbalestra deleted the shrinkwrap branch June 2, 2017 11:11
This was referenced Jun 2, 2017
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

Successfully merging this pull request may close these issues.

2 participants