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

Upgrade gulp-sass to 5.0.0, add package-lock.json file to be tracked #1079

Merged
merged 5 commits into from Sep 7, 2021

Conversation

maxxcrawford
Copy link
Collaborator

This PR reduces 6 high vulnerabilities and adds a package-lock.json file.
found 9 vulnerabilities (1 low, 2 moderate, 6 high) => found 3 vulnerabilities (1 low, 2 moderate)

Note – I used the this guide to upgrade gulp-sass. This new version requires you to define a compiler. I went with https://www.npmjs.com/package/sass as it is maintained. (Alternate was node-sass which was deprecated back in Oct 2020.

Also, I realized we aren't tracking a package-lock.json file as it is a known security practice. LMK if there's a better way to generate this than just from my local.

@maxxcrawford
Copy link
Collaborator Author

cc/ @lloan

gulpfile.js Outdated Show resolved Hide resolved
"merge-stream": "^2.0.0"
"gulp-sass": "^5.0.0",
"merge-stream": "^2.0.0",
"sass": "1.32.13"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note that sass is 🔒 locked into 1.32.13. Otherwise every single SCSS compile gives 30+ warnings about the Protocol library that cannot be quieted. It makes the console output impossible.

@maxxcrawford maxxcrawford merged commit 3e06fba into main Sep 7, 2021
@maxxcrawford maxxcrawford deleted the gulp-sass-upgrade branch September 7, 2021 20:59
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.

None yet

4 participants