11107 Commits

Author SHA1 Message Date
Henry Zhu
46ed49fe3a add 6.8.3,6.8.4 changelog [skip ci] 2016-07-06 19:40:51 -04:00
Henry Zhu
46fc224382 6.8.4 2016-07-06 19:34:38 -04:00
Daniel Tschinder
34a82f716e Fix the location of params, when flow and default value used (#68)
Fixes #67
2016-07-06 17:48:47 -04:00
Daniel Tschinder
83bf84f7cd 6.8.2 changelog [skip ci] (#60) 2016-07-06 17:48:31 -04:00
Logan Smyth
65a677decd Maintain a queue to allow deletion of whitespace/semicolons without accessing buf. 2016-07-05 21:03:29 -07:00
Logan Smyth
cb60808500 Make buffer a property for managing the token queue. 2016-07-05 21:02:46 -07:00
Logan Smyth
c5a6c5c291 Pass values directly to avoid object usage. 2016-07-05 21:01:33 -07:00
Logan Smyth
abb9618e8c Drop array support from endsWith. 2016-07-05 19:44:51 -07:00
Logan Smyth
f908f3fc88 Use 'push' for all cases. 2016-07-04 22:49:59 -07:00
Logan Smyth
caef91672d Remove unnecessary passthrough function. 2016-07-04 22:49:59 -07:00
Logan Smyth
578f48134b Remove removeLast usage. 2016-07-04 22:49:59 -07:00
Logan Smyth
80cd3ca331 Drop one usage of removeLast. 2016-07-04 22:49:59 -07:00
Logan Smyth
d6b1e36d49 Make the 'catchUp' call implicit to source location updates. 2016-07-04 22:49:58 -07:00
Logan Smyth
3680d10b6f Centralize position tracking into buffer. 2016-07-04 22:42:28 -07:00
James Talmage
62ad67e5d9 add tests for build-config-chain 2016-07-03 23:58:44 -04:00
Sebastian McKenzie
e0639505d1 6.8.3 2016-07-03 16:47:35 +01:00
Sebastian McKenzie
22cf1f8826 Merge pull request #63 from danez/performance-regression
Fix performance regression introduced in 6.8.2
2016-07-03 16:46:44 +01:00
Daniel Tschinder
4e2072def8
Fix performance regression introduced in 6.8.2
This commit e6c11a0 (#19) made a big performance regression.
The reason was that parseConditional was always cloning the current state
even if no question mark (potential conditional or flow-optional
token) was at the current position.
Simply checking if questionmark matches the current token solves the problem.

Fixes #62
2016-07-03 11:52:01 +02:00
Logan Smyth
177c092496 Remove sideeffectful position mutation. 2016-07-02 15:38:05 -07:00
Logan Smyth
e4da8cfea5 Use the standard newline function. 2016-07-02 15:38:05 -07:00
James Kyle
c561312bee Adds strictMode option to strict-mode transform (#3562) 2016-07-02 13:27:57 -07:00
Logan Smyth
52683f0018 Use the proper transform plugin for preset-es2016. (#3563) 2016-07-02 14:46:38 -04:00
James Talmage
79d8c5aa14 find list of applicable configs without requiring babel-core or plugins
`build-config-chain.js` creates an array of options which will be passed to `OptionsManager#mergeOptions`. The advantage of separating it out is that `build-config-chain` has a very minimal dependency list. The eventual intent is to allow the require hook to lazy load only when required. In other words, if no required files ever match the patterns `ignore` / `only` patterns, the bulk of babel-core, and the associated plugins, will never be loaded.
2016-07-02 03:04:49 -04:00
Daniel Tschinder
84b1bc52e1
Ensure that build directories are not included in release 2016-06-30 00:59:43 +02:00
Daniel Tschinder
b02dba8d24
Ignore build directory in eslint 2016-06-30 00:55:03 +02:00
Daniel Tschinder
5a74dedeb6
Remove cache because of outdated versions on travis 2016-06-30 00:34:35 +02:00
Daniel Tschinder
7593b802ae
Enable babel tests on travis 2016-06-30 00:26:36 +02:00
Daniel Tschinder
5e1e1d296a Merge pull request #56 from babel/hzoo-patch-1
6.8.1 changelog [skip ci]
2016-06-29 19:42:37 +02:00
Logan Smyth
ff4f476abe Update Changelog for 6.11.2. 2016-06-28 23:18:52 -07:00
Logan Smyth
172d81d4fe v6.11.2 2016-06-28 23:14:43 -07:00
Logan Smyth
4126b38b9b Merge pull request #3558 from loganfsmyth/fix-async-func-ref
Fix non-unique 'ref' binding name - fixes T7468
2016-06-28 19:26:52 -07:00
Logan Smyth
ee43c4b735 Merge branch 'master' into fix-async-func-ref 2016-06-28 19:26:39 -07:00
Logan Smyth
231f27f170 Fix non-unique 'ref' binding name - fixes T7468 2016-06-28 19:16:44 -07:00
Henry Zhu
efbd530690 Use secure token for slack notifications from travis (#3556) 2016-06-28 08:45:36 -04:00
Henry Zhu
e390570f9d Docs: 6.11.1 changelog [skip ci] 2016-06-27 17:24:26 -04:00
Henry Zhu
7b9749233e v6.11.1 2016-06-27 17:19:48 -04:00
Forbes Lindesay
3bc3c9a3ed Babel types docs (#3549)
* Update babel-types documentation

Mostly just re-run generate-babel-types-docs but also update for some
more validator types.

* Rebuild docs as part of "build-dost"

* Include fields not in BUILDER_KEYS in babel-types docs

These fields don’t have a shorthand for you to pass them to the helper
method, but they are still useful to know about.

* Fields not included in BUILDER_KEYS cannot be "required"

We don’t ever type-check fields not in BUILDER_KEYS so they are never
required.
2016-06-27 17:01:58 -04:00
Henry Zhu
39f645768c Remove jsx-self from react preset (#3552) 2016-06-27 11:47:37 -04:00
Antonio Diaz
7a15409085 Update to Contributor Covenant v1.4 (#3515) 2016-06-26 20:44:58 -07:00
Henry Zhu
f345c70c96 Docs: 6.11.0 changelog [skip ci] (#3551) 2016-06-26 20:47:41 -04:00
Henry Zhu
470635adb0 v6.11.0 2016-06-26 20:21:26 -04:00
Henry Zhu
22eb40d204 Build: use lerna 2.x beta (#3509)
lerna changelog

update
2016-06-26 17:28:14 -04:00
Logan Smyth
15f267b7af Merge pull request #3550 from loganfsmyth/fix-jsx-self-mistakes
Fix some mistakes in the jsx-self transform.
2016-06-26 13:56:27 -07:00
Logan Smyth
856b1f2923 Fix some mistakes in the jsx-self transform. 2016-06-26 13:52:07 -07:00
Henry Zhu
4dd64dbe0f 6.8.1 changelog [skip ci] 2016-06-24 14:43:37 -04:00
Sebastian McKenzie
376fb835b9 6.8.2 2016-06-24 18:36:50 +01:00
Sebastian McKenzie
d976b56bbe Merge pull request #54 from gabelevi/arrow
[Flow] Arrow function type parameter declarations
2016-06-24 18:36:07 +01:00
Gabe Levi
22374b6bec [Flow] Arrow function type parameter declarations 2016-06-24 10:34:09 -07:00
Sebastian McKenzie
f30f1942b6 Merge pull request #55 from vkurchatkin/gen-getset
flow: allow generic method with name get or set
2016-06-24 18:24:27 +01:00
Vladimir Kurchatkin
f0c7660980 move logic to flow plugin 2016-06-24 20:23:02 +03:00