endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
804 stars 71 forks source link

fix(bundle-source): apply eval evasion for cjs modules too #2007

Closed kumavis closed 7 months ago

kumavis commented 7 months ago

encountered the incompatibility in either 1kce demo or cat ui in https://github.com/endojs/endo/pull/1877

this applies the evasive eval transform to cjs in addition to mjs as we do currently

replaces https://github.com/endojs/endo/pull/2003