Lines Matching refs:dep
229 var dep = data.dependencies[d]
230 if (dep.missing && !dep.optional) {
238 p += d + '@' + dep.requiredBy +
242 if (dep.dependencies) {
243 return [d, getLite(dep, true)]
245 return [d, { required: dep.requiredBy, missing: true }]
247 } else if (dep.peerMissing) {
249 dep.peerMissing.forEach(function (missing) {
256 return [d, { required: dep, peerMissing: true }]
258 if (depth === maxDepth) delete dep.dependencies
259 return [d, getLite(dep, true, depth + 1)]
261 return [d, getLite(dep, true)]
283 var dep = deps[d]
284 if (dep.missing && !dep.dependencies) return
285 if (dep.path && seen.has(dep)) {
286 dep = deps[d] = Object.assign({}, dep)
287 dep.dependencies = {}
288 dep._deduped = path.relative(root.path, dep.path).replace(/node_modules\//g, '')
291 seen.add(dep)
292 queue.push(dep)
310 var dep = markDeps[depName]
311 if (dep.peerMissing && !dep._from) return
312 dep._parent = markPkg
319 if (dep.path === argRaw.path) {
323 found = semver.satisfies(dep.version, argVersion, true)
329 dep._found = 'explicit'
330 var parent = dep._parent
338 toMark.push(dep)
348 var dep = trimDeps[name]
349 if (!dep._found) return
350 if (dep._found === 'implicit' && dep._deduped) return
351 trimPkg.dependencies[name] = dep
352 toTrim.push(dep)