Ben Alpert
150720f431
Fix template loading when hidden files exist
...
This made debugging https://github.com/babel/babel/pull/2352 confusing
because I had some vim swap files so it didn't load any of the
templates. (I assume this was the original intention.)
2015-09-09 23:57:10 -07:00
Sebastian McKenzie
3720174a32
update tests to reflect new whitelist by default model
2015-09-05 20:02:36 +01:00
Sebastian McKenzie
3b301c88da
add missing FunctionExpression conversion when wrapping a function expression in a call for async to generator helper - fixes #2325
2015-09-05 08:41:13 +01:00
Sebastian McKenzie
392b7b0333
ignore ExportDefaultSpecifiers and ExportNamespaceSpecifiers in t.isReferenced - fixes #2324
2015-09-05 03:05:29 +01:00
Andrew Imm
a6e0ec8371
Allow more certainty when evaluating Logical Expressions
2015-09-03 08:55:26 -07:00
Sebastian McKenzie
213a9923b9
add builder keys for JSXElement and add starter validation
2015-09-03 15:45:43 +01:00
Sebastian McKenzie
b6b553f27f
update JSXElement visitor keys - fixes #2318
2015-09-03 15:45:26 +01:00
Henry Zhu
5c58b52d40
evaluation: evaluate typeof UnaryExpression
2015-09-03 09:32:01 -04:00
Andrew Imm
79c25ecf13
Let dead code elimination run over exported functions
2015-09-03 00:52:05 -07:00
Sebastian McKenzie
64be6530fe
add packages README
2015-09-03 06:33:51 +01:00
Sebastian McKenzie
3831b1b37a
add support for bind expression to t.isReferenced
2015-09-02 18:06:51 +01:00
Sebastian McKenzie
3f69534ae5
add JSXText
2015-09-02 18:06:42 +01:00
Sebastian McKenzie
f770f337a4
add Scope#buildUndefinedNode method
2015-09-02 18:06:23 +01:00
Sebastian McKenzie
6ff53e35f3
cap uids based on nodes at 20 characters - fixes #2225
2015-09-02 18:05:33 +01:00
Sebastian McKenzie
acc801897a
Merge pull request #2300 from hzoo/add-more-binary-ops
...
evaluation: add more binary operators
2015-09-01 15:34:32 +01:00
Daniel Tschinder
ab1dd2c090
Fix typo in code
2015-09-01 16:28:29 +02:00
Henry Zhu
5bb42ed10d
evaluation: add more binary operators
2015-09-01 10:14:38 -04:00
Sebastian McKenzie
1ea835f42f
start moving more transformers to packages and finish import of plugins from babel-plugins
2015-09-01 08:37:37 +01:00
Sebastian McKenzie
9f9d9cd84b
move some babel-plugins into the main repo
2015-09-01 06:58:53 +01:00
Sebastian McKenzie
f33c96c276
make export default anoynmous class/function statements - fixes #2205
2015-09-01 05:34:11 +01:00
Sebastian McKenzie
268d575e12
remove noisy comments
2015-09-01 05:00:50 +01:00
Sebastian McKenzie
ac5dcf2884
add support for eslint colons in visitors
2015-09-01 05:00:38 +01:00
Sebastian McKenzie
b7c91178a9
fix babel-runtime build-dist requires
2015-09-01 05:00:24 +01:00
Sebastian McKenzie
68e1a442c5
don't deopt _guessExecutionStatusRelativeTo on specific function cases
2015-09-01 05:00:14 +01:00
Sebastian McKenzie
1895ee02b5
add Path#isStatic
2015-09-01 04:59:52 +01:00
Sebastian McKenzie
1d31db29a5
identify function parameters as binding parameters
2015-09-01 04:59:40 +01:00
Sebastian McKenzie
0bf747c214
convert stragellers to unoverloaded Literal nodes
2015-09-01 04:58:44 +01:00
Sebastian McKenzie
59f71a3a09
add validation to babel-types - fixes #1858
2015-09-01 04:58:11 +01:00
Sebastian McKenzie
ab78685124
remove deprecated features
2015-09-01 04:57:10 +01:00
Sebastian McKenzie
23e0aa8b60
move polyfill dist to babel-polyfill package
2015-09-01 04:56:35 +01:00
Sebastian McKenzie
15f73b4fc3
remove noisy comments/documentation
2015-09-01 04:56:03 +01:00
Sebastian McKenzie
8d7b3c462f
unoverload Literal AST node
2015-09-01 04:49:16 +01:00
Sebastian McKenzie
947ded1563
Merge pull request #2238 from prathamesh-sonpatki/doc-path-context
...
Document some methods from path/context.js
2015-09-01 04:31:17 +01:00
Sebastian McKenzie
19da69e7b4
Merge pull request #2235 from prathamesh-sonpatki/doc-ensure-callbacks-are-arrays
...
Document ensureCallbackArrays method from visitors.js
2015-09-01 04:30:36 +01:00
Sebastian McKenzie
310f38f3e7
remove polyfill from main package
2015-08-29 20:16:56 -07:00
Sebastian McKenzie
9908f2420d
bump babel-plugin-react-display-name
2015-08-29 20:16:49 -07:00
Sebastian McKenzie
faa5cbbd08
Merge branch 'master' into development
...
Conflicts:
packages/babel/package.json
packages/babel/src/traversal/scope/index.js
2015-08-27 16:42:21 -07:00
Sebastian McKenzie
442f1173d2
v5.8.23
2015-08-27 16:38:34 -07:00
Sebastian McKenzie
badf357e4d
properly register a binding when pushing it to the scope
2015-08-27 16:29:13 -07:00
Sebastian McKenzie
8067aa65ab
properly register a binding when pushing it to the scope
2015-08-27 16:28:59 -07:00
Sebastian McKenzie
061ba7b2a2
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
packages/babel/scripts/build-dist.sh
2015-08-27 11:12:00 -07:00
Sebastian McKenzie
b8d53c1811
fix predence of destructuring parameters - fixes #2269
2015-08-27 11:10:22 -07:00
Seth Call
92a4259d08
* use node instead of printf to print BOM to avoid issues with OS/bash differences (issue #2255 )
2015-08-27 06:25:42 -05:00
Cesar Andreu
c44858207e
Start ObjectTypeProperty's optional property as false in each loop
2015-08-27 00:07:26 -04:00
Cesar Andreu
fe86c0a4e9
Add failing flow ObjectTypeProperty test
2015-08-26 06:51:12 -04:00
Sebastian McKenzie
310de83b63
update function arity to be the number of params to the left of a default/rest - fixes #2262
2015-08-25 17:33:05 -07:00
Sebastian McKenzie
56c2903811
fix duplicate declarations
2015-08-24 15:33:36 -04:00
Sebastian McKenzie
217a05ef9d
add the ability to mark node paths
2015-08-24 15:33:27 -04:00
Sebastian McKenzie
171ba75140
split up block scoping transformer and embed TDZ into the main one rather than having a separate transformer
2015-08-24 15:32:48 -04:00
Sebastian McKenzie
f66090d383
add plugin modes
2015-08-24 15:32:20 -04:00