wentout
c59870c526
Mark class prototype as read-only ( #12115 )
...
* initial code 2 fix the issue #2025
* Mark class prototype as read-only
* Update fixtures
* Fix failure
* Update Babel 8 fixtures
* Disable in loose mode
* Update fixtures
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-12-10 21:44:48 +01:00
Nicolò Ribaudo
ea6a438315
Enable external-helpers by default in tests ( #12911 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00
Nicolò Ribaudo
771841f764
Fix _isNativeReflectConstruct helper ( #8461 )
2021-02-22 22:49:44 +01:00
Justin Ridgewell
a5bc48661b
Isolated exec tests ( #11531 )
...
* Run exec tests in fresh contexts
* Reevaluate modules in every context
* Cache module code when running tests
* Eliminate weakmap accesses as much as possible
* Remove old multiline usage
* Using bundled polyfill to significantly increase performance
The individual requires for each file were the part that was sooooo slow.
* Drop LRU cache size
* Fixes
* Fix test
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-08-10 18:57:48 -04:00
Christoph Nakazawa
2bb2933dea
[helpers] Add a private function name within createSuper ( #11514 )
2020-05-04 23:30:53 +02:00
Justin Ridgewell
070ec201bb
Speed up the createSuper helper ( #11401 )
2020-04-10 16:00:20 +02:00
Nicolò Ribaudo
f6c7bf36ce
Allow extending untranspiled classes ( #8656 )
2020-03-16 23:59:15 +01:00
Nicolò Ribaudo
4b045819b8
Mark wrapNativeSuper and wrapRegExp as pure ( #11134 )
2020-02-21 09:15:59 +01:00
Nicolò Ribaudo
d21e2217d5
Skip newlines around inline #__PURE__ annotations ( #11133 )
...
* Skip newlines around #__PURE__ annotations
* Update tests
2020-02-13 19:16:33 +01:00
Nicolò Ribaudo
1f9b2a5c41
[_wrapNativeSuper] Don't wrap non-native constructors ( #8501 )
2018-08-24 19:58:49 +02:00