Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Thomas Shinnick a5d90c435c path.js: correct three harmless .length typos
lib/path.js routines normalizeArray() and resolve() have for loops that
count down from end of an array.  The loop indexes are initialized using
"array.length" rather than "array.length-1".  The initial array element
accessed is always beyond the end of array and the value is 'undefined'.
Strangely, code exists that acts to ignore undefined values so that the
typos are unnoticeable.

Existing tests emit no errors either before or after changing to "length-1".
Tests _do_ start failing at "length-2". (Actually it is node that starts
to fail at "length-2" - that's a valid enough test...)
2011-08-14 04:10:42 +02:00
benchmark typed arrays: preliminary benchmarks 2011-08-12 18:42:24 +02:00
cmake cmake: Update for libuv. 2011-08-01 15:14:14 -07:00
deps uv: upgrade to 5899192 2011-08-14 03:15:12 +02:00
doc small NPN doc fix 2011-08-14 02:51:35 +09:00
lib path.js: correct three harmless .length typos 2011-08-14 04:10:42 +02:00
src module: fix pointer reference to out-of-scope variable 2011-08-14 01:25:39 +02:00
test test: add typed arrays to known globals list 2011-08-13 23:51:31 +02:00
tools Fix MSVS building. 2011-08-11 04:52:33 +02:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore build: .gitignore build/ directory 2011-08-12 01:10:41 +02:00
AUTHORS Bump version to v0.5.2 2011-07-22 03:55:26 -07:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
CMakeLists.txt cmake: dtrace support. 2011-02-18 10:45:25 -08:00
CTestConfig.cmake cmake: Add cdash support. 2010-11-23 23:33:20 -06:00
ChangeLog Bump version to v0.5.4 2011-08-12 01:17:05 -07:00
LICENSE Revert "Remove scons" 2011-08-08 14:15:51 -07:00
Makefile test: enable simple/test-http-dns-error for `make test-uv` 2011-08-12 15:46:44 +02:00
Makefile-gyp Bring back old Makefile and configure script 2011-08-08 14:12:44 -07:00
Makefile.cmake cmake: Add toolchain file for cross-compiling. 2010-12-22 16:12:49 -08:00
README.cmake cmake: Add toolchain file for cross-compiling. 2010-12-22 16:12:49 -08:00
README.md [doc] add link to npm search in Readme.md 2011-08-06 15:25:40 +09:00
TODO Update TODO items 2011-01-05 11:59:04 -08:00
TODO.win32 Fix mingw build 2011-02-04 14:49:50 -08:00
config.h.cmake Add cmake build support. 2010-11-22 13:32:49 -08:00
configure Revert "Unify configure scripts" 2011-08-09 10:19:48 -07:00
configure-gyp Revert "Unify configure scripts" 2011-08-09 10:19:48 -07:00
generate-projects.bat Fix MSVS building. 2011-08-11 04:52:33 +02:00
node.gyp build: add src/v8_typed_array.cc to gyp sources list 2011-08-12 18:58:54 +02:00
wscript typed arrays: integrate plask's typed array implementation 2011-08-12 18:42:24 +02:00

README.md

Evented I/O for V8 javascript.

To build:

./configure
make
make install

To run the tests:

make test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers