Daniel Tschinder
ab3cff7cc3
Update detect-indent to version 4.0.0 ( #4652 )
2016-10-03 21:02:03 -04:00
Daniel Tschinder
3a69b8a252
Update globals to version 9.0.0 ( #4651 )
2016-10-03 21:01:06 -04:00
Daniel Tschinder
e0dbb1e770
Inline shebang-regex ( #4650 )
2016-10-03 20:58:26 -04:00
sugargreenbean
c57e0e88a5
changed bool to boolean as well as updated tests ( #4646 )
2016-10-03 19:31:56 -04:00
Gyandeep Singh
cc86799151
Docs: Fix babel-plugin-transform-async-generator-functions heading ( #4656 ) [skip ci]
2016-10-03 18:16:40 -04:00
Brian Ng
9eb99dec9f
Tweak license for GitHub display ( #4653 )
2016-10-03 16:17:16 -04:00
Henry Zhu
7ed15e298a
mention issues [skip ci]
2016-10-03 15:03:36 -04:00
Daniel Tschinder
5de1feac1d
Fix README
2016-10-03 00:46:49 +02:00
Henry Zhu
7c2302a02f
6.11.4
2016-10-01 20:08:48 -04:00
Henry Zhu
5bac6e8ad9
Temporary rollback for erroring on trailing comma with spread ( #154 )
2016-10-01 20:08:25 -04:00
Henry Zhu
1285131e3e
v6.11.3 changelog [skip ci] ( #153 )
...
* v6.11.3 changelog [skip ci]
2016-10-01 17:33:31 -04:00
Henry Zhu
45c68c7311
6.11.3
2016-10-01 16:33:29 -04:00
Henry Zhu
4847403b84
add npm run changelog
2016-10-01 16:33:10 -04:00
Henry Zhu
e50b3c890f
v6.17.0
2016-10-01 15:23:18 -04:00
Henry Zhu
fc3912217f
v6.17.0 changelog [skip ci] ( #4637 )
2016-10-01 15:10:24 -04:00
Henry Zhu
6afbacbdf7
Add emoji to changelog label/headings [skip ci]
2016-10-01 14:24:41 -04:00
Daniel Tschinder
5a8070a397
Forward bound shadowed function when hoisting identifiers ( #4635 )
...
This change ensures that when hoisting an identifier we do not hoist it up to
the first no shadowed function, but rather up to the bound shadowed function
2016-10-01 13:24:12 -04:00
Bruno Jouhier
f9ccee9d83
fixed babel/babel#4632 - missing parentheses around yield expression … ( #4633 )
...
* fixed babel/babel#4632 - missing parentheses around yield expression in conditional test
* babel/babel#4632 - added test
2016-10-01 12:58:59 -04:00
Daniel Tschinder
16716ea3de
Fix rest parameters with flow type casting ( #4636 )
...
Do not skip TypeCastExpressions when finding referenced identifiers as the
type cast contains valid non flow code that we need to visit.
2016-10-01 12:58:14 -04:00
Henry Zhu
fe2b9d73ed
update .PHONY [skip ci]
2016-10-01 11:15:23 -04:00
Dan Harper
0e02a18216
fix regression in transform-flow-comments for class properties ( #4623 )
2016-10-01 00:56:09 -04:00
Daniel Tschinder
46339463bd
Resolve presets with named exports correctly ( #4620 )
2016-09-30 18:27:40 -04:00
Henry Zhu
78b2763e78
transform-async-generator: use babel-runtime 6 ( #4626 )
2016-09-30 18:26:46 -04:00
Juriy Zaytsev
1d728750c9
Add retainFunctionParens option ( #4621 )
...
* Add retainParens option
* Add doc, remove option
* Add negation test
* Make sure parens are not added
* Change name
* Change dir name
2016-09-30 18:05:33 -04:00
Henry Zhu
1bf315d388
0.0.2
2016-09-30 17:41:26 -04:00
Henry Zhu
b4acfc31d9
Fix: export default
2016-09-30 17:41:22 -04:00
Henry Zhu
6f363b60bb
Move async-generators to stage-3 ( #4617 )
2016-09-30 17:29:18 -04:00
Daniel Tschinder
7877829fcb
Add static errors for object rest ( #149 )
...
* Fix parsing object rest
This makes object-rest-spread behave according to spec and only
allow one rest operator and enforces it to be the last
param in the object.
Also move all object-rest-spread tests to a own folder.
* Show nicer error messages
2016-09-30 11:37:55 -04:00
Greenkeeper
949febbcf0
chore(package): update flow-bin to version 0.33.0 ( #4614 )
...
https://greenkeeper.io/
2016-09-30 10:21:43 +02:00
Henry Zhu
159779d582
Merge pull request #4611 from babel/async-gen-stg-2
...
Async gen stg 2
2016-09-29 15:41:47 -04:00
Henry Zhu
efa0affea1
move object-rest-spread to stage-3
2016-09-29 15:26:47 -04:00
Henry Zhu
0ab904e2d9
Add transform-async-generator-functions to stage-2
2016-09-29 15:24:58 -04:00
Henry Zhu
37419b44b9
v6.16.3
2016-09-29 11:46:53 -04:00
Joakim
aa0aada8ad
Forcing source-map-support module into node environment, so its not tricked by jsdom ( #4607 )
2016-09-29 17:01:31 +02:00
Henry Zhu
6abc28e532
update types readme [skip ci]
2016-09-29 08:47:24 -04:00
Henry Zhu
b3e04da882
v6.16.2
2016-09-29 08:46:45 -04:00
Daniel Tschinder
5a1984aa41
make babel-helper-remap-async-to-generator bc with babel 6.15 and lower ( #4603 )
2016-09-29 08:14:39 -04:00
Dan Harper
682e9658c9
Fix bodyless async functions ( #4600 )
...
* fix bodyless async functions (#4599 )
* Do the same in the async-generator-functions transform
2016-09-29 12:01:37 +02:00
Henry Zhu
6d82ee297e
fix link [skip ci]
2016-09-28 18:29:03 -04:00
Henry Zhu
08c0557b26
v6.16.1
2016-09-28 17:25:12 -04:00
Henry Zhu
64cdbf7ca0
Add back babel-runtime ( #4591 )
2016-09-28 17:21:36 -04:00
Henry Zhu
6d22f258db
v6.16.0
2016-09-28 15:38:45 -04:00
Henry Zhu
4f2637e1ec
v6.16.0 changelog [skip ci] ( #4545 )
...
* v6.16.0 changelog [skip ci]
* Small fixes
* Typo 🙈
2016-09-28 13:49:02 -04:00
Dan Harper
8709899b42
fix flow-strip-types/flow-comments removing entire ClassProperty ( #4587 )
2016-09-28 18:25:33 +02:00
Henry Zhu
5ea57d5e9c
fix tests and add exec test
2016-09-27 17:37:21 -04:00
zenparsing
26e79c5433
Implement support for async generator functions and for-await statements
2016-09-27 17:37:21 -04:00
jezell
9cc0981c51
get / set are valid property names in default assignment ( #142 )
2016-09-27 23:29:16 +02:00
Simon Lydell
bf0e256c3a
babel-code-frame: Highlight strings with green (not red) ( #4579 )
...
- Red makes it look like something is wrong with the string.
- On Ubuntu-based systems, it looks kinda broken.
- The error markers (`>` and `^`) as well as invalid tokens are already
marked with red. By not having strings red, the most important
information -- the error location -- is more visible.
This is a continuation of commit fa1de5ce (PR #4572 ).
2016-09-27 15:35:17 -04:00
Simon Lydell
e40aad53a4
Improve syntax highlighting colors ( #4572 )
...
- Highlight the error location markers in bold red.
- Dim the line number gutter with grey.
- Don't highlight brackets. Few editor color schemes do.
- Add JSX tag highlighting.
- Don't highlight punctuators with bold. That looks bad on Ubuntu based
systems. Instead, highlight them the same way as JSX tags, which
results in really nice JSX highlighting.
- Highlight capitalized variable names.
- Make invalid tokens stand out with a red background.
2016-09-27 11:10:51 -04:00
Henry Zhu
b2eb5eca6f
babel-core: add options for different parser/generator ( #3561 )
...
* babel-core: add options for different parser/generator
* test for experiemental plugins, other babylon options
* fix passing options into parser
* Fix when no code is provided
* fixup tests
* fix tests again
* use filename and fallback to cwd
2016-09-27 09:09:31 -04:00