code: function getIssuerModule(parent) {
    let issuer = parent;
  
    while (issuer && (issuer.id === '[eval]' || issuer.id === '<repl>' || !issuer.filename)) {
      issuer = issuer.parent;
    }
  
    return issuer;
  }
docs: Returns the module that should be used to resolve require calls. It's usually the direct parent, except if we're
  inside an eval expression.