- Feb 10, 2011
-
-
Tim Caswell authored
This works for both ServerResponse and ClientRequest. Adds three new methods as a couple properties to to OutgoingMessage objects. Tests by Charlie Robbins. Change-Id: Ib6f3829798e8f11dd2b6136e61df254f1564807e
-
Theo Schlossnagle authored
Needs more tests.
-
Mikeal Rogers authored
-
Bert Belder authored
-
Bert Belder authored
-
Ryan Dahl authored
Thanks Sitelier. Closes GH-651.
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
isaacs authored
-
-
isaacs authored
-
isaacs authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
- Feb 09, 2011
-
-
Ryan Dahl authored
-
Bert Belder authored
-
Bert Belder authored
-
Ryan Dahl authored
-
isaacs authored
This adds support for a cache object to be passed to the fs.realpath and fs.realpathSync functions. The Module loader keeps an object around which caches the resulting realpaths that it looks up in the process of loading modules. This means that (at least as a result of loading modules) the same files and folders are never lstat()ed more than once. To reset the cache, set require("module")._realpathCache to an empty object. To disable the caching behavior, set it to null. -
Ryan Dahl authored
-
Bert Belder authored
-
- Feb 08, 2011
-
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Bert Belder authored
-
Ryan Dahl authored
-
isaacs authored
Any array-ish thing (whether a Buffer, an Array, or just an object with a numeric "length") is interpreted as a list of bytes.
-
isaacs authored
This allows the various fs utilities and process.umask to be used in ECMAScript 5 Strict Mode, where the octal literal format is verboten, without requiring users to litter their code with a bunch of parseInt calls.
-
Ryan Dahl authored
-
Konstantin Käfer authored
Closes GH-644.
-
Ryan Dahl authored
-
Russell Haering authored
-
Daniel Gröber authored
Closes GH-640.
-
Ryan Dahl authored
-
isaacs authored
This adds basic support for situations where there is a package.json with a "main" field. That "main" module is used as the code that is loaded when the package folder is required.
-
koichik authored
-
- Feb 05, 2011
-
-
Mikeal Rogers authored
-
Ryan Dahl authored
-