Henry Zhu
df60dcbb98
6.10.0
2016-09-19 11:32:59 -04:00
Henry Zhu
399bc6e931
explanation + fix [skip ci]
2016-09-17 23:11:41 -04:00
Moti Zilberman
e64d86c1eb
If loading a preset fails, show its name/path ( #4506 ) ( #4517 )
2016-09-17 23:01:08 -04:00
Daniel Tschinder
cbbc1c7333
fix default exported classes without a name ( #4518 )
...
* fix default exported classes without a name
This correctly requeues class without name so the es3 transform can
transform the default keyword.
* Replace phabricator issue number with github
2016-09-17 22:50:54 -04:00
Daniel Tschinder
590ad4d24f
Replace phabricator tickets with github ones in code comments ( #4519 )
2016-09-17 22:50:02 -04:00
Brian Donovan
ec34e5acc7
Remove unused thisReference argument to getSuperProperty. ( #4520 )
2016-09-17 22:47:52 -04:00
Daniel Tschinder
1fce4cb42a
Fix striping of typeParameters from arrow functions ( #4521 )
...
the typeParameters field was missing in the visitors and therefore
never visited by babel-traverse
Fixes #4483
2016-09-17 22:46:45 -04:00
Steve Mao
c04a8594ae
fix typo: interspatial ( #129 )
2016-09-16 10:28:11 +02:00
Henry Zhu
8fc6c28900
add note about spec-compliancy and semver ( #128 )
...
* add note about spec-compliancy and semver
* review [skip ci]
2016-09-15 19:24:19 -04:00
Henry Zhu
d000ead2b3
6.10.0 changelog [skip ci]
2016-09-15 19:23:54 -04:00
Daniel Tschinder
f91da191a1
Include typeParameter location in the arrow function expression ( #126 )
2016-09-15 19:08:33 -04:00
Timothy Gu
643d3f37a4
Implement ES2016 check for simple parameter list in strict mode ( #106 )
...
* Slightly simplify logic
* Implement ES2016 check for simple parameter list in strict mode
See e.g. ECMA-262 7.0 14.1.2:
> It is a Syntax Error if ContainsUseStrict of FunctionBody is true and
> IsSimpleParameterList of FormalParameters is false.
Similar clauses cover arrow functions, generator functions, methods, and
generator methods, as well as async functions and async arrow functions.
2016-09-15 19:58:01 +02:00
Dan Harper
64145b07e3
error on invalid flow type annotation with default assignment ( #122 )
2016-09-15 19:35:03 +02:00
Dan Harper
dc3036627b
Fix Flow return types on arrow functions ( #124 )
...
* fix: arrow return type on next line is valid
https://github.com/babel/babel-eslint/issues/348
* fix: arrow on line after return type annotation is invalid
* lint
2016-09-15 19:27:11 +02:00
Daniel Tschinder
abf6ca8e5e
Add tests for export extensions ( #127 )
...
The case which includes a namespaced and default import was not tested yet
2016-09-15 19:24:11 +02:00
Daniel Tschinder
0adca96529
Fix Contributing guidelines [skip ci]
2016-09-15 18:39:10 +02:00
Henry Zhu
7f24f0966b
0.0.1
2016-09-13 17:06:51 -04:00
Moti Zilberman
43e0cfb08d
Fix UpdateExpression handling in es2015-modules-commonjs, resolve #4462
2016-09-13 19:06:52 +03:00
Basil Hosmer
ddbda7dd04
exact object type annotations for Flow plugin ( #104 )
...
* exact object type annotations for Flow plugin
* Couple tweaks per suggestions
* s/==/===/
* add test for unexpected token in flowObjectType Semicolon
2016-09-13 10:07:23 -04:00
Daniel Tschinder
de975b9660
Use plain js to do the pre/postpublish for the polyfill ( #3694 )
...
* Use plain js to do the pre/postpublish for the polyfill
* remove dist on clean [skip ci]
2016-09-13 09:09:11 -04:00
Daniel Tschinder
ff78fb19f7
Only set options in cli if different from default ( #4507 )
...
* CLI: Only set options if different from default
Currently default values (like comments: true) will be set always for the transform.
This behaviour dos not allow for setting this options from babelrc as the default would always have precedence.
* Add new tests for comments
Also ensure that the babelrc in the fixture folder is copied over to the
working directory during tests
2016-09-13 08:25:08 -04:00
Daniel Tschinder
993f887240
Test for ignore with starting slash ( #4509 )
2016-09-12 22:48:06 +02:00
Andy Kant
5e9e659a7f
Support custom ports for V8 Inspector ( #4508 )
2016-09-12 21:00:02 +02:00
Dan Harper
41f2bbc104
Flow: Fix generating arrow functions with param ( #4504 )
...
* transform-flow-comments, single arrow param support #4503
* further tests for printing single arrow func param flow code
* cleanup
2016-09-12 08:27:49 -04:00
Timothy Gu
5249b9d809
Remove ES2015 tests than do not parse in ES2016 ( #4501 )
...
These tests are originally from Traceur, which does not fully support
ES2016.
See babel/babylon#106 for a rationale why these code blocks are not
valid ES2016.
2016-09-11 21:58:38 -04:00
Henry Zhu
d2d34ba8e7
object rest spread useBuiltIns option ( #4491 )
...
* feat(transform-object-rest-spread): add polyfill=false option to avoid extends helper
* object-rest-spread: add useBuiltIns option
* add test for invalid option
2016-09-09 18:38:50 -04:00
Henry Zhu
3d93a2ab9c
circle.yml: use later version of 0.10
2016-09-09 18:38:02 -04:00
Henry Zhu
7041e0b46f
add example of a test that requires throwing an error [skip ci]
2016-09-09 18:09:52 -04:00
Henry Zhu
015035cd27
6.9.2 changelog [skip ci]
2016-09-09 11:02:16 -04:00
Henry Zhu
7d561e7a04
6.9.2
2016-09-09 10:54:59 -04:00
Henry Zhu
75cb271134
Package.json: remove dependencies object [skip ci]
2016-09-09 10:51:48 -04:00
Henry Zhu
5f9c381f9c
update packages, use es2015 loose mode, remove babel-runtime transform ( #110 )
...
* update packages, use es2015 loose mode, remove babel-runtime transform
* reuse [skip ci]
* remove runtime
2016-09-09 10:47:07 -04:00
Mathias Bynens
b9919bdc48
babel-generator: Ensure ASCII-safe output for string literals ( #4478 )
...
Ref. #4477 .
2016-09-08 18:04:52 -04:00
Henry Zhu
e5b9c92d3d
mention the redirect url [skip ci]
2016-09-08 12:08:44 -04:00
Henry Zhu
2b4e49dd64
Docs: github issues [skip ci]
2016-09-07 17:14:55 -04:00
Daniel Tschinder
a1b46f1640
Issue and PR templates ( #3690 ) [skip ci]
...
* Create PULL_REQUEST_TEMPLATE.md
* Create ISSUE_TEMPLATE.md
* Use label names in PR template
* Update ISSUE_TEMPLATE.md
* Update ISSUE_TEMPLATE.md
* Update ISSUE_TEMPLATE.md
2016-09-07 16:37:49 -04:00
Henry Zhu
1445dadb23
Remove unused regenerator deps ( #3703 )
2016-09-07 11:24:57 -04:00
Daniel Tschinder
69a9ba86ae
Enable partial code coverage ( #109 )
2016-09-06 15:14:19 +02:00
Henry Zhu
e2a4738020
add badges [skip ci]
2016-09-06 09:10:38 -04:00
Henry Zhu
989211b914
add example [skip ci]
2016-09-06 00:11:46 -04:00
Henry Zhu
143e2d3cbf
update [skip ci]
2016-09-05 23:52:15 -04:00
Henry Zhu
1d1efe3205
typo [skip ci]
2016-09-05 23:45:44 -04:00
Henry Zhu
4997e184d5
fixes [skip ci]
2016-09-05 23:45:21 -04:00
Henry Zhu
ba5aa48b0c
update readme [skip ci]
2016-09-05 23:43:23 -04:00
Henry Zhu
2c97212fd4
modules/loose opts from es2015 preset, add travis ( #6 )
...
* modules/loose opts from es2015 preset, add travis
* Update .travis.yml
* fix plugin function [skip ci]
2016-09-05 23:39:50 -04:00
Daniel Tschinder
e3d5a7d646
Update contributing [skip ci] ( #108 )
...
* Update contributing [skip ci]
* typo
2016-09-05 23:31:46 +02:00
Daniel Tschinder
71dff8c834
Allow overwritting of sourceRoot ( #3685 )
...
Also replaces lodash/extend with Object.assign
2016-09-03 12:12:34 -04:00
Greenkeeper
460714b126
chore(package): update flow-bin to version 0.32.0 ( #3697 ) [skip ci]
...
https://greenkeeper.io/
2016-09-03 12:04:01 -04:00
Henry Zhu
e5961592c4
babel-code-frame: babel-runtime not necessary ( #3699 )
2016-09-03 12:03:34 -04:00
Howard Yeh
32232dd30e
Watch mode should wait for file change. (T7411)
2016-09-03 16:33:22 +08:00