hermes - 💡(How to fix) Fix npm: deprecated @babel/[email protected] (no longer maintained, used via eslint-plugin-react-compiler)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

npm install in ui-tui/ emits a deprecation warning for @babel/[email protected]:

npm warn deprecated @babel/[email protected]: 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.

Error Message

npm warn deprecated @babel/[email protected]: 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.

Root Cause

npm install in ui-tui/ emits a deprecation warning for @babel/[email protected]:

npm warn deprecated @babel/[email protected]: 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.

Fix Action

Fix / Workaround

  • Build-time / lint-time only (not in production runtime)
  • This proposal has been merged into the ECMAScript standard; the replacement is @babel/plugin-transform-private-methods
  • The deprecated plugin is still functional but receives no further updates

There is no safe overrides workaround for internal plugin dependencies — eslint-plugin-react-compiler must make the change upstream.

Code Example

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.

---

ui-tui (devDependencies)
  └─ eslint-plugin-react-compiler@^19.1.0-rc.2
       └─ @babel/plugin-proposal-private-methods@^7.18.6  (resolved: 7.18.6)   ← deprecated, unmaintained
RAW_BUFFERClick to expand / collapse

Summary

npm install in ui-tui/ emits a deprecation warning for @babel/[email protected]:

npm warn deprecated @babel/[email protected]: 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.

Dependency Chain

ui-tui (devDependencies)
  └─ eslint-plugin-react-compiler@^19.1.0-rc.2
       └─ @babel/plugin-proposal-private-methods@^7.18.6  (resolved: 7.18.6)   ← deprecated, unmaintained

Impact

  • Build-time / lint-time only (not in production runtime)
  • This proposal has been merged into the ECMAScript standard; the replacement is @babel/plugin-transform-private-methods
  • The deprecated plugin is still functional but receives no further updates

Suggested Fix

This depends on an upstream update of eslint-plugin-react-compiler. The fix path is:

  1. eslint-plugin-react-compiler needs to update its dependency from @babel/plugin-proposal-private-methods to @babel/plugin-transform-private-methods.
  2. Once released, bump eslint-plugin-react-compiler in ui-tui/package.json to the fixed version.

There is no safe overrides workaround for internal plugin dependencies — eslint-plugin-react-compiler must make the change upstream.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix npm: deprecated @babel/plugin-proposal-private-methods@7.18.6 (no longer maintained, used via eslint-plugin-react-compiler)