Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1784

[ANN] rescript-struct@5.1 - Make JS/TS a full-fledged target

$
0
0

I reported it because of portability issue, not because of security. The probelm is the implementation relies on the API surface that are often prohibited.

Prohibiting eval is a host’s decision and cannot be bypassed by user script. In the context of prohibiting eval , new Function is also prohibited. eval itself is not the actual problem.

safe-eval is just a wrapper that creates an isolated context with the Node.js’ vm API and is not an alternative. If it can be a solution, there are standard methods; ShadowRealm rather than Node-only solution.


Viewing all articles
Browse latest Browse all 1784

Trending Articles