Amjad Masad
3667527d04
Revert "Remove flow"
...
This reverts commit 2827ff6b01dcce69e9d3c0402e96b52b3a2a47ee.
2016-03-03 14:49:20 -08:00
Amjad Masad
3744aefb4f
Merge pull request #3391 from benjamn/fix-buildExportAll
...
Make buildExportAll generate pure ES5 code.
2016-03-02 18:50:47 -08:00
Sam Goldman
2827ff6b01
Remove flow
2016-03-01 22:33:30 -08:00
Ben Newman
9acd33b93a
Make buildExportAll generate pure ES5 code.
...
The untransformed `let` keyword causes problems for older parsers. I
understand using `let` instead of `var` ensures each getter function has
its own binding for the KEY variable, but the same can be accomplished
(with less code) using a `.forEach` callback function, and this way
there's no need to worry about generating a unique name for the `key`
variable.
2016-03-02 00:08:55 -05:00
Logan Smyth
4561732bce
Revert .requeue changes made in earlier ES3 fixes.
2016-02-29 23:55:47 -08:00
Logan Smyth
0a0407be41
Re-queue remapped imports so they are re-traversed - fixes T6863
2016-02-22 22:54:28 -08:00
Logan Smyth
01003b954a
Re-queue nodes inserted with .replaceWith and centralize logic - fixes T2817
2016-02-22 22:44:03 -08:00
Sebastian McKenzie
5b89849f43
Switch to klint, fix some lint rules
2016-02-14 23:25:14 +00:00
Erik Desjardins
4142003bbd
Hoist initial exports.foo = undefined and __esModule declarations above hoisted async functions
2016-02-03 12:11:11 -05:00
59naga
c509847588
Fix T6953,T2541 export-from statement renamed default issue
...
- Use `interopRequireDefault` helper if local name is default.
Via 59naga/babel-plugin-add-module-exports#20
2016-01-20 02:54:54 +09:00
Sebastian McKenzie
f1ef0ff5e9
Merge pull request #3118 from benjamn/import-hoisting
...
Add test of import hoisting that fails when the runtime transform is used.
2016-01-19 02:20:17 +00:00
Ben Newman
e1ec9ef985
Make require declarations inherit ._blockHoist values from imports.
...
This commit fixes the failing test I introduced in pull request #3118 .
2016-01-12 18:01:31 -05:00
kpdecker
3791491b79
Strip location information from import remaps
...
Fixes https://phabricator.babeljs.io/T6851
2015-12-18 01:36:24 -06:00
Sebastian McKenzie
688dcec6a3
fix queueing of nested paths being pushed onto the priority queue
2015-11-13 03:37:15 -08:00
Sebastian McKenzie
51143beab2
add allowTopLevelThis option to babel-plugin-transform-es2015-modules-commonjs
2015-11-05 11:29:39 +00:00
Sebastian McKenzie
e62a00df50
rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral
2015-11-03 01:19:35 +00:00
Sebastian McKenzie
79f39c3be1
add strict mode plugin to module transforms
2015-10-30 04:52:29 +00:00
Sebastian McKenzie
ae7d5367f1
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00