5239 Commits

Author SHA1 Message Date
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
Sebastian McKenzie
e2b39084a4 Merge pull request #2216 from hzoo/update-eslint
update eslint, babel-eslint, fix unused vars
2015-08-15 19:39:51 -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
Sebastian McKenzie
ebc80fe804 add missing npmignore files to packages 2015-08-12 02:57:46 +01:00
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
ef29444571 Merge pull request #2190 from prathamesh-sonpatki/doc-_shouldIgnore
Added documentation for _shouldIgnore method
2015-08-11 18:11:31 +01:00
Sebastian McKenzie
e46c5b2398 Merge pull request #2197 from prathamesh-sonpatki/tests-for-should-ignore-with-only
Added missing tests for shouldIgnore with the :only option
2015-08-11 18:11:27 +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
Prathamesh Sonpatki
bd17eed96f Added missing tests for shouldIgnore with the :only option 2015-08-11 12:24:13 +05:30
Sebastian McKenzie
57fd619c76 Merge branch 'master' into development 2015-08-11 01:05:04 +01:00
Sebastian McKenzie
f8a2efb76f add 5.8.22 changelog 2015-08-11 01:04:37 +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
Sebastian McKenzie
f43e6d4ca8 Merge pull request #2195 from hzoo/i-fix-test
fix broken test from regex-after-block
2015-08-11 00:36:08 +01:00
Henry Zhu
f60df12449 fix broken test from regex-after-block 2015-08-10 19:31:26 -04:00
Sebastian McKenzie
55e1c0a4f9 Merge pull request #2194 from hzoo/i-babel-eslint-161
fix unexpected token issue for regex after block case
2015-08-11 00:07:03 +01: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
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
71a72ced0a clean up publish script to push tags 2015-08-05 22:44:33 +01:00
Sebastian McKenzie
637b708777 add 5.8.13-5.8.21 changelog 2015-08-05 22:44:15 +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
Sebastian McKenzie
00262e4646 Merge pull request #2156 from nmn/patch-1
fix typos
2015-08-04 23:28:43 +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