Sebastian McKenzie
c4b2818336
remove useless kind on import declarations
2015-04-13 14:55:46 -07:00
Sebastian McKenzie
061561bfd8
add proper ecmaVersion and sourceType to parse api
2015-04-13 14:55:37 -07:00
Sebastian McKenzie
e12b377014
don't fall back to runtime catch all on locally declared variables
2015-04-13 14:26:06 -07:00
Sebastian McKenzie
5fd5b815ab
fix whitespace in resolveRc
2015-04-13 14:25:47 -07:00
Sebastian McKenzie
92db8312f6
add parse api
2015-04-13 14:25:37 -07:00
Sebastian McKenzie
57c72d1cd0
fix syntax error in runtime definitions
2015-04-13 09:35:35 -07:00
Sebastian McKenzie
335bdffec2
add missing Reflect methods to runtime transformer #1248
2015-04-13 09:34:45 -07:00
Sebastian McKenzie
5adda836af
don't do TCO on generators and async functions - fixes #1251
2015-04-13 09:21:59 -07:00
Sebastian McKenzie
087c714098
simplify runtime transformer traversal and add a catch-all - fixes #1248
2015-04-13 09:20:28 -07:00
Sebastian McKenzie
5f8667eaa7
make parsing of decorators stateless - fixes shuhei/babel-angular2-app#4
2015-04-13 08:26:51 -07:00
Sebastian McKenzie
8df1d81ca4
fix iterable runtime name
2015-04-13 00:51:50 -07:00
Sebastian McKenzie
a505e4a121
aAdd getIterator and isIterable to babel-runtime build script - fixes #1243
2015-04-13 00:48:19 -07:00
Sebastian McKenzie
1583262807
add missing runtime symbol definitions - fixes #1242
2015-04-13 00:12:59 -07:00
Sebastian McKenzie
bb70f37123
Merge branch 'master' of github.com:babel/babel
2015-04-12 20:59:26 -07:00
Sebastian McKenzie
8a0317132e
deopt array unpack optimisation on member expressions - fixes #1241
2015-04-12 20:59:17 -07:00
Sebastian McKenzie
f598c70841
Merge pull request #1215 from AluisioASG/es7-trailing-function-commas
...
ES7 trailing function commas
2015-04-12 19:17:02 -07:00
Sebastian McKenzie
61b57ea055
rejigger decorator alias
2015-04-12 19:10:22 -07:00
Sebastian McKenzie
a971ad7fd2
Merge branch 'master' of github.com:babel/babel
2015-04-12 19:07:19 -07:00
Sebastian McKenzie
27b6f804ce
clean up class decorators #1185
2015-04-12 19:06:59 -07:00
James Railton
0c2bf2f5a2
Fix broken dead-code-removal case.
...
The "test" local variable was removed with path work. The last dead-code-removal check used this var. By reintroducing the local var, the unknown variable reference is fixed.
2015-04-12 18:52:37 -07:00
Sebastian McKenzie
bbc951dfe1
fix decorators order - thanks to some random japanese tweet i translated...
2015-04-12 09:05:46 -07:00
Sebastian McKenzie
b3e4aefe12
update runtime transformer to not use $for module - cc @zloirock
2015-04-12 09:00:32 -07:00
Sebastian McKenzie
26b5174dfa
add descriptor for all class properties - fixes #1235
2015-04-12 08:53:01 -07:00
Sebastian McKenzie
652d3c7320
move eval and arguments identifier handling to nameMethod helper
2015-04-11 20:51:01 -07:00
Sebastian McKenzie
edc2cd320c
don't consider eval and arguments valid identifiers - fixes #1232
2015-04-11 20:45:44 -07:00
Sebastian McKenzie
274a6e01dc
add support for inheriting from statically inlined native constructors - closes #1172
2015-04-11 19:47:11 -07:00
Sebastian McKenzie
3561efdb86
update runtime transformer to modular core-js - fixes #1206
2015-04-11 19:07:39 -07:00
Sebastian McKenzie
1a30f1aafc
fix regression with completion records for assignment expressions - fixes #1204
2015-04-11 18:13:47 -07:00
Sebastian McKenzie
e362512af3
switch to my branch of regenerator - #1123 , fixes #1015
2015-04-11 17:59:14 -07:00
Sebastian McKenzie
cf5d2429b4
add support for replacement of for inits with statements - fixes #1217
2015-04-11 17:40:12 -07:00
Sebastian McKenzie
72098036b2
remove useless this from lodash map
2015-04-11 17:39:50 -07:00
Sebastian McKenzie
7905f48280
clean up dynamic imports, disable hoisting in system module formatter when **any** dynamic imports are included - fixes #1219
2015-04-11 17:22:48 -07:00
Sebastian McKenzie
5326e0543d
fix scope tracking for constants in loop heads - fixes #1229
2015-04-11 16:39:18 -07:00
Sebastian McKenzie
98c5255b91
add support for object literal decorators - fixes #1154
2015-04-11 16:30:55 -07:00
Sebastian McKenzie
2a9777cc20
add solo helpers
...
# Conflicts:
# src/babel/transformation/file/index.js
2015-04-11 14:33:56 -07:00
Sebastian McKenzie
070152f6c1
parse await expression as a unary instead of an assignment - fixes #1225
2015-04-10 15:23:11 -07:00
Sebastian McKenzie
719fdf5ca1
set canBeArrow to true when parsing async functions
2015-04-10 13:51:30 -07:00
Sebastian McKenzie
f2460c6173
update to latest acorn
2015-04-10 13:44:50 -07:00
Sebastian McKenzie
155c640409
remove null regex check - fixes #1222
2015-04-10 13:44:41 -07:00
Sebastian McKenzie
4e6aed0408
don't shadow default parameter scope iife and instead just apply the this and arguments - fixes #1128
2015-04-09 14:58:33 -07:00
Sebastian McKenzie
704b31f44f
use path basename as non-default import fallback - fixes #1207
2015-04-09 14:36:00 -07:00
Lee Byron
7ff67589a7
Update package dependencies
...
Babel currently relies on some older versions of some dependencies. When using babel alongside other projects which use similar dependencies, this can cause npm to install multiple versions of these or to result in Babel loading a version of a dependency it doesn't claim to support.
This was mostly clean, though esutils did have a minor API change.
2015-04-09 13:38:20 -07:00
Brian Donovan
80f109efeb
Ensure arrow function bodies are wrapped in parens if needed.
...
Closes #1214 .
2015-04-09 11:50:52 -07:00
Sebastian McKenzie
c9e7c306cc
don't emit tokens when doing a lookahead
2015-04-09 06:44:16 -07:00
Surya Gaddipati
4155590cd8
Fix typo
2015-04-08 18:00:03 -05:00
Sindre Sorhus
cf51bf1395
modularize user-home
...
No reason Babel should have to care about the intricacies of this.
This module is already used by `bower`, `eslint`, `yo`, etc.
2015-04-08 22:59:16 +07:00
Sebastian McKenzie
c12c4a5c39
don't touch function name containers when remapping modules - fixes #1160
2015-04-08 08:52:53 -07:00
Sebastian McKenzie
93feabb82e
fix forOf loop inheritance - fixes #1169
2015-04-08 08:10:53 -07:00
Sebastian McKenzie
982c142bf6
Merge branch 'master' of github.com:babel/babel
2015-04-08 07:47:52 -07:00
Sebastian McKenzie
de5520a94f
disable scope caching
2015-04-08 07:42:04 -07:00