Skip to content

Bug: [key-spacing] Crashes on Node 14 #6396

Closed
@kanongil

Description

@kanongil

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Issue Description

This is a critical issue with the 5.50.0 release, which is not entirely compatible with node v14.x.

TypeError: node.parameters.at is not a function

Array.at() usage has been introduced here:


This does not exist on node v14, and no polyfill has been provided in the released package.

Versions

package version
@typescript-eslint/eslint-plugin 5.50.0
ESlint 8.33.0
node 14.21.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions