nodejitsu/require-analyzer — pull request #46 by crcn (2012-03-08 18:57:55+00:00)
Title: Fixed indexOf called on Object when # deps = 0

require-analyzer breaks if no dependencies are found in the scanned files. An example:

` ./lib/index.js`:

```javascript
var dep = require("./some/local/file");
//do stuff
```

`package.json`:

```javascript
{
"main": "./lib/index.js",
"dependencies": {
}
}
```

However, having at least *one* dep listed in `package.json` works:

```javascript
{
"main": "./lib/index.js",
"dependencies": {
"step":"0.0.x"
}
}
```