1. Jul 22, 2010
  2. Jul 21, 2010
  3. Jul 20, 2010
    • Ryan Dahl's avatar
      Specify env differently in execFile · 7067a715
      Ryan Dahl authored
      Callbacks should always be the last argument.
      7067a715
    • Brian's avatar
      Consistency changes in api docs · 352b8c3a
      Brian authored
      352b8c3a
    • isaacs's avatar
      Cache modules based on filename rather than ID · 49e0f14a
      isaacs authored
      This is ever so slightly less efficient than caching based on ID, since the
      filename has to be looked up before we can check the cache.  However, it's
      the most minimal approach possible to get this change in place.  Since
      require() is a blocking startup-time operation anyway, a bit of slowness is
      not a huge problem.
      
      A test involving require.paths modification and absolute loading. Here's the
      gist of it.
      
      Files: /p1/foo.js /p2/foo.js
      
        1. Add "/p1" to require.paths.
        2. foo1 = require("foo")
        3. assert foo1 === require("/p1/foo") (fail)
        4. Remove /p1 from require.paths.
        5. Add /p2 to require.paths.
        6. foo2 = require("foo")
        7. assert foo1 !== foo2 (fail)
        8. assert foo2 === require("/p2/foo") (fail)
      
      It's an edge case, but it affects how dependencies are mapped by npm.
      If your module requires foo-1.2.3, and my module requires foo-2.3.4,
      then you should expect to have require("foo") give you foo-1.2.3, and
      I should expect require("foo") to give me foo-2.3.4.  However, with
      module ID based caching, if your code loads *first*, then your "foo"
      is THE "foo", so I'll get your version instead of mine.
      
      It hasn't yet been a problem, but only because there are so few
      modules, and everyone pretty much uses the latest version all the
      time.  But as things start to get to the 1.x and 2.x versions, it'll
      be an issue, I'm sure.  Dependency hell isn't fun, so this is a way to
      avoid it before it strikes.
      49e0f14a
    • Peter Griess's avatar
      a9d8cac4
    • Micheil Smith's avatar
      querystring: Removing typecasting of numeric strings to numbers · 299671b7
      Micheil Smith authored
      The tests did not accurately test for a strict equality, meaning that the
      number == to the string.
      299671b7
    • Jan Kassens's avatar
      querystring.js: JSLint warnings fixed · f18d9d84
      Jan Kassens authored
      f18d9d84
    • Jan Kassens's avatar
      querystring doc fix · c7e0c645
      Jan Kassens authored
      c7e0c645
    • Jan Kassens's avatar
      querystring.stringify is now more solid · bb2acd5e
      Jan Kassens authored
      * handles NaN and Infinity
      * works with arrays from other contexts
      bb2acd5e
    • Ryan Dahl's avatar
      Add todo item · eda1edd0
      Ryan Dahl authored
      eda1edd0
    • Ryan Dahl's avatar
      Fix for issue #214 · 9a26946a
      Ryan Dahl authored
      9a26946a
    • Benjamin Fritsch's avatar
      added test for Issue #214 · 0ed35326
      Benjamin Fritsch authored
      0ed35326
    • Ryan Dahl's avatar
      Fix style in readline · 65f2e72d
      Ryan Dahl authored
      65f2e72d
  4. Jul 19, 2010
  5. Jul 18, 2010
  6. Jul 17, 2010
  7. Jul 16, 2010