Henry Zhu
483958b24d
fix runtime helpers
...
Ref f3f907bdb3 (diff-339968af11c78f10673c78c6c7568d2fR34)
2017-03-22 18:07:11 -04:00
Guy Bedford
b75d80386c
document dynamic import support ( #5457 ) [skip ci]
2017-03-22 16:55:42 -04:00
Samuel Reed
f20da57317
Fix PathHoister attaching to default parameters. ( #5415 )
...
* Fix PathHoister attaching to default parameters.
Ref: #5315
* Update hoister.js
2017-03-22 16:37:53 -04:00
Patrick Williams
b2c977a1b0
Seperate version env cache files ( #5411 )
2017-03-22 16:29:29 -04:00
jddxf
7e25dccc6e
Update babel-generator's README ( #5517 ) [skip ci]
2017-03-22 16:25:42 -04:00
Robert Jackson
c4ebc8553b
Properly preserve import ordering with AMD format. ( #5474 )
...
Previously, all "bare imports" (e.g. `import './foo';`) were moved to the
end of the array of sources. I presume this was done to remove needless
variables in the callback signature.
Unfortunately, doing this actually changes the intent of the program.
Modules should be evaluated in the order that they were in the source.
In the case of a bare import, it is quite possible that the bare import
has side effects that a later required module should see. With the current
implementation the later imported modules are evaluated before that "side
effecty" module has been evaluated.
Obviously, it is better to avoid these sorts of side effect ridden modules
but even still you could imagine a similar issue with cycles.
This change ensures that module source order is preserved in the AMD
dependencies list, and avoids making needless variables as much as possible.
2017-03-22 16:24:17 -04:00
Henry Zhu
b638c8b3eb
Transform the template literals revision proposal ( #5523 )
...
* Account for template literals revision
* extra tests
* update to babylon beta 7
* pr feedback (keep arr length the same)
2017-03-22 16:07:36 -04:00
Henry Zhu
e4e1cb0bda
7.0.0-beta.7
2017-03-22 14:07:10 -04:00
Henry Zhu
9f7d9080cf
remove babylon plugin for template revision since it's stage-4 ( #426 )
2017-03-22 14:05:56 -04:00
Henry Zhu
492ee95f27
Merge pull request #5522 from babel/update-babylon
2017-03-22 10:49:29 -04:00
Daniel Tschinder
32eabf620b
Fix push-pop logic in flow ( #405 )
2017-03-22 10:25:10 +01:00
Sven SAULEAU
2b774f46fb
fix: handle bailed when recursive convert ( #5499 )
2017-03-22 09:18:37 +01:00
Arshabh Kumar Agarwal
a55f38b127
Changes the throw error for test in super-illegal-non-constructor-call ( #5450 )
2017-03-22 00:24:28 -04:00
Henry Zhu
ceb68f5bb7
babylon@7.0.0-beta.6
2017-03-22 00:24:00 -04:00
Henry Zhu
af5fdc2ebd
7.0.0-beta.6
2017-03-22 00:08:04 -04:00
Henry Zhu
ad1eb149fe
update lock [skip ci]
2017-03-22 00:07:32 -04:00
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