code: function _compile(str, filename) {
      var parent = this;
      try {
        var requires = detective(str);
      } catch (ex) {
        ex.toString = function() {
          return filename + ':' + this.loc.line + '\n ' + ex.message;
        }
        throw ex;
      }
      requires.forEach(function(req) {
        if (modules.isRelative(req)) {
          Module._load(req, parent);
        } else {
          if (!modules.isCore(req)) {
            dependencies.push(modules.name(req));
          }
        }
      });
    }
docs: override of Module._compile to find all call to "require"