Clément Bourgeois
c4435f6b5c
Making use of console.error
...
NodeJS outputs errors to stderr. Making use of console.error(...) instead of console.log(...) makes node-source-map-support compatible with IDEs like Webstorm to get stack traces.
2014-11-03 19:39:43 +01:00
Evan Wallace
3b154ff43e
work around a new V8 change breaking stuff by manually forwarding relevant member functions in the CallSite wrapper instead of using the prototype chain and by copy/pasting the toString() CallSite implementation ( fixes #35 )
2014-10-22 01:09:11 -07:00
Evan Wallace
636b1b28e4
version bump and build for npm, also test for SourceMap HTTP header
2014-07-03 08:41:06 -07:00
Evan Wallace
acf3a860f1
Merge pull request #29 from phleet/phleet-sourcemap-header
...
Support specifying sourcemap via HTTP headers
2014-07-03 08:34:50 -07:00
Jamie Wong
a9ceaf67c3
Support specifying sourcemap via HTTP headers
...
As noted in
https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit ,
the URL for sourcemaps can be specified via a 'SourceMap' header. It was
previously called 'X-SourceMap', so let's support that too.
2014-07-01 17:11:34 -04:00
Evan Wallace
7e9bcdcba0
update build, dependencies, and version number for npm
2014-04-26 12:50:43 -07:00
Evan Wallace
649da9a3e5
be careful about a null url for data URLs
2014-04-26 12:25:21 -07:00
Evan Wallace
7fa445e16f
Merge pull request #26 from ashaffer/patch-1
...
should not return a url when we have a dataUrl
2014-04-26 12:19:26 -07:00
Evan Wallace
f8930e837c
Merge pull request #24 from ddude/master
...
added retrieveFile option
2014-04-26 12:17:44 -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
Evan Wallace
ce163815a8
Merge pull request #28 from manuelschneider/exportWrapCallSite
...
exporting wrapCallSite directly for other components to be used
2014-04-26 11:16:44 -07:00
Evan Wallace
4afea4855d
fix column numbers
2014-04-26 11:15:38 -07:00
Manuel Schneider
076eb22176
exporting wrapCallSite directly for other components to be used
2014-02-04 01:25:01 +01: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
ashaffer
27d844f02c
should not return a url when we have a dataUrl
2013-12-11 12:30:20 -08:00
Jeremie Pelletier
fffaca5b2f
added retrieveFile option
2013-12-03 15:49:34 -05:00
Evan Wallace
e7b02406fd
add AMD support for browsers, closes #23
2013-11-13 21:16:21 -08:00
Evan Wallace
bb81e8d380
version bump and build for npm
2013-11-10 13:19:41 -08:00
Evan Wallace
54e3c91cb0
Merge pull request #22 from rick-kilgore/master
...
only install once if called multiple times in same vm
2013-11-10 13:16:50 -08:00
Rick Kilgore
21bb6544aa
only install once if called multiple times in same vm
...
I have a problem using this module in my unit tests, because I don't
have a central place to put the
require('source-map-support').install();
statement. So I end up having to put it in every unit test, and once
I've written enough tests, I start getting an annoying error about using
up too much memory.
This change makes is so if you call install() multiple times in the same
vm, it only actually installs once.
2013-11-07 19:10:12 -08:00
Evan Wallace
08c876d9bc
Merge pull request #20 from jpillora/patch-1
...
added missing repo fields
2013-09-04 22:31:49 -07:00
Jaime Pillora
a915490d74
added missing repo fields
2013-09-05 15:22:12 +10:00
Evan Wallace
a3008a2348
use the source-map module again now that it works with typescript
2013-08-21 18:08:13 -07:00
Evan Wallace
340839e9fa
temporarily use my patched source-map library until Mozilla fixes theirs
2013-08-15 22:48:52 -07:00
Evan Wallace
bbe8c603ab
swallow SJAX errors during in-browser translation
2013-08-03 07:25:01 -07:00
Evan Wallace
a08c8cfe97
fix for TypeScript compiler
2013-07-29 23:41:09 -07:00
Evan Wallace
b30ecf1f42
add .npmignore
2013-07-27 15:49:46 -07:00
Evan Wallace
91fe4f8093
bundle source-map-support.js for the browser
2013-07-27 15:46:30 -07:00
Evan Wallace
2d3b8107bf
cache source map data forever by default
2013-07-22 09:21:10 -07:00
Evan Wallace
e773027aef
added browserify test
2013-07-21 19:01:25 -07:00
Evan Wallace
70c343e4c4
browserify support, fixes #16
2013-07-21 13:47:26 -07:00
Evan Wallace
be0579d0e1
version bump for npm
2013-07-20 18:36:11 -07:00
Evan Wallace
ca0094664f
Update README.md
2013-07-20 16:41:35 -07:00
Evan Wallace
2d4588e209
Merge pull request #15 from fresheneesz/master
...
Documentation on basic custom usage
2013-07-20 16:40:19 -07:00
Evan Wallace
bdf2ffb6a4
Merge pull request #18 from meteor/retrieve-source-map
...
Allow overriding the mapping from source file to source map.
2013-07-20 15:22:12 -07:00
Evan Wallace
95ad3027a3
Merge pull request #17 from meteor/upgrade-source-map
...
Update to source-map 0.1.26.
2013-07-20 15:11:09 -07:00
David Glasser
28a91e1337
Update to source-map 0.1.26.
2013-07-17 11:28:32 -07:00
David Glasser
1cf5ce0f7d
Allow overriding the mapping from source file to source map.
...
This is done with the new retrieveSourceMap option to sourcemap.install.
This is useful if you have another way of finding your source maps (and can avoid sync reads).
Also, allow source maps to not have an URL, and don't write to a global named mapSourcePosition.
2013-07-17 11:27:13 -07:00
fresheneesz
ae0959ebb9
Completing basic demo that shows correct line and character numbers
2013-06-28 17:39:23 -07:00
fresheneesz
deb583e188
fixing link
2013-06-28 17:02:04 -07:00
fresheneesz
52040fe4e3
adding a Usage section to make it clearer how to use this support and how to create sourcemaps yourself
2013-06-28 17:01:14 -07:00
Evan Wallace
51db253332
update to new version of source-map library
2013-06-26 23:20:53 -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
Fuji, Goro
77d1b5c05b
support data-url format
2013-06-26 21:58:41 -07:00
Evan Wallace
1b4a71bc86
version bump for npm
2013-06-11 07:31:19 -04:00
Evan Wallace
069d43b4ea
Merge pull request #11 from michaelficarra/patch-1
...
support new `//#` sourceMappingURL pragma format
2013-06-10 09:51:22 -07:00
Michael Ficarra
660412ee84
support new //#
sourceMappingURL pragma format
...
For now `//@` is still supported. Support for `//@` can be removed later.
2013-06-09 14:53:20 -05:00
Evan Wallace
d4cc314e57
version bump for npm
2013-05-04 11:10:22 -07:00