vercel / nft

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

FYI, this is broken again now, as the main index file is now called argon2/argon2.cjs in 0.40.x. #416

Open henokyehulu opened 2 months ago

henokyehulu commented 2 months ago
          FYI, this is broken again now, as the main index file is now called argon2/argon2.cjs in 0.40.x.

Is there any way to add our own manual exclusions and handling of dependencies in our projects? My workaround at the moment is to use an older version, 0.31.x, where the file is called argon2.js and not argon2.cjs :)

Originally posted by @augustl in https://github.com/vercel/nft/issues/183#issuecomment-2079986189

styfle commented 1 month ago

You could try the ignore option here: https://github.com/vercel/nft/blob/main/readme.md#ignore

Also, if you want to fix it, feel free to create a PR and I'll take a look, thanks!