5752 Commits

Author SHA1 Message Date
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
8408244d93 add WIP build plugins 2015-08-24 15:34:31 -04: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
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
Sebastian McKenzie
daf171770a add support for evaluating template literals 2015-08-17 15:09:30 -07:00
Sebastian McKenzie
6f4f3b784a update babel 2015-08-17 14:34:39 -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
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