問題
sudo npm update -g
といつもの通りアップデートしたところ、以下のような警告文が出ました。
意味と対処法を知りたいです。
$ sudo npm update -g
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
考えたこと
「querystring@0.2.0
が非推奨」、「mkdirp@0.5.1
が非推奨」というのは読み取れるのですが、どちらもnpmでインストールしていませんし、アップデートのしようがありません。
対策方法をお願いします。