6762 Commits

Author SHA1 Message Date
Zachary Miller
33b4ef5d52 Parenthize "in" in for-loop init, even when init has nested for-loop 2016-02-05 14:28:01 -06:00
Henry Zhu
1eb8b9dff2 Merge pull request #3319 from jeffmo/flow_leading_pipes
Add support for leading pipes in Flow type alias RHS syntax
2016-02-05 13:53:07 -05:00
Jeff Morrison
e6951e99f0 Add support for leading pipes in Flow type alias RHS syntax 2016-02-05 13:23:55 -05:00
Henry Zhu
98fa405b91 Merge pull request #3322 from babel/update-gcc
Update gcc for compiling modules in node 4/5
2016-02-04 20:41:23 -05:00
Henry Zhu
a24a61c6c7 Update gcc for compiling modules in node 4/5 2016-02-04 18:52:23 -05:00
Henry Zhu
fff27b458f Internal: actually fail/exit when flow fails 2016-02-04 18:47:00 -05:00
Henry Zhu
526151c580 Merge pull request #3321 from babel/babylon-test
Docs: add information on writing tests in babylon
2016-02-04 17:57:18 -05:00
Henry Zhu
12f286143e Docs: add information on writing tests in babylon 2016-02-04 17:42:25 -05:00
Amjad Masad
bcc32da0d9 Merge pull request #3316 from forivall/babel-generator-simplify-node
Simplify babel-generator/node/index.js
2016-02-04 14:10:16 -08:00
Henry Zhu
f8036c7230 Merge pull request #3311 from babel/object-body
[T7047] Consider arrow functions when parenthesizing object expressions
2016-02-04 14:44:22 -05:00
Henry Zhu
807e190728 Merge pull request #3186 from hzoo/add-some-flow
add some more flow types
2016-02-04 11:10:02 -05:00
Henry Zhu
f59faeeeaa only run flow check in CI if npm 3 2016-02-04 11:07:05 -05:00
Henry Zhu
3522148255 update babel-eslint and eslint 2016-02-04 11:07:04 -05:00
Henry Zhu
e998e53466 run generate-iterfaces 2016-02-04 11:07:04 -05:00
Henry Zhu
c2d7e95e1a add some more flow types 2016-02-04 11:07:03 -05:00
Henry Zhu
7d2ec4aa7f Merge pull request #3318 from babel/test-3303
make a test for #3303
2016-02-04 10:56:44 -05:00
Henry Zhu
9182fcd71b make a test for #3303 2016-02-04 10:54:14 -05:00
Henry Zhu
26cd517932 Merge pull request #3303 from BlackGlory/patch-1
Throw a TypeError when falsy value found in plugins
2016-02-04 10:50:38 -05:00
Sebastian McKenzie
effaf820c3 Merge pull request #3317 from babel/add-make-build
make publish: add make build in case it wasn't run
2016-02-04 15:17:00 +00:00
Henry Zhu
9f5314ad42 make publish: add make build in case it wasn't run 2016-02-04 09:58:57 -05:00
Jordan Klassen
8fd329a2f4 Remove "Node" class from generator, just use module
The Node class was unused as a class
2016-02-03 16:51:10 -08:00
Amjad Masad
6bb7eb0c78 Merge pull request #3300 from gzzhanghao/gen-fix
Fix generators with default args
2016-02-03 15:46:39 -08:00
Sebastian McKenzie
f08ce440ab Merge pull request #3314 from guybedford/template-source-maps
PR for T6903 - fixing System source maps
2016-02-03 23:45:41 +00:00
guybedford
5a0d5dc500 babel-template clearNode fix to not remove existing sourceMaps (T6903) 2016-02-04 01:31:18 +02:00
Sebastian McKenzie
19591b709f Merge pull request #3313 from babel/analyse-api
Add babel.analyze
2016-02-03 22:01:39 +00:00
Sebastian McKenzie
35e8250b57 add a top level analyze method for path marking sugar 2016-02-03 21:29:47 +00:00
Henry Zhu
6b76402791 Merge pull request #3301 from jmm/ast-updates
Update AST spec
2016-02-03 15:53:13 -05:00
Henry Zhu
e1867f75e2 Merge pull request #3304 from jamestalmage/fix-T7046
[babel-template][T7046]: Add optional babylon options argument.
2016-02-03 14:26:56 -05:00
Erik Desjardins
84af53d356 Async function will be hoisted above some imports
...but it's still below `exports.foo = undefined;`, so the test is intact
2016-02-03 12:11:14 -05:00
Erik Desjardins
4142003bbd Hoist initial exports.foo = undefined and __esModule declarations above hoisted async functions 2016-02-03 12:11:11 -05:00
Erik
e759b5f835 Add exec test for T6882 (async function hoisting) 2016-02-03 12:11:08 -05:00
Jason
523a9d1d00 [traverse] nit 2016-02-03 17:46:34 +08:00
Erik
ec61bd9386 Revert "Don't mark async functions as hoist"
This reverts commit d34cb69912ee5789c7d1029c3be75d22d13e7bf8.
2016-02-02 22:13:26 -05:00
Amjad Masad
7428654c19 Merge pull request #3290 from AgentME/exportAsyncTest
Add test for T3026
2016-02-02 16:55:58 -08:00
Amjad Masad
430607fc1d Merge pull request #3298 from babel/hzoo-T7010
Set NOT_LOCAL_BINDING on all inferred function names
2016-02-02 16:46:35 -08:00
Amjad Masad
9aac73e70b Merge pull request #3299 from robcolburn/multibyte-test
Ensure that we do not break mutli-byte handling
2016-02-02 16:45:50 -08:00
Amjad Masad
aa9dafe05f Merge pull request #3307 from josh/cli-optional-chokidar-dev
babel-cli: Make chokidar dependency optional
2016-02-02 16:45:02 -08:00
Amjad Masad
3d3b30eb45 [T7047]Consider arrow functions when parenthesizing object expressions 2016-02-02 16:26:31 -08:00
Joshua Peek
005c4cb7a8 Show specific error message when chokidar can't be loaded 2016-02-01 19:24:08 -08:00
Henry Zhu
82bab2847b Merge pull request #3308 from sappharx/patch-1
Update compiler-environment-support.md
2016-02-01 21:01:31 -05:00
Vincent Sisk
b8129d8ddf Update compiler-environment-support.md 2016-02-01 18:50:58 -07:00
Joshua Peek
f81d9e1274 Mark chokidar as optional dependency 2016-02-01 17:03:37 -08:00
Joshua Peek
0878685a5a Defer requiring chokidar dependency until --watch flag is passed 2016-02-01 17:03:13 -08:00
Julian Viereck
624a811885 Fix and tests 2016-01-31 01:22:31 +01:00
James Kyle
13129568ca Merge pull request #3168 from CrocoDillon/babelrc-option
Use the babelrc option in babel-register
2016-01-30 12:51:06 -08:00
CrocoDillon
1ba81153a7 Use this.options.babelrc instead of opts.babelrc 2016-01-30 12:11:33 -05:00
CrocoDillon
f4093a552f Use the babelrc option in babel-register
Which can be used to ignore `.babelrc` files by setting this to false, currently ignored in babel-register.
2016-01-30 12:09:49 -05:00
Henry Zhu
190105627f Add link to lerna in monorepo.md 2016-01-30 10:11:28 -05:00
James Talmage
79f783cdf5 [babel-template][T7046]: Add optional babylon options argument. 2016-01-28 21:35:20 -05:00
BlackGlory
6ca20c5540 Throw a TypeError when falsy value found in plugins 2016-01-24 14:38:46 +08:00