1413 Commits

Author SHA1 Message Date
greenkeeper[bot]
68a173c97c Update eslint-config-babel to the latest version 🚀 (#299)
* chore(package): update eslint-config-babel to version 6.0.0

https://greenkeeper.io/

* Fix linting
2017-01-15 11:12:49 +01:00
Brian Ng
9d78213ab6 Improve error message on attempt to destructure named import (#288) 2017-01-14 15:38:30 +01:00
Daniel Tschinder
b918554d73 Correct indent eslint rule config (#276)
* Change indent rule to correctly lint

* Remove rule again
2017-01-14 15:11:50 +01:00
greenkeeper[bot]
62d1970f77 Update eslint-config-babel to the latest version 🚀 (#293)
* chore(package): update eslint-config-babel to version 5.0.0

https://greenkeeper.io/

* fix lint warnings
2017-01-14 15:04:10 +01:00
Kai Cataldo
a465d2580e devDeps: remove eslint-plugin-babel (#292) 2017-01-14 08:01:13 -05:00
Daniel Tschinder
7a3e717f15
Update yarn.lock 2017-01-12 22:55:00 +01:00
Daniel Tschinder
8f7a19e3ad
Update cross-env to 3.x 2017-01-12 22:53:48 +01:00
Sergey Rubanov
b72d4d40a5 [7.0] Remove node 0.10, 0.12 and 5 from Travis (#284)
* Remove node 0.10, 0.12 and 5 from Travis

* add engines to package.json
2017-01-12 22:51:05 +01:00
Daniel Tschinder
5785f0ce72 Merge branch 'master' into 7.0 2017-01-12 22:42:25 +01:00
Daniel Tschinder
13bebfdf45 Fail tests that have expected.json and throws-option (#285)
* Fail tests that have expected.json and throws

* Remove obsolete test files
2017-01-12 22:38:41 +01:00
Daniel Tschinder
aa1a4be5ec 6.15.0 2017-01-10 22:38:45 +01:00
Daniel Tschinder
fdc106c9b6 Update yarn.lock 2017-01-10 22:37:36 +01:00
Daniel Tschinder
0f0b7290f4 Changelog 6.15.0 (#283)
* Update CHANGELOG.md

* Update CHANGELOG.md [skip ci]
2017-01-10 22:35:19 +01: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
Daniel Tschinder
cd9aaf2a58 Fix syntax error in .travis.yml 2017-01-10 15:06:08 +01: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
Andrew Levine
cec8bc0354 Add some test coverage for decorators stage-0 plugin (#250) 2017-01-05 22:07:40 +01: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
Jeff Morrison
9ea4e9dead Add support for Flow shorthand import type (#267) 2017-01-03 10:52:18 +01: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
greenkeeper[bot]
d3507eb5ce chore(package): update rollup to version 0.38.0 (#265)
https://greenkeeper.io/
2016-12-28 22:59:57 +01:00
James Long
ba96b91f40 Fix source location for JSXEmptyExpression nodes (fixes #248) (#249) 2016-12-14 16:32:36 -05:00
greenkeeper[bot]
4958225645 chore(package): update rollup to version 0.37.0 (#253)
https://greenkeeper.io/
2016-12-13 23:50:07 +01:00
greenkeeper[bot]
9adfd4c4e2 chore(package): update flow-bin to version 0.37.0 (#255)
https://greenkeeper.io/
2016-12-13 10:31:59 +01:00
Daniel Tschinder
375838db35 Prepare tests for multiple fixture runners. (#240)
* Prepare tests for multiple fixture runners.

* Replace ES2015
2016-12-08 17:58:53 +01:00
Andrew Levine
30545e883f Freeze current plugins list for "*" option, and remove from README.md (#245) 2016-12-06 14:09:36 -05:00
Kai Cataldo
4072dfddab Add watch script for dev (#234) 2016-12-05 16:54:18 -05:00
Kai Cataldo
5fb4353778 Throw error when exporting non-declaration (#241)
* Throw error when exporting non-declaration

fixes #238

* Do check ahead of parsing export statement
2016-12-01 21:03:13 +01:00
greenkeeper[bot]
5630380026 Update dependencies to enable Greenkeeper 🌴 (#233)
* chore(package): update dependencies

https://greenkeeper.io/

* cross-env 3 is not compatible to node 0.10

* ignore cross-env
2016-11-28 23:22:42 +01:00
Henry Zhu
9b6bb3cb9b 6.14.1 2016-11-17 19:09:24 -05:00
Henry Zhu
225adb100b v6.14.1 changelog [skip ci] 2016-11-17 19:08:57 -05:00
Henry Zhu
89a606ce11 document * [skip ci] 2016-11-17 19:06:16 -05:00
Daniel Tschinder
6d3b63454c Allow plugins:["*"] (#229) 2016-11-17 19:04:58 -05:00
Daniel Tschinder
03352cb480 Fix date in Changelog 2016-11-16 16:52:59 +01:00
Daniel Tschinder
38dcafc8ac 6.14.0 2016-11-16 16:32:32 +01:00
Daniel Tschinder
186a58ac31 6.14.0 (#221) [skip ci]
* 6.14.0

* fixes [skip ci]

* fixes [skip ci]
2016-11-16 16:29:11 +01:00
Daniel Tschinder
2caee29703 Run npm test with sourceMaps (#222) 2016-11-15 13:32:02 -05:00
Ryan Clark
b4c56ce9f9 Fix typo (#226) [skip ci] 2016-11-14 20:37:32 -05:00
Daniel Tschinder
58887ed14e Run tests of flow with babylon (#225)
* Run tests of flow with babylon

* Fix travis

* Fix typo

* Again...

* Brtter hint

* proper exit code

* Fix some flase-positives and better reporting

* Enable some plugins, that flow supports by default
2016-11-14 18:16:36 +01:00
Henry Zhu
48873f886a Correctly eat a semicolon at the end of DelcareModuleExports (#223) 2016-11-14 10:25:19 -05:00