Commit Graph

15 Commits

Author SHA1 Message Date
Martin Probst
b3fd2b9353 fix: find the *last* sourceMappingURL in the source document.
This fixes odd behaviour for source files that contain the literal string
'//# sourceMappingURL=' somewhere in the actual source code.
2015-05-18 17:33:50 +02:00
Evan Wallace
e559f475b5 add a test for pull request #43 2015-02-28 09:54:29 -08:00
Evan Wallace
649da9a3e5 be careful about a null url for data URLs 2014-04-26 12:25:21 -07:00
Evan Wallace
f0354b662a add support for sourcesContent, closes #25 2014-04-26 12:15:02 -07:00
Evan Wallace
095d0ae63b merged and fixed tests 2014-04-26 11:43:54 -07:00
David Bushong
eea7eac6bc separate source display from uncaughtException
If you have your own uncaughtException handler, you might still like the
pretty source display from handleUncaughtExceptions: true; therefore
expose it as exports.getErrorSource(err)
2013-12-22 14:28:04 -08:00
Evan Wallace
2d3b8107bf cache source map data forever by default 2013-07-22 09:21:10 -07:00
Evan Wallace
abc1c2e8e0 handle case when line isn't found, fixes #13 2013-06-26 23:20:34 -07:00
Evan Wallace
2c7e1ce87a fixed data-url bugs and added tests, closes #14 2013-06-26 22:51:13 -07:00
Evan Wallace
3aa561e560 check for eval before getting origin, fixes #9 2013-04-28 14:30:55 -07:00
Evan Wallace
03703165e8 merge relative source path fix, bump version, fixes #4 2013-04-24 19:16:25 -07:00
Evan Wallace
5ab3cdd9e1 change some tests from equality to regex to match slight change in node's stack trace printing 2013-04-24 17:56:13 -07:00
Florian Reiterer
161be66adc Resolve sources relative to the source map
Source Map Revision 3: Resolving Sources
If the sources are not absolute URLs after prepending of the
“sourceRoot”, the sources are resolved relative to the SourceMap (like
resolving script src in a html document).
2013-03-18 23:43:02 +01:00
Evan Wallace
18992a7be6 option to not install uncaught exception handler, fix for issue #3 2013-03-05 11:36:36 -08:00
Evan Wallace
c50758519f initial commit 2013-01-17 23:56:20 -08:00