Lines Matching refs:dep
21 addDep (dep) { argument
22 this.dependencies.set(dep.name, dep)
23 dep.requiredBy.add(this)
27 delDep (dep) { argument
28 this.dependencies.delete(dep.name)
29 dep.requiredBy.delete(this)
57 for (let dep of this.dependencies.values()) {
58 if (_seen.has(dep)) { continue }
59 _seen.add(dep)
60 if (dep === _from || dep.hasCycle(_seen, _from)) {
78 dep => dep.forEachAsync(fn, opts, _pending),
92 for (let dep of this.dependencies.values()) {
93 dep.forEach(fn, _seen)
108 let dep = allDeps.get(name)
109 if (!dep) {
111 dep = makeNode(name, name, depNode)
113 addChild(dep, tree, allDeps, pkgLock)
123 function addChild (dep, tree, allDeps, pkgLock) { argument
124 tree.addDep(dep)
125 allDeps.set(dep.address, dep)
126 const addr = dep.address
133 addChild(tdep, dep, allDeps, pkgLock)
135 dep.addDep(tdep)