499 Commits

Author SHA1 Message Date
Sebastian McKenzie
bfd8f41e5e Merge pull request #2372 from hzoo/evaluation-tests
evaluation: tests for UnaryExpression and BinaryExpression
2015-09-19 01:40:43 +01:00
Steven Luscher
c28007c044 Rename the define method to defineType to disambiguate from AMD's “define” 2015-09-16 17:17:11 -07: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
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
Andrew Imm
a6e0ec8371 Allow more certainty when evaluating Logical Expressions 2015-09-03 08:55:26 -07:00
Henry Zhu
5c58b52d40 evaluation: evaluate typeof UnaryExpression 2015-09-03 09:32:01 -04: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
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
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
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
Prathamesh Sonpatki
05be0678a7 Document some methods from path/context.js 2015-08-22 10:06:30 +05:30
Prathamesh Sonpatki
7745698b94 Document ensureCallbackArrays method from visitors.js 2015-08-21 22:17:50 +05:30
Henry Zhu
8c98386434 update eslint, babel-eslint, fix unused vars 2015-08-15 19:36:54 -04:00
Sebastian McKenzie
ef29444571 Merge pull request #2190 from prathamesh-sonpatki/doc-_shouldIgnore
Added documentation for _shouldIgnore method
2015-08-11 18:11:31 +01:00
Prathamesh Sonpatki
bd17eed96f Added missing tests for shouldIgnore with the :only option 2015-08-11 12:24:13 +05:30
Sebastian McKenzie
6429cc69b5 v5.8.22 2015-08-11 01:00:54 +01:00
Sebastian McKenzie
e273d9bfe1 expose File 2015-08-11 00:59:58 +01:00
Henry Zhu
f60df12449 fix broken test from regex-after-block 2015-08-10 19:31:26 -04:00
Henry Zhu
04aedf37b4 fix unexpected token issue for regex after block case
- Ex: `if (1) {} /foo/`

Fixes babel/babel-eslint#161
Ref marijnh/acorn#289
2015-08-10 19:03:13 -04:00
Prathamesh Sonpatki
6c59ffb371 Added documentation for _shouldIgnore method 2015-08-10 22:37:08 +05:30
Sebastian McKenzie
50add6753f Merge pull request #2142 from loganfsmyth/import-sourcemap
Map commonjs named imports back to the correct location - fixes #1987
2015-08-08 17:47:52 +01:00
Sebastian McKenzie
d3a73b87e9 add code frame onto err.message when in a browser - fixes #2175 2015-08-07 19:21:11 +01:00
Sebastian McKenzie
20fa6cd8f4 check for ending dot before pushing on another when trying to fix integer member expressions - fixes #2177 2015-08-07 19:11:54 +01:00
Sebastian McKenzie
3961b720be check if a node is static before using it as the reference for an object spread 2015-08-07 17:47:09 +01:00
Sebastian McKenzie
8128b35e25 properly distinguish shorthand async keys that are the last property - fixes #2176 2015-08-06 19:33:48 +01:00
Sebastian McKenzie
aba44e38b7 switch block scoping for in/of var hoisting statements - fixes #2174 2015-08-06 17:36:42 +01:00
Sebastian McKenzie
68d750120a fix patterns with async keys - fixes #2171 2015-08-05 23:22:31 +01:00
Sebastian McKenzie
5c2b22144c Merge branch 'master' of github.com:babel/babel 2015-08-05 22:45:00 +01:00
Sebastian McKenzie
314a851adb v5.8.21 2015-08-05 22:22:57 +01:00
Sebastian McKenzie
ef6ecbefaf style nits 2015-08-05 21:45:22 +01:00
Sebastian McKenzie
7e80cac728 remove operator property from AssignmentPattern 2015-08-05 21:45:11 +01:00
Sebastian McKenzie
a1ca4822dc fix handling of flow method shorthand - fixes #2169 2015-08-05 21:42:15 +01:00
Naman Goel
df9b0b818f fix typos
Found some typos while reading the code.
2015-08-05 00:26:52 +02:00
Sebastian McKenzie
6fe1909e54 simplify NodePath#inShadow 2015-08-04 13:03:49 +01:00
Sebastian McKenzie
4a17c07668 check if shadow is defined before looking it up - fixes #2152 2015-08-04 13:03:14 +01:00
Sebastian McKenzie
ee2e8d10ce update some es7 transformers to stage 2 2015-08-04 01:31:09 +01:00
Sebastian McKenzie
8596db3bac fix git exec commands in babel-plugin 2015-08-04 01:30:53 +01:00
Sebastian McKenzie
3b3ac1f290 Merge branch 'development' 2015-08-03 02:53:24 +01:00