7673 Commits

Author SHA1 Message Date
Sven SAULEAU
982aba38e4
[doc] Fix: comments in usage w/ options #5400 2017-04-08 10:18:01 +02:00
Sven SAULEAU
c1b3740707
document cache option for babel-register #5440 2017-04-08 10:16:55 +02:00
Sven SAULEAU
e9bc213b14
Update coffescript/register reference link address #5475 2017-04-08 10:15:43 +02:00
Sven SAULEAU
e2c2d7d742
Update babel-generator's README #5517 2017-04-08 10:14:56 +02:00
Sven SAULEAU
2cb4d08d19
Improve example of babel-plugin-transform-es2015-arrow-functions #5573 2017-04-08 10:14:19 +02:00
Sven SAULEAU
149acc40bd
Remove incorrect docs. #5580 2017-04-08 10:13:47 +02:00
Sven SAULEAU
d40cb31685
Update transform-es2015-modules-commonjs doc #5588 2017-04-08 10:13:20 +02:00
MrSpider
fd3a2c285a Fix replacing function declaration in export default (fixes #4468) (#5456) 2017-04-06 11:40:31 -04:00
Felix Yan
9b4c33d44e Fix a typo: occurences -> occurrences (#5575) 2017-04-03 22:38:12 -07:00
Henry Zhu
b3c7337fac
Fix changelog [skip ci] 2017-03-19 14:14:00 +01:00
Diogo Franco
256fcbc58f Treat "await" as an invalid identifier (#4954)
It is valid (outside `async` functions) in the "script" parse goal, but always invalid in the "module" parse goal.

Fixes #4952.
2017-03-19 11:28:52 +09:00
Ryan Paul
8859715893 Removes unused lodash dependency from babel-helper-builder-react-jsx (#5486) 2017-03-16 16:17:37 -04:00
Sven SAULEAU
ad1edc6155 Merge pull request #5477 from xtuc/fix-generator-doc
Update babel-generator documentation
2017-03-16 08:56:08 +01:00
Sven SAULEAU
e30197b96b
docs: [skip ci] update documentation 2017-03-16 08:53:38 +01:00
Henry Zhu
71e4336f65 v6.24.0 2017-03-12 22:18:08 -04:00
Henry Zhu
a8cf9079a8 changelog for 6.24.0 [skip ci] (#5452) 2017-03-12 22:03:19 -04:00
Henry Zhu
b78fc9b4d0 Keep parentheses for logical expression when in await expression (fix #5428) (#5433) (#5453) 2017-03-12 21:40:38 -04:00
Aaron Ang
2bb6dff00a
Use absolute paths in Babel's CONTRIBUTING.md (#5431) 2017-03-12 20:31:58 -05:00
Seth Bergman
3d52d30e49 Fixed broken links in README.md [skip ci] (#5449)
* Fixed broken links in README.md

- [plugins](https://github.com/babel/babel/blob/master/docs/plugins) => [plugins](https://babeljs.io/docs/plugins/)
- [presets](https://github.com/babel/babel/blob/master/docs/plugins/#presets) => [presets](https://babeljs.io/docs/plugins/preset-latest/)

* Corrected the presets link [skip-ci]

Changed to:
```
[presets](https://babeljs.io/docs/plugins/#presets)
```
2017-03-12 00:24:57 -08:00
Logan Smyth
ea787a1980 Merge pull request #5427 from rwjblue/backport-modules-noInterop
Backport `noInterop` flag for modules to 6.x.
2017-03-07 12:25:16 -08:00
Robert Jackson
290995923e Add docs for strict and noInterop with es2015-modules-commonjs.
(cherry picked from commit 23de276718eda141b7a02934851256462e6b762e)
2017-03-07 14:53:01 -05:00
Robert Jackson
bc65822379 Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
The intent of this option is to toggle module interop behavior. When `true`
no `interopRequireXXX` helper invocations will be emitted.

(cherry picked from commit 0d1edb9811694d25df2ef75a1e8de773624ec6b8)
2017-03-07 14:53:01 -05:00
Brian Ng
2127df0db0 Fix transform-object-rest-spread README [skip ci] (#5409) 2017-03-02 23:29:34 -05:00
Artem Gurzhii
0d3a7e9cc6 Code refactoring for the babel-generator (#5344)
* refactoring code for babel-generator package

* removing spaces and refactoring if statement

* fixing warnings
2017-03-02 10:14:03 -08:00
Alex Kuzmenko
01918c68c1 Improve babel-generator's code coverage (#5338) 2017-02-25 13:26:29 -05:00
Sven SAULEAU
eb9d699ce9 style: [skip ci] lint code snippets in md (#5379) 2017-02-25 12:19:29 -05:00
Zachary Miller
6614a63b3b Wrap some generated do expressions in parens (#5339) 2017-02-22 07:50:58 -05:00
Daniel Tschinder
be293bd708 Enable codecov partial coverage (#5336) 2017-02-21 22:40:11 -05:00
Aaron Ang
c1c9ac4e11 Add section to CONTRIBUTING about debugging code (#5354) [skip ci] 2017-02-21 22:26:52 -05:00
Aaron Ang
3a6d85e55e Remove redundant NODE_ENV=test in Makefile (#5350)
`NODE_ENV=test` is exported by default. Therefore, targets that set `NODE_ENV` to `test` are cleaned up.
2017-02-21 22:14:59 -05:00
JeongHoon Byun (aka Outsider)
2de4b08c51 Add test for passing arguments to babel-node (#5163) (#5342) 2017-02-21 22:14:26 -05:00
Izaak Schroeder
8d9195f862 Pass dirname as extra metadata to preset constructor. (#4834)
* Pass `dirname` as extra metadata to preset constructor.

Sometimes a preset would like to know where it should resolve relative paths from (e.g. https://github.com/tleunen/babel-plugin-module-resolver) and this extra information makes that possible.

* Test for `dirname` passed into preset constructor

This adds a check for `dirname`’s existence and correctness to the
`resolve-addons-relative-to-file` test, and serves as a minimal example
of a path-aware preset.
2017-02-21 22:13:03 -05:00
Artem Yavorsky
02f51fb7a5 [skip ci] Add devEngines to package.json (#5312) 2017-02-21 22:10:33 -05:00
Alex Kuzmenko
b5246994b5 Update CONTRIBUTING.md: include make build (#5349) [skip ci] 2017-02-21 10:09:31 -05:00
Daniel Tschinder
2974a82df1 Add babel-bot to team (#5355) [skip ci] 2017-02-21 08:44:40 -05:00
Brian Ng
7b63af0e91 Fix typo in CONTRIBUTING.md [skip ci] 2017-02-20 11:37:04 -06:00
Brendan Houle
07dd2b1e20 Shorthand properties examples (#5334) 2017-02-17 12:01:57 -06:00
Zachary Miller
d55a775024 Update CONTRIBUTING.md with respect to coverage check [skip ci] (#5329) 2017-02-16 22:14:16 -05:00
Joe Lencioni
69c6d27794 Improve syntax highlighting in readme for JSX (#5331) [skip ci] 2017-02-16 20:36:05 -05:00
Wilhelmina Drengwitz
7e59f86444 Fix 'o' is undefined in example code (#5327) [skip ci] 2017-02-16 15:24:20 -05:00
Daniel Tschinder
28853bf190 Fix for-await printing (#5322)
Only the first for-await was correctly printed all subsequent for-await statements
where printed as for-of as the variable op was changed inside the buildForXStatement
2017-02-15 17:43:06 -05:00
Jason Laster
ff2c24eed2 Add test for reference paths (#5296) 2017-02-15 15:05:31 -05:00
Brian Ng
b77c435f0f Ignore babel-register test artifacts (#5316) [skip ci] 2017-02-15 14:38:54 -05:00
Sergey Rubanov
958f72ddc2 Add name field to package.json (#5311) [skip ci] 2017-02-15 10:55:12 -05:00
Logan Smyth
7dcc9708e3 Manually bump and publish babel-runtime 2017-02-14 11:26:49 -08:00
Logan Smyth
11cf0e0b50 Revert lerna again 2017-02-13 18:18:45 -08:00
Logan Smyth
9cae61911d v6.23.1 2017-02-13 18:18:17 -08:00
Logan Smyth
454933ef76 Revert "Rewrite Hub as interface #5047" (#5306) 2017-02-13 18:15:50 -08:00
Logan Smyth
48709e9fa4 Revert change that lerna force-committed. 2017-02-13 17:20:18 -08:00
Logan Smyth
48573f1fb4 v6.23.0 2017-02-13 17:14:12 -08:00