Created
January 7, 2023 02:54
-
-
Save frangio/31c4dc2c253b3a5139da2e1e08eeb247 to your computer and use it in GitHub Desktop.
Print a tree of deprecated npm dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm ls $(jq -r '.packages | to_entries[] | select(.value.deprecated != null) | .key | split("node_modules/")[-1]' package-lock.json) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment