You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inheriting from Function and calling it's constructor violates strict Content-Security-Policy. The only way to use this library with CSP is to set script-src: 'unsafe-eval' which make CSP kind of useless.
Is there a way to remove this eval code without introducing a regression?
The text was updated successfully, but these errors were encountered:
Hi @anthony-arnold, thanks for waiting this long, last night v3.0.5 was released, it should do away with the CSP warning you were getting and introduces no regression.
The ShortUniqueId constructor contains some eval code.
Inheriting from Function and calling it's constructor violates strict Content-Security-Policy. The only way to use this library with CSP is to set
script-src: 'unsafe-eval'
which make CSP kind of useless.Is there a way to remove this eval code without introducing a regression?
The text was updated successfully, but these errors were encountered: