Jordan Scales
ca27cf135d
Revert "Merge pull request #3641 from babel/guy-fieri" ( #3646 )
...
This reverts commit 033681af8941d9678961f985c13e500c3c70f337, reversing
changes made to a2d66c0fc8ee58e82be3efd59173803e66dee3e0.
I brought you into this world, and I can take you out.
2016-08-15 11:35:39 -04:00
James Kyle
10f4546fef
Remove unnecessary import
2016-08-08 17:34:01 -07:00
James Kyle
f36d07d303
Fixes from PR comments
2016-08-08 17:32:58 -07:00
James Kyle
9eb12e2c34
Fix lint
2016-08-05 12:40:50 -07:00
James Kyle
fd89bd136f
Fix exports of babel-core
2016-08-05 12:36:08 -07:00
Brian Donovan
a1c0b5a118
Update test name to reflect reality. ( #3640 )
...
Originally pointed out by @Kovensky in https://github.com/babel/babel/pull/3635#discussion_r73652441 .
2016-08-05 10:12:33 -04:00
Henry Zhu
a8324712a5
v6.13.2
2016-08-05 09:51:34 -04:00
Henry Zhu
7213e57ee2
add tests, be able to pass preset options to test helper
2016-08-05 09:36:52 -04:00
Christophe Hurpeau
425d460ebf
[Bug Fix] option manager: val = val.buildPreset should be before the check if the preset supports options
2016-08-05 12:06:07 +02:00
Logan Smyth
f3ad8a8392
v6.13.1
2016-08-04 21:12:12 -07:00
Logan Smyth
11badb556f
Add comment to explain enumerability logic.
2016-08-04 21:06:59 -07:00
Logan Smyth
66317b10db
Fix backward-compatibility of babel-preset-es2015 - fixes T7536
2016-08-04 20:55:20 -07:00
Henry Zhu
eaea1276a4
add quotes [skip ci]
2016-08-04 21:34:53 -04:00
Henry Zhu
6ab3e35075
v6.13.0
2016-08-04 19:34:51 -04:00
Henry Zhu
c6354a2132
es2015: transpile the preset, modify modules option to support "amd,umd,systemjs" as well, tests ( #3627 )
...
* es2015: transpile the preset, at spec option
* es2015: add support for modules option
* fixes + tests
* fixup preset error messsage
* es2015: update readme [skip ci]
* pass loose to other module transforms
2016-08-04 17:54:04 -04:00
Erik Desjardins
aeb42c2228
Fix bug where path.evaluate treats repeated identifiers as undefined ( #3557 )
...
* babel-traverse: add test to demonstrate repeated identifiers being evaluated to `false`
* fix typo: `value` -> `val`
* path.evaluate: only mark item as resolved if we're confident
2016-08-04 16:58:41 -04:00
Daniel Tseng
d0c82f0d8a
Missing FlowType definition opts.deprecatedAlias ( #3628 )
...
Added missing FlowType definition `opts.deprecatedAlias` for `defineType()` in `babel-types/src/definitions/index.js`
2016-08-04 13:40:41 -04:00
Logan Smyth
897f553dc7
Support passing options to presets. ( #3331 )
2016-08-03 22:14:16 -04:00
Henry Zhu
a959ebe223
Misc: remove deps from syntax plugins ( #3604 )
2016-08-02 23:11:50 -04:00
Henry Zhu
c331a94943
Show a more informative error message when using the decorator transform and link to the legacy one [skip ci] ( #3626 )
2016-08-02 20:47:03 -04:00
Henry Zhu
be02536f18
remove minify plugins (will be in another repo) ( #3621 )
2016-08-02 07:20:08 -04:00
Douglas Wade
f3d3c899c1
Move decorators to stage 2 ( #3613 )
2016-08-02 10:47:45 +02:00
Kristóf Poduszló
8f60dbb4a9
Move babel-plugin-transform-class-properties to stage 2 ( #3611 )
2016-08-01 21:12:52 -04:00
battaile
3a677400f8
add description ( #3614 ) [skip ci]
2016-07-29 14:49:39 -04:00
Henry Zhu
698ef139bc
v6.12.0
2016-07-27 15:23:17 -04:00
Henry Zhu
18238ac072
Docs: add helpers to readme [skip ci]
2016-07-27 10:58:11 -04:00
Sebastian McKenzie
3b4b3656a8
Fix React constant elements transform from hoisting elements to positions where their referenced bindings haven't been evaluated yet ( #3596 )
2016-07-27 10:54:21 -04:00
Sebastian McKenzie
8d14f9f4d0
Add helpers: false option to babel-plugin-transform-runtime ( #3603 )
2016-07-27 10:36:58 -04:00
Henry Zhu
0ff1f089bb
Fix: use correct identifier in template - fixes T7509 ( #3602 )
2016-07-27 09:24:26 -04:00
Richard Macklin
55a25c271a
Simplify accum to just be a memberExpression not an array
2016-07-26 22:38:40 -07:00
Richard Macklin
fcb50de89b
Remove unnecessary checking for "." since the code works in either case
2016-07-26 22:38:40 -07:00
Richard Macklin
6c9f241812
Add test case for overriding exported global name without specifying the moduleId or moduleIds options
2016-07-26 22:38:40 -07:00
Richard Macklin
ac9487abf3
Add the ability to override the exported global using the globals map
...
when `exactGlobals` is true
2016-07-26 22:38:39 -07:00
Richard Macklin
c252d3dae6
Add exactGlobals option to transform-es2015-modules-umd plugin
...
to enable more flexibility specifying global names
2016-07-26 22:38:39 -07:00
Richard Macklin
8b0179e2d5
Fix typo in transform-es2015-modules-umd plugin README
...
and specify json as the language for the subsequent code block
2016-07-26 22:38:39 -07:00
Henry Zhu
55f20afe1c
v6.11.6
2016-07-26 18:12:25 -04:00
Henry Zhu
7ee2381955
Revert "Correct source map paths for babel-register." ( #3599 )
2016-07-26 18:07:29 -04:00
Aliaksei Sapach
83522c9cb5
fix: systemjs - hoist named function exports ( #3594 )
2016-07-26 18:06:42 -04:00
Henry Zhu
c5836b0bc2
Misc: remove unused devDep [skip ci]
2016-07-25 09:44:44 -04:00
Henry Zhu
98dea13afa
v6.11.5
2016-07-23 14:09:34 -04:00
Henry Zhu
253918c30f
Fix buildExportAll to account for commonjs/amd/systemjs ( #3591 )
...
* Fix buildExportAll to account for commonjs/amd
If the re-exported module was generated with Babel and it is a commonjs or amd module and so is the current module, this will result in an attempt to redefine the __esModule property, which throws a runtime error.
* Add test: don't overwrite __esModule on re-export
(Failing.)
* fixup tests
* Add fix for systemjs
2016-07-23 13:21:07 -04:00
Rolf Timmermans
c8bd9e3ffb
Correct source map paths for babel-register. ( #3523 )
2016-07-22 11:11:31 -04:00
Keyan Zhang
879f69f0fb
infer class name for classes that have static properties ( #3589 )
2016-07-22 09:50:03 -04:00
Thomas Grainger
a289dfbbab
The config name is sourceMaps not sourceMap ( #3588 )
2016-07-21 10:10:58 +02:00
Henry Zhu
6e58954bce
v6.11.4
2016-07-19 21:59:53 -04:00
Logan Smyth
210c3f7da9
Merge pull request #3564 from jamestalmage/lazy-require-hook
...
Extract config file resolution from OptionsManager
2016-07-19 18:24:45 -07:00
Logan Smyth
40ec299df5
Merge pull request #3583 from jhen0409/patch-3
...
Add block if parent is non-block statement for remove-console/debugger
2016-07-18 22:21:10 -07:00
Jhen
6cb3e5ed1f
Add statement-no-block test fixture for remove-console/debugger
2016-07-19 13:02:29 +08:00
Jhen
e464b9ab87
Add block if parent is no block statement for remove-console/debugger
2016-07-19 12:56:29 +08:00
Logan Smyth
ea426baa07
Avoid duplicated identifier sharing location - fixes T7436
2016-07-18 20:49:14 -07:00