Sven SAULEAU
12c389b718
Merge pull request #6490 from Andarist/deps-fix
...
Fixed es2015-template-literals dependencies
2017-10-15 20:33:56 +02:00
Mateusz Burzyński
1215db2dd3
Fixed es2015-template-literals dependencies
2017-10-15 18:05:05 +02:00
Daniel Tschinder
d80fea47af
Add polyfills for ES6 static Object methods
...
These functions do exist in ES5, but we still need to
load the polyfills, as they differ in ES6 sligthly
2017-10-15 09:27:27 -05:00
Henry Zhu
94da889ab7
v7.0.0-beta.3
v7.0.0-beta.3
2017-10-15 09:12:00 -04:00
Lucas Azzola
f1b8404750
Move ?? to LogicalExpression
2017-10-15 15:10:34 +11:00
Lucas Azzola
fcdfb0e31e
Add more tests for the nullish coalescing operator
2017-10-15 12:04:10 +11:00
Henry Zhu
f1d2db6cf4
7.0.0-beta.28
2017-10-14 18:23:44 -04:00
Lucas Azzola
e53ce38c75
Implement nullish coalescing operator in parser ( #761 )
...
* Implement nullish coalescing operator in parser
* Add ?? to AST
2017-10-14 17:18:28 -04:00
Brian Ng
b5e6ba62db
Allow new.target in class properties ( #759 )
2017-10-14 16:50:21 -04:00
Brian Ng
60ea39aa70
Fix export extensions handling of TS declare keyword ( #757 )
2017-10-14 15:25:42 -04:00
Sven SAULEAU
0951720a81
Merge pull request #6481 from nicolo-ribaudo/fn-bind-dupl-nodes-6458
...
Don't insert duplicated nodes when transforming function bind
2017-10-14 15:49:55 +02:00
Nicolò Ribaudo
4a4c2f37bd
Don't insert duplicated nodes when transforming function bind
...
Fixes #6458
2017-10-13 22:49:13 +02:00
Qantas94Heavy
5f285c1034
Evaluate computed class props only once ( #6240 ) ( #6466 )
...
Previously, computed class properties would be evaluated every time a
new instance of the class was created. This means the property name
may have changed between different instances, as well as potential side
effects.
This commit fixes this by storing the computed value in a separate
variable.
2017-10-13 12:19:48 +02:00
aardito2
bfa167cc21
Add additional tests for ignore/only ( #5647 )
2017-10-12 20:20:07 -05:00
Clark Sandholtz
613b1bc192
Changed beginner-friendly to good first issue as requested in issue ( #6471 ) [skip ci]
2017-10-12 20:21:42 -04:00
Leyth
35b111325e
Changed 'beginner-friendly' to 'good first issue' ( #6473 ) [skip ci]
2017-10-12 20:03:10 -04:00
Brian Ng
d7fd8888fa
Bump compat-table for Chrome 63 ( #6462 )
2017-10-11 13:22:32 -04:00
Brian Ng
be58de2b62
Use no-undefined-identifier eslint rule in packages ( #6457 )
2017-10-11 01:11:48 -04:00
Andy
0fbf3a61fb
Fix new type errors ( #754 )
2017-10-10 16:11:28 -05:00
Anton Rusinov
fcdfc61bdb
Move plugin processing to top of plugins ( #6381 )
...
* centralize plugin options
* Centralize plugins options
- move more options to the top
- move validations that depend on options to the top
* use isLoose option
* Move more validations to the top
* Move ref parameter for rewriteModuleStatementsAndPrepareHeader() to the top
* fix eslint errors
* remove unused parameter
* set default systemGlobal value
* Revert "Move ref parameter for rewriteModuleStatementsAndPrepareHeader() to the top"
This reverts commit b3855302d17fa19d8acb4c8accab3680c8d2710e.
* Revert "Move more validations to the top"
This reverts commit e5861d8a034ff8f553391f55654f753bcf428a5d.
* fix allowMutablePropsOnTags option usage
* improve naming
* change Contructor definition for sake of consistency
* move allowMutablePropsOnTags validation to the top
* add missing !
2017-10-10 00:51:34 -04:00
Logan Smyth
d89063bb32
Ensure that tests run with the monorepo's version of babel-core ( #6454 )
2017-10-10 00:29:23 -04:00
Mateusz Burzyński
e52f6caa18
Drop old compatibility if statement targeting babel@6.15 and earlier ( #6451 )
2017-10-09 13:49:06 -04:00
Sven SAULEAU
6fc9af52ca
Merge pull request #751 from gebilaoxiong/remove-unnecessary-return
...
chore: remove unnecessary return
2017-10-09 13:53:21 +02:00
Logan Smyth
7d6b15bba9
Regenerate types with scripts.
2017-10-08 22:31:31 -04:00
gebilaoxiong
94a17419d4
chore: remove unnecessary return
2017-10-09 00:48:40 +08:00
Henry Zhu
a69d75bdcb
Merge pull request #6440 from babel/misc
...
Misc
2017-10-07 10:28:07 -04:00
Henry Zhu
b4ba3cf2fa
use yarn for external bootstrap
2017-10-07 09:17:50 -04:00
Henry Zhu
e522dd8a3c
use latest yarn
2017-10-07 08:58:03 -04:00
Henry Zhu
ef467a3887
move eslint_rules to scripts/eslint_rules [skip ci]
2017-10-07 08:54:54 -04:00
Henry Zhu
35646f15a4
reomve unused packages, unused file
2017-10-07 08:51:38 -04:00
gberaudo
6298bcde03
Fix typo in README.md ( #6439 )
2017-10-07 12:17:55 +02:00
Logan Smyth
d511cfc0e2
Bit more refactoring from last PR.
2017-10-05 22:33:10 -04:00
Henry Zhu
586a738053
update template [skip ci]
2017-10-05 22:26:22 -04:00
Logan Smyth
841e8e9c80
Merge pull request #6435 from loganfsmyth/always-options
...
Always pass an options object to presets and plugins.
2017-10-05 22:26:01 -04:00
Logan Smyth
b3331c0217
Ensure that the options object always exists.
2017-10-05 22:04:09 -04:00
Logan Smyth
ca4460c0b8
Standardize on {}|void instead of ?{} options.
2017-10-05 22:04:08 -04:00
Logan Smyth
597f1a12cf
Refactor loaded descriptors to allow mutation of options.
2017-10-05 21:58:36 -04:00
Logan Smyth
e01ac56b1c
Simplify descriptor loading.
2017-10-05 21:52:05 -04:00
Logan Smyth
1e12bb6a23
Add more types around descriptor processing.
2017-10-05 21:52:05 -04:00
Brian Ng
2ee45bd04d
Fix package repo url for babel-preset-env [skip ci]
2017-10-05 17:59:51 -05:00
Brian Ng
38355d9230
Tweak babel-preset-env for monorepo
2017-10-05 17:35:16 -05:00
Brian Ng
2d6606fd5a
Merge branch 'env'
2017-10-05 13:46:43 -05:00
Henry Zhu
714456f191
update regenerator to latest [skip ci]
2017-10-05 10:57:36 -04:00
Logan Smyth
70a5b77943
Move babel-standalone's build scripts to the repo root. ( #6383 )
2017-10-05 10:44:56 -04:00
William
36d8a13f4d
Fix catch error on do expression and add tests ( #6372 )
...
Fixes #6331
2017-10-04 18:19:54 +02:00
Diogo Franco
02d0b74d37
Extend babel-template to work as a template tag ( #5001 )
...
Supports:
```js
// these all should produce "code;" when generated
template`code;`();
template`${0}`(t.identifier('code'));
template`${'code'}`({ code: t.identifier('code') });
template`${t.identifier('code')}`()
template({})`code`();
```
2017-10-04 13:07:02 +09:00
Brandon Weaver
43afb984c4
fix readme ( #749 ) [skip ci]
...
Amusingly the pipeline OP "breaks" the readme formatting because Markdown likes the `|` character a bit too much. Escaping the `|` fixes this and makes the readme display properly
2017-10-03 20:06:07 -04:00
Logan Smyth
93c3c147d6
Upgrade selfhosted compilation to beta.2 (Take 2) ( #6382 )
...
* Avoid bug in current version of typeof-symbol transform.
* Selfhost Babel on most recent beta release.
2017-10-03 17:04:30 -07:00
Logan Smyth
5ea54f6cac
Fix "module" external helpers output ( #6377 )
...
* Move namespace init.
* Move call to helper generation.
* Generate named module exports properly.
* Ensure that helper names are valid identifiers.
2017-10-03 13:58:47 -07:00
Mateusz Burzyński
68182bd69f
Fixed reusing node in destructuring plugin, which caused caching issue in helper-module-transforms ( #6374 )
2017-10-03 15:25:41 -04:00