browserify / browserify/acorn-node
Wrong ecmaVersion using v.2.0.1
Open
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Using
` "dependencies": {
"acorn-node": "^2.0.1"
}`
In the index.js file in node_modules there is an old ecmaVersion, it should be 2021 like in the repo:
https://github.com/browserify/acorn-node/blob/4ac53fa3ac475c969883c0dc0a8a846d2b9ab6b7/src/index.js#L13
```js
return xtend({
ecmaVersion: 2020,
allowHashBang: true,
allowReturnOutsideFunction: true
}, opts)
```
Related Issue: @https://github.com/nodejs/undici/issues/1479
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.