(node)
| 299 | WhileStatement: loop, |
| 300 | DoWhileStatement: loop, |
| 301 | CallExpression(node) { |
| 302 | if (node.callee.type == "Identifier" && node.callee.name == "require" && |
| 303 | node.arguments.length == 1 && node.arguments[0].type == "Literal" && |
| 304 | typeof node.arguments[0].value == "string" && !dependencies.includes(node.arguments[0].value)) |
| 305 | dependencies.push(node.arguments[0].value) |
| 306 | }, |
| 307 | ImportDeclaration(node) { |
| 308 | dependencies.push(node.source.value) |
| 309 | let req = "require(" + node.source.raw + ")", text |
nothing calls this directly
no outgoing calls
no test coverage detected