fix require.resolve not considering paths . and .. relative#56735
Conversation
|
Review requested:
|
9ffc34a to
7e988e5
Compare
require.resolve paths option not treating .. as relativerequire.resolve not considering paths . and .. relative
|
do all of these added tests fail on main, or only a subset of them? |
|
The |
c8424cc to
02cbc98
Compare
|
ah ok, so this is specifically a bug with |
sorry, my bad, updated ๐ซก |
Yes, as far as I can tell that's the case, this for example: node/test/parallel/test-require-dot.js Lines 11 to 12 in 869ea33 does indicate that . is correctly treated as a relative path in standard require calls
|
|
May I suggest to not include The commit message needs to be shorter, e.g. |
02cbc98 to
7a97c0b
Compare
Sorry I added them by mistake when I squashed fixup commits, I've already removed them
Sorry the contributing MD made me thing I was supposed to add that ๐
Yes I did notice the linting error, hopefully my newer title is ok? |
To be clear, you can 100% do that if you prefer to do it โ what's important is for the commit landing on |

Fixes: #47000