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
v4 property override error #619
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In applications that mitigate prototype pollution by freezing Object.prototype and Function.prototype, Chalk v4 throws an error when attempting to assign
template.constructor
. Please consider back-porting a fix for the ^4 release range. Submitted here as a diff against the latest tag (Github does not let me base a PR on the tag).https://github.com/chalk/chalk/compare/v4.1.2...kriskowal:chalk:kriskowal-mitigate-override?expand=1
We discovered this override through our transitive dependency through Babel.
The text was updated successfully, but these errors were encountered: