…tests to fail )
…ount. This is a small but breaking API change.
Fix native dependency detection
[test v0.6] Remove `require.paths` from tests
Using `process.binding('natives')` lists *real* native packages - like `tty_uv` and `net_uv`, but doesn't list aliases like `net`. Using `require.resolve` instead fixes that - for built-in packages `require.resolve(builtIn) == builtIn`, while for external dependencies it returns path or throws (if resolve failed).
Added fix for analyzing a file with no package.json or node_modules present
… test in test/example-apps-test.js