11387 Commits

Author SHA1 Message Date
Henry Zhu
70bebfae93 update changelog [skip ci] 2017-01-10 14:33:55 -05:00
Sven SAULEAU
ed13a4ab05 Refactor tokenizer types file (#263)
* refactor(tokenizer): use class for keywork tokens

* refactor(tokenizer): re-use constacts in types

* refactor(tokenizer): binop token type

* feat(tokenizer): use beforeAndStartExpr for shortcut

* fix(tokenizer): typo in keywordTokenType

* refactor(tokenizer): don't use spread operator

* refactor(tokenizer): constant for isLoop, isAssign, prefix, postfix

* fix(tokenizer): remove constant beforeAndStartExpr

* style(tokenizer): space after comma
2017-01-10 20:22:56 +01:00
Mathias Bynens
ed625cb2e1 Remove String.fromCodePoint shim (#279)
This is not necessary anymore if we drop support for Node.js v0.10 and v0.12.

Ref. https://github.com/babel/babel/issues/4315.
2017-01-10 20:14:11 +01:00
Ryan Plant
5055b335b2 Rename folder to avoid Windows-illegal characters (#281) 2017-01-10 14:12:13 -05: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
Brian Ng
fa8f09bc6e Include yarn.lock and update CI (#124) 2017-01-10 12:05:35 -05:00
Artem Yavorsky
74f2fb17a1 Transformations before logs (#128) 2017-01-10 12:03:07 -05:00
Daniel Tschinder
cd9aaf2a58 Fix syntax error in .travis.yml 2017-01-10 15:06:08 +01:00
Roman Yakobnyuk
e56c318eed remove unnecessary extension (#131) 2017-01-09 17:47:31 -05:00
Henry Zhu
db7e87b219 1.1.7 2017-01-09 11:05:45 -05: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
Daniel Tschinder
dc617129f6 Optimize removal-hooks for ArrowFunctions (#5076) 2017-01-09 09:05:23 -05:00
Karsten Gohm
de1a76413f Static function call result comment does not match variable content (#5077)
static staticProperty, defined in line 18, value is 'babeliscool' but comment on line 33 the given sample output is 'babelIsCool'. 
this commit fixes this inconsistency
2017-01-09 09:02:19 -05:00
Daniel Tschinder
008a29cb5f
Update yarn.lock 2017-01-08 00:33:39 +01:00
greenkeeper[bot]
326670dd29 chore(package): update rollup to version 0.41.0 (#272)
https://greenkeeper.io/
2017-01-08 00:28:44 +01:00
Henry Zhu
9031ea073c 1.1.6 2017-01-06 17:34:29 -05:00
Henry Zhu
7ef4313141 v1.1.6 changelog [skip ci] 2017-01-06 17:34:23 -05:00
Marco Massarotto
1815ffab14 Explicitly resolve lowest browser version (#121)
stop relying on browserlist returning a list sorted by browser version
fix #119
2017-01-06 17:18:43 -05:00
Anthony Zotti
d1cd179c45 Update LICENSE (#5058) 2017-01-05 22:12:12 +01:00
Andrew Levine
cec8bc0354 Add some test coverage for decorators stage-0 plugin (#250) 2017-01-05 22:07:40 +01:00
Andrii Bida
3ef99d1467 Fix typo in README.md (#5070)
Minor typo fix: added the missing space.
2017-01-05 14:43:26 -06:00
Henry Zhu
dc46adf519 test actual requires from useBuiltIns (#95)
* test actual requires from useBuiltIns

* only run on npm 3 for now
2017-01-05 10:21:56 -05:00
Andres Suarez
796c6c0763 Remove unused dependency (#5038) 2017-01-05 08:17:16 -05:00
Brian Ng
2a8d3173d3 Remove unused define-map helper from computed-properties (#5053) 2017-01-05 08:16:35 -05:00
Vladimir Kurchatkin
3267e5f365 Don't set inType flag when parsing property names (#266)
* Don't set inType flag when parsing property names

* Add inPropertyName type definition

* Move inPropertyName check before this.curContext()
2017-01-05 12:25:57 +01:00
greenkeeper[bot]
dd4c4ead2d chore(package): update rollup to version 0.40.0 (#270)
https://greenkeeper.io/
2017-01-05 12:24:31 +01:00
Henry Zhu
0ac127ce60 v1.1.5 changelog [skip ci] (#118) 2017-01-04 13:00:30 -05:00
Henry Zhu
a9181a218c 1.1.5 2017-01-04 12:44:18 -05:00
Jeff Morrison
9ea4e9dead Add support for Flow shorthand import type (#267) 2017-01-03 10:52:18 +01:00
Brian Ng
76e12a3cae Show error if target version is not a number (#107) 2017-01-02 23:55:32 -05:00
Henry Zhu
ec99493e53 Merge pull request #109 from yavorsky/debug-targets
Fix targets for debug.
2017-01-02 23:55:05 -05:00
Alex Rattray
68bb1c6598 Allow this.state.clone() when parsing decorators (#262)
Adding the line `this.state = this.state.clone();` in a parser plugin 
(specifically, in my case `parseExprAtom`)
would break decorators. 

This change fixes that.
2017-01-02 10:37:05 +01:00
Ryan Duffy
1c13800efd Use fromCodePoint to convert high value unicode entities (#243)
* Use fromCodePoint to convert high value unicode entities

* Include polyfill for String.fromCodePoint

* copy and adapt fromCodePoint into String.fromcodepoint

In order to avoid modifying String as the polyfill does, I've copied
the source from the polyfill and adapted it return the polyfill
function if the native version does not exist. Once support for node
versions that lack fromCodePoint is dropped, this polyfill can be
removed.

* move license notice to top of file
2017-01-02 10:15:56 +01:00
Vladimir Kurchatkin
3dc403974c flow: allow leading pipes in all positions (#256) 2017-01-02 10:13:53 +01:00
Daniel Tschinder
b875ed755b
Update yarn.lock 2017-01-02 10:00:13 +01:00
Daniel Tschinder
0fb1be4744 User external-helpers (#254)
Add yarn.lock as recommended
2017-01-02 09:57:55 +01:00
greenkeeper[bot]
7e6b0dac5c chore(package): update rollup to version 0.39.0 (#269)
https://greenkeeper.io/
2017-01-02 09:57:05 +01:00
Brian Ng
f611cab0f5 Fix some doc lint issues (#5061)
* Remove duplicate usage section from transform-es2015-classes [skip ci]

* Fix doc lint issue with transform-function-bind [skip ci]
2017-01-02 09:01:08 +01:00
Brian Ng
ad23d2ee39 Drop unneeded eslint-plugin-flow-vars dep (#115) 2017-01-01 22:25:50 -05:00
Sven SAULEAU
39cda64fe2 docs: [skip ci] incorrect snippet language (#5059) 2017-01-01 14:59:50 +01:00
Sven SAULEAU
b443f3e158 Merge pull request #5051 from gitanupam/patch-1
Adding more info to the Install section
2016-12-29 08:28:49 +01:00
greenkeeper[bot]
d3507eb5ce chore(package): update rollup to version 0.38.0 (#265)
https://greenkeeper.io/
2016-12-28 22:59:57 +01:00
Sven SAULEAU
fbeadc46ea [skip ci] merge documentation with the website 2016-12-28 21:49:40 +01:00
gitanupam
438c872e64 Adding more info to the Install section
It was confusing to see the Install command for babel-present-react again when the earlier command to install CLI also included babel-preset-react. Hence the edit.
2016-12-28 16:24:00 +05:30
Brian Ng
b1635f8c05 Fix some README links [skip ci] (#5045) 2016-12-27 09:30:14 -05:00
Sven SAULEAU
90279f102f
docs: remove compiler support for 0.10 2016-12-25 20:54:38 +01:00
Sven SAULEAU
8b25e21520
build: remove Circle CI 2016-12-25 20:54:20 +01:00
Artem Yavorsky
1fa3916f75 Use parsed targets for Using targets log. 2016-12-23 13:28:33 +02:00
Artem Yavorsky
63c0931340 Make plugin output single-lined. 2016-12-23 13:22:45 +02:00
Artem Yavorsky
c0b8f5b604 Fix targets for debug. 2016-12-23 01:42:30 +02:00