7179 Commits

Author SHA1 Message Date
Henry Zhu
971ab0e88e Merge pull request #3437 from babel/rm-flow-comments
Remove unused flow-comments plugin [skip ci]
2016-03-22 10:37:30 -04:00
Henry Zhu
12c78a890b Remove unused flow-comments plugin [skip ci]
- forgot to do this earlier
2016-03-22 10:37:05 -04:00
Henry Zhu
bbd37783be Merge pull request #3436 from babel/update-kcheck
update kcheck
2016-03-21 20:02:15 -04:00
Henry Zhu
77bc219548 update kcheck 2016-03-21 19:03:02 -04:00
Denis Pushkarev
8308f77cfe Merge pull request #3424 from babel/fix-t7206
Fix for T7206
2016-03-21 01:50:05 +06:00
Logan Smyth
078f6c0ed3 Only attempt to rename export declarations, not expressions - fixes T7215 2016-03-16 23:26:52 -07:00
Henry Zhu
3232c30f61 Merge pull request #3432 from simeonwillbanks/patch-1
Fix Misspelling
2016-03-17 01:24:07 -04:00
Logan Smyth
374b5d273a Merge pull request #3431 from loganfsmyth/build-debounce
Add a debounce delay so switching branches rebuilds.
2016-03-16 22:19:02 -07:00
Simeon Willbanks
93d438cf01 Fix misspelling 2016-03-16 22:17:09 -07:00
Logan Smyth
eb096b8290 Add a debounce delay so switching branches rebuilds. 2016-03-16 22:07:02 -07:00
Henry Zhu
459b1ffa1c Merge pull request #3420 from loganfsmyth/scope-cache-invalidation
Invalidate the scope cache if a node is moved to a different path - fixes T7194
2016-03-16 23:18:48 -04:00
Amjad Masad
7a2bae2de5 Merge pull request #3429 from babel/localize-test
Localize side-effectful test
2016-03-16 20:13:28 -07:00
Amjad Masad
bf600b0526 fix lint issue 2016-03-16 20:06:09 -07:00
Amjad Masad
3f4b88e638 Don't reuse same node for React.createElement
Is causing problems with path cache. See https://github.com/babel/babel/pull/3428
2016-03-16 18:14:16 -07:00
Amjad Masad
f6ff14624f localize side-effectful test 2016-03-16 18:13:40 -07:00
Henry Zhu
514d68770f Merge pull request #3419 from loganfsmyth/helper-requeue-T7199
Ensure that we push and pop evenly so things don't fail to queue - fixes T7199
2016-03-16 16:15:35 -04:00
Denis Pushkarev
ca46147734 dirty fix for T7206 for preventing runtime transform Object.defineProperty in the babel-polyfill entry point 2016-03-15 02:55:46 +06:00
Logan Smyth
661b2d9150 Merge pull request #3400 from callumlocke/patch-1
Add breakConfig option to babel's own babel config
2016-03-13 14:47:02 -07:00
Logan Smyth
e3af434250 Inserting shadowed 'this' bindings in constructors after super - fixes T7191 2016-03-12 16:18:56 -08:00
Logan Smyth
256c0100cb Wrap parens around default exports starting with function/class - fixes T7136 2016-03-12 15:31:16 -08:00
Logan Smyth
80aa424b75 Invalidate the scope cache if a node is moved to a different path - fixes T7194 2016-03-12 14:21:21 -08:00
Logan Smyth
b1c50b01f2 Ensure that we push and pop evenly so things don't fail to queue - fixes T7199 2016-03-12 12:30:33 -08:00
Amjad Masad
5373733b8d v6.7.3 2016-03-10 17:35:55 -08:00
Amjad Masad
5a9dd78b11 Merge pull request #3415 from babel/rework-warn
Rework logic that controls flowBinding warning
2016-03-10 17:11:46 -08:00
Amjad Masad
4abc03eef1 Rework logic that controls flowBinding warning
The flag to control whether we should warn didn't take into account
nested calls or scope chains. An easier approach is to have a
counter. That way we know for sure if we're somewhere deep inside a
crawl call or not.
2016-03-10 16:39:12 -08:00
Amjad Masad
3252761cce Update changelog with v6.7.2 2016-03-10 14:51:20 -08:00
Amjad Masad
de92d632f3 v6.7.2 2016-03-10 14:41:27 -08:00
Amjad Masad
9b229f1f08 Merge pull request #3414 from babel/flow-binding
Warn on Flow-based bindings and don't count as a const violation
2016-03-10 13:41:58 -08:00
Amjad Masad
5a081a8572 Update comment, reformat message 2016-03-10 13:00:45 -08:00
Amjad Masad
9f0dbf0234 Better warnings 2016-03-10 12:54:02 -08:00
Amjad Masad
7f4b57a7a4 Add warning instead of removing support 2016-03-10 12:35:15 -08:00
Amjad Masad
fd7b1c3386 don't rely on scope to get the type alias 2016-03-10 12:13:05 -08:00
Amjad Masad
342f9d5eb5 Don't consider flow types as bindings 2016-03-10 11:48:14 -08:00
Sebastian McKenzie
986ac9950a Merge pull request #3413 from babel/remove-babylon
Remove babylon
2016-03-09 22:36:28 -08:00
Sebastian McKenzie
0a490ef294 Remove babylon 2016-03-10 06:25:26 +00:00
Amjad Masad
7fb4133994 Merge pull request #3410 from babel/test-npmignore
add test to npmignores [ci skip]
2016-03-09 14:15:32 -08:00
Amjad Masad
a141bd9c1f Update changelog with v6.7 and v6.7.1 2016-03-09 14:12:38 -08:00
Amjad Masad
fedd8bd50e v6.7.1 2016-03-09 14:03:50 -08:00
Amjad Masad
facf6bc82f Merge pull request #3411 from babel/hotfix-7197
[hotfix T7197] Use scope.moveBindingTo
2016-03-09 14:00:01 -08:00
Amjad Masad
07d2c15e99 quotes 2016-03-09 13:34:06 -08:00
Amjad Masad
3dd80a6b14 Update updateScopeInfo method to use moveBindingTo 2016-03-09 13:28:45 -08:00
Amjad Masad
8b4b02a5fb [hotfix T7197] Use scope.moveBindingTo
I had deleted the binding and created a new one. I naively thought that
the analysis will automatically run again. But now discovered the method
I actually want to use: `scope.moveBindingTo` which moves the binding
and all the correct analysis. The only thing that was left to do is to
update `binding.kind` which I did manually.
2016-03-09 13:24:20 -08:00
Henry Zhu
0cc53dafc0 add test to npmignores [ci skip] 2016-03-08 22:33:23 -05:00
Amjad Masad
3d5969ecff v6.7.0 2016-03-08 16:52:45 -08:00
Amjad Masad
bbdc308e92 Merge pull request #3409 from babel/sourcempa
Fix sourcemap generation for ES2015 modules
2016-03-08 16:42:36 -08:00
Amjad Masad
ad3d5bea44 Add more test cases 2016-03-08 15:28:29 -08:00
Amjad Masad
13dc2423f0 Fix auxiliary comment test 2016-03-08 13:59:34 -08:00
Amjad Masad
46ebd90acb Test and fix export statement sourcemap 2016-03-08 13:47:02 -08:00
Amjad Masad
108838c66c Copy source location to require statement for sourcemap generation 2016-03-08 13:38:24 -08:00
Logan Smyth
1da5cda3ab Merge pull request #3408 from loganfsmyth/expand-regression-tests
Expand the regression tests for T2765.
2016-03-08 08:34:04 -08:00