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

feat: upgrade to postcss@8 #11

Merged
merged 1 commit into from Apr 13, 2021
Merged

Conversation

stefanprobst
Copy link
Contributor

closes #10
closes vercel/next.js#23620

this updates postcss to v8

BREAKING CHANGE: Require postcss@8
"cssnano-preset-simple": "^2.0.0"
},
"peerDependencies": {
"postcss": "^8.2.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

v8.2.2 is needed (i think): see postcss/postcss#1485

Copy link

@mazipan mazipan Apr 13, 2021

Choose a reason for hiding this comment

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

@kachkaev
Copy link

kachkaev commented Apr 12, 2021

This would prevent Next.js apps from complaining about CVE-2021-23368. Snyk report: https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595

}

module.exports = postcss.plugin('cssnano-simple', (opts = {}) => {
module.exports = (opts = {}) => {
Copy link

Choose a reason for hiding this comment

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

The changes were too much.
We need to check all the functionality in my opinion.

@Timer
Copy link
Owner

Timer commented Apr 13, 2021

This looks great to me, thanks!

@Timer Timer merged commit af0fc79 into Timer:master Apr 13, 2021
@Timer
Copy link
Owner

Timer commented Apr 13, 2021

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Timer Timer added the released label Apr 13, 2021
@stefanprobst stefanprobst deleted the feat/postcss8 branch April 13, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support PostCSS 8? Wrong PostCSS version installed
4 participants