Sebastian McKenzie
eae82799e6
loop over all directives to check for use strict
2015-09-15 06:16:57 +01:00
Sebastian McKenzie
8a13465f80
use hasFeature rather than directly looking up options
2015-09-15 06:16:46 +01:00
Sebastian McKenzie
dae16fa192
add directives property to Program and BlockStatement
2015-09-15 06:16:07 +01:00
Sebastian McKenzie
5ea5d47d7f
add babylon hasFeature util method
2015-09-15 06:15:19 +01:00
Sebastian McKenzie
e1575c468c
rename features in babylon tests
2015-09-15 06:13:11 +01:00
Sebastian McKenzie
9969224a93
add more plugins, rename some
2015-09-15 06:12:46 +01:00
Sebastian McKenzie
3e8cbc60eb
export babel-template from babel-core
2015-09-15 06:11:38 +01:00
Sebastian McKenzie
daa95ad400
simplify parse helper options
2015-09-15 06:11:25 +01:00
Sebastian McKenzie
248d457d87
remove parse API from referring to transformers
2015-09-15 06:11:14 +01:00
Sebastian McKenzie
6e38c037d5
removal redundant comments
2015-09-15 06:10:52 +01:00
Sebastian McKenzie
c7130181f7
clean up browser API
2015-09-15 06:10:38 +01:00
Sebastian McKenzie
95e36e10be
update babel-node with plugins and presets option
2015-09-15 06:10:17 +01:00
Sebastian McKenzie
37172857b4
Merge pull request #2379 from bradencanderson/defaults_correct_remap
...
RHS of AssignmentPattern can be a reference to a bound variable
2015-09-14 17:36:22 +01:00
Braden Anderson
9780858722
RHS of AssignmentPattern can be a reference to a bound variable
2015-09-14 17:25:23 +07:00
Sebastian McKenzie
bd9b86d6d5
Merge pull request #2316 from andrewimm/development
...
Let dead code elimination run over exported functions
2015-09-14 03:38:55 +01:00
Henry Zhu
f742806978
evaluation: tests for UnaryExpression and BinaryExpression
2015-09-12 20:11:33 -04:00
Sebastian McKenzie
f18f79cc6d
Merge pull request #2293 from andrewimm/master
...
Allow more certainty when evaluating Logical Expressions
2015-09-12 18:59:48 +01:00
Henry Zhu
95e63fd9c9
evaluation: don't evaluate in and instanceof binary exp - fixes #2355
2015-09-11 00:41:03 -04:00
Sebastian McKenzie
8d422bb69c
v5.8.24
2015-09-10 20:13:20 +01:00
Ben Alpert
52fb99a341
Reorder React element properties for consistent hidden class
2015-09-10 01:22:06 -07:00
Ben Alpert
1d0e68f5a1
Include $$typeof on inlined React elements
...
See https://github.com/facebook/react/pull/4832 .
2015-09-10 00:02:09 -07:00
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