Skip to content

Wrong ecmaVersion using v.2.0.1Β #17

@avanelli

Description

@avanelli

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions