Felipe Armoni
|
fdfe97879e
|
Disallow reinitializing private elements (#13601)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
|
2021-08-30 12:44:38 +02:00 |
|
Nicolò Ribaudo
|
f30c99aa24
|
Mark WeakMaps of private fields as pure (#13194)
|
2021-04-28 18:25:17 +02:00 |
|
Nicolò Ribaudo
|
8ad6b75cde
|
Use function rather than var to compile private methods (#12990)
|
2021-03-11 02:08:31 +01:00 |
|
Ajay Poshak
|
b1923fd140
|
Add a check for privateMap's existence (#11571)
Co-authored-by: Ajay Poshak <ajay.poshak@bookmyshow.com>
|
2020-05-30 22:38:15 +02:00 |
|
Tim McClure
|
f44b29522c
|
Remove transform-classes from priv method tests (#9537)
|
2019-02-18 19:57:29 +01:00 |
|
Tim McClure
|
0859535b62
|
Private class methods stage 3 (#8654)
* Add private method syntax support
* Add private method spec support
* Add private method loose support
* Throw error if static private method is used
* Add more isStatic & isMethod checks
* Remove `writable:false` from private method inits
`writable` is false by default.
* Add private method func obj equality check
* Throw if private accessor is used
* Add check for fields === private method loose mode
* Throw buildCodeFrameErrors instead of Errors
* Move obj destructuring inside for loop
* Remove "computed" from ClassPrivateMethod type def
|
2018-11-28 16:20:09 -08:00 |
|