7580 Commits

Author SHA1 Message Date
Janus Troelsen
e4ba28c294 [7.0] Dependencies: Upgrade regexpu-core to ^4.0.2 (#5028) 2017-01-19 22:33:46 -05:00
Anderson Vasques
81c3578adc [7.0] Remove old code used for backwards compatibility (#5122)
[7.0] Remove old code used for backwards compatibility in babel-polyfill

Fixes #5121
2017-01-19 22:32:16 -05:00
Chau Nguyen
d710e6dd5b [7.0] Drop flowUsesCommas option from babel-generator (#5123) 2017-01-19 22:24:13 -05:00
Sergey Rubanov
3a5ce620c8 [7.0] Deprecate babel-core/register.js (#5132)
* Deprecate babel-core/register.js

* add error when using `babel-core/register`
2017-01-19 22:22:45 -05:00
Shubheksha Jalan
c468b15a15 [7.0] removed old code from transform-runtime (#5142) 2017-01-19 22:20:04 -05:00
Henry Zhu
ef3ab66847 Merge pull request #5025 from siddharthkp/patch-1
Drop support for Node 0.12 💀
2017-01-19 21:25:16 -05:00
Henry Zhu
e2c5a513f6 Create circle.yml 2017-01-19 20:42:25 -05:00
Henry Zhu
2471d5ebf3 Merge pull request #5041 from xtuc/remove-0.10-support
Remove node 0.10 support (CI)
2017-01-19 20:24:22 -05:00
Henry Zhu
e9fc38bcd3 v6.22.0 2017-01-19 19:33:22 -05:00
Henry Zhu
cc227f44a6 Merge pull request #5157 from babel/revert-5135-run-sandbox-tests
Revert "Run Babel's unittests in a custom sandbox."
2017-01-19 19:25:29 -05:00
Henry Zhu
03c88baf8d 6.22.0 changelog [skip ci] (#5158) 2017-01-19 19:24:23 -05:00
Henry Zhu
4106dd3db1 Revert "Run Babel's unittests in a custom sandbox." 2017-01-19 18:43:50 -05:00
Erik Desjardins
bca170ad79 Avoid duplicating impure expressions in object rest destructuring (#5151)
* avoid duplicating impure initializers in object rest destructuring

* reuse existing VariableDeclarations in object rest destructuring, to fix two issues:

1. inserting an additional VariableDeclaration after the current one may change order of operations, which is unsafe if a future VariableDeclarator refers to a destructured variable.

2. The entire VariableDeclaration is removed when all properties are rest properties, indiscriminately removing other variables
2017-01-18 21:32:44 -05:00
Toru Kobayashi
3871236723 transform-react-constant-elements hoists Composite Components (#5137) [skip ci] 2017-01-17 14:47:04 -05:00
Logan Smyth
c76b8eec82 Run Babel's unittests in a custom sandbox. (#5135) 2017-01-17 14:46:23 -05:00
Daniel Tschinder
56ac8b8f83 Increase cache timeout to 12h for top badges 2017-01-17 11:16:30 +01:00
Daniel Tschinder
7d4de327d0 remove style flat as it is default now 2017-01-17 11:03:16 +01:00
Brian Ng
8c35b320d3 Bump eslint-config-babel and fix lint (#5129) 2017-01-17 10:51:16 +01:00
Artem Yavorsky
2457c8ee14 [skip ci] Fix dependency status extension. (#5144) 2017-01-16 17:28:55 -06:00
Sergey Rubanov
292c3ca206 Refactor test packages to use ES modules instead of CJS (#5138) 2017-01-16 11:25:04 -05:00
Artem Yavorsky
b315fc6135 [skip ci] Add babel-preset-env to maintained list. (#5136) 2017-01-16 08:35:01 -05:00
Logan Smyth
e863790e7e Fix linting error from merged PR. 2017-01-15 15:29:26 -08:00
Logan Smyth
c5fb56e66c Bump out chokidar dependency for the new awaitWriteFinish option. 2017-01-15 14:45:48 -08:00
Logan Smyth
40746f3dcb Merge pull request #3698 from hayeah/master
Watch mode should wait for file write. (T7411)
2017-01-15 14:44:45 -08:00
Logan Smyth
a98c9ae9dc Merge pull request #4790 from peterm0x/master
fixes invalid line offsets in merged sourcemaps
2017-01-15 14:36:33 -08:00
Logan Smyth
7200626021 Merge pull request #5088 from christophehurpeau/fix-issue-4851
fix: plugin-transform-object-rest-spread param with default value
2017-01-15 14:27:56 -08:00
Logan Smyth
87c201fa47 Merge pull request #5043 from zertosh/no-lodash-is
Replace "lodash/is*" and "lodash/each" with native equivalents
2017-01-15 14:22:24 -08:00
Mark Wubben
20c9dca798 Document babelrc option (#5101)
The core package accepts a babelrc option, which if set to false stops
the transforms from using .babelrc and .babelignore files. Document
this option and remove the --no-babelrc CLI flag, referring to the CLI
documentation instead.

[skip ci]
2017-01-15 16:04:23 -06:00
Christophe Hurpeau
4a1965511f fix: plugin-transform-object-rest-spread param with default value 2017-01-15 14:02:08 -08:00
Logan Smyth
e18dc7a6d3 Avoid destructuring in untranspiled script. 2017-01-15 13:54:54 -08:00
Andres Suarez
658f13e030 Replace uses of "lodash/each" with native equivalents 2017-01-15 13:54:54 -08:00
Andres Suarez
2bee765e6b Replace lodash is* with equivalent typeof check 2017-01-15 13:53:58 -08:00
Logan Smyth
1ab58d6dae Merge pull request #5042 from zertosh/no-lodash1
Use native or lodash util module where full "lodash" is required
2017-01-15 13:53:30 -08:00
Andres Suarez
85b3aec747 Use native or lodash util module where full "lodash" is required 2017-01-15 13:35:00 -08:00
Logan Smyth
5d31316fb1 Merge pull request #5093 from existentialism/issue5090
Ensure array is always copied during destructure
2017-01-15 13:10:02 -08:00
Sven SAULEAU
00a34b9c2e fix: [skip ci] removed description (#5130) 2017-01-15 21:48:47 +01:00
Logan Smyth
17b711fa70 Merge pull request #5008 from babel/fix-5004
Don't try to visit ArrowFunctionExpression, they cannot be named
2017-01-15 11:47:52 -08:00
Sven SAULEAU
d67b55e88f fix: [skip ci] update supported environments 2017-01-15 19:45:07 +01:00
Brian Ng
47bb77d352 Update babel-core options in README (#5114)
* Add wrapPluginVisitorMethod option to babel-core README [skip ci]

* fix typo

* alpha-sort options

* add note about introspection [skip ci]
2017-01-14 16:01:52 -05:00
Logan Smyth
3c2e9c0021 Merge pull request #5110 from loganfsmyth/flowtype-codegen
Validate importKind and ensure code generation exists.
2017-01-14 10:41:25 -08:00
Henry Zhu
672adba9a1 enable prefer const (#5113) 2017-01-14 09:48:52 -05:00
Sven SAULEAU
982850731e fix: [skip ci] consistent documentation (#5111) 2017-01-14 09:45:20 -05:00
Henry Zhu
d3f3aced40 mention-bot: remove comments [skip ci] 2017-01-14 09:29:45 -05:00
Sven SAULEAU
1691fc959f Add mention-bot (#5057) [skip ci] 2017-01-14 08:21:58 -05:00
Logan Smyth
80a757819f Validate importKind and ensure code generation exists. 2017-01-13 22:17:39 -08:00
Logan Smyth
2e6713209c Merge pull request #5035 from jeffmo/import_type_shorthand
Strip Flow's new shorthand import-type specifiers
2017-01-13 21:56:18 -08:00
Brian Ng
761079fac0 Add examples to computed-props and for-of READMEs [skip ci] (#5096) 2017-01-13 20:23:13 -05:00
Jeff Morrison
b820d8ebc9 Strip Flow's new shorthand import-type specifiers 2017-01-13 13:24:33 -05:00
Simon Lydell
d2113d4881 babel-code-frame: Upgrade to js-tokens@3 (#5094)
That version brings a big performance boost.
2017-01-13 12:11:44 -05:00
Sérgio Batista
3a1c0c84fb Fix broken repository url (#5100) 2017-01-13 15:16:07 +01:00