istio.io icon indicating copy to clipboard operation
istio.io copied to clipboard

fix npm warnings

Open AritraDey-Dev opened this issue 4 months ago • 4 comments

Description

This PR resolves npm warnings caused by deprecated [email protected] and [email protected] by overriding them. few observations:

Before

$ npm explain inflight glob
[email protected]
node_modules/inflight
  inflight@"^1.0.4" from [email protected]
  node_modules/glob
    glob@"^7.2.0" from @babel/[email protected]
    node_modules/@babel/cli
      @babel/cli@"^7.23.0" from the root project
    glob@"^7.2.0" from [email protected]
    node_modules/svgstore-cli
      svgstore-cli@"^2.0.1" from the root project

[email protected]
node_modules/glob
  glob@"^7.2.0" from @babel/[email protected]
  node_modules/@babel/cli
    @babel/cli@"^7.23.0" from the root project
  glob@"^7.2.0" from [email protected]
  node_modules/svgstore-cli
    svgstore-cli@"^2.0.1" from the root project

Now (After the fix)

$  npm explain inflight glob
[email protected]
node_modules/glob
 overridden glob@"^10.0.0" (was "^7.2.0") from @babel/[email protected]
 node_modules/@babel/cli
   @babel/cli@"^7.27.2" from the root project
 overridden glob@"^10.0.0" (was "^7.2.0") from [email protected]
 node_modules/svgstore-cli
   svgstore-cli@"^2.0.1" from the root project

Fixes #16573

Reviewers

  • [ ] Ambient
  • [ ] Docs
  • [x] Installation
  • [ ] Networking
  • [ ] Performance and Scalability
  • [ ] Extensions and Telemetry
  • [ ] Security
  • [ ] Test and Release
  • [ ] User Experience
  • [ ] Developer Infrastructure
  • [ ] Localization/Translation

AritraDey-Dev avatar Jun 13 '25 12:06 AritraDey-Dev