Henry Zhu
e6d198eef5
v7.0.0-beta.48
2018-05-24 15:20:31 -04:00
Justin Ridgewell
2af7a33c4e
Fix class inheritance in IE10 ( #7969 )
...
* Revert "Move subclass inheritance to end (#7772 )"
This reverts commit f8ab9466d331871a90f458af40b14e8d831e0c29.
* Only use getPrototypeOf if setPrototypeOf is implemented
* Update fixtures
* Helpers updates
* Update fixtures
* Fall back to getPrototypeOf
* Update fixtures
2018-05-23 16:21:21 -04:00
Henry Zhu
f03adbadf4
v7.0.0-beta.47
2018-05-14 17:15:44 -07:00
Michael McGlynn
a5edab7393
Change const to var inside helper
2018-04-26 23:33:12 +02:00
Logan Smyth
3a2aa9b862
v7.0.0-beta.46
2018-04-22 21:29:42 -07:00
Henry Zhu
b414387bb1
v7.0.0-beta.45
2018-04-22 21:55:16 -04:00
Justin Ridgewell
890a45216f
Update super property get/set/call in loose mode ( #7774 )
...
* Update super property get/set/call in loose mode
Follows the plan laid out in https://github.com/babel/babel/pull/7553#issuecomment-381434519 .
With #7691 , this closes #7553 , closes #4312 .
* Post #7772
* Memoized property
2018-04-22 13:49:19 -04:00
Justin Ridgewell
8f24f91166
Implement MemberExpressionToFunctions helper ( #7763 )
...
* Implement MemberExpressionToFunctions helper
Fixes #7733 .
This will also be used to simplify the Private Fields transform, which had [almost the same code](ccd941057a/packages/babel-plugin-proposal-class-properties/src/index.js (L114-L217) ) hand written.
* Cleanup
* Little more comment cleanup
* Use unary plus
This can't be redefined, unlike the `Number` identifier.
* Review comments
* Remove unused deps
2018-04-21 13:13:42 -04:00
Justin Ridgewell
21c7ff3f37
Classes cleanup ( #7737 )
...
* Cleanup
* Move verifyConstructorVisitor out of closure
2018-04-17 17:52:43 -04:00
Deven Bansod
c62b202e6a
Migrate remaining test assertions to jest-expect
2018-04-13 19:14:03 +05:30
Deven Bansod
d7987fbbd2
Migrate -transform-object-super tests to use jest expect assertions
2018-04-13 14:21:02 +05:30
Justin Ridgewell
ec882be44d
Uncomment super increment expression set tests ( #7721 )
...
This was failing because of the bugs fixed by #7687 .
2018-04-12 13:24:07 -04:00
Justin Ridgewell
ecbf0dd53c
Fix super nested class bugs ( #7691 )
...
* Properly traverse nested class for supers
* Add object nested in class cases
* Add object nested object cases
* Test class properties
* Undo changes to lerna.json
* Add tests arournd prefix/postfix super increment
* tmp
* Use sets
2018-04-12 13:02:26 -04:00
Justin Ridgewell
ec3722b3f9
Get set helpers ( #7687 )
...
* Improve get/set helper
* fixtures
* Edge cases
* Add loose edge cases
* Spec compliant
* Add issue case
* Even more edge cases!
* Final updates
* Fix name
* Use Reflect.{get, set} when available
* Avoid block scoping in loose
* Remove semicolon
* Do not redefine a non-enumerable
* Get strictness from call site, not helpers
* Add called assertions
* Classes are always strict
* Update test fixture
2018-04-11 11:56:59 -04:00
Justin Ridgewell
637bfe76b1
Cleanup object super traversal ( #7681 )
2018-04-06 20:39:57 +01:00
Justin Ridgewell
450a1678f2
Use getProto and setProto helpers ( #7675 )
...
Depends on #7674 .
2018-04-06 02:54:08 +01:00
Justin Ridgewell
e9ed0f5f21
Split _wrapNativeSuper into helpers ( #7674 )
...
These can be reused in a few transforms.
2018-04-06 01:18:44 +01:00
Henry Zhu
a6df92f245
v7.0.0-beta.44
2018-04-02 18:19:30 -04:00
Henry Zhu
bdfeeb38c6
v7.0.0-beta.43
2018-04-02 12:47:55 -04:00
Deven Bansod
db42a5d70f
Migrate babel-preset-es2015 and -next-target tests to use jest expect
2018-03-24 16:22:19 +05:30
Henry Zhu
d260bfaec4
v7.0.0-beta.42
2018-03-15 16:50:03 -04:00
Henry Zhu
270ea17fed
v7.0.0-beta.41
2018-03-14 12:25:26 -04:00
Logan Smyth
a4795408b4
Allow plugins to assert that a specific babel version has loaded the plugin. ( #7450 )
2018-03-04 14:36:54 -08:00
Henry Zhu
ea3f2d9299
v7.0.0-beta.40
2018-02-12 11:41:13 -05:00
Henry Zhu
73e64c6cb0
v7.0.0-beta.39
2018-01-30 15:27:19 -05:00
Mateusz Burzyński
912bcc186d
Fix reused nodes - part 1 ( #7149 )
2018-01-29 22:59:06 +01:00
Henry Zhu
b5d20ab171
v7.0.0-beta.38
2018-01-17 11:31:32 -05: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
Henry Zhu
7d798952d2
v7.0.0-beta.36
2017-12-25 14:04:08 -05:00
Henry Zhu
8a4124b2ff
v7.0.0-beta.35
2017-12-14 16:47:27 -05: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
Steven Hargrove
cee9ae48e0
[skip ci] removed shorthand usage of official babel scoped presets & plugins from README.md's ( #6820 )
2017-11-16 22:51:23 -05:00
Henry Zhu
4e6cd298c7
v7.0.0-beta.32
2017-11-12 08:32:53 -05:00
Logan Smyth
b19b66d94b
Use peerDep rather than plugin param for common APIs.
2017-11-06 11:32:47 -08:00
Henry Zhu
f76ac0b197
v7.0.0-beta.31
2017-11-03 16:03:01 -04:00
Logan Smyth
2d7685bdeb
Explicitly declare devDependency to satisfy peerDep on babel-core.
2017-10-31 17:00:55 -07:00
Henry Zhu
690d6465d8
v7.0.0-beta.5
2017-10-30 16:55:46 -04:00
Henry Zhu
624f00f23c
Fix peerDep to ^ for beta only ( #6644 )
2017-10-30 16:24:42 -04:00
Henry Zhu
38f984f956
v7.0.0-beta.4
2017-10-30 14:33:56 -04:00
Henry Zhu
9ac326b075
remove es20xx prefixes from plugins and rename folders ( #6575 )
2017-10-28 20:43:15 -04:00