ant-design-icons
ant-design-icons copied to clipboard
CSP: Remove @babel/runtime from dependencies
@babel/runtime
contains a dependency regenenerator-runtime
. And this break the Content-Security-Policy unsafe-eval
.
I think, that @babel/runtime
should not be a part of dependency. It must be a part of devDependency?!
Read that: @tellnes
No issue tab?! - https://github.com/ant-design/react-slick
Read that: @tellnes
No issue tab?! - https://github.com/ant-design/react-slick
?
@tellnes : at the repo - there is no active isssue tab. Please logout and try it.
We have CSP errors and we should remove the unsafe-eval
.
Yes, but why do you mention me? I'm not a maintainer, just a random contributor sending the latest PR that got merged to @ant-design/react-slick
.
Fix it with your bundler: https://leanupjs.org/1.2/guide/migration/#if-you-have-unsafe-eval-with-babel-runtime
@yoyo837 - Please check this issue.
Hi! This issue can probably be closed; @babel/[email protected]
does not depend on regenerator-runtime
anymore.