TotalTechGeek / json-logic-engine

Construct complex rules with JSON & process them.
MIT License
43 stars 9 forks source link

Switch direct eval to indirect eval to fix esbuild warnings #17

Closed lionel-rowe closed 10 months ago

lionel-rowe commented 10 months ago

Fixes https://github.com/TotalTechGeek/json-logic-engine/issues/16

TotalTechGeek commented 10 months ago

Hm, this should run in all common JavaScript Engines >2020, so I'm going to merge this in, I think there are some improvements that could be made (switching to strict mode) and a few other things to better restrict the scope,

but I think this is improvement enough over previous functionality to release.

Thanks!