Justin Ridgewell
cc643668c8
Merge pull request #613 from jridgewell/function-sent-statement
...
Fix function.sent parsing
2017-07-09 08:56:06 -04:00
Justin Ridgewell
aa1bad90d1
Test function.sent statement without declarations
2017-07-08 02:08:46 -04:00
Justin Ridgewell
62d313e753
Fix function.sent parsing
2017-07-07 23:14:20 -04:00
Justin Ridgewell
628061c501
Add new.target transform ( #5906 )
...
* Add new.target transform
* Catch new.target under only an arrow function
* More unsupported reflect.construct cases
* Fix node 4 test
* Do not transform Methods
* More tests
* Properly setup function inheritance test
* Tests tests tests
* Fix ES6 class's new.target
* Remove expected output thats supposed to throw.
2017-07-07 14:28:19 -04:00
Sarup Banskota
003b8918c2
Fix typo in babel-types doc script + run it ( #5855 )
2017-07-06 16:19:51 -04:00
Jeffrey Wear
72183ff2e9
Clarify use of bind operator in "prefix position" ( #5917 )
...
The REPL [shows](https://babeljs.io/repl/#?babili=false&evaluate=false&lineWrap=true&presets=es2015%2Creact%2Cstage-0&targets=&browsers=&builtIns=false&debug=false&code_lz=PYIwVgXBBmCuB2BjA3AKAPToAQEsDOWApgI6w4BuAhgDaHwAuW9wEqcSAdCDvACYAUoMAEo0qKEI7sUGbPiKkKNOo2atJ0rjwFDRqVEKjT-Vansy4CJMqZVMWbBIg6Ia1QeAA0WU3vEQNJxMaczkrRVsGe1ZNV2p3IW9fZCA )
that when the bind operator prefixes `obj.func` (as opposed to being used
between `obj` and `func`), rather than binding a free function `func` to `obj`,
it binds `obj.func` to `obj`.
[skip ci]
2017-07-04 16:21:39 -07:00
Brian Ng
f70c9f11fc
1.6.0
2017-07-04 09:59:31 -05:00
Brian Ng
a99f77a211
Update changelog
2017-07-04 09:58:08 -05:00
Brian Ng
9f8a44ab7a
Update yarn.lock
2017-07-04 09:58:01 -05:00
Justin Ridgewell
f09eb3200f
Merge pull request #609 from jridgewell/static-private
...
Add static private class field support
2017-07-03 19:55:34 -04:00
Brian Ng
65fa461a59
Tweak uglify option docs ( #368 )
2017-07-03 13:07:39 -05:00
Artem Yavorsky
eff645a900
Merge pull request #367 from babel/chromeandroid
...
Handle `chromeandroid` browserslist value. Fixes #366 .
2017-07-03 17:32:42 +03:00
Brian Ng
b73dac4f63
add test
2017-07-03 09:07:48 -05:00
Artem Yavorsky
7e718e1e46
Handle chromeandroid browserslist value.
2017-07-03 01:22:54 +03:00
Justin Ridgewell
9c9f9e2adb
Add static private class field support
2017-07-02 01:44:12 -04:00
Artem Yavorsky
51ace73e7c
Use nyc 10.1.2.
2017-07-01 18:42:37 +03:00
Artem Yavorsky
47cec5439a
Bump chai to 4.0.2.
2017-07-01 18:12:30 +03:00
Artem Yavorsky
ca37d4919d
Explicit targets always override browsers targets.
2017-07-01 18:06:34 +03:00
Artem Yavorsky
5152b370e7
Bump some stuff.
2017-07-01 17:57:56 +03:00
Artem Yavorsky
899c57b960
Merge branch 'master' into 2.0
...
# Conflicts:
# .travis.yml
# package.json
# src/targets-parser.js
# yarn.lock
2017-07-01 17:50:54 +03:00
Brian Ng
0c847c4571
Bump compat-table for node8 support ( #363 )
2017-07-01 09:43:00 -05:00
Nicolò Ribaudo
5e1e94917c
Add link to decorators proposal ( #606 ) [skip ci]
2017-07-01 06:21:52 -04:00
greenkeeper[bot]
4d851fa44d
chore(package): update lockfile
...
https://npm.im/greenkeeper-lockfile
2017-06-30 00:10:05 +00:00
greenkeeper[bot]
2f1b7d543d
chore(package): update chalk to version 2.0.0
2017-06-29 23:59:29 +00:00
Daniel Tschinder
5f5c6fcc4e
Remove deprecated option in flowconfig
2017-06-29 10:38:44 -07:00
greenkeeper[bot]
62b527851f
Update ava to the latest version 🚀 ( #599 )
...
* chore(package): update ava to version 0.20.0
* Update yarn.lock
2017-06-29 10:20:20 -07:00
greenkeeper[bot]
30dfccf84c
Update flow-bin to the latest version 🚀 ( #601 )
...
* chore(package): update flow-bin to version 0.49.1
* Update yarn.lock
2017-06-29 10:20:09 -07:00
Daniel Tschinder
ae5e6b954c
Add greenkeeper-lockfile support ( #602 )
2017-06-29 10:19:57 -07:00
Brian Ng
7576397b25
Force color output in test runs to ensure consistent behavior in Travis ( #603 )
2017-06-29 10:19:29 -07:00
Jim Nielsen
9ad660bbe1
Swap github/twitter links ( #5895 ) [skip ci]
2017-06-28 14:51:23 -04:00
Henry Zhu
6474dd5b88
basic publish steps [skip ci]
2017-06-28 12:50:31 -04:00
Henry Zhu
364a9fe72d
7.0.0-beta.16
2017-06-28 12:48:05 -04:00
Brian Ng
5180ecdca4
Use prettier ( #600 )
2017-06-28 12:41:42 -04:00
Henry Zhu
a95f55c468
add ts to readme [skip ci]
2017-06-28 10:59:02 -04:00
Andy
97c23461f9
TypeScript parser plugin ( #523 )
2017-06-28 10:57:50 -04:00
Henry Zhu
f7547fd35a
Use the string "module" in err message ( #598 )
2017-06-28 10:46:30 -04:00
Nicolò Ribaudo
03b3b39b17
Allow jsx to be the body of a typed arrow function ( #595 )
...
Fixes #593
2017-06-28 10:17:51 -04:00
Sebastian McKenzie
759266a2e8
Remove future plans from README ( #597 ) [skip ci]
2017-06-28 08:44:47 -04:00
Henry Zhu
7795615dac
fix example [skip ci]
2017-06-28 06:49:55 -04:00
Henry Zhu
107aea75f1
add a code example [skip ci] ( #594 )
2017-06-27 23:53:23 -04:00
William Horton
baa5f4dca7
Stage 2: BigInt ( #588 )
...
* Stage 2: BigInt
* Change plugin name to bigInt (camelcase).
* Update based on PR review, add test cases.
* Use hex for charCodes.
2017-06-27 23:35:57 -04:00
Daniel Tschinder
fecdb6feeb
Make tokens optional ( #563 )
...
Adding tokens to the ast is significant slower and most tools
don't ever use them anyway
2017-06-27 23:26:24 -04:00
Brian Ng
58ec149c52
Fix some unneeded semis in test fixtures ( #5892 )
2017-06-27 22:15:10 -05:00
Daniel Tschinder
b3372a572d
Remove whitespace generation ( #5833 )
...
* Remove whitespace generation and rely on default printing
Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines
* Fix a few more fixtures
2017-06-27 21:57:02 -05:00
Josh Johnston
bc29145465
Fix 5768 (to 7.0 branch) ( #5891 )
2017-06-27 20:04:23 -04:00
Henry Zhu
48c770e4bb
Force color output in test runs to ensure consistent behavior in Travis
2017-06-27 17:48:56 -04:00
Josh Johnston
3cf4cee40a
Fix 5768 ( #5811 )
...
* Fix destructured exports
- adds a failing test based on description in #5768
- handles ObjectPattern and ArrayPattern
* use export assignment template
2017-06-27 17:31:47 -04:00
Henry Zhu
ed0de70656
Merge pull request #5889 from babel/update-babylon
...
Update babylon
2017-06-27 17:29:55 -04:00
Henry Zhu
9a75916012
remove unused dependencies
2017-06-27 17:18:13 -04:00
Henry Zhu
a4080dc095
update babylon
2017-06-27 17:17:41 -04:00