acorn-node tries to sync its ecmaVersion and such with Node.js. We can
just rely on it to fill in the default value so we don't have to
manually update detective to match.
This adds support for optional catch bindings which are an ES2019
(ecmaVersion: 10) feature.
As the other option defaults here match the ones in acorn-node, this is
a semver minor change.
acorn-node tries to sync its
ecmaVersion
and such with Node.js. We can just rely on it to fill in the default value so we don't have to manually update detective to match.This adds support for optional catch bindings which are an ES2019 (
ecmaVersion: 10
) feature.As the other option defaults here match the ones in acorn-node, this is a semver minor change.
Fixes https://github.com/browserify/browserify/issues/1872