Disable yarn audit

How do you disable yarn audit? Create-React-App has a dependency on jest that has a dependency on braces and at the moment, running yarn audit fails because of this low-level dependency. I don’t want to wait until there is a new CRA release before I can build again.

It looks like --offline will do the trick, per the docs https://yarnpkg.com/en/docs/cli/audit

We have run into the same problem and configure yarn audit to exit when the vulnerabilities are close to critical…Not a best solution but we couldn’t find anything better. Unless yarn audit adds --prod flag or jest releases 23.x version or CRA updates to jest 24. But it will take time for sure.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.