6087 Commits

Author SHA1 Message Date
phantom10111
11a8086432 Make ArrayExpression validator accept nulls as holes in the array 2015-11-25 23:39:35 +01:00
Henry Zhu
d0f63c1a7b add validators for TemplateLiteral and ArrayExpression 2015-11-25 23:10:27 +01:00
phantom10111
615160ba66 Fix babel-helper-remap-async-to-generator to not fail with the new validation rules 2015-11-25 23:09:21 +01:00
phantom10111
8186510b5d Add validators to CallExpression and SequenceExpression 2015-11-25 23:09:13 +01:00
Sebastian McKenzie
58f512f7c4 Merge pull request #3103 from amasad/spacing
Respect spacing in compact mode
2015-11-25 14:02:05 +11:00
Amjad Masad
e481c5b570 use + instead of template string 2015-11-24 19:01:12 -08:00
Amjad Masad
e4c5d9dcb3 Respect compact mode in spacing 2015-11-24 19:01:12 -08:00
Sebastian McKenzie
8457885599 Merge pull request #3104 from amasad/semi
Fix up semicolon omission in compact mode
2015-11-25 13:55:09 +11:00
Sebastian McKenzie
71e53a5d4d Merge pull request #3110 from thejameskyle/tjk/ObjectMember
Add ObjectMember abstract type
2015-11-25 13:54:52 +11:00
James Kyle
86287a7a8c Add ObjectMember abstract type 2015-11-24 15:00:04 -08:00
Sebastian McKenzie
5c1d2ab92f Merge pull request #3099 from hzoo/validate-jsx
add more validation for jsx nodes
2015-11-24 20:42:42 +11:00
Amjad Masad
44d5552840 Fix up semicolon omission in compact mode 2015-11-23 21:32:44 -08:00
Henry Zhu
f56af90c20 add numericliteral 2015-11-21 22:50:21 -05:00
Henry Zhu
3a05513e31 literal to stringLiteral - fixes T6667 2015-11-21 22:25:21 -05:00
Henry Zhu
efa9a1abf2 add more validation for jsx nodes 2015-11-21 21:13:09 -05:00
Sebastian McKenzie
4c311ec2ab add 6.2.2 changelog 2015-11-19 14:48:44 -08:00
Sebastian McKenzie
3c5bced67d v6.2.2 2015-11-19 14:45:57 -08:00
Sebastian McKenzie
ba0388eba5 Merge pull request #3096 from loganfsmyth/double-class-traverse
Avoid duplicating traversal of class declarations - fixes T2694
2015-11-19 14:37:21 -08:00
Sebastian McKenzie
8df82c4f3c add 6.2.1 changelog 2015-11-19 14:04:15 -08:00
Sebastian McKenzie
a4e3af1c63 v6.2.1 2015-11-19 14:03:33 -08:00
Sebastian McKenzie
45d4e50b39 add resolution dirname to unknown plugin/preset error message 2015-11-19 14:01:38 -08:00
Logan Smyth
b3f2ea0aa1 Avoid duplicating traversal of class declarations - fixes T2694 2015-11-19 00:30:56 -08:00
Sebastian McKenzie
82ddbc0ecd add missing changelogs - fixes T6655 2015-11-18 21:03:02 -08:00
Sebastian McKenzie
7ce5c4307a remove travis git scripts - Fixes T6661 2015-11-18 20:41:41 -08:00
Sebastian McKenzie
ac90ea20ea v6.2.0 2015-11-18 20:33:47 -08:00
Sebastian McKenzie
94887d35e1 add babel-plugin-syntax-function-sent plugin 2015-11-18 20:32:11 -08:00
Sebastian McKenzie
8fd543edae make base option plugin/preset resolving happen relative to the input filename 2015-11-18 20:31:59 -08:00
Sebastian McKenzie
89d9db8648 bump invariant dependency version 2015-11-17 23:02:29 -08:00
Sebastian McKenzie
983ca5c71f add function.sent 2015-11-17 23:02:21 -08:00
Sebastian McKenzie
f8c2beb9d8 Merge pull request #3088 from kpdecker/terminal-after-comment
Output auxiliaryCommentAfter before trail comment
2015-11-17 23:01:32 -08:00
Sebastian McKenzie
02c155e32a Merge pull request #3087 from nordluf/master
Make babel-cli watching only given files and extensions.
2015-11-17 23:00:35 -08:00
Sebastian McKenzie
eb4841932f Merge branch 'master' of github.com:babel/babel 2015-11-17 22:59:23 -08:00
Sebastian McKenzie
ba68bd255e add package.json dirname to mergeOptions - closes #3093 2015-11-17 22:58:24 -08:00
Sebastian McKenzie
9249f7715c Merge pull request #3091 from claudiopro/master
Fixes @jsx pragma detection + tests
2015-11-17 22:55:14 -08:00
Sebastian McKenzie
f8501bdee3 Merge pull request #3092 from amasad/nested-if
Print a block when the consequent is an if statement
2015-11-17 22:54:21 -08:00
Amjad Masad
1612c70c10 Take the alternate existence into account 2015-11-17 19:16:19 -08:00
Amjad Masad
35e575cf93 Print a block when encountering consequents that are if statements 2015-11-17 19:07:20 -08:00
Amjad Masad
507557c48e Add failing test 2015-11-17 18:45:35 -08:00
claudiopro
6d1a6dfc94 Fixes @jsx pragma detection + tests 2015-11-17 22:32:44 +01:00
kpdecker
1286200712 Output auxiliaryCommentAfter before trail comment
Quick fix for the case where generated comment is the terminal leaf in a subtree that is followed by a trailing comment.

Partial for #3034
2015-11-16 20:59:24 -06:00
Sebastian McKenzie
d2e07cffb9 add note about where to request features and report bugs 2015-11-16 14:41:10 -08:00
Evgeny Kruglov
a43a60e5b8 Make babel-cli watching only given files and extensions. Use --only, --ignore and --extensions while process filenames with --out-file option. 2015-11-16 23:43:14 +03:00
Sebastian McKenzie
8cd68ddc74 Merge pull request #3074 from Daniel15/flow-clowntown
Fix Flow.
2015-11-15 23:43:16 -08:00
Daniel Lo Nigro
828ce54637 Run Flow after building so that it actually runs properly in a CI run. It seems like there's a bunch of "module not found" if you run a Flow check before building, even after running "npm install". 2015-11-15 21:44:03 -08:00
Daniel Lo Nigro
0076204f80 Fix Flow.
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.

Closes #3064
2015-11-15 21:30:22 -08:00
Sebastian McKenzie
1d34d19ce9 Merge pull request #3050 from kpdecker/aux-chain
auxiliaryComment chaining
2015-11-15 20:13:47 -08:00
Sebastian McKenzie
f6dea87102 Merge pull request #3066 from zertosh/cleanup-deps
Remove (a few) unused deps
2015-11-15 20:12:52 -08:00
Sebastian McKenzie
aec97a1b12 Merge pull request #3069 from jrsearles/add-modulus-op
Add modulus operator
2015-11-15 20:12:31 -08:00
Joshua Searles
750fca9a88 Add module operator 2015-11-15 02:44:43 -05:00
Andres Suarez
c8f3fd8a34 Remove unused deps 2015-11-14 16:04:48 -08:00