vercel / nft

Node.js dependency tracing utility
https://npmjs.com/@vercel/nft
MIT License
1.33k stars 136 forks source link

Deprecated dependencies in @vercel/nft: npmlog and are-we-there-yet #440

Closed Johnwjl closed 2 months ago

Johnwjl commented 2 months ago

Description

I'm using nuxt@3.13.1 which depends on nitropack@2.9.7, and I noticed that it introduces some deprecated subdependencies:

These deprecated packages are coming from @mapbox/node-pre-gyp@1.0.11, which is a dependency of @vercel/nft@0.26.5. Could you please consider updating @mapbox/node-pre-gyp or addressing these deprecated dependencies?

Steps to reproduce

  1. Install nuxt@3.13.1
  2. Run pnpm install
  3. Observe the deprecation warnings related to the above dependencies.

Could you please consider updating npmlog rimraf and addressing these deprecated dependencies?

Steps to reproduce

  1. Install a project that depends on @mapbox/node-pre-gyp
  2. Run pnpm install
  3. Observe deprecation warnings about these packages.

Dependency chain:

nuxt 3.13.1
└─┬ nitropack 2.9.7
  └─┬ @vercel/nft 0.26.5
    └─┬ @mapbox/node-pre-gyp 1.0.11
      └─┬ npmlog 5.0.1
        └── are-we-there-yet 2.0.0
        └── gauge 3.0.2
      └── rimraf 3.0.2
         └── glob 7.2.3
anviksuteiriy commented 2 months ago

1+ for this request

styfle commented 2 months ago

Closing as a duplicate of #421