5673 Commits

Author SHA1 Message Date
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
Sebastian McKenzie
6898cf83d0 don't allow visitor methods to return a new node to replace 2015-09-15 06:27:37 +01:00
Sebastian McKenzie
13773e3c02 change traversal visitor method signature from (node, parent, scope, state) to (path, state) 2015-09-15 06:27:19 +01:00
Sebastian McKenzie
8eeda9f75f add traverse.cheap and upgrade to new traverse API 2015-09-15 06:26:57 +01:00
Sebastian McKenzie
b91e8699e1 whitespace! 2015-09-15 06:26:30 +01:00
Sebastian McKenzie
cfec910a17 add validation to node builders 2015-09-15 06:26:17 +01:00
Sebastian McKenzie
c44fd54621 flesh out babylon readme 2015-09-15 06:25:52 +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
75609f21d7 add optional runtime transformer to base compiler options 2015-09-15 06:20:54 +01:00
Sebastian McKenzie
11b1e39973 add no-constant-condition lint rule 2015-09-15 06:20:45 +01:00
Sebastian McKenzie
a4d6ea0d07 put monorepo intro on same line 2015-09-15 06:20:34 +01:00
Sebastian McKenzie
78fafdf18b add babel-runtime to babylon dependencies 2015-09-15 06:20:21 +01:00
Sebastian McKenzie
800b039d02 add babylon description 2015-09-15 06:20:03 +01:00
Sebastian McKenzie
c751771889 add dead simple babylon bin 2015-09-15 06:19:49 +01:00
Sebastian McKenzie
4996e6bc7f add parser util addExtra method 2015-09-15 06:19:35 +01:00
Sebastian McKenzie
fbda587964 use extra.parenthesized rather than parenthesizedExpression 2015-09-15 06:19:26 +01:00
Sebastian McKenzie
25aa6da989 add hasFeature util method 2015-09-15 06:18:23 +01:00
Sebastian McKenzie
c31d2afc7f remove weird acorn conditional formatting 2015-09-15 06:18:15 +01:00
Sebastian McKenzie
76eb259ea8 only allow identifiers as rest expressions 2015-09-15 06:18:04 +01:00
Sebastian McKenzie
bcab30e606 add RestProperty node 2015-09-15 06:17:45 +01:00
Sebastian McKenzie
eae82799e6 loop over all directives to check for use strict 2015-09-15 06:16:57 +01:00
Sebastian McKenzie
8a13465f80 use hasFeature rather than directly looking up options 2015-09-15 06:16:46 +01:00
Sebastian McKenzie
dae16fa192 add directives property to Program and BlockStatement 2015-09-15 06:16:07 +01:00
Sebastian McKenzie
5ea5d47d7f add babylon hasFeature util method 2015-09-15 06:15:19 +01:00
Sebastian McKenzie
e1575c468c rename features in babylon tests 2015-09-15 06:13:11 +01:00
Sebastian McKenzie
9969224a93 add more plugins, rename some 2015-09-15 06:12:46 +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
Sebastian McKenzie
95e36e10be update babel-node with plugins and presets option 2015-09-15 06:10:17 +01:00
Sebastian McKenzie
5a5e72f0bd Merge pull request #2382 from jucrouzet/patch-1
Test build on Node4.0
2015-09-14 17:36:33 +01:00
Sebastian McKenzie
37172857b4 Merge pull request #2379 from bradencanderson/defaults_correct_remap
RHS of AssignmentPattern can be a reference to a bound variable
2015-09-14 17:36:22 +01:00
Julien CROUZET
b2021277b3 Test build on Node4.0 2015-09-14 16:08:49 +02:00
Braden Anderson
9780858722 RHS of AssignmentPattern can be a reference to a bound variable 2015-09-14 17:25:23 +07:00
Sebastian McKenzie
bd9b86d6d5 Merge pull request #2316 from andrewimm/development
Let dead code elimination run over exported functions
2015-09-14 03:38:55 +01:00
Henry Zhu
f742806978 evaluation: tests for UnaryExpression and BinaryExpression 2015-09-12 20:11:33 -04:00
Sebastian McKenzie
f18f79cc6d Merge pull request #2293 from andrewimm/master
Allow more certainty when evaluating Logical Expressions
2015-09-12 18:59:48 +01:00