Files
node/test/simple
Robert Kowalski 36777d2a5f module: test for directories, fix require with ..
Given my home-directory is `/Users/rocko` - and I have a file named
`npm.json` in it and also a repository with name `npm`, which is a
folder for the node-module.

When try to require the `/Users/rocko/npm/index.js` two direcotry
levels down in the npm folder (e.g. `/Users/rocko/npm/test/tap`)
with require("../../") node will load `/Users/rocko/npm/index.json`.

When I use require("../..") node will load `/Users/rocko/npm.json`
which is fixed by this commit.

PR-URL: https://github.com/iojs/io.js/pull/58
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
2014-12-06 22:14:05 +01:00
..
2012-02-20 13:29:11 +01:00
2010-02-25 11:41:11 -08:00
2012-06-11 15:51:23 -07:00
2012-12-14 10:52:30 -08:00
2012-01-17 19:45:09 +01:00
2011-11-25 01:25:38 +01:00
2012-01-24 00:30:28 +06:00
2012-01-17 19:45:09 +01:00
2012-01-17 19:45:09 +01:00
2011-03-14 17:37:05 -07:00
2011-03-14 17:37:05 -07:00
2012-12-14 17:46:23 -08:00
2011-11-01 22:26:52 +01:00
2011-11-01 22:26:52 +01:00
2011-10-22 14:14:40 +09:00
2011-10-22 14:14:40 +09:00
2011-10-22 14:14:40 +09:00
2012-12-14 17:46:23 -08:00
2012-06-29 17:29:32 +02:00
2012-07-04 13:45:14 +02:00
2012-01-17 19:45:09 +01:00
2011-03-14 17:37:05 -07:00
2012-01-09 11:20:22 -08:00
2013-12-10 23:06:56 +04:00
2014-08-29 00:36:48 +04:00
2012-12-14 10:52:30 -08:00
2011-08-09 13:55:04 -07:00
2014-12-02 11:32:08 -08:00
2011-03-14 17:37:05 -07:00
2012-12-14 10:52:26 -08:00
2011-10-05 18:51:06 -07:00