Henry Zhu
cee4cde53e
v6.26.0
2017-08-16 11:54:08 -04:00
Henry Zhu
5749276d7e
update deps
2017-08-16 10:21:19 -04:00
jbrown215
f4716dc816
Backport #6031 ( #6112 )
...
* Backport #6031
* Backport #6031
* Rebase on master, rerun scripts
* Update flowconfig
2017-08-15 17:42:01 -04:00
jbrown215
c28465e03e
Flow opaque type 6.x backport ( #6081 )
...
* Flow opaque type backport
* Add tests for strip types, comments, and babel-generator
* Fix failing tests, run scripts
* Bump babylon to 6.18.0
2017-08-15 16:44:15 -04:00
Jimmy Jia
2dba910b9e
Merge branch '6.x'
2017-07-29 12:20:18 -04:00
Henry Zhu
82f37841f5
v6.25.0
2017-06-08 17:29:04 -04:00
Henry Zhu
bc013e6d34
just make sure babylon is up to date [skip ci]
2017-06-08 17:10:51 -04:00
Bo Lingen
0c8fdc381d
Backport array & object pattern fixes to 6.x ( #5770 )
...
* Backport array & object pattern fixes to 6.x
Original PRs merged to 7.0 as #5722 and #5762
* fix lint error
2017-06-08 16:58:37 -04:00
Justin Ridgewell
5f866f2d92
Hoist toSequenceExpression's convert helper ( #5693 )
...
* Hoist toSequenceExpression's convert helper
* Adds tests
* lint
* dev-depend on babel-generator
2017-05-19 17:03:33 -04:00
Sebastian McKenzie
60adcd68a0
Port flow object spread from #418 to 6.x ( #5653 )
...
* Add support for object type spread
* Type spread: remove variance and add stripping test
* Fix tests
2017-04-26 17:16:38 -04:00
Henry Zhu
f8da5e3457
v6.24.1
2017-04-07 11:19:02 -04:00
Diogo Franco
256fcbc58f
Treat "await" as an invalid identifier ( #4954 )
...
It is valid (outside `async` functions) in the "script" parse goal, but always invalid in the "module" parse goal.
Fixes #4952 .
2017-03-19 11:28:52 +09:00
Logan Smyth
48573f1fb4
v6.23.0
2017-02-13 17:14:12 -08:00
Logan Smyth
24400c5b66
Update babel-types README from script.
2017-02-13 15:00:37 -08:00
Andres Suarez
8c3392f058
Remove uses of lodash/compact ( #5181 )
2017-02-04 13:01:45 -08:00
Logan Smyth
b845f2b69d
Re-enable the max-len ESLint rule. ( #5265 )
2017-02-04 11:07:15 -05:00
Henry Zhu
e9fc38bcd3
v6.22.0
2017-01-19 19:33:22 -05:00
Brian Ng
8c35b320d3
Bump eslint-config-babel and fix lint ( #5129 )
2017-01-17 10:51:16 +01:00
Sergey Rubanov
292c3ca206
Refactor test packages to use ES modules instead of CJS ( #5138 )
2017-01-16 11:25:04 -05:00
Andres Suarez
658f13e030
Replace uses of "lodash/each" with native equivalents
2017-01-15 13:54:54 -08:00
Andres Suarez
2bee765e6b
Replace lodash is* with equivalent typeof check
2017-01-15 13:53:58 -08:00
Logan Smyth
3c2e9c0021
Merge pull request #5110 from loganfsmyth/flowtype-codegen
...
Validate importKind and ensure code generation exists.
2017-01-14 10:41:25 -08:00
Henry Zhu
672adba9a1
enable prefer const ( #5113 )
2017-01-14 09:48:52 -05:00
Logan Smyth
80a757819f
Validate importKind and ensure code generation exists.
2017-01-13 22:17:39 -08:00
Ryan Tsao
39d18679e1
Fix getBindingIdentifiers in babel-types ( #5068 )
...
* Added getBindingIdentifier tests
* Added failing test for getBindingIdentifiers
* Fix babel-types getBindingIdentifiers
2017-01-09 09:08:07 -05:00
Henry Zhu
77d9e3e5c4
v6.21.0
2016-12-16 16:55:53 -05:00
Henry Zhu
542e4e9ee1
update babel-types readme [skip ci]
2016-12-16 16:50:41 -05:00
Justin Ridgewell
2bbc36d25e
JSXSpreadChildren, throw in transform-react-jsx ( #4988 )
2016-12-16 15:30:00 -05:00
Henry Zhu
07d49ffabf
update readme [skip ci]
2016-12-08 19:33:55 -05:00
Henry Zhu
608e77e389
v6.20.0
2016-12-08 18:25:39 -05:00
Sean Larkin
39c92160f7
Add generator support for Import ( #4945 )
2016-12-07 18:22:12 -05:00
Sven SAULEAU
2311b5b53a
README: remove dollar in sh snippets [skip ci]
2016-11-29 08:39:23 -05:00
Sven SAULEAU
51e8fd1868
Update babel-types README ( #4905 ) [skip ci]
2016-11-28 20:22:59 -05:00
Sven SAULEAU
f98d824ae7
Fix babel-types README ( #4899 ) [skip ci]
2016-11-28 11:09:41 -05:00
Nikolai Tillmann
efefe828f9
Preserve null in babel-types' clone and deepClone. ( #4853 )
...
* Preserve null in babel-types' clone and deepClone.
* Also respect undefined when cloning.
* Updating last test to reflect original test case "[,0]"
2016-11-17 08:52:04 -05:00
Henry Zhu
754a6ed8c0
v6.19.0
2016-11-16 11:15:30 -05:00
Henry Zhu
8475b6ec02
fix lint
2016-11-15 14:51:26 -05:00
Henry Zhu
6a6ec8785b
Start babel-types tests, add isNodesEquivalent ( #3553 )
2016-11-15 14:24:20 -05: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
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
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
Flavio Corpa
9b02a6d298
Add missing description to all package.json files ( #4703 ) [skip ci]
2016-10-12 10:15:50 -04:00
Henry Zhu
6abc28e532
update types readme [skip ci]
2016-09-29 08:47:24 -04:00
Henry Zhu
6d22f258db
v6.16.0
2016-09-28 15:38:45 -04:00
Dan Harper
8709899b42
fix flow-strip-types/flow-comments removing entire ClassProperty ( #4587 )
2016-09-28 18:25:33 +02:00
zenparsing
26e79c5433
Implement support for async generator functions and for-await statements
2016-09-27 17:37:21 -04:00
Moti Zilberman
03d772c2ec
Computed class properties ( #4500 )
...
* Support computed class property names (#4499 )
** Depends on babel/babylon#121 **
* `babel-types`: Add `computed` field to `ClassProperty`
* `babel-plugin-transform-class-properties`: handle computed property names correctly
* `babel-generator`: add tests for class properties (computed/literal, static/instance)
* doc: Update babel-types with ClassProperty.computed
* chore(package): update babylon to v6.11.0
* babel-types: move ClassProperty.computed to be last builder arg
2016-09-26 17:46:00 +02: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
Henry Zhu
6d7417ba1b
Update babel-types docs, contributing, babel-cli [skip ci]
...
Closes gh-3684
2016-09-01 16:15:32 -04:00