Brian Ng
5180ecdca4
Use prettier ( #600 )
2017-06-28 12:41:42 -04:00
Daniel Tschinder
fecdb6feeb
Make tokens optional ( #563 )
...
Adding tokens to the ast is significant slower and most tools
don't ever use them anyway
2017-06-27 23:26:24 -04:00
Andy
47cade874c
Type-check options.js and index.js ( #490 )
2017-04-26 17:18:17 -04:00
Henry Zhu
f1e2cca767
Add back ranges property ( #363 )
...
* Add back ranges property
* Correctly adjust range in flow plugin
* Make it an option
2017-03-01 10:57:06 -05:00
Raphael Mu
f25a2fbc78
add startLine option ( #346 )
2017-02-10 15:06:28 +01:00
greenkeeper[bot]
6773279039
Update eslint-config-babel to the latest version 🚀 ( #273 )
...
* chore(package): update eslint-config-babel to version 4.0.0
https://greenkeeper.io/
* Fix prefer-const
* Update package.json
2017-01-10 19:42:43 +01:00
Dale Bustad
bb4919500c
Attach filename property to node.loc when provided.
2016-03-07 02:47:28 -08:00
Amjad Masad
aca8010438
Remove remaining @flow annotations
2016-03-03 15:10:59 -08:00
Amjad Masad
b5315d4b27
Revert "Remove Flow annotations and pragmas"
...
This reverts commit 4252244d06b225ab26a02d52c04f9940a3e4d6a2.
2016-03-03 15:03:55 -08:00
Sam Goldman
085361ad1a
Remove Flow annotations and pragmas
2016-02-28 13:18:57 -10:00
Bradley Farias
b6f5b6ab11
fix flow for babylon
2016-01-19 13:01:26 -06:00
Daniel Lo Nigro
20a483cd58
Fix Flow.
...
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.
Closes #3064
2015-11-15 21:30:22 -08:00
Sebastian McKenzie
b909a81ab7
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
6d6ddf0bcd
type annotate babylon
2015-09-23 15:59:41 +01:00
Sebastian McKenzie
df021c7f23
add esprima tests and fix bugs picked up by it
2015-08-11 00:59:15 +01:00
Sebastian McKenzie
e7fec51feb
remove range property from nodes, clean up babylon codebase
2015-07-25 07:07:22 +01:00
Sebastian McKenzie
0ca73d2474
add comment attachment to the parser and remove dead acorn options
2015-07-21 01:13:07 +01:00
Sebastian McKenzie
2007469305
remove dead babylon code
2015-07-15 18:07:13 +01:00
Sebastian McKenzie
b21db8a37e
finish removal of ecmaVersion option
2015-07-15 16:41:32 +01:00
Sebastian McKenzie
a1a1ad3d1c
add missing semicolons
2015-07-12 00:36:21 +01:00
Sebastian McKenzie
a08c21302d
Merge branch 'master' into top-secret
...
# Conflicts:
# packages/babylon/src/options.js
# src/acorn/plugins/flow.js
# src/acorn/src/util.js
2015-07-11 21:04:33 +01:00
Sebastian McKenzie
ff6620c8ea
more architectural changes
2015-07-11 20:56:26 +01:00
Sebastian McKenzie
423d8c510d
Begin transition of Babel to a more scalable architecture, async flow to allow for RPC and better build system for multiple packages
2015-07-11 12:39:54 +01:00
cpojer
f757ca01a1
Add support for import typeof, fixes #1975
2015-07-11 01:54:25 -07:00
Logan Smyth
01b39d67f0
Merge acorn 1.0.0 (formerly 'update to modular acorn' in original history).
2016-03-14 22:47:51 -07:00
Marijn Haverbeke
f538706db3
Code style -- less semicolons, more let variables
2015-03-20 17:00:32 +01:00
Marijn Haverbeke
dd89c6e112
Make loose parser work with minor interface changes introduced by modularization
2015-03-20 12:04:33 +01:00