()
| 183 | } |
| 184 | |
| 185 | async optionalPkgJson () { |
| 186 | try { |
| 187 | const { content } = await pkgJson.normalize(this.npm.prefix) |
| 188 | return content |
| 189 | } catch (err) { |
| 190 | return {} |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | get registryIsDefault () { |
| 195 | return this.npm.config.defaults.registry === this.npm.config.get('registry') |
no outgoing calls
no test coverage detected