Henry Zhu
1a974e58d0
v6.18.1
2016-11-01 17:17:16 -04:00
Henry Zhu
9681b530e9
Allow relative paths in babelrc options in options.json ( #4797 )
2016-11-01 16:58:28 -04:00
Henry Zhu
a21100f6b3
show less packages [skip ci] ( #4801 )
2016-11-01 09:04:19 -04:00
Henry Zhu
b6647dd9f5
Update eslint, use codeframe formatter ( #4796 )
2016-10-30 18:53:53 -04:00
Greenkeeper
2b6ff53459
chore(package): update flow-bin to version 0.34.0 ( #4792 )
...
https://greenkeeper.io/
2016-10-29 10:15:25 +02:00
Justin Ridgewell
15eeeb6559
Fix line endings ( #4793 )
2016-10-28 23:44:00 -04:00
Henry Zhu
e1ac315653
fix readme [skip ci]
2016-10-26 17:34:00 -04:00
Greenkeeper
ec49648038
chore(package): update chai to version 3.5.0 ( #4776 )
...
https://greenkeeper.io/
2016-10-25 12:24:25 +02:00
Diogo Franco
35b795ce54
Fix Valid example to be actually valid ( #4773 )
...
* Fix Valid example to be actually valid
* Rename 'pluginName' to 'presetName' in the example
2016-10-25 11:27:20 +02:00
Henry Zhu
cfc5d3feae
docs [skip ci]
2016-10-24 18:58:30 -04:00
Henry Zhu
46e15d9557
v6.18.0 for babel-runtime [skip ci]
2016-10-24 18:46:56 -04:00
Henry Zhu
a6ea9111a5
v6.18.0 changelog fixes [skip ci]
2016-10-24 17:36:07 -04:00
Henry Zhu
12f9cd0826
v6.18.0
2016-10-24 17:18:36 -04:00
Henry Zhu
aae09a27d6
update readme [skip ci]
2016-10-24 16:04:45 -04:00
Henry Zhu
094096c9b3
v6.18.0 changelog ( #4726 ) [skip ci]
...
* changelog: emoji for docs [skip ci]
* v6.18.0 changelog [skip ci]
2016-10-24 15:44:46 -04:00
Andrew Levine
555ee0cb51
Don't treat JSXIdentifier in JSXMemberExpression as HTML tag. Closes #4027 ( #4765 )
2016-10-24 10:42:50 -04:00
Andrew Levine
de46827be7
Handle remapping of JSXIdentifier to MemberExpression in CommonJS transform. Closes #3728 ( #4763 )
2016-10-24 10:23:43 -04:00
Andrew Levine
7cfe5c13e3
Add TEST_DEBUG env var option for test.sh, to enable node 6 debugger ( #4764 )
2016-10-23 23:58:25 -04:00
Greenkeeper
905efd1f26
chore(package): update browserify to version 13.1.1 ( #4762 )
...
https://greenkeeper.io/
2016-10-24 00:54:41 +02:00
Moti Zilberman
fd4667e649
Increase test coverage ( #4742 )
...
* Add tests for path type inferers
* Add test for babel-types.valueToNode
* Add tests for babel-types.toKeyAlias
* Add tests for babel-types.toStatement
* Add tests for babel-types.toExpression
* Lint fixes in babel-traverse/test/inference
2016-10-23 10:51:09 +02:00
Juriy Zaytsev
beda884f41
Make getBinding ignore labels; add Scope#getLabel, Scope#registerLabel ( #4758 )
...
* Make getBinding ignore labels; add Scope#getLabel, Scope#registerLabel
* generateUid: account for labels again
2016-10-21 17:19:59 -04:00
Sam Goldman
7bb430aeea
Add variance node type and generate property variance annotations ( #4697 )
...
* Add variance node type and generate property variance annotations
babel/babylon#161 adds parsing support for property variance
annotations. This PR adds the necessary node type for the new Variance
node and generate support for all the positions where variance can now
appear.
* Variance is no longer a separate node type
This diff also adds tests to class properties and to the
flow-strip-types transform.
* Add test + fix for edge case with variance and class proeprties
2016-10-21 16:05:36 -04:00
Kai Cataldo
7443f9e1c2
Add make command to delete node_modules ( #4748 )
2016-10-19 07:58:35 -04:00
Henry Zhu
4b3aaae9c0
fixes [skip ci]
...
Ref https://github.com/babel/babel/issues/4590#issuecomment-254359917
2016-10-17 19:53:29 -04:00
Moti Zilberman
6bc10b5573
Support ObjectExpression in static path evaluation ( #4746 )
2016-10-17 18:55:02 -04:00
Daniel Tschinder
d9dd32860a
Fix replacing for-of if inside label ( #4736 )
...
This replaces the label instead of the for-of itself as we already
integrate the label in the replacement nodes.
Fixes #3858
2016-10-17 17:27:13 -04:00
Simen Bekkhus
9c2794dc85
Replace path-exists with fs.existsSync ( #4731 )
...
It's not deprecated anymore, see nodejs/node#8364
2016-10-17 14:31:49 -04:00
Moti Zilberman
05bdd4822a
Merge pull request #4744 from nhajidin/fix-checkout
...
Fix line endings on checkout
2016-10-17 18:56:47 +03:00
Brian Ng
dfe896dd54
Avoid unnecessary +0 in transform-es2015-parameters ( #4738 )
2016-10-17 17:09:55 +02:00
Jordan Gensler
391e5bd813
[import()] Initial support for dynamic-import ( #4699 )
...
* [import()] Initial support for function-like import
* [import()] Renaming import-functions to dynamic-import
* [stage-2] Fixing lint error
* add to package.json
2016-10-17 11:02:00 -04:00
Nazim Hajidin
71e0e00bfe
Fix line endings on checkout
2016-10-17 10:51:49 -04:00
Moti Zilberman
b8eeddf960
Automatically generate missing expected.js fixtures ( #4735 )
...
This is much like Babylon's existing behavior around `expected.json`. The equivalent of babel/babylon#188 is already applied here, to guard against silent failure (and a potential false positive) if a test is accidentally committed without its expected.js.
2016-10-17 16:39:32 +02:00
Brian Ng
478bba0ade
Fix few typos in issue/pr templates ( #4739 ) [skip ci]
2016-10-17 00:20:24 -04:00
Henry Zhu
2dc919d4c6
contributing updates [skip ci]
2016-10-15 19:27:24 -04:00
Henry Zhu
9299921d07
increase git depth [skip ci]
2016-10-15 18:52:14 -04:00
Andrew Levine
9f8ab29213
Change usage of "suite"/"test" in unit-tests to "describe"/"it" ( #4734 )
...
Fixes #4733
2016-10-15 18:45:35 -04:00
Andrew Levine
c0038221d7
Run ESLint on test files, and fix lint errors in test files ( #4732 )
2016-10-15 18:27:48 -04:00
Moti Zilberman
fd218abffb
Add .gitattributes forcing LF line endings ( #4730 )
2016-10-15 10:29:12 -04:00
Moti Zilberman
76de1cc8a4
Update tests for changed error messages in Babylon ( #4727 )
...
Depends on babel/babylon#172 .
2016-10-14 16:25:56 -04:00
Moti Zilberman
2827d660fc
Make special case for class property initializers in shadow-functions ( #4502 )
2016-10-14 15:21:11 -04:00
Brian Ng
fde16f10fa
Add useBuiltIns option to helper-builder-react-jsx ( #4655 )
2016-10-14 21:18:39 +02:00
Sam Goldman
15183078e6
Add EmptyTypeAnnotation ( #4724 )
...
Added to Flow in facebook/flow#c603505583993aa953904005f91c350f4b65d6bd
Parser support added in babel/babylon#171 .
2016-10-14 15:16:02 -04:00
Kai Cataldo
50baac3251
Remove babel-doctor from babel-cli ( #4725 )
...
* Remove babel-doctor from babel-cli
fixes #4678
* Throw when babel-doctor is used
2016-10-14 14:49:16 -04:00
Jamesernator
dc4140dc5f
Fixed incorrect compilation of async iterator methods ( #4719 )
2016-10-14 14:38:57 -04:00
Moti Zilberman
9fc51d6292
Consolidate contiguous var declarations in destructuring transform ( #4690 )
...
* Consolidate contiguous var declarations in destructuring transform
Fixes #3081 .
* Simplify var node coalescing in es2015-destructuring
* Revert "Simplify var node coalescing in es2015-destructuring"
This reverts commit 15cb373f0726f68225f7080a7ae206a63af174ee.
* More careful condition for var coalescing in es2015-destructuring
2016-10-14 11:51:22 -04:00
Henry Zhu
71790aace0
update eslint-config, fixes, add commands ( #4721 )
...
* update eslint-config, fixes, add commands
* switch plugin
2016-10-13 21:37:07 +02:00
Henry Zhu
09f135f9a1
fix spacing [skip ci]
2016-10-12 11:33:03 -04:00
Henry Zhu
668428097c
add deprecated in readme for class-constructor-call [skip ci]
2016-10-12 10:17:19 -04:00
Henry Zhu
ccff8fa286
add deprecated in readme for class-constructor-call [skip ci]
2016-10-12 10:17:03 -04:00
Henry Zhu
9a979b5618
add deprecated description for class-constructor-call [skip ci]
2016-10-12 10:16:43 -04:00