485 Commits

Author SHA1 Message Date
Sebastian McKenzie
39fbd550c4 also transforming of File asts 2015-08-12 02:57:36 +01:00
Sebastian McKenzie
f923b2f5a4 remove object helper 2015-08-12 02:57:30 +01:00
Sebastian McKenzie
8c44aa4874 add more jsx tests 2015-08-12 02:57:18 +01:00
Sebastian McKenzie
67c96b6ed5 move babel polyfill into a separate package 2015-08-12 02:57:12 +01:00
Sebastian McKenzie
3ef9bffcc2 split up babel core into multiple modules 2015-08-11 17:40:59 +01:00
Sebastian McKenzie
a179f9a48b fix various bugs surfaced by the esprima test suite, remove some incorrect tests 2015-08-11 16:58:20 +01:00
Sebastian McKenzie
1a4f18aab7 inline traceur tests, removing git submodules 2015-08-11 16:57:51 +01:00
Sebastian McKenzie
57fd619c76 Merge branch 'master' into development 2015-08-11 01:05:04 +01:00
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
Sebastian McKenzie
d0729fc731 add t.directive 2015-08-11 00:59:22 +01:00
Sebastian McKenzie
415d1271b9 add esprima tests and fix bugs picked up by it 2015-08-11 00:59:15 +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
Sebastian McKenzie
2afad4b7e9 forward all arguments to parseClassId in flow parser plugin 2015-08-10 13:10:32 +01:00
Sebastian McKenzie
e165e09467 make Directive virtual type check more reliable 2015-08-10 13:04:22 +01:00
Sebastian McKenzie
4c71038bce fix export default function expression disambiguation - fixes #2189 2015-08-10 13:04:08 +01:00
Sebastian McKenzie
34bc8b0aea disallow let and modules in babel-node REPL 2015-08-09 20:37:18 +01:00
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
Sebastian McKenzie
04c2c54700 add exception to non-existent bindings when checking if we need to wrap in a closure 2015-08-03 02:40:43 +01:00
Darío Javier Cravero
79d70d85db Fix typo on babel-plugin publish: verison x version 2015-08-02 22:37:47 +01:00
Sebastian McKenzie
89983cead9 make comment retainment for multiple nodes more predictable - fixes #2146 2015-08-02 21:37:12 +01:00
Sebastian McKenzie
dea349c4d4 check valid function/class token when parsing export default before converting to a declaration - fixes #2145 2015-08-02 21:36:52 +01:00
Logan Smyth
c738d8d388 Map commonjs named imports back to the correct location - fixes #1987 2015-08-01 11:38:14 -07:00
Sebastian McKenzie
b5bd7b1c92 always parse package.json with default json parser, use json5 otherwise 2015-07-31 23:36:50 +01:00
Sebastian McKenzie
855ee71d59 add support for export types 2015-07-31 23:34:45 +01:00
Sebastian McKenzie
8352730ff5 v5.8.20 2015-07-31 21:24:00 +01:00
Sebastian McKenzie
3d8c0fe0f8 remove strip-json-comments and switch to json5 2015-07-31 21:21:13 +01:00
Sebastian McKenzie
2a2c67ad26 var -> let 2015-07-31 12:56:10 +01:00
Sebastian McKenzie
e96b635ac0 only register export declarations if they're of a valid type 2015-07-31 12:54:00 +01:00
Sebastian McKenzie
e2d673dafa don't register export declarations as a module binding 2015-07-31 12:49:14 +01:00
Sebastian McKenzie
c4e43bdeea add error name to babel-cli syntax errors 2015-07-31 12:48:52 +01:00
Sebastian McKenzie
2d73acdd54 Merge branch 'master' into development 2015-07-31 12:45:13 +01:00