MCPcopy Index your code
hub / github.com/nodejs/node / #getWorkspacesEdges

Method #getWorkspacesEdges

deps/npm/lib/commands/outdated.js:138–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 }
137
138 #getWorkspacesEdges () {
139 if (this.npm.global) {
140 return
141 }
142
143 for (const edge of this.#tree.edgesOut.values()) {
144 if (edge?.to?.target?.isWorkspace) {
145 this.#getEdgesOut(edge.to.target)
146 }
147 }
148 }
149
150 async #getPackument (spec) {
151 return pacote.packument(spec, {

Callers 1

#getEdgesMethod · 0.95

Calls 2

#getEdgesOutMethod · 0.95
valuesMethod · 0.45

Tested by

no test coverage detected