6475 Commits

Author SHA1 Message Date
horpto
d0a932d0e8 [hotfix][T2765#72428] Wrong 'this' for nested arrow in arrow function 2016-01-22 10:29:04 +05:00
Amjad Masad
b326a3fd1e Merge pull request #3292 from babel/unary-expressions
UnaryExpressions are never not prefix
2016-01-20 20:55:36 -08:00
Amjad Masad
6b47447e7a UnaryExpressions are never not prefix
If you look at the spec https://github.com/babel/babel/blob/master/doc/ast/spec.md#unaryexpression
All unary expressions are prefix. We should deprecate this field. But for now let's just default it true.
2016-01-20 19:02:04 -08:00
Amjad Masad
f98dd6c76d Merge pull request #3287 from nettofarah/patch-1
[doc] Correct use of possessive case
2016-01-20 01:17:32 -08:00
Amjad Masad
a43f208e6b changelog 2016-01-20 01:01:17 -08:00
Amjad Masad
e9a913a3f6 v6.4.6 2016-01-20 00:58:48 -08:00
Sebastian McKenzie
1358ac6519 Merge pull request #3288 from babel/fix-T7006
[hotfix][T7006] Arrow functions don't have arguments bound
2016-01-20 08:54:50 +00:00
Amjad Masad
9980b6b8b2 [hotfix][T7006] Arrow functions don't have arguments bound 2016-01-20 00:41:17 -08:00
Netto Farah
955758f9bb Correct use of possessive case
Changing it's to its
2016-01-20 00:23:56 -08:00
Henry Zhu
ec8f0a224e Merge pull request #3279 from hzoo/6.4.5-log
add 6.4.5 changelog
2016-01-19 18:04:41 -05:00
Henry Zhu
e152e7044e v6.4.5 2016-01-19 18:02:31 -05:00
Henry Zhu
c89d9e110f add 6.4.5 changelog [ci skip] 2016-01-19 15:28:48 -05:00
Henry Zhu
b825e0c152 Merge pull request #3284 from bmeck/babylon-flow
fix flow for babylon
2016-01-19 14:23:29 -05:00
Henry Zhu
b29a09d976 Merge pull request #3282 from 59naga/master
Fix T6953,T2541 export-from statement renamed default issue
2016-01-19 14:23:12 -05:00
Bradley Farias
b628fee856 fix flow for babylon 2016-01-19 13:01:26 -06:00
59naga
c509847588 Fix T6953,T2541 export-from statement renamed default issue
- Use `interopRequireDefault` helper if local name is default.

Via 59naga/babel-plugin-add-module-exports#20
2016-01-20 02:54:54 +09:00
Sebastian McKenzie
f1ef0ff5e9 Merge pull request #3118 from benjamn/import-hoisting
Add test of import hoisting that fails when the runtime transform is used.
2016-01-19 02:20:17 +00:00
Henry Zhu
e5383aa447 Merge pull request #3278 from jmm/makefile-npm-bins
Update node_modules/.bin references in Makefile
2016-01-18 18:30:18 -05:00
Amjad Masad
1264709226 Merge pull request #3274 from babel/fix-function-decl
Method names should not be bound to body
2016-01-18 10:57:19 -08:00
Jesse McCarthy
30cf018d33 Homogenize node_modules/.bin references.
Some had leading `./` some didn't.
2016-01-18 13:55:56 -05:00
Jesse McCarthy
9ea64e0973 Delete unneccessary node command. 2016-01-18 13:55:56 -05:00
Jesse McCarthy
6a9b52ee90 Revert "Add node_modules/.bin to PATH."
This reverts commit 25fb2b8410b105032e0552bd3325784404c904a0.

This didn't work as intended. Now it's cruft / misleading.
2016-01-18 13:55:34 -05:00
Sebastian McKenzie
de51bf5486 Merge branch 'kpdecker-source-map-reenter' 2016-01-18 18:37:06 +00:00
Sebastian McKenzie
65a4c8f4a4 Merge branch 'source-map-reenter' of https://github.com/kpdecker/babel into kpdecker-source-map-reenter
Conflicts:
	packages/babel-generator/src/printer.js
2016-01-18 18:36:57 +00:00
Sebastian McKenzie
f957ebde39 Merge pull request #3277 from charliesome/gulp-binstub
Use project-local gulp binstub rather than system gulp
2016-01-18 17:35:55 +00:00
Charlie Somerville
00f72f4735 use project-local gulp binstub rather than system gulp 2016-01-18 23:09:51 +11:00
Henry Zhu
d8c3ad0d63 Merge pull request #3272 from AgentME/dedupeParserOpts
Fix T3084, dedupe parser opts
2016-01-17 23:51:29 -05:00
Sebastian McKenzie
e604bf229b Merge pull request #3276 from babel/async-to-generator-helper-runaway-promises
Add missing returns to async to generator helper
2016-01-18 02:02:38 +00:00
Sebastian McKenzie
99a224efd9 add missing returns to async to generator helper 2016-01-18 02:02:08 +00:00
Amjad Masad
7125bf4917 Merge pull request #3275 from hzoo/temp-remove-types
Internal: temporarily remove flow types
2016-01-17 14:54:22 -08:00
Henry Zhu
7041901fc1 update flowconfig 2016-01-17 17:23:15 -05:00
Henry Zhu
51dfd2237e Internal: temporarily remove flow types
- Will need to investigate the issue regarding eslint/babel-eslint.
2016-01-17 17:14:57 -05:00
Amjad Masad
5c680181ba Merge pull request #3257 from horpto/bugfix/T2765
[2765] transform-async-to-generator doesn't work for `this` inside arrow
2016-01-17 14:14:56 -08:00
Amjad Masad
d11bcae496 Merge pull request #3263 from jmm/rest-new-passing-fixtures
Increase `parameters/rest` transform test coverage
2016-01-17 14:00:26 -08:00
Amjad Masad
578e9243eb Merge pull request #3269 from forivall/explode-doc
Add documentation comment for visitors.explode
2016-01-17 13:58:20 -08:00
Amjad Masad
cf62c53832 Merge pull request #3264 from jmm/parameters-rest-simplify
Simplify `parameters/rest` code
2016-01-17 13:50:55 -08:00
Amjad Masad
95c93dd22b Method names should not be bound to body
As an artificat of compiling methods to named function expressions the
function name is being considered a "local" binding in the function
body. This means that we will throw errors anytime someone would want to
create a new local binding with the same name.

This is solved by assigning a symbol to function Identifiers that
indicates that they should not be considered local bindings.
2016-01-17 13:19:37 -08:00
Chris Cowan
af363c8da5 Make babylon ignore duplicate plugins. 2016-01-15 19:29:21 -08:00
Chris Cowan
aa9b3ec2a8 Make Babylon correctly handle "flow" being present multiple times in plugins. 2016-01-15 19:00:38 -08:00
Henry Zhu
9d0a05ecde Merge pull request #3268 from hzoo/t2892-test
Add test for T2892
2016-01-14 18:40:30 -05:00
Henry Zhu
1e48287654 remove bug fix heading 2016-01-14 18:04:01 -05:00
Henry Zhu
10105bb077 Add test for 2892 2016-01-14 17:23:20 -05:00
Henry Zhu
ba2bf16282 6.4.4 changelog 2016-01-14 17:17:31 -05:00
Henry Zhu
8644e5f27c v6.4.4 2016-01-14 17:05:41 -05:00
Henry Zhu
4638f4db4d republish transform-regenerator 2016-01-14 17:03:39 -05:00
Jordan Klassen
0c1eddfd52 Add documentation comment for visitors.explode 2016-01-14 13:41:19 -08:00
Amjad Masad
3f2a445c9a v6.4.3 2016-01-13 21:56:22 -08:00
Amjad Masad
1e58139179 changelog 2016-01-13 21:53:43 -08:00
Amjad Masad
d3242e8513 Merge pull request #3261 from jmm/array-expr-builder-default
Add ArrayExpression.elements.default
2016-01-13 21:23:03 -08:00
Amjad Masad
ee1e16f76d Merge pull request #3162 from loganfsmyth/requeue-generators-6676
Requeue generators for re-traversal so we pick up regeneratorRuntime - fixes T6676
2016-01-13 21:22:03 -08:00