Skip to content

Unable to use it on a Cloudflare Worker - eval() statements disallowed #195

Answered by dlemstra
pseudomrando asked this question in Q&A
Discussion options

You must be logged in to vote

What do you mean by "or serving the wasm file itself"? Are you talking about the bytes of the wasm files?

I checked the magick.js file of the native library and this is not doing any of the following with a string:

  • Using eval() function
  • Using new Function() constructor
  • Using setTimeout() or setInterval() with string arguments
  • Using dynamic code generation methods like Function.prototype.constructor

Can you get more information about what exactly is being blocked?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dlemstra
Comment options

@pseudomrando
Comment options

@pseudomrando
Comment options

@dlemstra
Comment options

@pseudomrando
Comment options

Answer selected by pseudomrando
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants