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
(sorry @mikolalysenko I feel like I spam you but it's just a coincidence if it's again one of your repository! And I think it's important to document which code can or cannot be used in a secure manner in a browser)
The text was updated successfully, but these errors were encountered:
The current version use the
Function
constructor which make the code incompatible with a secure CSP.https://github.com/stackgl/gl-shader/blob/master/lib/create-uniforms.js#L9 :
For example:
Could probably be replaced by something like:
The two only other functions using
Function
aremakeGetter
andmakeSetter
.Related: plotly/plotly.js#897
(sorry @mikolalysenko I feel like I spam you but it's just a coincidence if it's again one of your repository! And I think it's important to document which code can or cannot be used in a secure manner in a browser)
The text was updated successfully, but these errors were encountered: