Sebastian McKenzie
33f7c0b67e
rejigger regex flag pulling
2015-03-14 02:12:13 +11:00
Sebastian McKenzie
3172b5de5d
Merge branch 'master' of github.com:babel/babel
2015-03-14 01:53:15 +11:00
Sebastian McKenzie
2c05303813
deprecate some playground transformers
2015-03-14 01:52:59 +11:00
Sebastian McKenzie
12664c6cd6
start migration of core from nodes to paths
2015-03-14 01:48:46 +11:00
Rich Harris
a00d2c33d8
fix inputSourceMap option
...
See #827 - it looks like `opts.inputSourceMap` is the wrong way round, babel should only use an input sourcemap if the `inputSourceMap` option is *not* `false`
2015-03-13 10:46:50 -04:00
Sebastian McKenzie
c906bd3edc
start migration of core from nodes to paths
2015-03-14 01:00:02 +11:00
Sebastian McKenzie
491cb26c1f
remove console.log
2015-03-13 13:29:13 +11:00
Sebastian McKenzie
4971d0c7f0
fix labeled nested for ofs - fixes #996
2015-03-13 13:25:37 +11:00
Sebastian McKenzie
bb26183b44
set inputSourceMap to null by default
2015-03-13 13:14:17 +11:00
Sebastian McKenzie
4b066f7f1b
add input sourcemap false option #827
2015-03-13 13:12:38 +11:00
Sebastian McKenzie
41a8257005
various cleanup, remove redundant whitespace, realign object keys etc
2015-03-13 01:09:04 +11:00
Sebastian McKenzie
b44ba25d11
separate binding logic from scope to a binding class, move binding type resolution to the path so it can be used on any expression - #653
2015-03-13 01:08:46 +11:00
Sebastian McKenzie
40a111abbf
always resolve rc for absolute filenames
2015-03-13 01:07:33 +11:00
Sebastian McKenzie
9cff51915d
switch scope tracking to a path based system
2015-03-12 14:35:55 +11:00
Sebastian McKenzie
3cd110a7c9
fix block scoping break switch collision - fixes #998
2015-03-12 14:35:30 +11:00
Sebastian McKenzie
a7f9e035a4
infer computed literal function names - fixes #993
2015-03-12 14:13:24 +11:00
Sebastian McKenzie
056b90831d
manually define each property in computed class helper - fixes #984
2015-03-11 07:45:29 +11:00
Sebastian McKenzie
6212791356
fix types API exposure - babel/babel-eslint#8
2015-03-11 01:14:36 +11:00
Sebastian McKenzie
dc45415ee0
hoist esModule to the top
2015-03-11 00:08:06 +11:00
Sebastian McKenzie
98ca541fde
restructure types
2015-03-11 00:04:06 +11:00
Sebastian McKenzie
8328f638c2
add support for if and block statements to t.toSequenceExpression
2015-03-10 17:20:26 +11:00
Sebastian McKenzie
5586ce280f
move build-external-helpers to tools
2015-03-10 17:20:14 +11:00
Sebastian McKenzie
0ca71f5e15
add transformation logger
2015-03-10 17:19:51 +11:00
Sebastian McKenzie
212776e220
remove detection
2015-03-10 17:19:35 +11:00
Sebastian McKenzie
f3bd9cbcb8
use a different helper if a class contains class methods to avoid non-enumerability and delegation to es6.properties.computed transformer - fixes #984 , closes #986
2015-03-10 13:04:02 +11:00
Sebastian McKenzie
3bd14f9e07
add babel version to register hook cache key
2015-03-10 13:03:22 +11:00
Sebastian McKenzie
102b4b3d1e
remove redundant break wrapping in for-of - fixes #985
2015-03-10 12:14:21 +11:00
Sebastian McKenzie
58d7a5e069
more versatile scope pushing
2015-03-10 06:13:32 +11:00
Sebastian McKenzie
2da010fcae
clean up #982
2015-03-10 06:11:55 +11:00
Ryunosuke SATO
9d7e953451
Ignore assignment to Error#stack if it is readonly property
...
`Error#stack` may be an readonly property in some environments
such as PhantomJS 1.9.2 and Safari 7.0.
2015-03-10 04:05:53 +09:00
Sebastian McKenzie
20eb143915
remove Number from the list of valid runtime constructors - fixes #981
2015-03-10 03:27:13 +11:00
Sebastian McKenzie
1302a86bf2
scope -> scopable class alias key
2015-03-10 03:22:55 +11:00
Sebastian McKenzie
fff06a047e
Revert "delegate node path removal to after call"
...
This reverts commit 5e0236d9a792a2c06e4a388ebe9c3f8f2ddac225.
2015-03-10 02:50:43 +11:00
Sebastian McKenzie
672118149a
hoist all directives - fixes #980
2015-03-10 01:53:51 +11:00
Sebastian McKenzie
5e0236d9a7
delegate node path removal to after call
2015-03-10 01:44:58 +11:00
Sebastian McKenzie
644b4373fc
rewrite named function expressions in async function transformers - fixes #979
2015-03-10 01:16:38 +11:00
Sebastian McKenzie
62f37c1e62
fix util.booleanify
2015-03-10 01:10:58 +11:00
Sebastian McKenzie
fc0e89463b
use flow types for annotations - goodbye JSDoc!
2015-03-10 00:35:52 +11:00
Sebastian McKenzie
56b6a795a4
remove path.refreshScope until i'm more confident on it's functionality so it doesn't break peopls stuff
2015-03-09 23:09:22 +11:00
Sebastian McKenzie
17b34a2959
dynamic scope tracking, toot toot - fixes #957
2015-03-09 22:07:05 +11:00
Sebastian McKenzie
c4da0253c5
move flattenable keys to types
2015-03-09 16:55:00 +11:00
Sebastian McKenzie
5f2df40f6d
consistent whitespace in patch
2015-03-09 16:54:50 +11:00
Sebastian McKenzie
7d20a9b882
add traversal path todos
2015-03-09 16:54:41 +11:00
Sebastian McKenzie
ee0ac9f149
use spread in messages
2015-03-09 16:54:30 +11:00
Sebastian McKenzie
d162919a53
update symols transformer name
2015-03-09 03:39:30 +11:00
Sebastian McKenzie
e985912b54
add Binary node cleanup
2015-03-09 03:38:27 +11:00
Sebastian McKenzie
bfe63f5885
rename spec.typeofSymbol transformer to es6.symbols
2015-03-09 03:37:26 +11:00
Sebastian McKenzie
44ca6873a3
add super to contextVariables
2015-03-09 03:37:05 +11:00
Sebastian McKenzie
dc117a74ae
both -> inline - thanks @dkieks
2015-03-08 04:29:48 +11:00
Sebastian McKenzie
b0f32a822d
pass file.addImport a name instead of an identifier
2015-03-08 04:10:53 +11:00