Ajay Narain Mathur
3cdb7d7f0f
added instanceOf plugin to preset es2015 ( #6257 )
...
* added instanceOf plugin to preset es2015
* fixed test cases
2017-09-17 17:33:42 -04:00
Logan Smyth
634c750558
Ensure helpers that reference globals continue to reference the globals properly.
2017-09-12 22:15:16 -07:00
Logan Smyth
158e9fbfd7
Represent helpers as simple modules.
2017-09-12 22:15:16 -07:00
Sven SAULEAU
0c5fae2faa
Make sure source type is module when parsing .mjs ( #5700 )
...
* feat: force source type module for mjs extension
* style: fix lint
2017-09-12 20:59:00 -07:00
Logan Smyth
1e750a945c
Convert CommonJS to use new shared implementation.
2017-09-12 17:17:41 -07:00
Logan Smyth
47a254025a
Return a unique identifier node for each use.
2017-09-12 17:17:41 -07:00
Henry Zhu
1c13250807
v7.0.0-beta.0
2017-09-11 23:01:41 -04:00
Mateusz Burzyński
c47258d68c
Annotating transformed classes with #__PURE__ comment ( #6209 )
2017-09-11 11:18:37 -04:00
Lukas Geiger
b6467a68ca
Add option to define output directory relative to the input ( #5421 )
...
* Fix output directory if filename is given
* Add test for relative output path
* Add option to define output dir relative to input
* Add tests for --copy-files
* Test error handling for wrong arguments
2017-09-09 20:38:06 -04:00
Mateusz Burzyński
76161e0a73
Added new outputType - module - for build-external-helpers tool. Should help with tree-shaking story. It's strongly influenced by how the helpers are transformed by rollup-plugin-babel. ( #5916 )
2017-08-31 23:44:24 -04:00
Daniel Tschinder
ab30fa54cb
Update debug to 3.0 ( #6184 )
2017-08-31 23:30:04 -04:00
Daniel Tschinder
44f6ff5e85
Update prettier, eslint + plugins, flow, husky and lint-staged ( #6183 )
2017-08-31 22:56:29 +02:00
Henry Zhu
b82b65a31e
v7.0.0-alpha.20
2017-08-30 15:02:49 -04:00
Logan Smyth
d79a7920a1
Merge pull request #5586 from loganfsmyth/config-dependency-cycles
...
Handle cycles of plugins compiling themselves and .babelrc.js files loading themselves
2017-08-29 15:11:51 -07:00
Logan Smyth
2846e06db1
Add dependency cycle handing for plugins and config files.
2017-08-29 14:57:34 -07:00
Logan Smyth
beff7809ea
Add debug() calls for config loading.
2017-08-29 14:57:33 -07:00
Henry Zhu
0a4f1b0a6e
update babylon beta.22 ( #6167 )
2017-08-29 17:53:29 -04:00
Mateusz Burzyński
fffa604023
Fixed regenerator related fixtures
2017-08-16 10:02:33 +02:00
Henry Zhu
79f4956948
v7.0.0-alpha.19
2017-08-07 18:21:08 -04:00
Henry Zhu
66ec5263a4
Use Yarn Workspaces ( #6056 )
...
* update lerna and lerna-changelog
* Lerna: enable yarn, yarn workspaces [skip ci]
* use older version of Babel since it matches on semver (cannot be the same version)
* install yarn version
* revert node engine change
* update flow
* circle ci on 8
* update lock
2017-08-05 14:48:15 -04:00
Henry Zhu
a1debae8f0
babylon beta.19 ( #6053 )
2017-08-04 14:46:12 -04:00
Henry Zhu
79c6814d65
v7.0.0-alpha.18
2017-08-03 18:20:36 -04:00
Henry Zhu
0f823beeb1
Newlines in fixtures ( #6044 )
...
* write newlines for fixtures
* rerun fixtures
2017-08-02 15:35:29 -04:00
chocolateboy
605adc922d
allow PluginPass.file.addImport to create empty import statements ( #6022 )
...
* allow PluginPass.file.addImport to create empty import statements; fixes #6021
omitting addImport's second argument creates an import statement with an
empty `specifiers` array i.e. an empty import statement:
plugin:
Program (path, { file }) {
file.addImport('foo-bar/register')
}
output:
import "foo-bar/register";
2017-07-28 12:37:00 -04:00
Henry Zhu
9322fd0458
v7.0.0-alpha.17
2017-07-26 08:38:44 -04:00
Henry Zhu
f01438e9b1
update devdeps to latest, update babylon ( #6012 )
...
* temporary flow strip measure
2017-07-26 07:57:49 -04:00
Henry Zhu
7f1cd44d60
v7.0.0-alpha.16
2017-07-25 17:35:35 -04:00
Peeyush Kushwaha
4a35243118
Non string computed keys in object-rest-spread ( #5757 )
2017-07-25 09:46:52 -05:00
MarckK
9fc910d8c0
Add optionality to catch bindings ( #5956 )
2017-07-25 09:38:48 -05:00
Justin Ridgewell
63204ae51e
Remove maybePopFromStatements ( #5945 )
...
It prevented you from pushing into the `params` of a function.
```js
fnpath.pushContainer("params", t.identifier("memo"))
```
2017-07-18 14:55:33 -04:00
Justin Ridgewell
28ae47a174
Stop mutating nodes ( #5963 )
...
* Stop mutating nodes
* Update tests
* linting
2017-07-18 13:24:07 -04:00
Henry Zhu
a0f0411abf
v7.0.0-alpha.15
2017-07-11 23:35:22 -04:00
Henry Zhu
03f249430a
v7.0.0-alpha.14
2017-07-11 22:53:09 -04:00
Henry Zhu
8460b4c62f
v7.0.0-alpha.13
2017-07-11 22:27:56 -04:00
Brian Ng
58ec149c52
Fix some unneeded semis in test fixtures ( #5892 )
2017-06-27 22:15:10 -05:00
Daniel Tschinder
b3372a572d
Remove whitespace generation ( #5833 )
...
* Remove whitespace generation and rely on default printing
Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines
* Fix a few more fixtures
2017-06-27 21:57:02 -05:00
Henry Zhu
9a75916012
remove unused dependencies
2017-06-27 17:18:13 -04:00
Henry Zhu
a4080dc095
update babylon
2017-06-27 17:17:41 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Henry Zhu
89d8f70fcd
Merge pull request #5813 from jridgewell/pr/5786
...
Optional Chaining Operator (Stage 1)
2017-06-27 11:10:47 -04:00
Henry Zhu
bd9e1860d0
for-of optimization on arrays/known functions that return arrays ( #4747 )
2017-06-26 16:47:39 -04:00
Sarup Banskota
f1303aa54c
Misc updates to babel-core README ( #5841 ) [skip ci]
...
* Minor grammar things
* Standardize fullstops on the options table
* Usage of `` where appropriate
2017-06-09 10:37:34 -04:00
Justin Ridgewell
97d0ab78cb
Update babylon
2017-06-07 03:52:42 -04:00
Simen Bekkhus
1e55653ac1
Don't call deprecated code frame export ( #5815 )
2017-06-02 08:49:26 -04:00
Henry Zhu
272209ace5
⬆️ Alpha 12 ( #5808 )
...
* fix usage of codeframe
2017-06-01 15:13:17 -04:00
Henry Zhu
c5bad22767
v7.0.0-alpha.12
2017-05-31 17:11:39 -04:00
Henry Zhu
ce976bba2a
v7.0.0-alpha.11
2017-05-31 16:43:30 -04:00
Rick Waldron
5393a49349
Support for NumericLiteralSeparator, Stage 1 feature ( #5793 )
...
* Support for NumericLiteralSeparator, Stage 1 feature
commit cd8f6e062876261a334d968f875e477a48927b6d
Author: Sven SAULEAU <xtuc@users.noreply.github.com>
Date: Wed May 31 16:14:15 2017 +0200
docs: update README [skip ci]
commit cf013e3382bf73cdf9224026c1ec0b1a368cfef2
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue May 30 14:51:20 2017 -0400
Support for NumericLiteralSeparator, Stage 1 feature
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* add note about presets [skip ci]
2017-05-31 15:18:48 -04:00
Justin Ridgewell
2579c5b6e9
Merge pull request #5775 from peey/switch-continue
...
Switch continue
2017-05-27 22:45:14 -04:00
Henry Zhu
0df3e3d6eb
update babylon beta 11
2017-05-27 09:08:58 -04:00