Henry Zhu
a4080dc095
update babylon
2017-06-27 17:17:41 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Henry Zhu
89d8f70fcd
Merge pull request #5813 from jridgewell/pr/5786
...
Optional Chaining Operator (Stage 1)
2017-06-27 11:10:47 -04:00
Joseph Frazier
a330cf2b09
Add support for evaluating String.raw expressions ( #5681 )
...
* Add support for evaluating `String.raw` expressions
* Dedupe evaluation code for template literal quasis
* Check scoping in `String.raw` evaluation
This addresses https://github.com/babel/babel/pull/5681#discussion_r114203497
* Ensure that `tag` is a MemberExpression in `String.raw` evaluation
This addresses https://github.com/babel/babel/pull/5681#discussion_r114203555
* babel-traverse: Move evaluateQuasis() outside _evaluate()
2017-06-24 16:00:42 -04:00
Henry Zhu
ba671d0a66
update babel-eslint, try out numeric separators ( #5866 )
...
* update babel-eslint, try out numeric separators
* update version
2017-06-17 23:31:47 -04:00
Hasan Bayat
1b29ab1289
Adding documentation and information ( #5717 ) [skip ci]
2017-06-09 11:24:20 -04:00
Justin Ridgewell
ac33b1be27
Fix addCompletionRecords
2017-06-09 00:12:16 -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
Justin Ridgewell
119d5c5871
Hoist several closures
2017-06-08 03:39:10 -04:00
Justin Ridgewell
97d0ab78cb
Update babylon
2017-06-07 03:52:42 -04:00
Justin Ridgewell
5cc1cbf3bc
Matches pattern cleanup ( #5826 )
...
* Extract duplicated function into babel-types
Also reimplements in a sane way.
* Add tests
* cleanup
2017-06-06 11:20:05 -04:00
Simen Bekkhus
1e55653ac1
Don't call deprecated code frame export ( #5815 )
2017-06-02 08:49:26 -04:00
Henry Zhu
272209ace5
⬆️ Alpha 12 ( #5808 )
...
* fix usage of codeframe
2017-06-01 15:13:17 -04:00
Henry Zhu
c5bad22767
v7.0.0-alpha.12
2017-05-31 17:11:39 -04:00
Henry Zhu
ce976bba2a
v7.0.0-alpha.11
2017-05-31 16:43:30 -04:00
Mauro Bringolf
c142bbc429
Remove duplicated getStatementParent and refactor requires to imports in tests ( #5746 )
...
* Additional testcase and require->import refactorings
* Removed duplicated getStatementParent function. Refactored all babel-traverse tests to use ESmodules
2017-05-31 15:33:25 -04:00
Rick Waldron
5393a49349
Support for NumericLiteralSeparator, Stage 1 feature ( #5793 )
...
* Support for NumericLiteralSeparator, Stage 1 feature
commit cd8f6e062876261a334d968f875e477a48927b6d
Author: Sven SAULEAU <xtuc@users.noreply.github.com>
Date: Wed May 31 16:14:15 2017 +0200
docs: update README [skip ci]
commit cf013e3382bf73cdf9224026c1ec0b1a368cfef2
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue May 30 14:51:20 2017 -0400
Support for NumericLiteralSeparator, Stage 1 feature
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* add note about presets [skip ci]
2017-05-31 15:18:48 -04:00
Henry Zhu
0df3e3d6eb
update babylon beta 11
2017-05-27 09:08:58 -04:00
Mauro Bringolf
f0d7d580d5
Added individual test cases for possible errors with path.replaceWith ( #5779 )
2017-05-27 00:22:26 -04:00
Henry Zhu
9b44cef691
v7.0.0-alpha.10
2017-05-25 15:17:07 -04:00
Henry Zhu
ce2335604c
Merge pull request #5761 from babel/b7-10
...
Babylon 7 alpha.10
2017-05-25 14:29:25 -04:00
Samuel Reed
853b9f8ece
Fix multiple var declarations in transform-react-constant-elements ( #5732 ) ( #5756 )
...
This was broken by a legacy attachment path conditional that
is no longer needed.
2017-05-22 17:46:53 -04:00
Henry Zhu
6620612b66
update to beta.10
2017-05-22 17:13:54 -04:00
Buu Nguyen
c474fd48e1
Fix issue semi-colon gets inserted unnecessarily ( #5749 )
...
* Fix issue semi-colon gets inserted unnecessarily
* Simplify if condition a bit
2017-05-19 16:54:51 -04:00
Mauro Bringolf
8facda4505
Added more types to API signatures ( #5733 ) [skip ci]
2017-05-19 14:53:43 -04:00
Mauro Bringolf
943b7371a1
Completed return types for all NodePath family methods ( #5739 ) [skip ci]
2017-05-19 14:52:13 -04:00
Logan Smyth
14584c218c
Kill the "shadow-functions.js" internal plugin in favor of an explicit helper ( #5677 )
...
* Handle arrow function processing via shared API rather than default plugin.
* Fix a few small PR comments.
* Preserve existing spec arrow 'this' rewrites, and support spec in subclass constructors.
2017-05-05 13:27:18 -07:00
Samuel Reed
c307bbb3a9
Fix PathHoister hoisting before a same-scope variable declaration.
...
Seems we didn't have tests running for this very simple case.
Also fixes #5520
2017-05-01 14:32:11 -07:00
Samuel Reed
3570ba7c28
Fix PathHoister error attaching after export declarations.
...
Fixes #5369 .
See also 4ee385e96c/packages/babel-plugin-transform-class-properties/src/index.js (L167)
2017-05-01 14:22:38 -07:00
Samuel Reed
c3e8cc8ad6
Fix PathHoister error attaching after export declarations.
...
Fixes #5369 .
See also 4ee385e96c/packages/babel-plugin-transform-class-properties/src/index.js (L167)
2017-05-01 12:41:29 -07:00
Henry Zhu
62375cdf12
v7.0.0-alpha.9
2017-04-18 10:41:30 -04:00
Henry Zhu
25ae8c8554
v7.0.0-alpha.8
2017-04-17 15:12:31 -04:00
ssuman
412180e203
Increase the code coverage for traverse evaluation ( #5363 )
...
* When applied this commit will increase the code coverage for evaluation.js
* Fixing linting issues
2017-04-09 16:49:37 -07:00
Jan Kassens
a1a795321a
Update deprecation warning on flow bindings ( #5615 )
...
Babel 6 is at 6.24, doesn't seem like this is getting removed in version 6 anymore.
2017-04-09 16:11:06 -07:00
Henry Zhu
f8da5e3457
v6.24.1
2017-04-07 11:19:02 -04:00
MrSpider
fd3a2c285a
Fix replacing function declaration in export default ( fixes #4468 ) ( #5456 )
2017-04-06 11:40:31 -04:00
Henry Zhu
c732f5e1d0
v7.0.0-alpha.7
2017-04-05 17:13:26 -04:00
Daniel Tschinder
b2ced1d6bd
Update babylon to latest beta ( #5585 )
2017-04-04 22:32:31 +02:00
Henry Zhu
f3ef03abfd
use caret for devDeps
2017-03-27 16:32:13 -04:00
Henry Zhu
7a1ccf076c
Misc ( #5545 )
...
* normalize npmignores
* fixup eslint ignore, etc
* lint
* remove unused
* rm from gitignore
* use strict
2017-03-25 21:46:16 -04:00
Henry Zhu
ab68800e06
v7.0.0-alpha.3
2017-03-23 15:49:01 -04:00
Boopathi Rajaa
c9a851a218
Cleanup traverse cache APIs ( #5494 )
2017-03-23 12:00:28 -04:00
Damien Maillard
299e51298c
Fix path.remove() leading & trailing comments sharing ( #5504 )
2017-03-23 11:55:14 -04:00
Samuel Reed
f20da57317
Fix PathHoister attaching to default parameters. ( #5415 )
...
* Fix PathHoister attaching to default parameters.
Ref: #5315
* Update hoister.js
2017-03-22 16:37:53 -04:00
Henry Zhu
b638c8b3eb
Transform the template literals revision proposal ( #5523 )
...
* Account for template literals revision
* extra tests
* update to babylon beta 7
* pr feedback (keep arr length the same)
2017-03-22 16:07:36 -04:00
Henry Zhu
ceb68f5bb7
babylon@7.0.0-beta.6
2017-03-22 00:24:00 -04:00
MrSpider
5287e13817
Fix replacing function declaration in export default ( fixes #4468 ) ( #5444 )
2017-03-10 11:41:03 -08:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Henry Zhu
11e54a6bd3
v7.0.0-alpha.1
2017-03-02 16:04:47 -05:00