Commit Graph

24 Commits

Author SHA1 Message Date
Merott Movahedi
91c828e375 return native code CallSite as is 2016-04-05 21:08:10 +01:00
kpdecker
b40cc2539e Allow for multiple install calls
This allows for multiple libraries to utilize this without stepping on each other’s toes.

This makes the retrieve helpers additive, giving priority to the last retrieve method registered. In the event of a miss, the next method is called up to and including the default behavior. The `overrideRetriveFile` and `overrideRetrieveSourceMap` flags are added if this behavior is not desired but this is something that most libraries should avoid to be good citizens.

Flagged behaviors will now be on if any of the install calls dictate that they would be.

Fix for #91
2015-10-30 13:36:14 -05:00
Julien Fontanet
fe9d870c51 Fix tests for Node 4. 2015-10-21 09:22:24 +02:00
Melvin Groenhoff
976b50fa65 Change RegExp to be less greedy (Fixes #87). 2015-07-27 17:06:00 +02:00
Linus Unnebäck
d557e580f6 mimic node more closely 2015-06-17 13:19:57 +02:00
Linus Unnebäck
b6a96e067e support charset in data url 2015-06-17 13:14:41 +02:00
Julien Fontanet
21036a2e67 Fix lines on Node (fix #70). 2015-06-02 15:53:30 +02:00
Julien Fontanet
0c4a89af9d Fix tests on Node 0.12. 2015-05-26 10:41:04 +02:00
Julien Fontanet
6f539e6854 Fix failing test due to #41. 2015-05-26 10:37:14 +02:00
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