Daniel Tschinder
6d863baef8
🚀 Update chai to version 3.0.0 ( #4664 )
2016-10-05 09:56:26 -04:00
Sebastiaan Deckers
7977c9249e
Babel API example ( #4675 ) [skip ci]
...
Just a minor fix. I'm new to Babel's API and this tripped me up. Seems like it happened to others before (e.g. #2859 ). Guessing this came from an earlier `var babel = require('babel-core')` which does work.
2016-10-05 09:50:11 -04:00
Moti Zilberman
f5b5d8f337
Avoid repeating impure (template) literals when desugaring **= ( #4403 ) ( #4672 )
2016-10-05 11:10:12 +02:00
Dan Harper
9e17aaf043
retain return types on ObjectMethods in transform-es2015-shorthand-properties ( #4670 )
2016-10-04 21:32:43 -04:00
Henry Zhu
9e6ac7b693
typo [skip ci]
2016-10-04 20:56:05 -04:00
Henry Zhu
338e6364a3
update pkgs [skip ci]
...
- remove babili pkgs
- remove deprecated (class constructor)
- add new
2016-10-04 20:53:54 -04:00
Dan Harper
7f772e94ce
retain method return types on transform-es2015-classes ( closes #4665 ) ( #4668 )
2016-10-04 18:22:29 -04:00
Daniel Tschinder
fc54264f70
update json5 to version 0.5.0 ( #4649 )
2016-10-04 08:32:32 -04:00
Daniel Tschinder
2dcee25d37
Exclude super from being assign ( #4642 )
...
Assigning of super is not allowed `var ref = super;` This fix adds an exception into
the explode helper so that super stays untouched and does not get assigned.
2016-10-03 21:04:26 -04:00
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
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
6f363b60bb
Move async-generators to stage-3 ( #4617 )
2016-09-30 17:29:18 -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
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