estraverse
estraverse copied to clipboard
Support trees without range (taken from escodegen)
Along with https://github.com/estools/escodegen/pull/401: Acorn and Meriyah are generating trees that have .start and .end properties without wrapping .range array. I added support for parsing such trees.
Same comment as here: https://github.com/estools/escodegen/pull/401#issuecomment-544025522
@michaelficarra I'll wait until we make a decision in escodegen before we continue here.