Sebastian McKenzie
6a4e93bf0f
make visitor validation more anal, add node type wrappers, add mixin support to visitor explosion, allow visitor entrance/exit to provide an array of callbacks to use rather than limiting it to a single callback
2015-05-05 01:44:01 +01:00
Sebastian McKenzie
4328e920d2
5.2.12
2015-05-05 00:15:48 +01:00
Sebastian McKenzie
bbbf0a895d
v5.2.12
v5.2.12
2015-05-05 00:13:57 +01:00
Sebastian McKenzie
3289b33806
remove no self node replacement error
2015-05-05 00:13:07 +01:00
Sebastian McKenzie
f4b9faa6b3
clean up module declaration based UID generation - fixes #1437
2015-05-04 22:36:18 +01:00
Sebastian McKenzie
239b77816f
5.2.11
2015-05-04 22:33:26 +01:00
Sebastian McKenzie
8565e2b4e5
v5.2.11
v5.2.11
2015-05-04 22:32:28 +01:00
Sebastian McKenzie
4317a46a3e
add 5.2.11 changelog
2015-05-04 22:31:44 +01:00
Sebastian McKenzie
81ca29adc3
5.2.10
2015-05-04 22:31:38 +01:00
Sebastian McKenzie
c1a6ff7f44
rename getModuleName option to getModuleId
2015-05-04 22:31:34 +01:00
Sebastian McKenzie
7e6e5d4746
v5.2.10
v5.2.10
2015-05-04 22:23:39 +01:00
Sebastian McKenzie
12d650e195
checkSelf() for destructuring catch clauses
2015-05-04 22:22:39 +01:00
Sebastian McKenzie
8fb58492df
fix default specifiers not taking into consideration sourced imports
2015-05-04 22:20:52 +01:00
Sebastian McKenzie
2c0c2f12df
avoid trying to replace a node with itself, antipattern!
2015-05-04 22:20:52 +01:00
Sebastian McKenzie
01e5354fd9
disallow replacing a node with itself
2015-05-04 22:20:52 +01:00
Sebastian McKenzie
0b100c4273
Merge pull request #1386 from jayphelps/module-id-overload
...
Added getModuleName() option as a function
2015-05-04 22:20:31 +01:00
Jay Phelps
340e75eb59
Added getModuleName() option as a function, allowing you to manipulate the name as needed
2015-05-04 13:30:57 -07:00
Sebastian McKenzie
53808a6d45
fix test/core/path imports
2015-05-04 15:25:35 +01:00
Sebastian McKenzie
e6326332b6
properly coerce input code to string - fixes #1432
2015-05-04 15:08:18 +01:00
Sebastian McKenzie
9e0cf84505
adds test for #1431
2015-05-04 15:06:27 +01:00
Sebastian McKenzie
b7eea7b08c
Merge pull request #1431 from pangratz/fix_replaceWithSourceString
...
Fix bugs in `replaceWithSourceString`
2015-05-04 15:00:27 +01:00
pangratz
92dd67856e
Fix bugs in replaceWithSourceString
...
This fixes 2 bugs within `replaceWithSourceString`:
- `code` is undefined as it should be `replacement`
- the expression of the parsed replacement hasn't been accessed correctly
2015-05-04 09:33:32 +02:00
Sebastian McKenzie
a2bb587e24
remove embedded jsx plugin and use acorn-jsx
2015-05-04 04:33:46 +01:00
Sebastian McKenzie
0c570cb599
5.2.9
2015-05-04 04:03:41 +01:00
Sebastian McKenzie
db6fab2c8f
v5.2.9
v5.2.9
2015-05-04 04:02:30 +01:00
Sebastian McKenzie
d92deb52b6
v5.2.8
v5.2.8
2015-05-04 04:00:13 +01:00
Sebastian McKenzie
b8b70f2f4a
rejigger around parse mechanics
2015-05-04 03:57:28 +01:00
Sebastian McKenzie
a8a3f6d34d
Merge branch 'master' of github.com:babel/babel
2015-05-04 03:55:25 +01:00
Sebastian McKenzie
9847d226e1
add transform import - closes babel/babel-eslint#83
2015-05-04 03:54:58 +01:00
Sebastian McKenzie
3d48a16305
Merge pull request #1417 from loganfsmyth/fix-phantom-issue-1405
...
Explicitly sort instead of relying on key ordering.
2015-05-04 03:29:30 +01:00
Sebastian McKenzie
3d24cc9ae5
Merge pull request #1224 from jcoglan/fix-source-map-pathnames
...
Correct relative pathnames in source maps.
2015-05-04 00:03:27 +01:00
Sebastian McKenzie
5acc58dd68
5.2.7
2015-05-03 23:48:48 +01:00
Sebastian McKenzie
34f02f06a6
v5.2.7
v5.2.7
2015-05-03 23:47:50 +01:00
Sebastian McKenzie
6d3fe5b85c
add 5.2.7 changelog
2015-05-03 23:45:33 +01:00
Sebastian McKenzie
3878bd812c
remove native super inheritance from classes - fixes #1424
2015-05-03 23:45:26 +01:00
Sebastian McKenzie
0717eaddce
normalise Program replacement nodes
2015-05-03 23:35:39 +01:00
Sebastian McKenzie
102cbbe493
fix up crazy parse argument order
2015-05-03 23:31:37 +01:00
Sebastian McKenzie
d981b30194
clean up file transform pipeline
2015-05-03 23:26:37 +01:00
Sebastian McKenzie
0fc02f2cf0
add support for replacing nodes with expression source strings
2015-05-03 23:02:19 +01:00
Sebastian McKenzie
f24b5164d4
add extensions option to babel cli
2015-05-03 22:43:20 +01:00
Sebastian McKenzie
4be27ee72c
update bin tests to reflect new helper format
2015-05-03 17:47:31 +01:00
Sebastian McKenzie
f0070e4828
ignore _generated FunctionDeclarations too in es6.spec.symbols transformer
2015-05-03 17:40:30 +01:00
Sebastian McKenzie
ce8beec22c
update tests to reflect new helper format
2015-05-03 17:28:32 +01:00
Sebastian McKenzie
b30bdf2294
turn inserted helper declarations into function declarations if possible
2015-05-03 17:22:51 +01:00
Sebastian McKenzie
63b44a3e6e
fix transformer and module formatter list in $ babel --help - fixes #1421
2015-05-02 23:16:37 +01:00
Logan Smyth
74aaf848ed
Explicitly sort instead of relying on implementation-defined numeric key ordering - fixes #1405 .
2015-05-01 20:00:22 -07:00
Sebastian McKenzie
95de5400e6
remove dead if statement explosion code - fixes #1413
2015-05-01 23:30:26 +01:00
Sebastian McKenzie
fe7079802b
move deadCodeElimination transformer up - fixes #1409 , fixes #1408
2015-05-01 23:24:16 +01:00
Sebastian McKenzie
61ddb14e25
Merge branch 'master' of github.com:babel/babel
2015-05-01 23:14:58 +01:00
Sebastian McKenzie
ca7a93cd64
move utility.deadCodeElimination transformer to minification
2015-05-01 23:13:48 +01:00