summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-07-24 17:18:33 -0700
committerisaacs <i@izs.me>2011-07-24 17:18:33 -0700
commitbf0802402d52f0ca78885f579b91014a859939d5 (patch)
tree1a32a31a6a63a2891e48681b4e20eb54d9b80263 /doc
parente357acc55b8126e1b8b78edcf4ac09dfa3217146 (diff)
downloadnodejs-bf0802402d52f0ca78885f579b91014a859939d5.tar.gz
nodejs-bf0802402d52f0ca78885f579b91014a859939d5.tar.bz2
nodejs-bf0802402d52f0ca78885f579b91014a859939d5.zip
Note that require.paths is gone in 0.5
Rather than say it "may disappear", let's just be clear that it *has* disappeared, and exactly how long it'll be supported for.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/modules.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/modules.markdown b/doc/api/modules.markdown
index 59f545e8a..080630696 100644
--- a/doc/api/modules.markdown
+++ b/doc/api/modules.markdown
@@ -248,9 +248,10 @@ Loading from the `require.paths` locations is only performed if the
module could not be found using the `node_modules` algorithm above.
Global modules are lower priority than bundled dependencies.
-#### **Note:** Please Avoid Modifying `require.paths`
+#### **Note:** Please Avoid Using `require.paths`
-`require.paths` may disappear in a future release.
+`require.paths` will only be supported through the end of the v0.4
+stable branch. It is removed from node as of v0.5.
While it seemed like a good idea at the time, and enabled a lot of
useful experimentation, in practice a mutable `require.paths` list is