Maintained?
Closed this issue · 2 comments
cristianoccazinsp commented
@jsdw hey, are you still maintaining this? Further, does this use eval
or any other unsafe primitive that may fail CSP policies?
Thanks.
jsdw commented
Angu is still "alive"; it's just considered finished at the moment, and so I haven't needed to do anything to it for a whle :)
It is used in projects I care about, and I would endeavour to fix any issues that were spotted!
And it does not use eval
or any unsafe primitves at all; it is entirely sandboxed and safe.
cristianoccazinsp commented
Hey @jsdw , thanks for the great library.
May I take this chance to ask a question regarding how to implement something? Just some ideas or whether it's possible or not.
How would you implement something to define and use a lookup table? E.g.,
mytable = {1: 'yes', 2:'no'};
myvar = 1; // this is easy
return(mytable[myvar])
Thanks!