Mateusz Burzyński
d283324f8a
Mark hoisted react constant elements as #__PURE__ ( #7372 )
2018-02-21 18:58:56 +01:00
Mateusz Burzyński
4d164bd8e6
Added babel-helper-split-export-declaration ( #7313 )
2018-02-13 16:44:05 +01:00
Henry Zhu
ea3f2d9299
v7.0.0-beta.40
2018-02-12 11:41:13 -05:00
Nicolò Ribaudo
4887d81929
Remove bindings of removed paths from scope
2018-02-06 23:59:12 +01:00
Kai Cataldo
7234442fde
Add location information to parsing errors ( #7314 )
2018-02-04 13:00:03 -06:00
Logan Smyth
278cd5e572
Preserve identifier location information when mapping this and arguments. ( #7312 )
2018-02-01 18:54:15 -08:00
Henry Zhu
73e64c6cb0
v7.0.0-beta.39
2018-01-30 15:27:19 -05:00
Nicolò Ribaudo
252ea5a966
Fix reused nodes - part 2 ( #7149 )
2018-01-29 22:59:06 +01:00
Mateusz Burzyński
912bcc186d
Fix reused nodes - part 1 ( #7149 )
2018-01-29 22:59:06 +01:00
Brian Ng
064c17e03f
Bump prettier and related deps ( #7244 )
2018-01-20 17:00:21 +01:00
Luca
5ac8ba19a4
Fix typo [skip ci] ( #7229 )
2018-01-17 13:43:59 -05:00
Henry Zhu
b5d20ab171
v7.0.0-beta.38
2018-01-17 11:31:32 -05:00
Mateusz Burzyński
d36b142e30
Moved @babel/generator to dependencies in @babel/traverse
2018-01-15 19:47:15 +01:00
Mateusz Burzyński
0a517b51cd
Added custom NodePath.prototype.toString method as debug utility ( #7218 )
2018-01-15 13:07:05 +01:00
Mateusz Burzyński
79c84f2f9b
Fixed _containerInsertAfter setting path key as stringified index ( #7213 )
2018-01-15 08:08:42 +01:00
Nicolò Ribaudo
8659e1a88c
Remove old expected.{js,json} files ( #7187 )
2018-01-09 13:10:30 -06:00
Raja Sekar
0f42accb87
Renamed files
2018-01-09 15:36:42 +01:00
Henry Zhu
7c99f4653f
v7.0.0-beta.37
2018-01-08 11:02:14 -05:00
Nicolò Ribaudo
2297e2d764
Fix a regression introduced in #7040 ( #7116 )
2017-12-28 22:15:53 +01:00
Henry Zhu
7d798952d2
v7.0.0-beta.36
2017-12-25 14:04:08 -05:00
Nicolò Ribaudo
68476b6ddd
Make .insert{Before,After} work by default when the parent is an eport declaration ( #7040 )
2017-12-19 00:05:29 +01:00
Rouven Weßling
f2437583ba
Bump globals to version 11.1.0 ( #7006 )
2017-12-15 13:20:22 -05:00
Henry Zhu
8a4124b2ff
v7.0.0-beta.35
2017-12-14 16:47:27 -05:00
Brian Ng
c7980b2b90
Bump prettier ( #6991 )
2017-12-07 17:36:49 -05:00
Nicolò Ribaudo
a2aabbd33d
Generate better builder names for JSX* and TS* ( #6967 )
...
e.g. JSXIdentifier -> jsxIdentifier.
The jSXIdentifier alias isn't removed, so this commit doesn't introduce breaking changes.
2017-12-07 12:17:40 +01:00
Henry Zhu
a7c9264c79
v7.0.0-beta.34
2017-12-02 09:38:52 -05:00
Henry Zhu
413aa79711
v7.0.0-beta.33
2017-12-01 09:27:57 -05:00
Daniel Tschinder
9206df964d
Use only imports in babel-traverse and remove double exports ( #6881 )
2017-11-23 20:59:54 +01:00
Brian Ng
c583a04a55
Fix setting deopt properly after evaluating multiple expressions ( #6882 )
2017-11-22 20:06:57 -05:00
Logan Smyth
0e88156d0c
Add warnings to places where we might allow promises to be returned in later minors.
2017-11-13 11:58:30 -08:00
Henry Zhu
4e6cd298c7
v7.0.0-beta.32
2017-11-12 08:32:53 -05:00
Nicolò Ribaudo
9a231c5671
Remove support for flow bindings ( #6528 )
...
Flow bindings have been deprecated for a while.
The reason behind this change is that `declare var foo`
doesn't introduce a new local binding, but it represents
a global one.
2017-11-09 12:29:04 -08:00
Diogo Franco
81811bf1b9
Fix transform-arrow-functions in { spec: true } shadowing ( #6760 )
...
* Fix transform-arrow-functions in { spec: true } shadowing
The function name matching the variable declaration name could
shadow the actual function object inside the generated function,
leading to invalid behavior due to holding a reference to the
original unbound function.
* Combine it with transform-function-name just to be sure in spec: false
* Revert "Fix transform-arrow-functions in { spec: true } shadowing"
This reverts commit 1cafe2561d0b0ddd181b956a85eb074621da12e8.
* Much simpler version of the above fix
* Missing fixture updates
* Avoid using rest/spread to make the tests pass on node 4
* ...actually update _all_ the fixtures
2017-11-08 17:21:30 -05:00
Henry Zhu
f76ac0b197
v7.0.0-beta.31
2017-11-03 16:03:01 -04:00
Henry Zhu
690d6465d8
v7.0.0-beta.5
2017-10-30 16:55:46 -04:00
Mateusz Burzyński
a1c7449a92
Fixed incorrect static class field initialization order ( #6530 )
2017-10-30 16:32:45 -04:00
Henry Zhu
38f984f956
v7.0.0-beta.4
2017-10-30 14:33:56 -04:00
Henry Zhu
962128c0f0
Update to babylon v7 beta.30 ( #6587 )
2017-10-28 20:01:52 -04:00
Benedikt Meurer
f9e0643460
Fix path.popContext() to not try to load "-1" from contexts array. ( #6580 )
...
* Fix path.popContext() to not try to load "-1" from contexts array.
The current implement of popContext does
```js
this.setContext(this.contexts[this.contexts.length - 1]);
```
even if `this.contexts` can be empty, which causes it to lookup the
property `"-1"`, which is not found on the array itself and obviously
also not in the `Object.prototype` and the `Array.prototype`. However
since `"-1"` is not a valid array index, but has a valid integer
representation, this is a very expensive lookup in V8 (and probably
other engines too, but that is probably less relevant, since Babel
most often runs on Node nowadays).
* Make zero check explicit (for readability).
2017-10-28 16:17:05 -04:00
Mateusz Burzyński
859ea4b175
Scoped: updated numerous docs with scoped packages change [skip ci]
2017-10-16 22:49:57 -04:00
Henry Zhu
c0a958098f
Scoped: update readme headers to @babel/ [skip ci]
2017-10-16 22:49:57 -04:00
Brian Ng
645bf56838
Scoped: rename installation instructions for presets [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
79ddf12d9d
Scoped: rename to @babel/ in readme [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
691f90a774
Scoped: change test imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
8e5e27577a
Scoped: update package.json dependencies to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
1cd564bd16
Scoped: rename package names to @babel/ [skip ci]
2017-10-16 22:49:01 -04:00
Henry Zhu
279f55cd9b
update to babylon beta.29
2017-10-16 20:10:55 -05:00
Henry Zhu
94da889ab7
v7.0.0-beta.3
2017-10-15 09:12:00 -04:00
William
36d8a13f4d
Fix catch error on do expression and add tests ( #6372 )
...
Fixes #6331
2017-10-04 18:19:54 +02:00