lydell / eslump

Fuzz testing JavaScript parsers and suchlike programs.
MIT License
57 stars 6 forks source link

Support Node 4 #2

Closed not-an-aardvark closed 7 years ago

not-an-aardvark commented 7 years ago

Hello :wave:

This removes the syntax/runtime objects that are unavailable in Node 4 from the codebase. It also adds eslint-plugin-node to ensure that all syntax is supported on Node 4.

I wasn't sure whether you preferred having a build step and keeping the syntax modern, or avoiding a build step and not using things like destructuring. In either case, some modification to the code would be necessary, because there is one place where the code used Proxy, which isn't possible to transpile.

(refs https://github.com/eslint/eslint/pull/8422)