yahoo/express-yui — pull request #11 by caridy (2013-06-13 23:28:29+00:00)
Title: improve yui module detection to avoid executing arbitrary code

Because of this, `app.js` was executed twice, when calling `node app.js` and then when locator was walking the filesystem. The solution is to guarantee that when detecting if the script is a yui module, we should execute the script in an isolated context without `require` and `module` support.