(node)
| 88 | |
| 89 | // Helper function to check if the object is `module.exports` |
| 90 | function isModuleExportsObject(node) { |
| 91 | return ( |
| 92 | node.parent && |
| 93 | node.parent.type === 'AssignmentExpression' && |
| 94 | node.parent.left && |
| 95 | node.parent.left.type === 'MemberExpression' && |
| 96 | node.parent.left.object && |
| 97 | node.parent.left.object.name === 'module' && |
| 98 | node.parent.left.property && |
| 99 | node.parent.left.property.name === 'exports' |
| 100 | ); |
| 101 | } |
| 102 | |
| 103 | function isModifiedExports(node) { |
| 104 | return ( |
no outgoing calls
no test coverage detected
searching dependent graphs…