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. .github/
  2. benchmark/
  3. cov/
  4. deps/
  5. doc/
  6. lib/
  7. src/
  8. test/
  9. tools/
  10. .clang-format
  11. .editorconfig
  12. .eslintignore
  13. .eslintrc.js
  14. .gitattributes
  15. .gitignore
  16. .mailmap
  17. .nycrc
  18. .travis.yml
  19. android-configure
  20. AUTHORS
  21. BSDmakefile
  22. BUILDING.md
  23. CHANGELOG.md
  24. CODE_OF_CONDUCT.md
  25. COLLABORATOR_GUIDE.md
  26. common.gypi
  27. configure
  28. configure.py
  29. CONTRIBUTING.md
  30. CPP_STYLE_GUIDE.md
  31. GOVERNANCE.md
  32. LICENSE
  33. Makefile
  34. node.gyp
  35. node.gypi
  36. README.md
  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)"