facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
229.66k stars 47.02k forks source link

[Compiler Bug]: `eslint-plugin-react-compiler`: npm warn deprecated `@babel/plugin-proposal-private-methods` #31481

Closed rakleed closed 1 day ago

rakleed commented 2 weeks ago

What kind of issue is this?

Link to repro

npm install eslint-plugin-react-compiler@beta --save-dev

Repro steps

  1. npm install eslint-plugin-react-compiler@beta --save-dev

Message: npm warn deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.

How often does this bug happen?

Every time

What version of React are you using?

18.3.1

What version of React Compiler are you using?

N/A

AnnAngela commented 4 days ago

Sorry but this issue seems to have been ignored, I can confirm that this bug still exists today:

image

$ npm install -D eslint-plugin-react-compiler@beta
npm warn deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.

added 511 packages, and audited 512 packages in 21s

175 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities