diff --git a/lib/utils/funding.js b/lib/utils/funding.js index 2c994e0b6b426..701e06e9155e5 100644 --- a/lib/utils/funding.js +++ b/lib/utils/funding.js @@ -70,7 +70,8 @@ function getFundingInfo (idealTree, opts) { // within top levels takes precedence over nested ones return (Object.keys(deps)).map((key) => { const dep = deps[key] - const { name, funding, version } = dep + const { name, version } = dep + const funding = dep.funding || dep.collective; const fundingItem = {}