6376 Commits

Author SHA1 Message Date
Amjad Masad
ada2fdbe4b v6.4.1 2016-01-06 16:27:49 -08:00
Amjad Masad
c415c00179 Merge pull request #3245 from babel/assig-parenth
Revert #3217 and add tests
2016-01-06 18:24:38 -06:00
Amjad Masad
ec983b276e add assignment expression parentheses test 2016-01-06 16:03:45 -08:00
Amjad Masad
6abee425d3 Revert "babel-types: add Binary alias to AssignmentExpression definition (fixes T6887)"
This was causing problems with parenthesizing assignment expression
This reverts commit b5cf529d6b342b3dd8dd49c50cc9cd5fed4fc5a7.
2016-01-06 15:59:39 -08:00
Henry Zhu
7918b9028b Merge pull request #3231 from babel/changelog-6.4.0
add 6.4.0 changelog
2016-01-06 15:53:58 -05:00
Henry Zhu
85b164306a update changelog 2016-01-06 15:47:51 -05:00
Henry Zhu
8cac20d845 v6.4.0 2016-01-06 15:34:12 -05:00
Amjad Masad
e79c625091 Merge pull request #3229 from hzoo/T6913
Add a check for parentheses for AwaitExpressions (fixes T6913)
2016-01-06 14:22:54 -06:00
Henry Zhu
cd227b3ffe add 6.4.0 changelog 2016-01-06 11:15:58 -05:00
Sebastian McKenzie
72c091b63a Ensure regenerator option for babel-plugin-transform-runtime doesn't cancel out core-js polyfill 2016-01-06 15:26:00 +00:00
Sebastian McKenzie
b28803c698 Merge pull request #3235 from guybedford/polyfillRuntime
Ensure opts.polyfill = false behaves correctly for runtime-transformer
2016-01-06 15:23:41 +00:00
Sebastian McKenzie
d2f5a409da Merge pull request #3225 from hzoo/cp-semi
`babylon`: throw parse error if class properties do not have a semico…
2016-01-06 15:22:37 +00:00
Sebastian McKenzie
e6e13cbe35 Merge pull request #3166 from guybedford/moduleName
Add __moduleName support to System.register
2016-01-06 15:11:34 +00:00
Sebastian McKenzie
d4bc297a7e Merge pull request #3233 from maclover7/patch-1
Update LICENSE end date to 2016
2016-01-06 15:02:07 +00:00
Henry Zhu
ddddd173f0 Merge pull request #3240 from athaeryn/fix-small-typo
Fix typo in babel-generator README
2016-01-06 09:02:56 -05:00
Mike Anderson
2471d80bd0 Fix small typo in babel-generator README 2016-01-05 23:33:50 -06:00
Henry Zhu
d9e453fb3c Merge pull request #3236 from samwgoldman/export-interface
Add `export interface` Flow syntax support to Babel 6.x
2016-01-05 22:04:36 -05:00
Sam Goldman
aeeffe5cff Guard export interface against isExportDefaultSpecifier 2016-01-05 17:28:21 -08:00
Sam Goldman
17d19a0056 Add export interface Flow syntax support
An interface export is just like a type export. In fact, it's a syntax affordance which makes the following equivalent:

```javascript
interface I_ { ... }
export type I = I_;
```

```javascript
export interface I { ... }
```

See facebook/flow#1145
2016-01-05 15:57:45 -08:00
Henry Zhu
cf41c321af Don't overparenthesize, add yield tests 2016-01-05 18:12:25 -05:00
guybedford
d5f71d4a32 ensure opts.polyfill = false behaves correctly for runtime-transformer 2016-01-06 00:26:45 +02:00
Amjad Masad
06545e6f70 Merge pull request #3217 from babel/hzoo-patch-1
`babel-types`: add `Binary` alias to `AssignmentExpression` definitio…
2016-01-05 16:26:02 -06:00
Amjad Masad
6cc17e4ed7 Merge pull request #3230 from samwgoldman/declare-type-declare-interface
Add `declare type` and `declare interface` Flow syntax support to 6.x
2016-01-05 16:18:18 -06:00
Jon Moss
7a303fdc70 Update LICENSE end date to 2016 2016-01-04 22:59:12 -05:00
Sam Goldman
26c97c4069 Add support for "declare interface" Flow syntax
This has been a feature in Flow for a long time (couldn't easily find a
specific commit adding this). Interfaces are basically undocumented, though, so
it's easy to see how this was missed.
2016-01-04 11:50:12 -08:00
Sam Goldman
e764346d5f Add support for "declare type" Flow syntax
See facebook/flow#1105
2016-01-04 11:42:43 -08:00
Henry Zhu
ab2135bc9f Add a check for parentheses for AwaitExpressions (fixes T6913) 2016-01-04 08:31:07 -05:00
Sebastian McKenzie
2516b7570f Merge pull request #3228 from babel/revert-3208-remove-array-generics-from-runtime
Revert "remove array generics from runtime"
2016-01-03 03:42:15 +00:00
Sebastian McKenzie
3fa51097a6 Revert "remove array generics from runtime" 2016-01-03 03:42:10 +00:00
Sebastian McKenzie
e68754faf2 Merge pull request #3227 from babel/revert-3206-update-core-js
Revert "update core-js"
2016-01-03 03:41:46 +00:00
Sebastian McKenzie
4e20a99b89 Revert "update core-js" 2016-01-03 03:41:40 +00:00
Henry Zhu
b5cf529d6b babel-types: add Binary alias to AssignmentExpression definition (fixes T6887) 2016-01-01 14:44:28 -05:00
guybedford
be2d85d688 use a _context object instead of a __moduleName argument 2015-12-31 17:11:51 +02:00
Sebastian McKenzie
2ec842d425 Merge pull request #3220 from jmm/not-a-directive
Don't parse parenthesized string as directive
2015-12-31 01:54:47 +00:00
Sebastian McKenzie
181e9b5957 Merge pull request #3214 from fabiomcosta/fix_rest_args_length_multiple_params
[T6891][fix][babel-plugin-transform-es2015-parameters] arguments.length optimization bugfix
2015-12-31 01:44:10 +00:00
Henry Zhu
976edfc067 babylon: throw parse error if class properties do not have a semicolon (fixes T6873) 2015-12-30 14:01:46 -05:00
Jesse McCarthy
970a0ade4b Update Slack link. 2015-12-30 13:42:32 -05:00
Sebastian McKenzie
1ec3a348d6 Merge pull request #3221 from skleeschulte/patch-1
Added handling of "--nolazy" flag
2015-12-30 03:38:07 +00:00
Henry Zhu
dc1796674f Merge pull request #3218 from jdalton/_typeof
Defer to the built-in `typeof` if support for symbols exists.
2015-12-29 12:31:15 -05:00
Fabio M. Costa
699868ed2a [fix][babel-plugin-transform-es2015-parameters] arguments.length optimization bugfix 2015-12-28 21:56:49 -08:00
Stefan Kleeschulte
f9bab3a25c Added handling of "--nolazy" flag
See https://phabricator.babeljs.io/T6897
2015-12-29 06:43:46 +01:00
Jesse McCarthy
424d059292 Don't make directive from parenthesized string. 2015-12-28 11:04:33 -05:00
Jesse McCarthy
00505ac171 Add non-directive fixture.
(Failing.)
2015-12-28 11:04:33 -05:00
John-David Dalton
d9bf5da460 Defer to built-in typeof if built-in support for symbols exists. 2015-12-27 22:50:48 -06:00
Amjad Masad
570b50c895 Merge pull request #3213 from babel/print-bugs
Fix various print inefficiencies/bugs
2015-12-27 18:28:27 -06:00
Sebastian McKenzie
082c7852fc Merge pull request #3216 from babel/crawl-up-display-name
More relaxed `displayName` inference
2015-12-27 21:58:25 +00:00
Sebastian McKenzie
05896b834b Crawl up ancestry looking for possible candidates to infer displayName from rather than just checking the direct parent 2015-12-27 21:48:28 +00:00
Sebastian McKenzie
5ca1cf0506 Merge pull request #3203 from samwgoldman/flow-mixins-6.x
Add support for mixins to Babel 6.x
2015-12-27 21:04:40 +00:00
Sebastian McKenzie
5fa8092725 Merge pull request #3215 from spicyj/fn-name
Set function names from assignment expressions
2015-12-27 21:00:41 +00:00
Ben Alpert
248f00fe82 Set function names from assignment expressions
Based on http://www.2ality.com/2015/09/function-names-es6.html.
2015-12-27 12:46:56 -08:00