Arshabh Kumar Agarwal
964105e3fb
Improves error message when super is called outside of constructor ( #408 )
2017-03-21 17:44:21 -04:00
Henry Zhu
0f982799b6
Merge branch '7.0'
2017-03-21 17:05:48 -04:00
Kevin Gibbons
2e467ef3bc
Add support for invalid escapes in tagged templates ( #274 )
...
Per the stage-3 TC39 proposal:
https://github.com/tc39/proposal-template-literal-revision
2017-03-21 16:55:54 -04:00
Kevin Gibbons
fab343e379
Add support for invalid escapes in tagged templates ( #274 )
...
Per the stage-3 TC39 proposal:
https://github.com/tc39/proposal-template-literal-revision
2017-03-21 16:50:34 -04:00
James Browning
5f048b4f5d
[7.0] Moved value field in spec from ObjectMember to ObjectProperty as ObjectMethod's don't have it ( #415 ) [skip ci]
2017-03-21 16:44:54 -04:00
Henry Zhu
6a94d0eb9c
7.0.0-beta.5
2017-03-21 15:56:16 -04:00
Henry Zhu
7d37017a5f
Merge pull request #5489 from loganfsmyth/conf-refactor
...
Misc fixes + Move babel-core config processing from transformation/file/options into top-level folder
2017-03-21 14:12:41 -04:00
Henry Zhu
7551a8e666
Update yarn.lock
2017-03-21 13:04:54 -04:00
Henry Zhu
4901f33423
remove unnecessary call
2017-03-21 13:03:54 -04:00
Henry Zhu
95c905c5d2
fix markdown rendering [skip ci]
2017-03-20 09:32:32 -04:00
Aaron Ang
94024961ba
Update error message when importing babel-cli ( #5507 )
2017-03-19 15:59:01 -07:00
Daniel Tschinder
0811438c82
Update flow ( #422 )
2017-03-19 22:07:16 +01:00
Andy
0545173f66
Test runner: Detect extra property in 'actual' but not in 'expected'. ( #407 )
...
* Test runner: Detect extra property in 'actual' but not in 'expected'.
Also update all expected.json where this would result in errors.
* Include rmExpected.js script in case it is needed again
2017-03-19 22:03:11 +01:00
Daniel Tschinder
82b7872cb8
Optimize travis builds ( #419 )
...
* Optimize travis builds
* Use yarn
* Fix babel tests to correctly fail
* Check against 7.0 branch of babel
2017-03-19 21:58:20 +01:00
Daniel Tschinder
ae8728c146
Merge branch 'master' into 7.0
2017-03-19 14:21:00 +01:00
Henry Zhu
b3c7337fac
Fix changelog [skip ci]
2017-03-19 14:14:00 +01:00
Artem Yavorsky
70354013f1
Fix visitor inheritance.
2017-03-19 14:46:59 +02:00
Artem Yavorsky
c42e027602
Add object rest spread syntax using plugin.
2017-03-19 14:02:01 +02:00
Diogo Franco
256fcbc58f
Treat "await" as an invalid identifier ( #4954 )
...
It is valid (outside `async` functions) in the "script" parse goal, but always invalid in the "module" parse goal.
Fixes #4952 .
2017-03-19 11:28:52 +09:00
Artem Yavorsky
18d6ba9947
Fix export array rest expected output.
2017-03-19 01:18:22 +02:00
Artem Yavorsky
c82b084927
Fix object rest params for exports.
2017-03-19 00:32:27 +02:00
Artem Yavorsky
45b41740d8
Consider default params for object pattern.
2017-03-18 16:26:22 +02:00
Artem Yavorsky
b608e28aa7
Consider rest params for array pattern in exports.
2017-03-18 16:02:06 +02:00
Artem Yavorsky
06f67e1ad3
Consider default parameters for array pattern.
2017-03-18 15:42:39 +02:00
Artem Yavorsky
b5bb89b30a
Add array pattern to exports destructuring.
2017-03-18 15:12:46 +02:00
Brian Ng
baafe486b3
Add useBuiltins and useESModules options to transform-runtime README [skip ci] ( #5481 )
2017-03-17 14:55:55 -04:00
Brian Ng
cd3dbe700c
Re-enable yarn/node 4 on travis
2017-03-17 12:47:30 -05:00
Henry Zhu
534f621183
remove unused use of removed util class
2017-03-17 10:41:19 -04:00
Logan Smyth
a15de19888
Encapsulate config loading in config/ index file.
2017-03-17 00:04:00 -07:00
Logan Smyth
3c63431c7e
Move config loading helpers into config folder.
2017-03-17 00:03:59 -07:00
Logan Smyth
f3f907bdb3
Remove unneeded helper file.
2017-03-17 00:03:59 -07:00
Logan Smyth
7b5d4fe069
Resolve parser and generator plugins in configuration resolution.
2017-03-17 00:03:59 -07:00
Logan Smyth
b71569ff6c
Remove unneeded util.js file.
2017-03-17 00:03:59 -07:00
Logan Smyth
3e2d731d50
Move the Store class to be inside transformation.
2017-03-17 00:03:59 -07:00
Logan Smyth
12a2124d16
Move the deeply nested option logic to a toplevel folder.
2017-03-17 00:03:58 -07:00
Logan Smyth
6c4810cea5
Move Plugin class to be part of config loading, independent of File.
2017-03-17 00:03:58 -07:00
Logan Smyth
05ee30c9f7
Use the standard option parser to load the internal plugins.
2017-03-17 00:03:58 -07:00
Logan Smyth
38720ae309
Remove store subclassing from Plugin class.
2017-03-17 00:03:58 -07:00
Logan Smyth
bf13ed4da0
Limit where certain arguments are allowed in Babel config.
2017-03-17 00:03:58 -07:00
Logan Smyth
344f0a68c9
Centralize preset processing from two loops to one.
2017-03-17 00:03:57 -07:00
Logan Smyth
62def8da19
Make presets consistently resolve string values relative to their config file location.
2017-03-17 00:03:50 -07:00
Logan Smyth
39c862c195
Make only/ignore relative to cwd/config file and move only/ignore checking all to core. ( #5487 )
...
* Make only/ignore relative to cwd/config file and move only/ignore checking all to core.
2017-03-16 23:22:43 -07:00
Logan Smyth
b6194a8533
Merge pull request #5467 from loganfsmyth/clean-options
...
Misc reorganizing and prep for ignore/only refactoring
2017-03-16 20:25:20 -07:00
Ryan Paul
8859715893
Removes unused lodash dependency from babel-helper-builder-react-jsx ( #5486 )
2017-03-16 16:17:37 -04:00
Brian Ng
612cce399a
Fix options header on preset-latest readme [skip ci]
2017-03-16 14:10:26 -05:00
Ryan Paul
4e96a2da5e
Removes unused lodash dep from babel-helper-builder-react-jsx ( #5484 )
2017-03-16 15:08:11 -04:00
Aaron Ang
edf2c76d63
Improve options documentation for babel-plugin-transform-runtime ( #5401 )
2017-03-16 10:37:50 -05:00
Sergey Bekrin
bf1b6ace53
update coffescript reference in readme [skip ci] ( #5475 )
2017-03-16 10:35:40 -05:00
Sven SAULEAU
ad1edc6155
Merge pull request #5477 from xtuc/fix-generator-doc
...
Update babel-generator documentation
2017-03-16 08:56:08 +01:00
Sven SAULEAU
e30197b96b
docs: [skip ci] update documentation
2017-03-16 08:53:38 +01:00