7179 Commits

Author SHA1 Message Date
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
Tiago Rodrigues
597d895cf3 Documentation for babel-plugin-transform-runtime
Based on 862b43db93/docs/usage/runtime.md

Related to https://github.com/babel/babel.github.io/issues/674 and https://github.com/babel/babel.github.io/issues/491
2016-02-02 16:36:30 +01: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
Jesse McCarthy
07f0bd4ea9 Update AST spec.
* Remove redundant `Node` reference from `Identifier` interface.
  `Expression` already inherits from `Node`.

* Add missing interfaces: `Literal`, `Pattern`.
2016-01-23 10:57:42 -05:00
Jason
35463a46b6 Use exec style test in transform-regenerator 2016-01-23 23:30:52 +08:00
Jason
bbdd4aaf21 Ignore isolated paths when traversing 2016-01-23 18:39:14 +08:00
Amjad Masad
12b7a44796 Merge pull request #3281 from DmitrySoshnikov/pass_per_preset
[RFC] Pass per preset
2016-01-22 14:29:07 -08:00
Amjad Masad
5699403835 Add comment clarifying the optimization 2016-01-22 14:24:45 -08:00
Amjad Masad
7d719d9ce9 Merge pull request #3283 from gzzhanghao/gen-perf
Improve generator performance
2016-01-22 14:22:48 -08:00
Amjad Masad
35bb62c2e5 Merge pull request #3285 from frantic/hoist-file-name
Hoist current file name for transform-react-jsx-source
2016-01-22 14:21:20 -08:00
Amjad Masad
4f82506711 Merge pull request #3294 from babel/with-body
WithStatements can have statements as bodies
2016-01-22 14:18:10 -08:00
Amjad Masad
c1a7fc93d0 Move setting NOT_LOCAL_BINDING to the function name helper 2016-01-22 14:07:57 -08:00
Sebastian McKenzie
6c66694a73 Merge pull request #3293 from babel/hzoo-patch-1
update spec decorator property
2016-01-22 20:55:58 +00:00
Rob Colburn
7b1b876dc2 Ensure that we do not break mutli-byte handling 2016-01-22 12:13:18 -08:00
Henry Zhu
da106e2bf4 check for nested id 2016-01-22 14:42:07 -05:00
Henry Zhu
ad81f5b149 check if valid.id is defined 2016-01-22 14:20:54 -05:00
Sebastian McKenzie
16f8fd5c83 Merge pull request #3295 from babel/hzoo-patch-2
ast/spec: add BindExpression
2016-01-22 10:31:18 +00:00
Sebastian McKenzie
12ddcc7def Merge pull request #3297 from horpto/hotfix/T2765_72428
[hotfix][T2765#72428] Wrong  'this'  for nested arrow in arrow function
2016-01-22 10:31:04 +00:00
Alex Kotliarskyi
ca1c4bba86 Fix naming (s/node/path/g) 2016-01-21 22:45:10 -08:00
horpto
d0a932d0e8 [hotfix][T2765#72428] Wrong 'this' for nested arrow in arrow function 2016-01-22 10:29:04 +05:00
Dmitry Soshnikov
845a4fa557 Pass per preset: Use full function systax in test for old Node versions 2016-01-21 15:14:42 -08:00
Dmitry Soshnikov
e2486b5f71 Pass per preset: added unit test 2016-01-21 14:54:40 -08:00
Henry Zhu
e1da431453 ast/spec: add BindExpression 2016-01-20 23:56:19 -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
2110f530ea WithStatements can have statements as bodies
For example try: `with({x: 1}) console.log(x);`
2016-01-20 20:48:31 -08:00
Henry Zhu
370095e866 update spec decorator property 2016-01-20 23:17:45 -05: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
Alex Kotliarskyi
1f543e1bca Add jsx source annotations only to the files that contain JSX 2016-01-20 14:23:27 -08:00
Alex Kotliarskyi
eaef8302cc Generate unique filename variable 2016-01-20 13:52:55 -08:00
Dmitry Soshnikov
e7187faea6 Pass per preset: merge nested preset sub-options into preset 2016-01-20 13:36:27 -08:00
Alex Kotliarskyi
34116faaf8 Fix tests for react-jsx-source 2016-01-20 13:25:53 -08:00
Chris Cowan
7621d38bbd Add test for T3026. 2016-01-20 12:11:57 -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