James Kyle
1d377986c4
Add babel-core README
2015-10-29 20:15:06 -07:00
Samuel Reed
b98d24594a
optimisations.react.inline: don't pass empty array.
...
This fixes incompatibilities with code that check for the existence
of children.
2015-10-29 21:18:07 -05:00
Sebastian McKenzie
a8cf46d8f4
v6.0.2
2015-10-29 18:06:55 +00:00
Sebastian McKenzie
7ff965a6f8
v6.0.1
2015-10-29 18:04:29 +00:00
Sebastian McKenzie
b2af8af7c8
v6.0.0
2015-10-29 18:02:15 +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
55976b6392
remove redundant generator tests
2015-10-05 16:40:18 +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
Sebastian McKenzie
248d457d87
remove parse API from referring to transformers
2015-09-15 06:11:14 +01:00
Sebastian McKenzie
6e38c037d5
removal redundant comments
2015-09-15 06:10:52 +01:00
Sebastian McKenzie
c7130181f7
clean up browser API
2015-09-15 06:10:38 +01:00
Ben Alpert
150720f431
Fix template loading when hidden files exist
...
This made debugging https://github.com/babel/babel/pull/2352 confusing
because I had some vim swap files so it didn't load any of the
templates. (I assume this was the original intention.)
2015-09-09 23:57:10 -07:00
Sebastian McKenzie
3720174a32
update tests to reflect new whitelist by default model
2015-09-05 20:02:36 +01:00
Sebastian McKenzie
3b301c88da
add missing FunctionExpression conversion when wrapping a function expression in a call for async to generator helper - fixes #2325
2015-09-05 08:41:13 +01:00
Sebastian McKenzie
f770f337a4
add Scope#buildUndefinedNode method
2015-09-02 18:06:23 +01:00
Sebastian McKenzie
1ea835f42f
start moving more transformers to packages and finish import of plugins from babel-plugins
2015-09-01 08:37:37 +01:00
Sebastian McKenzie
ab78685124
remove deprecated features
2015-09-01 04:57:10 +01:00
Sebastian McKenzie
23e0aa8b60
move polyfill dist to babel-polyfill package
2015-09-01 04:56:35 +01:00
Sebastian McKenzie
15f73b4fc3
remove noisy comments/documentation
2015-09-01 04:56:03 +01:00
Sebastian McKenzie
8d7b3c462f
unoverload Literal AST node
2015-09-01 04:49:16 +01:00
Sebastian McKenzie
310f38f3e7
remove polyfill from main package
2015-08-29 20:16:56 -07:00
Sebastian McKenzie
9908f2420d
bump babel-plugin-react-display-name
2015-08-29 20:16:49 -07:00
Sebastian McKenzie
061ba7b2a2
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
packages/babel/scripts/build-dist.sh
2015-08-27 11:12:00 -07:00
Sebastian McKenzie
b8d53c1811
fix predence of destructuring parameters - fixes #2269
2015-08-27 11:10:22 -07:00
Sebastian McKenzie
310de83b63
update function arity to be the number of params to the left of a default/rest - fixes #2262
2015-08-25 17:33:05 -07:00