Home
last modified time | relevance | path

Searched refs:requiredBy (Results 1 – 25 of 25) sorted by relevance

/third_party/node/deps/npm/lib/install/
Dmutate-into-logical-tree.js18 if (tree.isTop || tree.cycleTop || tree.requiredBy.length === 0) {
24 return tree.requiredBy.every(function (node) {
42 if (!(node.requiredBy && node.requiredBy.length)) return
53 } else if (node.requiredBy.length) {
60 node.requiredBy.forEach(function (parentNode) {
88 dep.requiredBy = child.package._spec
92 function markMissing (name, requiredBy) { argument
100 requiredBy: requiredBy, property
129 requiredBy: packageId(child), property
Dis-only-optional.js11 if (seen.has(node) || node.requiredBy.length === 0) {
16 const result = node.requiredBy.every(function (req) {
Dget-requested.js6 if (!child.requiredBy.length) return
7 if (!reqBy) reqBy = child.requiredBy[0]
Dis-extraneous.js23 return tree.requiredBy && tree.requiredBy.some(function (node) {
Dis-only-dev.js14 return node.requiredBy.length && node.requiredBy.every(andIsOnlyDev(moduleName(node), seen))
Ddiff-trees.js141 if (!mod.requiredBy) return true
145 return !mod.requiredBy.some(isNotTopOrExtraneous)
162 if (!mod.requiredBy) mod.requiredBy = []
163 mod.requiredBy.sort(sortModuleByLocation).forEach(function (mod) {
Ddeps.js199 …requirement.requiredBy = requirement.requiredBy.filter(function (reqBy) { return reqBy !== child })
366 for (let parent of pkgToRemove.requiredBy) {
369 pkgToRemove.requiredBy = pkgToRemove.requiredBy.filter((parent) => parent !== tree)
452 if (!tree.requiredBy) return false
455 for (var ii = 0; ii < tree.requiredBy.length; ++ii) {
456 var requireParent = tree.requiredBy[ii]
793 var earliestInstallable = exports.earliestInstallable = function (requiredBy, tree, pkg, log) {
803 if (tree === requiredBy) {
828 if (!tree.removed && requiredBy !== tree && deps[pkg.name]) {
850 return (earliestInstallable(requiredBy, tree.parent, pkg, log) || tree)
Dnode.js12 requiredBy: [], property
69 child.requiredBy = []
Dactions.js86 var requiredBy = req.requiredBy.filter((reqReqBy) => !reqReqBy.failed)
87 if (requiredBy.length === 0 && !req.userRequired) {
Dupdate-package-json.js22 mod.requiredBy
/third_party/node/deps/npm/test/tap/
Dunit-deps-removeObsoleteDep.js20 var child1 = {requiredBy: []} property
28 var child2 = {requiredBy: []} property
32 child2.requiredBy.push(test2)
36 var child3 = {requiredBy: [{isTop: true}]} property
40 child3.requiredBy.push(test3)
Dinstall-actions.js39 requiredBy: [moduleA] property
54 moduleA.requiredBy = [tree]
88 requiredBy: [moduleA], property
108 moduleA.requiredBy = [tree]
109 moduleB.requiredBy.push(tree)
Dinstall-order.js8 requiredBy: [], property
15 requiredBy: [], property
25 requiredBy: [], property
35 requiredBy: [a, b], property
Dbundled-no-add-to-move.js17 oldTree.children[0].requiredBy.push(oldTree)
38 newTree.children[0].requiredBy.push(newTree)
39 newTree.children[0].children[0].requiredBy.push(newTree.children[0])
/third_party/node/deps/npm/node_modules/npm-logical-tree/
Dindex.js16 this.requiredBy = new Set()
19 get isRoot () { return !this.requiredBy.size }
23 dep.requiredBy.add(this)
29 dep.requiredBy.delete(this)
DCHANGELOG.md36 * **requiredBy:** add requiredBy field to nodes ([c4056fb](https://github.com/npm/npm-logical-tree/…
DREADME.md48 requiredBy: Set { },
61 requiredBy: Set { ... },
111 requiredBy: Set { },
123 requiredBy: Set { ... },
/third_party/node/deps/npm/lib/
Dls.js238 p += d + '@' + dep.requiredBy +
245 return [d, { required: dep.requiredBy, missing: true }]
253 missing.requiredBy
375 var label = data._id || (d + '@' + data.requiredBy)
393 return {label: d + '@' + data.requiredBy}
530 ':' + d + '@' + JSON.stringify(data.requiredBy) + ':INVALID:MISSING'
535 ? ':' + d + '@' + JSON.stringify(data.requiredBy) +
Dupdate.js61 const isTransitive = !(ww.dep.requiredBy || []).some((p) => p.isTop)
Dinstall.js508 var isReqByTop = pkg.requiredBy.filter(function (mod) { return mod.isTop }).length
510 var isExtraneous = pkg.requiredBy.length === 0
724 requiredBy: [], property
Daudit.js97 target.requiredBy.forEach(par => {
/third_party/node/deps/npm/test/need-npm5-update/
Dpeer-deps-toplevel.js52 {requiredBy: 'npm-test-peer-deps-toplevel@0.0.0', requires: 'mkdirp@*'} property
64 {requiredBy: 'npm-test-peer-deps@0.0.0', requires: 'request@0.9.x'} property
/third_party/node/deps/npm/node_modules/libcipm/
Dindex.js325 const parent = dep.requiredBy.values().next().value
/third_party/typescript/tests/baselines/reference/user/
Dnpm.log1746 …veObsoleteDep.js(32,26): error TS2345: Argument of type '{ requires: { requiredBy: never[]; }[]; }…
1747 …veObsoleteDep.js(40,26): error TS2345: Argument of type '{ requires: { requiredBy: { isTop: boolea…
1748 …Property 'isTop' is missing in type '{ requires: { requiredBy: { isTop: boolean; }[]; }[]; }' but …
/third_party/node/deps/npm/changelogs/
DCHANGELOG-4.md1528 If a package has malformed metadata, `node.requiredBy` is sometimes missing.