node.js - NPM warn message about deprecated package -


i installing module globally

$ npm install -g x 

and npm says

"npm warn deprecated lodash@1.0.2: lodash@<3.0.0 no longer maintained. upgrade lodash@^4.0.0"

how can find out module has dependency on old version of lodash?

the warning message npm doesn't seem give me clue module references old version (i believe module x not have direct dependency on old version of lodash.).

i got answer similar question: https://stackoverflow.com/a/36335866/1115187

briefly:

npm outdated --depth=3 

this command analyze installed npm-packages, , versions. report contain:

  1. package name
  2. latest version
  3. current version
  4. dependency path (down depth level)

hope, information gather info outdated packages.

next step - in touch maintainers of appropriate package , , ask them update package (may be, send pull request).

upd: npm-check

there great npm package: npm-check , allows check outdated dependencies. probably

most useful combo: npm-check -uinteractive update. interactive menu shows required information dependencies in current folder, , allows update dependencies in 3 seconds


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -