Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong ecmaVersion using v.2.0.1 #17

Open
avanelli opened this issue Aug 25, 2022 · 2 comments
Open

Wrong ecmaVersion using v.2.0.1 #17

avanelli opened this issue Aug 25, 2022 · 2 comments
Assignees

Comments

@avanelli
Copy link

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:

ecmaVersion: 2021,

  return xtend({
    ecmaVersion: 2020,
    allowHashBang: true,
    allowReturnOutsideFunction: true
  }, opts)

Related Issue: @nodejs/undici#1479

@ljharb
Copy link
Member

ljharb commented Aug 25, 2022

There's nothing "wrong" - 69fc7d5 is just unpublished.

@avanelli
Copy link
Author

Ok, thanks; any chance to get this published?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants