commit | 2af9e9f5379f0a03a5a08ae09eb438dd965db697 | [log] [tgz] |
---|---|---|
author | Simon Zünd <szuend@chromium.org> | Tue Apr 16 06:55:44 2019 |
committer | Yang Guo <yangguo@chromium.org> | Tue Apr 16 10:53:26 2019 |
tree | 63de5e12291602545fdae6ae3982dc285e668b2f | |
parent | 8c54ff7cdd931dea06febd443993b7966d6cef21 [diff] |
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.
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)"