node-source-map-support
node-source-map-support copied to clipboard
Adds source map support to node.js (for stack traces)
Instead of exiting with 1 we must keep the user-land value defined for `process.exitCode` if it's non-zero otherwise we end up changing the error code defined by the consumer of...
It truncates the error cause lines ```js // app.js require('source-map-support').install(); throw new Error('test 123', { cause: new Error('foo') }) ``` ### current behavior  ### expected behavior  note that...
I needed this library, so I improved it so that all the tests provided in the project are now working. I also added the vite-test that I needed. Maybe it...
Fixes #309. Also addresses minor memory leak in Jest (https://github.com/jestjs/jest/pull/15233).