638 Commits

Author SHA1 Message Date
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
95c9b2c8e0 add filename to babylon test errors 2015-10-05 16:40:55 +01:00
Sebastian McKenzie
3a89ee84ef update babylon tests 2015-10-05 16:40:43 +01:00
Sebastian McKenzie
55976b6392 remove redundant generator tests 2015-10-05 16:40:18 +01:00
Sebastian McKenzie
6568aaa175 add babel-polyfill to CLI 2015-10-05 16:39:16 +01:00
Sebastian McKenzie
31e4d2e515 remove CLI aliases 2015-10-05 16:38:53 +01:00
Sebastian McKenzie
9113542b12 add syntax plugins 2015-10-05 16:37:49 +01:00
Sebastian McKenzie
f88cc9d509 clean up babel-generator - closes #2210 2015-10-05 16:37:37 +01:00
Sebastian McKenzie
63cfb82ca7 clean up mergeSourceMap method - closes #2479 2015-10-05 16:34:40 +01:00
Sebastian McKenzie
6740561f91 remove comments from old node after inheriting from new one when replacing nodes - closes #2490, closes #2489 2015-10-05 16:27:17 +01:00
Sebastian McKenzie
fa88b1c00d abstract out scope binding rename and handle function/class cases where we can retain the name with some ~magic~ - fixes #2435 2015-09-28 02:45:00 +01:00
Sebastian McKenzie
112c24a3d3 Merge pull request #2427 from michaelficarra/patch-2
advance es7.trailingFunctionCommas to stage 2
2015-09-24 18:27:14 +01:00
Sebastian McKenzie
55989d1c34 Merge pull request #2425 from zertosh/browserify-shrink
Use source-map@^0.5.0 and optimize bundle builds
2015-09-24 15:34:30 +01:00
Sebastian McKenzie
0421224ad0 Merge pull request #2424 from benjamn/patch-5
Upgrade Regenerator to 0.8.40
2015-09-24 15:34:09 +01:00
Andres Suarez
2f13cfa85b optimize bundle builds 2015-09-23 21:58:23 -07:00
Andres Suarez
a5fc32e598 bump source-map to ^0.5.0 2015-09-23 21:05:57 -07:00
Michael Ficarra
7e9a9296ef advance es7.trailingFunctionCommas to stage 2 2015-09-23 16:41:40 -07:00
Ben Newman
e50476b8a4 Upgrade Regenerator to 0.8.40
Most notably, this pegs regenerator to a version of recast (0.10.33) which pegs ast-types to a version (0.8.12) that contains https://github.com/benjamn/ast-types/pull/128, so the Babel client bundle size will be a bit smaller.
2015-09-23 15:01:42 -04:00
Michael Ficarra
46e2a86183 move class properties proposal to stage 1 2015-09-23 11:13:38 -07:00
Sebastian McKenzie
227ed5638a add flow type annotations 2015-09-23 16:10:44 +01:00
Sebastian McKenzie
20f643b419 type annotate babylon 2015-09-23 15:59:41 +01:00
Ben Newman
5553fddd84 Upgrade Regenerator to v0.8.39
Most notably, this release fixes a bug that made it difficult for Promise implementations to track unhandled rejections when using async functions: 3d8ee21f3a
2015-09-22 11:16:22 -04:00
Sebastian McKenzie
273b7c5e07 v5.8.25 2015-09-19 01:52:08 +01:00
Sebastian McKenzie
bfd8f41e5e Merge pull request #2372 from hzoo/evaluation-tests
evaluation: tests for UnaryExpression and BinaryExpression
2015-09-19 01:40:43 +01:00
Sebastian McKenzie
c99a179401 var -> let 2015-09-18 18:45:55 +01:00
Sebastian McKenzie
0708edb927 it's now safe to use path.remove() 2015-09-18 18:41:44 +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
b1648fb339 switch babel-node binary to use v8 flags 2015-09-18 18:40:46 +01:00
Steven Luscher
c28007c044 Rename the define method to defineType to disambiguate from AMD's “define” 2015-09-16 17:17:11 -07:00
Sebastian McKenzie
5dadb67a1a remove transformers and module formatters from $ babel --help 2015-09-15 06:33:50 +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
6d72b02591 add babel-preset-2015 package 2015-09-15 06:27:56 +01:00
Sebastian McKenzie
dc0329eb7c add babel-preset-react package 2015-09-15 06:27:51 +01:00
Sebastian McKenzie
3277f3272d add babel-template package 2015-09-15 06:27:44 +01:00