utils: Fix wrong usage of Error.prepareStackTrace

The return value of Error.prepareStackTrace will become the result
of Error.stack accesses. Setting Error.stack inside this callback
relies on the fact that the magic get accessor detects the change in
the middle of formatting, and is unnecessary in this instance.
1 file changed
tree: 63de5e12291602545fdae6ae3982dc285e668b2f
  1. .clang-format
  2. .editorconfig
  3. .eslintignore
  4. .eslintrc.js
  5. .gitattributes
  6. .github/
  7. .gitignore
  8. .mailmap
  9. .nycrc
  10. .travis.yml
  11. AUTHORS
  12. BSDmakefile
  13. BUILDING.md
  14. CHANGELOG.md
  15. CODE_OF_CONDUCT.md
  16. COLLABORATOR_GUIDE.md
  17. CONTRIBUTING.md
  18. CPP_STYLE_GUIDE.md
  19. GOVERNANCE.md
  20. LICENSE
  21. Makefile
  22. README.md
  23. android-configure
  24. benchmark/
  25. common.gypi
  26. configure
  27. configure.py
  28. cov/
  29. deps/
  30. doc/
  31. lib/
  32. node.gyp
  33. node.gypi
  34. src/
  35. test/
  36. tools/
  37. vcbuild.bat
README.md

This is the official V8 fork of Node.js with a recent V8 version.

To build from source, run

git clone https://github.com/v8/node v8-node
cd v8-node
./configure --build-v8-with-gn
make -j4 node

Or download the latest build for Ubuntu from this build bot. Select a build, then use the download link.

To check the V8 version in Node, have a look at v8-version.h or run

node -e "console.log(process.versions.v8)"