Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

doc: fix modules require.resolve documentation #8309

Closed
wants to merge 1 commit into from

Conversation

lo1tuma
Copy link

@lo1tuma lo1tuma commented Sep 3, 2014

The behavior of the node_modules lookup algorithm was
changed in #1177, but the documentation was not updated completely
to describe the new behavior.

The pseudocode of the lookup algorithm did not metion that
index.json is tried to be loaded if you require a folder.

The behavior of the `node_modules` lookup algorithm was
changed in nodejs#1177, but the documentation was not updated completely
to describe the new behavior.

The pseudocode of the lookup algorithm did not metion that
`index.json` is tried to be loaded if you require a folder.
@indutny
Copy link
Member

indutny commented Sep 15, 2014

Landed in 7c5fabe , thank you!

@indutny indutny closed this Sep 15, 2014
@lo1tuma lo1tuma deleted the fix-module-docs branch September 15, 2014 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants