Nicolò Ribaudo
2c88694388
v7.4.4
2019-04-26 23:00:07 +02:00
Nicolò Ribaudo
508fde4009
v7.4.3
2019-04-02 21:36:09 +02:00
Mattias Buelens
3c11a4a930
Fix super method call in private instance method calling overridden method ( #9801 )
...
* Fix super method call in private instance method calling overridden method
* Change return value in test fixtures
* Update tests to verify that overridden method is not called
2019-03-31 18:50:29 -04:00
pnowak
3aaafae053
proper feature call isLoose function #9424
2019-03-24 10:21:44 +01:00
Nicolò Ribaudo
f1328fb913
v7.4.0
2019-03-19 21:27:16 +01:00
Tim McClure
e068281e28
Fix super Method Calls in Class Private Methods ( #9704 )
...
This fixes an issue with the use of super method calls in class private methods. See https://github.com/babel/babel/issues/9580 for more info re: behavior of the bug.
2019-03-19 18:43:02 +01:00
Tim McClure
81c130ffc9
Private Static Class Methods (Stage 3) ( #9446 )
2019-03-13 00:11:16 +01:00
Nicolò Ribaudo
1f6454cc90
v7.3.4
2019-02-25 19:29:12 +01:00
Nicolò Ribaudo
0b01b5217b
Use correct "this" in static fields ( #9508 )
2019-02-24 08:14:49 +01:00
Nicolò Ribaudo
0050266a50
Add missing dependencies ( #9516 )
2019-02-15 08:50:32 +01:00
Nicolò Ribaudo
d896ce2b53
v7.3.2
2019-02-04 23:20:05 +01:00
Nicolò Ribaudo
d37c958637
Transform private async and generator functions ( #9423 )
2019-02-04 15:10:46 +01:00
Rizky
56044c7851
install polyfill & runtime to dependency instead of devDependency [skip ci] ( #9409 )
2019-01-29 08:09:08 -06:00
Brian Ng
f77c450cda
Bump prettier ( #9373 )
2019-01-22 09:16:32 -06:00
Nicolò Ribaudo
f6ee26c3da
v7.3.0
2019-01-21 22:22:39 +01:00
Tim McClure
e8de6fa5d4
Private Class Methods Stage 3: Private Accessors ( #9101 )
...
* Add accessor loose support
* Add private accessors spec support
* Fix private dupe name check
* Changes from code review
* Add duplicated names tests
* Add get/set-only tests
* Move accessors tests
* Split out updates tests
* Add helper change tests
* Update test output
* Update test options
2019-01-21 22:05:37 +01:00
Nicolò Ribaudo
a24206eb96
Fix error for decorators not enabled ( #9321 )
...
* Fix error for decorators not enabled
* Update error message
2019-01-13 00:35:22 +01:00
Nicolò Ribaudo
8e051cae46
[decorators] Set method names at compile time instead of at runtime ( #9244 )
2019-01-10 00:45:02 +01:00
Nicolò Ribaudo
865eb93c2d
[private methods] Define private methods before executing initializers ( #9248 )
2019-01-03 20:33:44 +01:00
Nicolò Ribaudo
0bb720401b
v7.2.3
2018-12-20 12:18:31 +01:00
Andy Edwards
3c8e15dbc1
don't throw classNameTDZError if referenced identifier is within a TypeAnnotation ( #9190 )
...
fix #9189
Obviously this code is intended to throw an error if someone tries to reference a class before it's defined, like:
```js
class Foo {
someField = Foo;
}
```
But there's no problem with referencing the class in a type annotation before it's defined, and this is often necessary for tree structures:
```js
class Foo {
[someSymbol]: Foo;
}
```
2018-12-15 15:16:43 +01:00
Nicolò Ribaudo
c1499b13ac
v7.2.2
2018-12-15 10:59:56 +01:00
Patrick Eriksson
b9340bc597
Fix package.json repository URLs ( #9176 )
2018-12-13 21:15:40 +01:00
Nicolò Ribaudo
d1d3c823cc
Move decorators transform to @babel/helper-create-class-features-plugin ( #9059 )
...
* Move decorators to @babel/plugin-class-features
* Minor refactoring
* Use the new helper package
2018-12-09 12:30:25 +01:00
Nicolò Ribaudo
8b132c0889
v7.2.1
2018-12-04 16:21:47 +01:00
Nicolò Ribaudo
b927fb2a7e
Don't use isClassPrivateMethod because is isn't supported in <7.2.0 ( #9121 )
2018-12-04 08:35:10 +01:00
Nicolò Ribaudo
282129ea66
v7.2.0
2018-12-03 20:00:35 +01:00
Nicolò Ribaudo
fc5d49b6f6
Add access:public to @babel/helper-create-class-features-plugin
2018-12-03 20:00:24 +01:00
Nicolò Ribaudo
4e28459a2f
Make @babel/plugin-class-features a normal helper package ( #9083 )
...
* Make @babel/plugin-class-features a normal helper package
This effectively disallows using it directly.
* Rename helper
* Style
* Don't add prefix to plugin name
* Move private methods plugin
2018-11-29 16:42:45 +01:00