Wrong ecmaVersion using v.2.0.1
@goto-bus-stop is already working on this.
Since Aug 25, 2022.
Assessment
This issue has not been assessed yet.
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
return xtend({
ecmaVersion: 2020,
allowHashBang: true,
allowReturnOutsideFunction: true
}, opts)
Related Issue: @https://github.com/nodejs/undici/issues/1479
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from browserify/acorn-node
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
browserify/acorn-node#19 · 4 comments ·
-
Deno support Open
Difficulty 3/5 1-2 days Newbie friendliness 38/100
browserify/acorn-node#18 · 7 comments ·
All issues in browserify/acorn-node
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100