(spec)
| 148 | } |
| 149 | |
| 150 | async #getPackument (spec) { |
| 151 | return pacote.packument(spec, { |
| 152 | ...this.npm.flatOptions, |
| 153 | fullMetadata: this.npm.config.get('long'), |
| 154 | preferOnline: true, |
| 155 | }) |
| 156 | } |
| 157 | |
| 158 | async #getOutdatedInfo (edge) { |
| 159 | const alias = safeNpa(edge.spec)?.subSpec |