All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
-
Update
escodegen
. @FabianWarnecke in #43escodegen doesn't officially support all the Node.js versions that
static-eval
supports, but so far it still works on them. This has been the case for both v1.x and v2.1.0 of escodegen, so the upgrade doesn't change that situation.
-
Add
allowAccessToMethodsOnFunctions
option to restore 1.x behaviour so that cwise can upgrade. (@archmoj in #31)Do not use this option if you are not sure that you need it, as it had previously been removed for security reasons. There is a known exploit to execute arbitrary code. Only use it on trusted inputs, like the developer's JS files in a build system.
- Fix function bodies being invoked during declaration. (@RoboPhred in #30)
- Short-circuit evaluation in
&&
and||
expressions. (@RoboPhred in #28) - Start tracking changes.