Skip to content

deprecated chromium-edge-launcher version #52627

@Lionhunt3r

Description

@Lionhunt3r

Description

In the package @react-native/dev-middleware you are using "chromium-edge-launcher": "^0.2.0" as a dependency.

This version of chromium-edge-launcher uses a deprecated version of rimraf as you can see in this screenshot:

Image Image

In the newer version 0.3 the rimraf dependency is removed. Can you upgrade the chromium-edge-launcher package so that we do not get the deprecated warning for rimraf?

Steps to reproduce

  1. create a clean repository with npm init
  2. Do "npm install react-native"
    --> You get this result:
Image

React Native Version

0.80.1

Affected Platforms

Build - MacOS

Output of npx @react-native-community/cli info

➜  test npx @react-native-community/cli info
Need to install the following packages:
@react-native-community/cli@19.1.0
Ok to proceed? (y) 

info Fetching system and libraries information...
System:
  OS: macOS 15.5
  CPU: (12) arm64 Apple M3 Pro
  Memory: 61.83 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 24.3.0
    path: ~/.nvm/versions/node/v24.3.0/bin/node
  Yarn: Not Found
  npm:
    version: 11.4.2
    path: ~/.nvm/versions/node/v24.3.0/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK: Not Found
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: /undefined
    path: /usr/bin/xcodebuild
Languages:
  Java: Not Found
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native:
    installed: 0.80.1
    wanted: ^0.80.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

➜  test npm i react-native
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

added 312 packages, and audited 313 packages in 21s

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

found 0 vulnerabilities

MANDATORY Reproducer

https://github.com/Lionhunt3r/rimraf_deprecated

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingResolution: PR SubmittedA pull request with a fix has been provided.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions