Henry Zhu
3ff77a61e4
Update babylon beta 3 ( #5394 )
...
* Update babylon to v7-beta.3
* convert RestProperty/SpreadProperty to RestElement/SpreadElement
* add virtual types to make it easier to upgrade
2017-02-28 16:58:19 -05:00
Henry Zhu
696e63c58b
Merge pull request #5380 from babel/extra-do + 6.x commits
2017-02-25 18:48:27 -05:00
Sven SAULEAU
eb9d699ce9
style: [skip ci] lint code snippets in md ( #5379 )
2017-02-25 12:19:29 -05:00
Logan Smyth
4ee385e96c
Avoid usage of exports/module.exports/require().
2017-02-21 16:52:42 -08:00
Daniel Tschinder
28853bf190
Fix for-await printing ( #5322 )
...
Only the first for-await was correctly printed all subsequent for-await statements
where printed as for-of as the variable op was changed inside the buildForXStatement
2017-02-15 17:43:06 -05:00
Daniel Tschinder
7c62278dcd
[7.0] Change for-await to use new AST ( #5321 )
2017-02-15 17:29:09 -05:00
Daniel Tschinder
6c03cb0783
Merge branch 'master' into merge-master
...
# Conflicts:
# lerna.json
# packages/babel-cli/package.json
# packages/babel-core/package.json
# packages/babel-generator/package.json
# packages/babel-helper-builder-react-jsx/package.json
# packages/babel-helper-function-name/package.json
# packages/babel-helper-optimise-call-expression/package.json
# packages/babel-helper-replace-supers/package.json
# packages/babel-helper-transform-fixture-test-runner/package.json
# packages/babel-helpers/package.json
# packages/babel-plugin-transform-class-properties/package.json
# packages/babel-plugin-transform-es2015-block-scoping/package.json
# packages/babel-plugin-transform-es2015-classes/package.json
# packages/babel-plugin-transform-es2015-modules-commonjs/package.json
# packages/babel-plugin-transform-es2015-modules-systemjs/package.json
# packages/babel-plugin-transform-es2015-modules-umd/package.json
# packages/babel-plugin-transform-es2015-parameters/package.json
# packages/babel-plugin-transform-react-jsx/package.json
# packages/babel-register/package.json
# packages/babel-template/package.json
# packages/babel-traverse/package.json
# packages/babel/package.json
2017-02-14 12:46:23 +01:00
Logan Smyth
48573f1fb4
v6.23.0
2017-02-13 17:14:12 -08:00
Henry Zhu
9083bd6283
Merge branch 'master' into 7.0
2017-02-09 18:36:02 -05:00
Logan Smyth
b845f2b69d
Re-enable the max-len ESLint rule. ( #5265 )
2017-02-04 11:07:15 -05:00
Kai Cataldo
e09ea222c9
Remove babel-runtime from packages' dependencies ( #5218 )
2017-01-27 09:04:35 -05:00
Sven SAULEAU
446b4a7dbd
docs: remove link to REPL ( #5216 )
2017-01-26 14:50:23 -06:00
Henry Zhu
e9fc38bcd3
v6.22.0
2017-01-19 19:33:22 -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
Sergey Rubanov
292c3ca206
Refactor test packages to use ES modules instead of CJS ( #5138 )
2017-01-16 11:25:04 -05:00
Christophe Hurpeau
4a1965511f
fix: plugin-transform-object-rest-spread param with default value
2017-01-15 14:02:08 -08:00
Henry Zhu
672adba9a1
enable prefer const ( #5113 )
2017-01-14 09:48:52 -05:00
Henry Zhu
d597678def
v6.20.2
2016-12-08 20:15:21 -05:00
Henry Zhu
cfc1e5cb38
fix object spread ( #4976 )
2016-12-08 20:13:57 -05:00
Henry Zhu
2bb9ab04e3
v6.20.1
2016-12-08 19:32:27 -05:00
Henry Zhu
88bc28c414
Fix nested object spread ( #4974 )
2016-12-08 19:30:50 -05:00
Henry Zhu
608e77e389
v6.20.0
2016-12-08 18:25:39 -05:00
Christophe Hurpeau
81575bcdfe
Fix for object-rest with parameters destructuring nested rest ( #4883 )
2016-12-01 23:58:07 -05:00
Kanitkorn Sujautra
b43191d402
Update transform-object-rest-spread's README from babel.github.io [skip ci] ( #4930 )
2016-12-01 23:42:27 -05:00
Henry Zhu
e86f62b304
README: add --save-dev [skip ci]
...
Closes gh-4910
2016-11-29 08:40:27 -05:00
Sven SAULEAU
2311b5b53a
README: remove dollar in sh snippets [skip ci]
2016-11-29 08:39:23 -05:00
Henry Zhu
19bb830c50
use *, add test for assign-expression in parameter ( #4865 )
2016-11-19 10:45:00 -05:00
Henry Zhu
cd041541b8
Fix bug + Generate test fixtures if no expected.js ( #4858 )
2016-11-17 17:53:46 -05:00
Henry Zhu
754a6ed8c0
v6.19.0
2016-11-16 11:15:30 -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
Henry Zhu
6d22f258db
v6.16.0
2016-09-28 15:38:45 -04:00
Henry Zhu
d2d34ba8e7
object rest spread useBuiltIns option ( #4491 )
...
* feat(transform-object-rest-spread): add polyfill=false option to avoid extends helper
* object-rest-spread: add useBuiltIns option
* add test for invalid option
2016-09-09 18:38:50 -04:00
Henry Zhu
05bf216339
v6.8.0
2016-05-02 19:43:49 -04:00
Henry Zhu
4c23b01798
change plugins to use babel-runtime 6
2016-04-24 20:06:23 -04:00
Henry Zhu
57ef6a2b6a
v6.6.5
2016-03-04 18:16:17 -05:00
Amjad Masad
3667527d04
Revert "Remove flow"
...
This reverts commit 2827ff6b01dcce69e9d3c0402e96b52b3a2a47ee.
2016-03-03 14:49:20 -08:00
Logan Smyth
305252d335
Recognize object rest properties as binding identifiers - fixes T7178
2016-03-03 08:58:22 -08:00
Henry Zhu
39a8f5b796
v6.6.4
2016-03-02 16:29:17 -05:00
Sam Goldman
2827ff6b01
Remove flow
2016-03-01 22:33:30 -08:00
Henry Zhu
f9f8ad6eff
v6.5.0
2016-02-06 19:06:41 -05:00
Sebastian McKenzie
7b36967416
v6.3.13
2015-12-04 22:56:51 +11:00
Sebastian McKenzie
ae831c2270
v6.3.12
2015-12-04 22:56:13 +11:00
Sebastian McKenzie
4a1e5c17b4
v6.1.18
2015-11-12 13:46:30 -08:00
Sebastian McKenzie
23fd185590
v6.1.17
2015-11-12 13:40:25 -08:00
Sebastian McKenzie
c4c66687ea
v6.1.16
2015-11-12 13:33:20 -08:00
Sebastian McKenzie
9c91b555f9
v6.1.15
2015-11-12 12:15:47 -08:00
Sebastian McKenzie
f127f81cb7
v6.1.14
2015-11-12 12:01:18 -08:00
Sebastian McKenzie
548d973d12
v6.1.13
2015-11-12 11:57:45 -08:00
Sebastian McKenzie
af208e8acb
v6.1.12
2015-11-12 00:47:51 -08:00
Sebastian McKenzie
8fb4d55687
v6.1.11
2015-11-11 23:58:22 -08:00