Nicolò Ribaudo
d1fe2d05f4
v7.3.3
2019-02-15 22:06:01 +01:00
Rubén Norte
045d019149
Fix duplicated assertThisInitialized calls in constructors ( #9458 )
2019-02-07 23:01:46 +01:00
Nicolò Ribaudo
f6ee26c3da
v7.3.0
2019-01-21 22:22:39 +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
0bb720401b
v7.2.3
2018-12-20 12:18:31 +01:00
Nicolò Ribaudo
911c2d0bf4
Use @babel/eslint-plugin-developement ( #9206 )
2018-12-18 22:59:43 +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
282129ea66
v7.2.0
2018-12-03 20:00:35 +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
Nicolò Ribaudo
5979b0669b
Merge class features plugins
...
* Create @babel/plugin-class-features
* Move class properties transformation logic to enanced-classes (#8130 )
2018-11-20 21:14:35 +01:00
Nicolò Ribaudo
8c7d4b55c9
Add plugins name ( #8769 )
...
* Add plugins name
* Add missing names found by the plugin
* Add eslint plugin
2018-11-18 23:02:58 +01:00
Henry Zhu
fad74959f8
v7.1.0
2018-09-17 15:29:37 -04:00
Nicolò Ribaudo
aac8118b7f
Update helpers version fro 7.0.1 to 7.0.2 ( #8703 )
2018-09-14 22:55:27 +02:00
Logan Smyth
13798feefb
Fix prerelease checks in .availableHelper and transform-runtime definitions. ( #8659 )
2018-09-10 18:25:21 -07:00
Logan Smyth
79b2af5997
Format fixture JSON with Prettier. ( #8658 )
2018-09-09 17:57:52 -07:00
Nicolò Ribaudo
c5279eeca4
[static private] Use explicit descriptors instead of an object ( #8620 )
...
This is similar to ec69b4bb1256c061ac76f53dfed09c4283ec6a31, which
was about private instance fields.
Private properties can be non-writable (thanks to decorators), or have
get/set accessors. If we stored this information on the `privateClass`
object, we would need to always use `Object.getOwnPropertyDescriptor`
before reading or writing a property because accessors need to be called
with the correct `this` context (it should be the actual class, not the
object hat stores the private properties). This commit simplifies that
operation a bit by removing the container object.
It also have another advantage, which instance fields already have
thanks to the use of separate weakmaps: unused private static fields
can be tree-shaken away or garbage-collected, while properties of an
object can't. Also, they can be easilier minified.
2018-09-05 15:08:40 +02:00
Nicolò Ribaudo
d4e23b5b2a
[static private] Unify loose handling of static and instance props ( #8614 )
2018-09-04 08:10:46 +02:00
Robin Ricard
fb66fa6f90
Private Static Fields Features: Stage 3 ( #8205 )
...
* Private Static Class Fields Implementation
* Redo testing without class transform for static private
* Add a call() test for private static
* Use Object.defineProperty in loose mode
2018-09-01 00:42:18 -04:00
Henry Zhu
04d09cc754
add access public to all packages [skip ci] ( #8573 )
...
If people copy paste to make an new package they might miss this and we will get a publish error later so figured we should add it to all.
2018-08-29 09:54:53 -04:00
Henry Zhu
90fb82a535
v7.0.0
2018-08-27 17:41:21 -04:00
Henry Zhu
814c564c45
v7.0.0-rc.4
2018-08-27 12:42:00 -04:00
Henry Zhu
cada040bec
v7.0.0-rc.3
2018-08-24 14:06:00 -04:00
Nicolò Ribaudo
c5e3b6d4bc
[decorators] Don't set writable on accessors ( #8513 )
2018-08-23 00:54:28 +02:00
Henry Zhu
f1d774b34f
v7.0.0-rc.2
2018-08-21 15:22:07 -04:00
Nicolò Ribaudo
0136a26af7
Fix conflict in tests ( #8486 )
2018-08-17 11:36:10 +02:00
Mauro Bringolf
427aff559f
Fix decorators interop bug with class field tdz
...
Co-authored-by: Jan Buschtöns <jan@buschtoens.me>
2018-08-13 08:57:09 +02:00
Henry Zhu
0a958861c9
v7.0.0-rc.1
2018-08-09 16:06:08 -04:00
Henry Zhu
904bcaffe3
fix peer deps [skip ci] ( #8445 )
...
Should be anything 7.x
2018-08-09 15:59:14 -04:00
Henry Zhu
8b1406127a
v7.0.0-rc.0
2018-08-09 11:56:00 -04:00
Henry Zhu
6695f5e2f7
v7.0.0-beta.56
2018-08-03 21:02:42 -04:00
Henry Zhu
adca165ee9
v7.0.0-beta.55
2018-07-28 18:06:42 -04:00
Nicolò Ribaudo
ec69b4bb12
Save full descriptor instead of only value for private fields. ( #8318 )
...
* Save full descriptor instead of only value for private fields.
Decorators can make private fields non-writable, so we need to store this
information somewhere.
The descriptor can also be used to implement private accessors.
2018-07-27 16:24:57 -04:00
Henry Zhu
c70a32ab9d
Throw when using Stage presets ( #8293 )
...
* inline stage presets into standalone, throw error with using Stage presets
2018-07-23 22:22:52 -04:00
Henry Zhu
84282f199b
v7.0.0-beta.54
2018-07-16 13:59:43 -04:00
Henry Zhu
b89234b1a2
v7.0.0-beta.53
2018-07-11 09:39:52 -04:00
Henry Zhu
10910a10f5
Remove yearly presets from repo, inline in standalone ( #8274 )
...
These were already deprecated in v6, just didn't remove the folders?
2018-07-09 14:23:25 -04:00
Henry Zhu
663c96db04
v7.0.0-beta.52
2018-07-05 20:59:03 -04:00
Logan Smyth
2cf2fd544b
Ensure that we don't get unexpected output files for tests that throw. ( #8208 )
2018-07-04 16:06:58 -07:00
Rodolfo Rodriguez
c6a4108e57
Update READMEs for yarn ( #8215 ) [skip ci]
...
Closes https://github.com/babel/babel/pull/8255
2018-07-03 09:03:18 -04:00
James DiGioia
eac4c5bc17
Add proposal flag to pipeline plugin ( #8196 )
...
This is going to be required so we can add support for other proposals,
as well as later set the accepted proposal as the default.
Update stage-0 and stage-1 presets with `pipelineProposal` to thread down to
the plugin.
2018-06-28 01:19:40 +02:00
Sven Sauleau
8f8b4e8e82
Switch new website in READMEs ( #8181 ) [skip ci]
2018-06-15 10:13:20 -04:00
Henry Zhu
c313b267f7
v7.0.0-beta.51
2018-06-12 17:18:28 -04:00
Henry Zhu
eb54adb755
use a semver range for core peerDep [skip ci]
2018-06-12 17:10:15 -04:00
Henry Zhu
e0ef50c00f
Use older semver range since lerna update does not change peerDeps on publish [skip ci] ( #8152 )
2018-06-12 16:45:10 -04:00
Henry Zhu
3af623678f
v7.0.0-beta.50
2018-06-12 15:46:05 -04:00
Henry Zhu
4b5a55d937
fix merge issue again
2018-06-12 13:59:43 -04:00
Nicolò Ribaudo
3c46e75b8f
Don't split an exported class when renaming an inner binding ( #8051 )
2018-06-12 13:45:21 -04:00
Nicolò Ribaudo
387cda8fbb
isConstantExpression should return true for immuable bindings ( #8122 )
...
* isConstantExpression should return true for immuable bindings
* New test
* Don't return undefined
2018-06-12 13:40:52 -04:00
Alexey Zaslavsky
0b25e3327c
Fix 'Missing class properties transform' error when parsing class properties with Typescript syntax ( #8007 )
2018-06-12 13:13:30 -04:00