53 Commits (0a72ac377087fdaa606c7ce75eb983c7d34a0b97)

Author SHA1 Message Date
Ben Noordhuis ac722bbed6 module: strip byte order marker when loading *.js and *.json files 14 years ago
isaacs 703a1ffe52 Revert "AMD compatibility for node" 14 years ago
isaacs 588d885e81 Close #1357 Load json files with require() 14 years ago
isaacs 448eab2587 Close #1349 Delimit NODE_PATH with ; on Windows 14 years ago
isaacs 7f0047c2d5 Close #1348 Remove require.paths 14 years ago
isaacs 9b5098f509 Close #1281 Make require a public member of module 14 years ago
Ryan Dahl 52b517c6ab Revert "Add --cov code coverage option" 14 years ago
Mathias Buus 39246f65df Closes #1177 remove one node_modules optimization 14 years ago
isaacs 9967c369c9 AMD compatibility for node, with docs and tests 14 years ago
Ryan Dahl b4ff36a41b Add --cov code coverage option 14 years ago
Ryan Dahl 75db1995b6 Don't conflict with V8's Script class 14 years ago
Ryan Dahl 55048cdf79 Update copyright headers 14 years ago
isaacs 3599c71dae Closes GH-690 node_modules folders should be highest priority 14 years ago
Felix Geisendörfer 66601f13d9 Do not cache modules that throw exceptions 14 years ago
isaacs f8defa3e09 package.json main as indexed subdir 14 years ago
isaacs 46513483cd node_modules module lookup, +docs and test. 14 years ago
isaacs 9bed5dcb2c Support caching for realpath, use in module load 14 years ago
isaacs da2f4b2dc4 support for package.json 14 years ago
isaacs 2f1f22ab26 module: define functions only once. 14 years ago
isaacs f86ec1366f Closes GH-619 Make require.main be the main module 14 years ago
Ryan Dahl bfb6a67d60 Another fix for process.assert 14 years ago
Ryan Dahl f71e4d8b43 Fix process.assert problem 14 years ago
isaacs 6cdeb3b3fd A module ID with a trailing slash must be a dir. 14 years ago
Daniel Ennis 52f93185c7 Adding support for require-like initialization of node, 14 years ago
Ryan Dahl 9e976abad9 lint 14 years ago
Felix Geisendörfer 5a49f96505 Move commonjs module system into lib/module.js 14 years ago
Ryan Dahl d408de87fc Remove module.js - put code into src/node.js 15 years ago
Nick Stenning 0a3eff8021 Standardise module load order for native and registered file extensions. 15 years ago
Nick Stenning 78520ba482 Don't attempt to load a directory. 15 years ago
Ryan Dahl adec544fdd Revert "Expose the V8 debug object process.debug" 15 years ago
Ryan Dahl d9fbb8a580 Expose the V8 debug object process.debug 15 years ago
Danny Coates dc8c079d90 remove node::CheckBreak in favor of using the v8 debugger js object 15 years ago
Ryan Dahl b5b83b210b Fix --debug-brk; hacky solution 15 years ago
isaacs f0f247d7e5 Fix dirname so that dirname('/a/b/') -> '/a', like sh's does. 15 years ago
isaacs d75b63bc3c Support including modules that don't have an extension. 15 years ago
isaacs 49e0f14a2f Cache modules based on filename rather than ID 15 years ago
Ryan Dahl 9472812569 Fix reference to root global context 15 years ago
Ryan Dahl 3a00470dbb Add 'root' global variable as reference to sandbox 15 years ago
Ryan Dahl 5f30377bbc Load modules in individual contexts 15 years ago
isaacs 781d51285d Use execPath for default NODE_PATH, not installPrefix 15 years ago
David Siegel 2085909aeb fix corner-case bug in Module 15 years ago
Ryan Dahl 8a52fb7aeb Revert "Fix 'uncaughtException' for top level exceptions" 15 years ago
Ryan Dahl 8f8dcf8ed6 Fix 'uncaughtException' for top level exceptions 15 years ago
Ryan Dahl ce8c30c9de Clean up indention on module compile 15 years ago
Ryan Dahl 6056d2ea2c node without arguments starts the REPL 15 years ago
Felix Geisendörfer 987cbe35c6 Fix: require.async module exception delegation 15 years ago
Ryan Dahl 1a5acd9850 API: readFileSync without encoding argument now returns a Buffer 15 years ago
Ryan Dahl 74b7fa29a1 Refactor HTTP 15 years ago
Ryan Dahl ab068db9b1 Improve error reporting 15 years ago
Tim Caswell c07c601c3b fs.readFile uses a buffer internally and will return the raw buffer if no encoding is specified. 15 years ago