vuejs / component-compiler-utils

Lower level utilities for compiling Vue single file components
319 stars 75 forks source link

fix: add undeclared dependencies `chalk` and `supports-color` #113

Closed merceyz closed 3 years ago

merceyz commented 3 years ago

What's the problem this PR addresses?

https://github.com/vuejs/component-compiler-utils/pull/111 started bundling postcss but didn't declare the dependencies it needs

Fixes https://github.com/yarnpkg/berry/runs/2780231720?check_suite_focus=true#step:5:114

How did you fix it?

Added undeclared dependencies chalk and supports-color

sodatea commented 3 years ago

Thanks for noticing this! But as postcss 7 has released a patch to fix the CVE, I just reverted that commit and released a new version. Things should work again in Yarn 2.