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