Sebastian McKenzie
884252b90f
increase test coverage
2015-11-10 14:26:40 -08:00
Sebastian McKenzie
a55f210c7f
fix buildExternalHelpers whitelist not including underscored helpers - fixes #2940
2015-11-10 03:40:35 -08:00
Sebastian McKenzie
5f40b53dee
abstract out test runner into a module, move traceur and esnext tests to babel-preset-es2015, clean up and make existing tests more consistent
2015-11-08 21:58:01 -08:00
Sebastian McKenzie
52363ab8d8
remove err.stack hack
2015-11-08 06:56:18 -08:00
Sebastian McKenzie
defa9e1b09
change template literal to normal string
2015-11-08 06:23:30 -08:00
Sebastian McKenzie
6c2cc17d1d
fix GLOBAL_VISITOR_PROPS usage
2015-11-08 06:14:23 -08:00
Sebastian McKenzie
c8901cf98d
cherry-pick and fix merge conflicts in #2695 - closes #2695
2015-11-08 06:08:18 -08:00
Sebastian McKenzie
e40c93791c
disallow plugins creating catch-all enter/exit handlers - closes #2906
2015-11-08 06:02:57 -08:00
Sebastian McKenzie
3076063d47
move babel/register into a separate package
2015-11-08 04:05:13 -08:00
Sebastian McKenzie
b6807021a8
perform esModule plugin normalisation in the normalisePlugin method rather than only doing it for string plugins
2015-11-08 02:47:22 -08:00
Sebastian McKenzie
bcfe582fef
remove json files in favor of just plain js files
2015-11-04 00:00:08 +00:00
Sebastian McKenzie
dd76272fb1
fix source map merging - closes #2522 , fixes #2336
2015-11-03 14:24:36 +00:00
Sebastian McKenzie
8ffc7012cc
autoclear cache when it gets too big - fixes #2678
2015-11-03 10:57:32 +00:00
Sebastian McKenzie
a639bffcd6
clean up auxiliaryComment
2015-11-03 02:46:00 +00:00
Sebastian McKenzie
336be752f8
remove state arg from pre and post plugin hooks
2015-11-03 01:19:52 +00:00
Sebastian McKenzie
2bdc222c0b
wWhen merging options, take precedence over the current array - fixes #2648
2015-11-02 19:21:24 +00:00
Sebastian McKenzie
7a3fef26fa
update tests
2015-11-02 07:11:12 +00:00
Sebastian McKenzie
41ccee89c9
fix runtime plugin helper generation - fixes #2726
2015-11-02 06:56:36 +00:00
Sebastian McKenzie
9fe9a1e76e
ensure there's a newline after prepended original shebang - fixes #2719
2015-11-02 05:25:12 +00:00
Sebastian McKenzie
a1dd25104a
add preset name to couldn't find preset message
2015-10-31 20:52:46 +00:00
Shuhei Kagawa
81b7af2808
enable plugins built with babel 6.0
2015-10-31 12:17:42 +09:00
Sebastian McKenzie
f72802bec9
hoist requires required for core-js build-dist
2015-10-30 17:58:49 +00:00
Sebastian McKenzie
268a1f80a0
only ignore cloning of plugins
2015-10-30 04:52:29 +00:00
Sebastian McKenzie
ae7d5367f1
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
9c2b4e30b6
use basename of relative filename when using source map defaults - fixes #1567
2015-10-05 17:46:59 +01:00
Sebastian McKenzie
de45daaef8
don't execute the callback inside of a try-catch as if the callback errors then it'll emit the error back to the callback
2015-10-05 16:46:45 +01:00
Sebastian McKenzie
52202543ff
better error messages for unknown extends clause and unknown options
2015-10-05 16:46:20 +01:00
Sebastian McKenzie
51c9d59050
allow plugins to be instances
2015-10-05 16:45:47 +01:00
Sebastian McKenzie
210910513d
remove babel.register
2015-10-05 16:44:59 +01:00
Sebastian McKenzie
5006403cd7
remove polyfill from babel/register
2015-10-05 16:44:39 +01:00
Sebastian McKenzie
d108d799bf
remove babel.parse and encourage use of babylon directly
2015-10-05 16:44:14 +01:00
Sebastian McKenzie
64d5ec090b
extend Store from Map
2015-10-05 16:43:37 +01:00
Sebastian McKenzie
63cfb82ca7
clean up mergeSourceMap method - closes #2479
2015-10-05 16:34:40 +01:00
Sebastian McKenzie
227ed5638a
add flow type annotations
2015-09-23 16:10:44 +01:00
Sebastian McKenzie
c99a179401
var -> let
2015-09-18 18:45:55 +01:00
Sebastian McKenzie
c695248d89
remove dead deprecated/aliases for transformers
2015-09-18 18:41:19 +01:00
Sebastian McKenzie
901c578e01
remove unused templates
2015-09-18 18:40:59 +01:00
Sebastian McKenzie
8a32666052
remove dead options
2015-09-15 06:32:49 +01:00
Sebastian McKenzie
c10af9236e
remove transformerList option parser and remove redundant comments
2015-09-15 06:32:37 +01:00
Sebastian McKenzie
69f67c9ec3
merge plugin manager into option manager
2015-09-15 06:32:24 +01:00
Sebastian McKenzie
4924a9adea
add store class
2015-09-15 06:32:04 +01:00
Sebastian McKenzie
dff098e77b
rename errorWithNode to buildCodeFrameError and when erroring on dynamic nodes try and estimate a location
2015-09-15 06:31:51 +01:00
Sebastian McKenzie
c00bf262a7
update to new visitor method signature
2015-09-15 06:30:39 +01:00
Sebastian McKenzie
945c2587e1
remove metadata from plugins, simplify intialisation of a plugin
2015-09-15 06:29:51 +01:00
Sebastian McKenzie
6c656e30bc
make PluginPass the state each plugin visitor gets
2015-09-15 06:29:30 +01:00
Sebastian McKenzie
b865b8862e
remove filters, aliases, deprecations and more from plugin pipeline
2015-09-15 06:29:07 +01:00
Sebastian McKenzie
8d5a93d4da
move block-hoist and shadow-functions to internal plugins
2015-09-15 06:28:27 +01:00
Sebastian McKenzie
c9aff26824
Merge branch 'development' of github.com:babel/babel into development
2015-09-15 06:21:39 +01:00
Sebastian McKenzie
3e8cbc60eb
export babel-template from babel-core
2015-09-15 06:11:38 +01:00
Sebastian McKenzie
daa95ad400
simplify parse helper options
2015-09-15 06:11:25 +01:00