1169 Commits

Author SHA1 Message Date
Logan Smyth
925804798d Skip name inference on hard-to-replace classes - fixes T2494 2015-12-05 17:07:10 -08:00
Henry Zhu
0587a5d12c v6.3.14 2015-12-04 13:52:36 -05:00
Logan Smyth
8efd1d71ad Properly resolve scope from switch statement - fixes T6761 2015-12-04 09:04:25 -08:00
Sebastian McKenzie
f60261eafb update to lerna 2015-12-04 23:23:50 +11:00
Sebastian McKenzie
d6117a9e27 Merge branch 'master' of github.com:babel/babel 2015-12-04 23:17:11 +11:00
Sebastian McKenzie
7b36967416 v6.3.13 2015-12-04 22:56:51 +11:00
Sebastian McKenzie
ae831c2270 v6.3.12 2015-12-04 22:56:13 +11:00
Amjad Masad
37797c4d50 Test name, and remove todos 2015-12-04 00:12:37 -08:00
Amjad Masad
9c20ace184 Add support for null literal type 2015-12-03 23:58:25 -08:00
Henry Zhu
b515fa8db8 v6.3.2 2015-12-03 22:48:04 -05:00
Logan Smyth
aa6dc5d153 Merge pull request #3116 from loganfsmyth/register-plugin-duplication
Disable babelrc processing on the already-processed configuration - fixes T6690
2015-12-03 18:33:58 -08:00
Henry Zhu
c8a6d8117d Merge pull request #3108 from cspotcode/feature/fix-T2864
source-maps: Fix T2864
2015-12-03 14:46:00 -05:00
Henry Zhu
8d78ea4ecf Merge pull request #3112 from phantom10111/fix-es2015-classes
Fix return super(); in class constructor - fixes T2997
2015-12-03 10:34:18 -05:00
Henry Zhu
ae666c1e09 Merge pull request #3127 from loganfsmyth/where-fit-3051
Ensure we always push into a BlockStatement - fixes T3051
2015-12-02 22:58:10 -05:00
Logan Smyth
d71b59d0cc Ensure we always push into a BlockStatement - fixes T3051 2015-12-02 19:41:22 -08:00
Henry Zhu
8cf1b418fc transform-inline-environment-variables: replace -> replaceWith - fixes T6724 2015-12-02 21:53:12 -05:00
Henry Zhu
53877ec158 Merge pull request #3119 from loganfsmyth/default-export-generator-6733
Ensure that generator functions always have an identifier - fixes T6733
2015-12-01 22:27:59 -05:00
Henry Zhu
4f69482896 Merge pull request #3113 from phantom10111/fix-static-class-properties
Fix static class properties - fixes T2983
2015-12-01 22:21:37 -05:00
Amjad Masad
88ab37ecb4 v6.3.1 2015-12-01 10:52:40 -08:00
Amjad Masad
2efb677822 Add test cases with spaces 2015-12-01 10:47:25 -08:00
Amjad Masad
54a2a47030 Fix spacing in binary expression when right is a binary expression and has a unary on the left 2015-12-01 10:37:58 -08:00
phantom10111
36ebe0c939 Fix static class properties in class expressions and anonymous default exported classes - fixes T2983 2015-12-01 17:59:53 +01:00
Logan Smyth
a675234526 Ensure that generator functions always have an identifier - fixes T6733 2015-11-30 23:14:10 -08:00
Amjad Masad
2f5b953066 v6.3.0 2015-11-30 14:58:30 -08:00
Henry Zhu
1d4526cd69 Merge pull request #3109 from phantom10111/additional-validators
Additional validators for CallExpression, NewExpresion,TemplateLiteral, ArrayExpression, SequenceExpression
2015-11-29 21:35:18 -05:00
Henry Zhu
b4f44e7637 Merge pull request #3102 from roadhump/issue/T2422
Make arrow functions to work with multiple args and flow type (fixes T2422)
2015-11-29 20:51:20 -05:00
James Kyle
7f0eed0c66 Merge pull request #3117 from nooks/patch-1
Optimizations for asyncToGenerator
2015-11-29 16:43:35 -08:00
James Kyle
211a241050 Merge pull request #3115 from justinfagnani/class-properties
Check for empty decorators array on property nodes
2015-11-29 16:40:55 -08:00
Nook Scheel
a81e11c4ae Use arguments with #apply 2015-11-29 21:47:04 +03:00
Nook Scheel
b2ff128e94 Unnecessary #call 2015-11-29 21:28:14 +03:00
Nook Scheel
8c7a81d317 Optimizations for asyncToGenerator
Never use a bind!
Never use arguments as an array!
2015-11-29 21:25:09 +03:00
Logan Smyth
2bb01c6373 Disable babelrc processing on the already-processed configuration - fixes T6690 2015-11-28 23:54:01 -08:00
Sławomir Laskowski
d34cb69912 Don't mark async functions as hoist
`babel-template` no longer crashes in IE attempting to access unpopulated error stack
2015-11-29 01:47:24 +01:00
Justin Fagnani
6f0fcc8e7b Check for empty decorators array on property nodes 2015-11-28 13:06:50 -08:00
phantom10111
9a270a3d0a Fix return super(); in class constructor - fixes T2997 2015-11-25 23:53:53 +01:00
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
hon2a
8df5a9d49e Merge branch 'master' into hon2a/ie-error-stack 2015-11-25 11:50:09 +01: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
James Kyle
86287a7a8c Add ObjectMember abstract type 2015-11-24 15:00:04 -08:00
Andrew Bradley
9c27f1e86a Fixes the wrong source path being passed to SourceMapConsumer#generatedPositionFor
`generatedPositionFor` accepts a position in one of the sourcemap's *input* source files. Therefore the `source` path
should be one of the sourcemap's input `sources`, not the output `file`.
2015-11-24 16:10:10 -05:00
Andrew Bradley
bbec2114ce Fixes T2864
- Drops input mappings that cannot be mapped through Babel's sourcemap
- For example, Babel's sourcemap does not have mappings for leading comments, so any mapping from an input sourcemap for those leading comments must be dropped from the merged sourcemap
2015-11-24 16:07:37 -05:00
hon2a
af4271a262 babel-template no longer crashes in IE attempting to access unpopulated error stack. 2015-11-24 13:54:49 +01:00
Amjad Masad
44d5552840 Fix up semicolon omission in compact mode 2015-11-23 21:32:44 -08:00
Aliaksei Shytkin
47871f80dd Make arrow functions to work with multiple args and flow return type (fixes T2422) 2015-11-23 15:20:16 +03:00
Henry Zhu
f56af90c20 add numericliteral 2015-11-21 22:50:21 -05:00