npm state: installed -> installed_pkgs, to avoid shadowing func of same name
Merge pull request #5070 from hulu/installed-shadowing

npm state: installed -> installed_pkgs, to avoid shadowing func of same name