9069 Commits

Author SHA1 Message Date
Henry Zhu
38340777d6 0.0.8 changelog [skip ci] 2016-11-16 12:30:44 -05:00
Henry Zhu
713ef4427d 0.0.8 2016-11-16 12:28:14 -05:00
Henry Zhu
1115bec3c3 Only console.log the debug info once (#46) 2016-11-16 12:27:39 -05:00
Henry Zhu
d42c6ea3d2 update rest-spread [skip-ci] 2016-11-16 11:30:05 -05:00
Henry Zhu
754a6ed8c0 v6.19.0 2016-11-16 11:15:30 -05:00
Henry Zhu
ca33c8fa05 v6.19.0 changelog [skip ci] (#4846) 2016-11-16 10:27:28 -05:00
Henry Zhu
54dc01440b add jsonCompatibleStrings option [skip ci] 2016-11-15 16:53:33 -05:00
Henry Zhu
4462d59acd refactor: switch ancestory/descendant logic [skip ci]
- Ref https://github.com/babel/babel/pull/4836#discussion_r88118790 @jridgewell
2016-11-15 16:41:08 -05:00
Boopathi Rajaa
55a47a8819 Add path utilities isAncestor and isDescendant (#4836)
* Add path utilities isAncestor and isDescendant

* Create ancestry.js
2016-11-15 16:36:45 -05:00
Moti Zilberman
f8ddd80f96 Greater spec compliance for class properties (#4544)
* Desugar class properties to Object.defineProperty per spec
* Define uninitialized static class properties with value=undefined
* Make class-properties increased spec compliance opt-in (spec: true)
2016-11-15 16:35:51 -05:00
Juriy Zaytsev
cf3a38fb40 Add jsonCompatibleStrings option to generator (#4827) 2016-11-15 15:03:41 -05:00
Henry Zhu
8475b6ec02 fix lint 2016-11-15 14:51:26 -05:00
Sam Pepose
db85bdc3fc Added flowCommaSeparator option for object types (#3547) 2016-11-15 14:43:42 -05:00
Henry Zhu
6a6ec8785b Start babel-types tests, add isNodesEquivalent (#3553) 2016-11-15 14:24:20 -05:00
Henry Zhu
c36f523737 updated PULL_REQUEST_TEMPLATE [skip ci] (#4844) 2016-11-15 12:08:19 -05:00
Henry Zhu
46b216cfa7 Add toc, team section [skip ci] (#4802) 2016-11-15 12:04:47 -05:00
Richy HBM
c162cfc2f8 Update PR template to close an issue via the PR (#4842) [skip ci] 2016-11-15 11:33:29 -05:00
Henry Zhu
5e0508d57c object rest - fix when destructuring in variables/parameters (#4755)
* object rest - fix when destructuring in variables/parameters

* fixes + ExportNamedDeclaration support

* Account for CatchClause

* support ForXStatement

* support assignment expression? + PR fixes
2016-11-15 11:31:03 -05:00
Shine Wang
5075f3cb6f Bug fix for printing minified literals (#4830)
* Fixed minified literal generator: now prints the shorter of `raw` and `value`.
2016-11-15 10:50:57 -05:00
Boopathi Rajaa
dbc1371ba9 Add clearCache and clearPath as separate APIs under traverse (#4835) 2016-11-15 10:48:59 -05:00
Henry Zhu
d0c884b9d4 Merge pull request #4789 from guybedford/system-dynamic-import
Support import() as contextual import in system module format
2016-11-14 18:00:06 -05:00
Sergey Rubanov
9ca27436a9 Update data generation for latest compat-table. See https://github.com/kangax/compat-table/pull/960 (#44) 2016-11-14 17:42:44 -05:00
Henry Zhu
ac26f3cdfb Rename ios_saf in browserslist data to ios, ignore unknown browsers (#43)
* Rename ios_saf in browserslist data to ios, ignore unknown browsers

browserslist queries, especially ones with percentages, often bring in mobile browsers that _probably_ have the similar support level as desktop ones, but since there's no support for them in the data, including them here would just lead to all plugins being enabled always.

It's also easy to get crazy things like `op_mini` or `and_uc` in the results.

Browserslist also reports iOS Safari as `ios_saf`, while the data uses `ios`, so it needs to be renamed.

* Fix lint
2016-11-14 15:19:47 -05:00
Henry Zhu
62ae3c7ee8 Fix system transformer to ensure consistent modules iteration (#4832)
* include test for number specifiers

* use ordered modules array over object properties
2016-11-14 13:17:54 -05:00
lion
862b387ad7 👕 Fix crlf to lf (#4837) 2016-11-13 21:42:08 +01:00
lion
7b8ba2d9ef FIx typo in CHANGELOG.md [skip ci] (#4838) 2016-11-13 21:41:32 +01:00
guybedford
76702a3a57 use ordered modules array over object properties 2016-11-11 17:48:14 +02:00
guybedford
bd251f236b include test for number specifiers 2016-11-11 17:48:13 +02:00
guybedford
d8c83bba52 make syntax-dynamic-import optional 2016-11-11 10:15:31 +02:00
guybedford
d62403753c babel-plugin-syntax-dynamic-import as a dependency of babel-plugin-transform-es2015-modules-systemjs 2016-11-11 09:57:44 +02:00
guybedford
11a2f07692 support import() as contextual import in system module format 2016-11-11 09:57:44 +02:00
Diogo Franco
d407ddc00c Fix lint 2016-11-11 01:43:21 +09:00
Diogo Franco
cbd827b9db Rename ios_saf in browserslist data to ios, ignore unknown browsers
browserslist queries, especially ones with percentages, often bring in mobile browsers that _probably_ have the similar support level as desktop ones, but since there's no support for them in the data, including them here would just lead to all plugins being enabled always.

It's also easy to get crazy things like `op_mini` or `and_uc` in the results.

Browserslist also reports iOS Safari as `ios_saf`, while the data uses `ios`, so it needs to be renamed.
2016-11-11 01:32:17 +09:00
Samuel Reed
5678e61c0f fix binding kind of destructured variables. (#4813)
Fixes #4516 and any other code that hoists into a scope
where function params are destructured.
2016-11-08 13:51:54 -05:00
Scott Stern
723ca0eef8 Chore: FLOW command in makefile and logic in .travis.yml(issue#4710). (#4807) 2016-11-04 08:26:45 -04:00
Henry Zhu
f8a02a8a9f 0.0.7 2016-11-02 19:00:46 -04:00
Henry Zhu
4019d20945 fixes [skip ci] 2016-11-02 18:21:14 -04:00
Henry Zhu
d8b3447766 add changelog [skip ci] 2016-11-02 18:18:55 -04:00
Henry Zhu
bbeb311aa0 intro example [skip ci] 2016-11-02 18:09:15 -04:00
Henry Zhu
4b08a02b22 fix link [skip ci] 2016-11-02 18:07:53 -04:00
Henry Zhu
fd0821563e toc [skip ci] 2016-11-02 18:04:40 -04:00
Henry Zhu
f6a8d5eff2 doc fixes [skip ci] 2016-11-02 17:44:31 -04:00
Henry Zhu
a5daad4d32 Use compat-table equals option (#36)
* Use compat-table equals option

* fixes
2016-11-02 17:09:32 -04:00
Henry Zhu
d40c684723 hardcode a current node version option (#35) 2016-11-02 16:17:42 -04:00
Henry Zhu
9e97b59a2f fixes [skip ci] 2016-11-02 12:02:23 -04:00
Henry Zhu
414acf5fda Change default behavior to act the same as babel-preset-latest (#33)
* Do not throw on empty options, and default to latest preset

* fix lint
2016-11-02 11:57:26 -04:00
Henry Zhu
aa61aabb82 run lint separately (#32) 2016-11-02 11:09:51 -04:00
Henry Zhu
69e93fdb89 add 'whitelist' option (#31)
Ref https://github.com/babel/babel-preset-env/issues/16
2016-11-02 10:55:45 -04:00
Henry Zhu
85b5141cee add more aliases 2016-11-02 10:16:30 -04:00
Henry Zhu
8356dd18a2 Simple changelog [skip ci] 2016-11-01 19:53:57 -04:00