(npm, { funding })
| 220 | } |
| 221 | |
| 222 | const packagesFundingMessage = (npm, { funding }) => { |
| 223 | if (!funding) { |
| 224 | return |
| 225 | } |
| 226 | |
| 227 | output.standard() |
| 228 | const pkg = funding === 1 ? 'package' : 'packages' |
| 229 | const is = funding === 1 ? 'is' : 'are' |
| 230 | output.standard(`${funding} ${pkg} ${is} looking for funding`) |
| 231 | output.standard(' run `npm fund` for details') |
| 232 | } |
| 233 | |
| 234 | const unreviewedScriptsMessage = (npm, unreviewedScripts) => { |
| 235 | if (!unreviewedScripts.length) { |
no outgoing calls
no test coverage detected
searching dependent graphs…