58 Commits (a82f5389d9673a48ab0facd6e77b2244dfe084c6)

Author SHA1 Message Date
Nathan Rajlich 3f987cd925 module: Set the error.code to 'MODULE_NOT_FOUND' when a bad path is given to require. 13 years ago
Ben Leslie a4e10cdb07 Raise an error when a malformed package.json file is found. 13 years ago
isaacs e06ce7562c Fix #1707 hasOwnProperty usage 13 years ago
isaacs 98990b9779 Fix #1707 hasOwnProperty usage 13 years ago
Ben Noordhuis ac722bbed6 module: strip byte order marker when loading *.js and *.json files 13 years ago
isaacs 703a1ffe52 Revert "AMD compatibility for node" 13 years ago
isaacs 588d885e81 Close #1357 Load json files with require() 13 years ago
isaacs 448eab2587 Close #1349 Delimit NODE_PATH with ; on Windows 13 years ago
isaacs 7f0047c2d5 Close #1348 Remove require.paths 13 years ago
isaacs 9b5098f509 Close #1281 Make require a public member of module 13 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 14 years ago
Nick Stenning 0a3eff8021 Standardise module load order for native and registered file extensions. 14 years ago
Nick Stenning 78520ba482 Don't attempt to load a directory. 14 years ago
Ryan Dahl adec544fdd Revert "Expose the V8 debug object process.debug" 14 years ago
Ryan Dahl d9fbb8a580 Expose the V8 debug object process.debug 14 years ago
Danny Coates dc8c079d90 remove node::CheckBreak in favor of using the v8 debugger js object 14 years ago
Ryan Dahl b5b83b210b Fix --debug-brk; hacky solution 14 years ago
isaacs f0f247d7e5 Fix dirname so that dirname('/a/b/') -> '/a', like sh's does. 14 years ago
isaacs d75b63bc3c Support including modules that don't have an extension. 14 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