Simon Lydell
dceb988bbb
babel-code-frame: Fix indentation
2016-03-23 19:00:53 +01:00
Simon Lydell
aaaffd32e7
babel-code-frame: Get rid of the line-numbers dependency.
2016-03-23 18:59:39 +01:00
Simon Lydell
d6b8e4c608
babel-code-frame: Add tests
2016-03-23 18:38:07 +01:00
Simon Lydell
6af4ba1937
babel-code-frame: Update type annotation
...
The code allows omitting the column number, but the type annotation for that
parameter didn't.
2016-03-23 17:13:07 +01:00
Logan Smyth
6470426f7a
v6.7.4
2016-03-22 20:37:46 -07:00
Amjad Masad
a42d57ea81
Merge pull request #3430 from babel/dont-reuse-react
...
Don't reuse same node for React.createElement
2016-03-22 17:14:53 -07:00
Sebastian McKenzie
67de615bfc
update babel-code-frame version
2016-03-22 22:14:36 +00:00
Sebastian McKenzie
09287643c7
remove line-numbers from babel-code-frame
2016-03-22 22:08:25 +00:00
Denis Pushkarev
8308f77cfe
Merge pull request #3424 from babel/fix-t7206
...
Fix for T7206
2016-03-21 01:50:05 +06:00
Simeon Willbanks
93d438cf01
Fix misspelling
2016-03-16 22:17:09 -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
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
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
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
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
de92d632f3
v6.7.2
2016-03-10 14:41:27 -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
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
fedd8bd50e
v6.7.1
2016-03-09 14:03:50 -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
af4575c43e
Expand the regression tests for T2765.
2016-03-08 08:15:42 -08:00
Amjad Masad
2f654650bb
Merge pull request #3407 from babel/async-tests
...
Async context tests
2016-03-08 02:00:40 -08:00
Amjad Masad
b35013abe5
Merge pull request #3406 from babel/fix-scope-info
...
Update scope info after block-scoping transform
2016-03-08 00:57:18 -08:00
Amjad Masad
69773a45f4
Add more async context tests
2016-03-08 00:55:42 -08:00
Amjad Masad
57c6c4ea81
Add test for T2765
2016-03-08 00:47:18 -08:00
Amjad Masad
0200542e82
don't use Array.includes
2016-03-08 00:33:37 -08:00
Logan Smyth
bbc3401c71
Merge pull request #3405 from loganfsmyth/shadowing-fixes
...
Fix shadow function processing for async functions
2016-03-07 21:22:54 -08:00
Logan Smyth
de21f2ef77
Resolve 'arguments' for rest args relative to direct parent.
2016-03-07 20:45:21 -08:00
Logan Smyth
42d3844f24
Revert special arrow wrapper and avoid shadowing arguments.
2016-03-07 20:45:20 -08:00
Logan Smyth
51ddeade8a
Avoid renaming this bindings in simple arrow function cases.
2016-03-07 20:45:20 -08:00
Logan Smyth
db3a43869c
Remap across arrow function boundaries - fixes T7108
2016-03-07 20:45:19 -08:00
Logan Smyth
2e210927d8
Move the necessary exec transforms to the exec test.
2016-03-07 20:45:19 -08:00