Searched refs:isExtraneous (Results 1 – 6 of 6) sorted by relevance
2 module.exports = isExtraneous4 function isExtraneous (tree) { function
6 var isExtraneous = require('./is-extraneous.js') variable137 …op && (!tree.parent.isTop || !tree.parent.error) && !npm.config.get('global') && isExtraneous(tree)
34 var isExtraneous = require('./is-extraneous.js') variable202 if (isExtraneous(requirement)) removeObsoleteDep(requirement, log)
13 var isExtraneous = require('./install/is-extraneous.js') variable43 if (isExtraneous(child)) return true
157 var isExtraneous = require('./install/is-extraneous.js') variable409 if (!child.fakeChild && isExtraneous(child)) {454 .filter((child) => isExtraneous(child) && (this.autoPrune || child.removing))510 var isExtraneous = pkg.requiredBy.length === 0511 if (!isReqByTop && !isReqByUser && !isExtraneous) return next()
41 const isExtraneous = require('./install/is-extraneous.js') constant231 var deps = tree.error ? tree.children : tree.children.filter((child) => !isExtraneous(child))