7320 Commits

Author SHA1 Message Date
Flavio Corpa
9b02a6d298 Add missing description to all package.json files (#4703) [skip ci] 2016-10-12 10:15:50 -04:00
Henry Zhu
9c7d8c4cad update phab links explanation [skip ci] 2016-10-12 08:45:52 -04:00
Daniel Tschinder
1dca51f8ab Enable babel for tests (#4564)
* Enable babel for tests

This enables babel for tests by using a mocha compiler
It uses the babel config from package.json
Transformed OptionsManager test to es2015 to see if it works
Removed the 5s timeout from cli tests, as the default timeout is already 10s, this should probably fix the timouts on travis that we had in babylon
Also run the cli tests on travis, they were disabled if istanbul active, but istanbul is always active on travis so we were never running this tests.

* ignore scripts directory

* only register for tests

* Set only flag correctly
2016-10-12 10:56:50 +02:00
Eric Rozell
c2387f0444 fix(shouldIgnore): filename normalization should be platform sensitive (#4631)
* fix(shouldIgnore): filename normalization should be platform sensitive

shouldIgnore normalizes the path of the filename prior to running any "only" regexes or functions. The normalization uses "slash", which has some undesirable special cases for non-ASCII characters and longer paths. Changing the normalization behavior to always replace path separators.

There is no real need to add additional tests, because the tests are not run in an environment where path.sep !== '/'.

* Minor style fix to use double quotes.

* Remove conditional for regex replace to keep consistent behavior.

* whitespace [skip ci]
2016-10-11 16:02:50 -04:00
Kai Cataldo
27ee74ea14 Better error messaging when preset options are given without a corresponding preset (#4685) 2016-10-11 16:56:53 +02:00
Daniel Tschinder
760bbd6014 🚀 Update home-or-tmp to version 2.0.0 (#4660) 2016-10-07 16:48:45 -04:00
Brian Ng
0aa3ac2bb5 Update babel parser options (#4688)
* Update babel parser options
2016-10-07 14:30:47 -04:00
Dan Harper
33eb56ab09 fix error when constructor default arg refers to own static property or self (#4666)
(closes #4253)
(closes #4442)
2016-10-05 17:52:42 -04:00
Gyandeep Singh
6cfd3d91b2 Update: Eslint to 3.0 and update CI builds (fixes #4638) (#4680) 2016-10-05 17:44:25 -04:00
Moti Zilberman
0366d1ad19 Handle side effects correctly in rest params index expressions (#4348) (#4674) 2016-10-05 21:59:41 +02:00
Moti Zilberman
7a7704fea0 Fix block scoping transform for declarations in labeled statements (#4669)
* Fix block scoping transform for declarations in labeled statements (#4122)

* DRY block-scoping
2016-10-05 21:47:21 +02:00
Moti Zilberman
a62905c61d Remove travis short-circuit script (#4676) 2016-10-05 11:27:55 -04:00
Moti Zilberman
12d2673038 Add test for rest params name collision with top-level name (#4333) (#4673) 2016-10-05 10:15:04 -04:00
Daniel Tschinder
a15f992feb 🚀 Update fs-readdir-recursive to 1.0.0 (#4662)
* 🚀 Update fs-readdir-recursive to 1.0.0

* Revert chalk change
2016-10-05 09:57:02 -04:00
Daniel Tschinder
6d863baef8 🚀 Update chai to version 3.0.0 (#4664) 2016-10-05 09:56:26 -04:00
Sebastiaan Deckers
7977c9249e Babel API example (#4675) [skip ci]
Just a minor fix. I'm new to Babel's API and this tripped me up. Seems like it happened to others before (e.g. #2859). Guessing this came from an earlier `var babel = require('babel-core')` which does work.
2016-10-05 09:50:11 -04:00
Moti Zilberman
f5b5d8f337 Avoid repeating impure (template) literals when desugaring **= (#4403) (#4672) 2016-10-05 11:10:12 +02:00
Dan Harper
9e17aaf043 retain return types on ObjectMethods in transform-es2015-shorthand-properties (#4670) 2016-10-04 21:32:43 -04:00
Henry Zhu
9e6ac7b693 typo [skip ci] 2016-10-04 20:56:05 -04:00
Henry Zhu
338e6364a3 update pkgs [skip ci]
- remove babili pkgs
- remove deprecated (class constructor)
- add new
2016-10-04 20:53:54 -04:00
Dan Harper
7f772e94ce retain method return types on transform-es2015-classes (closes #4665) (#4668) 2016-10-04 18:22:29 -04:00
Daniel Tschinder
fc54264f70 update json5 to version 0.5.0 (#4649) 2016-10-04 08:32:32 -04:00
Daniel Tschinder
2dcee25d37 Exclude super from being assign (#4642)
Assigning of super is not allowed `var ref = super;` This fix adds an exception into
the explode helper so that super stays untouched and does not get assigned.
2016-10-03 21:04:26 -04:00
Daniel Tschinder
ab3cff7cc3 Update detect-indent to version 4.0.0 (#4652) 2016-10-03 21:02:03 -04:00
Daniel Tschinder
3a69b8a252 Update globals to version 9.0.0 (#4651) 2016-10-03 21:01:06 -04:00
Daniel Tschinder
e0dbb1e770 Inline shebang-regex (#4650) 2016-10-03 20:58:26 -04:00
sugargreenbean
c57e0e88a5 changed bool to boolean as well as updated tests (#4646) 2016-10-03 19:31:56 -04:00
Gyandeep Singh
cc86799151 Docs: Fix babel-plugin-transform-async-generator-functions heading (#4656) [skip ci] 2016-10-03 18:16:40 -04:00
Brian Ng
9eb99dec9f Tweak license for GitHub display (#4653) 2016-10-03 16:17:16 -04:00
Henry Zhu
7ed15e298a mention issues [skip ci] 2016-10-03 15:03:36 -04:00
Daniel Tschinder
5de1feac1d Fix README 2016-10-03 00:46:49 +02:00
Henry Zhu
e50b3c890f v6.17.0 2016-10-01 15:23:18 -04:00
Henry Zhu
fc3912217f v6.17.0 changelog [skip ci] (#4637) 2016-10-01 15:10:24 -04:00
Henry Zhu
6afbacbdf7 Add emoji to changelog label/headings [skip ci] 2016-10-01 14:24:41 -04:00
Daniel Tschinder
5a8070a397 Forward bound shadowed function when hoisting identifiers (#4635)
This change ensures that when hoisting an identifier we do not hoist it up to
the first no shadowed function, but rather up to the bound shadowed function
2016-10-01 13:24:12 -04:00
Bruno Jouhier
f9ccee9d83 fixed babel/babel#4632 - missing parentheses around yield expression … (#4633)
* fixed babel/babel#4632 - missing parentheses around yield expression in conditional test

* babel/babel#4632 - added test
2016-10-01 12:58:59 -04:00
Daniel Tschinder
16716ea3de Fix rest parameters with flow type casting (#4636)
Do not skip TypeCastExpressions when finding referenced identifiers as the
type cast contains valid non flow code that we need to visit.
2016-10-01 12:58:14 -04:00
Henry Zhu
fe2b9d73ed update .PHONY [skip ci] 2016-10-01 11:15:23 -04:00
Dan Harper
0e02a18216 fix regression in transform-flow-comments for class properties (#4623) 2016-10-01 00:56:09 -04:00
Daniel Tschinder
46339463bd Resolve presets with named exports correctly (#4620) 2016-09-30 18:27:40 -04:00
Henry Zhu
78b2763e78 transform-async-generator: use babel-runtime 6 (#4626) 2016-09-30 18:26:46 -04:00
Juriy Zaytsev
1d728750c9 Add retainFunctionParens option (#4621)
* Add retainParens option

* Add doc, remove option

* Add negation test

* Make sure parens are not added

* Change name

* Change dir name
2016-09-30 18:05:33 -04:00
Henry Zhu
6f363b60bb Move async-generators to stage-3 (#4617) 2016-09-30 17:29:18 -04:00
Greenkeeper
949febbcf0 chore(package): update flow-bin to version 0.33.0 (#4614)
https://greenkeeper.io/
2016-09-30 10:21:43 +02:00
Henry Zhu
159779d582 Merge pull request #4611 from babel/async-gen-stg-2
Async gen stg 2
2016-09-29 15:41:47 -04:00
Henry Zhu
efa0affea1 move object-rest-spread to stage-3 2016-09-29 15:26:47 -04:00
Henry Zhu
0ab904e2d9 Add transform-async-generator-functions to stage-2 2016-09-29 15:24:58 -04:00
Henry Zhu
37419b44b9 v6.16.3 2016-09-29 11:46:53 -04:00
Joakim
aa0aada8ad Forcing source-map-support module into node environment, so its not tricked by jsdom (#4607) 2016-09-29 17:01:31 +02:00
Henry Zhu
6abc28e532 update types readme [skip ci] 2016-09-29 08:47:24 -04:00