MCPcopy Create free account
hub / github.com/nodejs/node / #getPackument

Method #getPackument

deps/npm/lib/commands/outdated.js:150–156  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

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

Callers 1

#getOutdatedInfoMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected