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
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
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
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
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
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
Sebastian McKenzie
112e0890fb
remove babel 5 backwards compat cli shim
2015-08-24 15:31:53 -04:00
Sebastian McKenzie
559272bb02
fix weird legacy acorn formatting
2015-08-24 15:31:41 -04:00
Sebastian McKenzie
1de8a57102
never attempt to represent regexes natively
2015-08-24 15:31:30 -04:00
Sebastian McKenzie
daf171770a
add support for evaluating template literals
2015-08-17 15:09:30 -07:00
Sebastian McKenzie
a4a347b4f0
Merge branch 'master' into development
...
Conflicts:
packages/babel/src/generation/generators/flow.js
packages/babel/src/generation/generators/types.js
packages/babel/src/transformation/transformers/es6/for-of.js
packages/babel/src/traversal/path/inference/inferers.js
packages/babel/src/types/index.js
packages/babel/src/util.js
packages/babel/test/util.js
2015-08-15 19:50:34 -04:00
Henry Zhu
8c98386434
update eslint, babel-eslint, fix unused vars
2015-08-15 19:36:54 -04:00
Sebastian McKenzie
e382d34ed2
parser: don't mutate or clone state arrays when doing a lookahead - fixes #2211
2015-08-15 19:07:42 -04:00
Sebastian McKenzie
def1f8823e
don't statically evaluate Math.random - fixes babel-plugins/babel-plugin-constant-folding#1
2015-08-13 15:32:50 +01:00
Sebastian McKenzie
2cca81d4a3
remove dead packages
2015-08-12 02:57:55 +01:00