Henry Zhu
d33d023594
Merge remote-tracking branch 'origin/master' into merge-master
2017-02-23 18:54:15 -05:00
Henry Zhu
1e747835db
add estree to docs [skip ci] ( #372 )
2017-02-23 18:12:30 -05:00
Henry Zhu
539d345d9b
6.16.1
2017-02-23 09:53:50 -05:00
Henry Zhu
2dd57d17b9
Revert "Fix export default async function to be FunctionDeclaration" ( #375 )
2017-02-23 09:50:33 -05:00
Henry Zhu
b0f8405b52
Revert "Don't parse class properties without initializers when classProperties plugin is disabled, and Flow is enabled" ( #376 )
2017-02-23 09:50:25 -05:00
Daniel Tschinder
9ed026df08
Fix error in changelog
2017-02-23 14:04:25 +01:00
Daniel Tschinder
b301d436da
6.16.0
2017-02-23 14:00:35 +01:00
Daniel Tschinder
76c7f55fb5
Fix date [skip ci]
2017-02-23 13:56:22 +01:00
Daniel Tschinder
99484d4c39
Fix typo [skip ci]
2017-02-23 13:52:53 +01:00
Daniel Tschinder
8dbdeff762
Fix typo [skip ci]
2017-02-23 13:51:44 +01:00
Daniel Tschinder
c6c4222789
Changelog 6.16 ( #371 )
...
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Address review comments
* Update CHANGELOG.md
2017-02-23 13:50:41 +01:00
Kevin Gibbons
561d4f74b0
Forbid semicolons after decorators in classes ( #352 )
2017-02-22 16:24:40 +01:00
Brian Ng
ad8d520406
Ensure takeDecorators is called on exported class ( #358 )
2017-02-22 16:22:38 +01:00
Alex Rattray
94eda1254e
Fix generator-method-with-computed-name spec ( #360 )
2017-02-22 16:21:44 +01:00
Alex Rattray
fab4ca2a18
Fix flow type-parameter-declaration test with unintended semantic ( #361 )
2017-02-22 16:19:42 +01:00
Daniel Tschinder
87ca6150ae
[7.0] Remove bc code from preset handling and preset-es2015 ( #5128 )
...
* Remove bc code from preset handling and preset-es2015
* Add more tests
* Only allow functions for presets
* Fix lint
2017-02-22 14:58:01 +01:00
Zachary Miller
6614a63b3b
Wrap some generated do expressions in parens ( #5339 )
2017-02-22 07:50:58 -05:00
Aaron Ang
45087b258b
Add Yarn installation to CONTRIBUTING.md ( #5358 ) [skip ci]
2017-02-22 07:50:22 -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
Marcelo Dapper
724c949244
Replace lodash/assign with Object.assign ( #5356 )
...
Remove imports to lodash/assign and replace assign with Object.assign.
The lodash/assign is unnecessary for babel 7 as node >4 has the same
functionality built-in with Object.assign as used here.
This resolve the [issue 5353](https://github.com/babel/babel/issues/5353 )
2017-02-21 22:08:20 -05:00
Logan Smyth
c1f7d67bae
Merge pull request #5351 from loganfsmyth/reduce-require
...
Avoid usage of exports/module.exports/require().
2017-02-21 16:59:32 -08:00
Logan Smyth
4ee385e96c
Avoid usage of exports/module.exports/require().
2017-02-21 16:52:42 -08: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
Daniel Tschinder
fe2d2a99ea
7.0.0-beta.2
2017-02-20 23:50:07 +01:00
Daniel Tschinder
7bf553a575
Merge branch 'master' into 7.0
2017-02-20 23:49:27 +01:00
Daniel Tschinder
b023470c7e
estree: correctly change literals in all cases ( #368 )
2017-02-20 23:47:57 +01:00
Daniel Tschinder
a4bf244f9a
7.0.0-beta.1
2017-02-20 23:12:19 +01:00
Daniel Tschinder
e52962f4c9
upgrade yarn.lock
2017-02-20 23:11:47 +01:00
Daniel Tschinder
72a0f10825
Merge branch '7.0-dev' into 7.0
2017-02-20 23:09:42 +01:00
Daniel Tschinder
50ffa49201
Merge branch 'master' into 7.0
...
# Conflicts:
# src/plugins/flow.js
2017-02-20 22:47:17 +01:00
Daniel Tschinder
2ef00a6631
Fix negative number literal typeannotations ( #366 )
...
* Fix negative number literal typeannotations
Also use parseLiteral() to parser string and number literal typeannotations
so that future changes (estree) to literals are also reflected to flow.
* Instead of invalid fallthrough throw immediately
* Increase coverage and better error mesage
2017-02-20 22:43:59 +01:00
Brian Ng
7b63af0e91
Fix typo in CONTRIBUTING.md [skip ci]
2017-02-20 11:37:04 -06:00
Henry Zhu
d9f01cbce6
Merge pull request #5317 from babel/update-babylon
...
Update to babylon@7.0.0-beta.0
2017-02-18 13:06:39 -05:00
Daniel Tschinder
7e540cdcc9
Remove obsolete code
2017-02-18 12:30:46 +01: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
Daniel Tschinder
7c62278dcd
[7.0] Change for-await to use new AST ( #5321 )
2017-02-15 17:29:09 -05:00
Alexander
1ba3269ece
[7.0] Switch decorators-legacy to decorators in the Stage 1 Preset ( #5318 ) ( #5319 )
2017-02-15 16:58:31 -05:00
Daniel Tschinder
ca78da6501
Fix variance ( #5320 )
2017-02-15 22:37:19 +01:00
Alex Kuzmenko
fa2a373acd
[7.0] Replacing current decorators with decorators-legacy ( #5290 )
2017-02-15 15:42:50 -05:00
Jason Laster
ff2c24eed2
Add test for reference paths ( #5296 )
2017-02-15 15:05:31 -05:00