Files
node/lib
hefangshi ccbb46378f module: fix node_modules search path in edge case
The `p < nmLen` condition will fail when a module's name is end with
`node_modules` like `foo_node_modules`. The old logic will miss the
`foo_node_modules/node_modules` in node_modules paths.

TL;TR, a module named like `foo_node_modules` can't require any module
 in the node_modules folder.

Fixes: https://github.com/nodejs/node/issues/6679
PR-URL: https://github.com/nodejs/node/pull/6670
Reviewed-By: Evan Lucas <evanlucas@me.com>
2016-08-10 12:56:52 -04:00
..
2015-10-08 17:32:08 -07:00
2016-03-21 15:48:51 -07:00
2016-08-10 12:56:19 -04:00
2016-08-08 21:37:37 +02:00
2016-07-05 22:09:12 +02:00
2016-06-02 22:37:00 +10:00
2016-07-05 22:10:22 +02:00
2016-06-02 22:42:04 +10:00
2016-07-05 22:36:51 +02:00