Commit Graph

171 Commits

Author SHA1 Message Date
Pablo Alonso Garcia
d722c97762 swallow SJAX errors during in-browser translation 2016-12-14 13:50:53 +01:00
Linus Unnebäck
313c03883e
0.4.6 2016-10-30 18:52:40 +01:00
Linus Unnebäck
2554816282 Merge pull request #158 from wtgtybhertgeghgtwtg/master
Update .npmignore.
2016-10-30 18:49:44 +01:00
Mat Garcia
b5e57ed431 Update .npmignore. 2016-10-29 04:12:50 -07:00
Linus Unnebäck
bdea7fefc1
0.4.5 2016-10-18 08:52:39 +02:00
Linus Unnebäck
7652ea52a6 Merge pull request #154 from bpmccurdy/fix-toString-shim
Fix toString shim to be backwards compatible with node v4 and below
2016-10-18 08:52:06 +02:00
Ben McCurdy
49c3cb3767 Fix toString shim 2016-10-17 20:10:34 -07:00
Linus Unnebäck
f8bc802e13
0.4.4 2016-10-16 13:54:19 +02:00
Linus Unnebäck
904bf87c78 Merge pull request #118 from kpdecker/runtime-inline
Add support for runtime inline source maps
2016-10-16 13:53:18 +02:00
kpdecker
f2735304c0 Remove stack check from fn ctor test
This is not consistent across different Node versions.
2016-10-09 18:13:08 -05:00
kpdecker
80ee6aadd7 Use global hook flag rather than module local 2016-10-09 18:12:41 -05:00
kpdecker
08fc0d0ca2 Add docs on hookRequire feature. 2016-10-09 18:12:41 -05:00
kpdecker
ca0038978f Include source url for inline maps
This fixes relative url mapping for inline source maps.
2016-10-09 18:12:41 -05:00
kpdecker
2369eea005 Add support for runtime inline source maps
Adds the hookRequire option which monkey patches _compile to support require extension hooks that use inline source maps. This is necessary because the default retrieveFile implementations point to the original source file when doing runtime transpilation and thus don’t have the source map attached.
2016-10-09 18:12:41 -05:00
Linus Unnebäck
d091c9f966
0.4.3 2016-09-29 11:15:03 +02:00
Linus Unnebäck
7b73305cb2 Merge pull request #124 from tomhughes/source-map-update
Source map update
2016-09-29 11:14:25 +02:00
Linus Unnebäck
d8d1a8c14d Merge pull request #144 from graingert/patch-1
Document that babel-register already uses source-map-support
2016-07-21 00:16:32 +02:00
Thomas Grainger
1effda14e1 Document that babel-register already uses source-map-support
So you actuall don't need to use import 'source-map-support/register'
2016-07-20 13:04:09 +01:00
Linus Unnebäck
88db836311
0.4.2 2016-07-14 15:23:52 +02:00
Linus Unnebäck
c676a64fb2 Merge pull request #140 from niieani/patch-1
Use 'node' version when using Electron with nodeIntegration enabled
2016-07-14 15:23:28 +02:00
Bazyli Brzóska
f6427b9ec7 Use 'node' version when using Electron with nodeIntegration enabled 2016-07-04 09:45:04 +02:00
Linus Unnebäck
c1941852bf
version: 0.4.1 2016-06-29 09:09:53 +02:00
Linus Unnebäck
ab9b248442 Merge pull request #130 from Merott/native-callsite-wrap
return native code CallSite as is
2016-06-29 09:08:51 +02:00
Merott Movahedi
91c828e375 return native code CallSite as is 2016-04-05 21:08:10 +01:00
Tom Hughes
9fd4c64920 Update source-map dependency
The tests have been adapted to account for changes that happened
between 0.1.32 and 0.1.33 so require 0.1.33 at least.
2016-01-24 23:01:46 +00:00
Tom Hughes
97f2f952a6 Fix tests to not expect mapping to span lines
Following commit 699dff1a707e4ce8845f267668215bbf79d8eacd in source-map
a generated mapping ends at EOL so the tests shouldn't rely on a lookup
matched a mapping for a previous line.
2016-01-24 10:56:32 +00:00
Tom Hughes
ae2d81b21f Coerce line numbers to numbers 2016-01-24 10:56:32 +00:00
Tom Hughes
a56fba43ff Make path prefixes optional
Commit d281271b106e3e4cc5e06eb8f1589c02cd0d5219 in source-map
means that we get foo.js instead of ./foo.js so the regular
expressions need to adjust to allow that.
2016-01-24 10:56:32 +00:00
Linus Unnebäck
70c54a8ab6 version: 0.4.0 2015-11-30 07:08:47 +01:00
Linus Unnebäck
553e2da847 Merge pull request #96 from kpdecker/chained-retrieve
Allow for multiple install calls
2015-11-30 07:07:05 +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
793a35a2eb 0.3.3 2015-10-23 17:16:42 +02:00
Julien Fontanet
aeec1057ce Merge pull request #110 from evanw/julien-f-improve-readme-tests
Minor changes README#Tests.
2015-10-23 17:12:41 +02:00
Julien Fontanet
35e442db95 Merge pull request #111 from tugend/master
Support for forcing the mode (auto, browser or node) (fix #102)
2015-10-23 09:10:38 +02:00
mads
3c344dc996 Support for forcing the mode (auto, browser or node) (fix #102) 2015-10-22 18:33:55 +02:00
Julien Fontanet
ab6b4cf103 Add serve-test npm script. 2015-10-22 14:43:12 +02:00
Julien Fontanet
75d5016c1f Minor changes README#Tests. 2015-10-22 11:22:52 +02:00
Julien Fontanet
263ae33adf Merge pull request #109 from evanw/julien-f-fix-tests-node4
Fix tests for Node 4.
2015-10-21 09:24:38 +02:00
Julien Fontanet
fe9d870c51 Fix tests for Node 4. 2015-10-21 09:22:24 +02:00
Julien Fontanet
b2b029e852 Test on Node stable instead of iojs. 2015-10-21 09:22:11 +02:00
Julien Fontanet
6296f616ca Merge pull request #88 from Ravoltz/master
Change RegExp to be less greedy (Fixes #87).
2015-07-27 17:12:29 +02:00
Melvin Groenhoff
976b50fa65 Change RegExp to be less greedy (Fixes #87). 2015-07-27 17:06:00 +02:00
Evan Wallace
61e1237d15 update version for npm 2015-06-24 23:03:03 -07:00
Julien Fontanet
1e448d62fc Merge pull request #79 from LinusU/patch-3
Better check for `process.on()`.
2015-06-22 11:12:59 +02:00
Linus Unnebäck
93a7c8a22e check for process object 2015-06-22 11:09:42 +02:00
Julien Fontanet
7c21f3f3b0 Merge pull request #77 from LinusU/patch-2
Do not handle `uncaughtException` if there are other listeners
2015-06-17 16:42:44 +02:00
Linus Unnebäck
d557e580f6 mimic node more closely 2015-06-17 13:19:57 +02:00
Julien Fontanet
e0842b919b Merge pull request #76 from LinusU/patch-1
support charset in data url
2015-06-17 13:18:18 +02:00
Linus Unnebäck
b6a96e067e support charset in data url 2015-06-17 13:14:41 +02:00
Julien Fontanet
e0e8653cc8 Merge pull request #71 from evanw/julien-f-fix-lines
Fix lines on Node (fix #70).
2015-06-09 14:02:30 +02:00