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>
This commit is contained in:
wentout
2021-12-10 23:44:48 +03:00
committed by GitHub
parent 39080492f4
commit c59870c526
221 changed files with 490 additions and 458 deletions

View File

@@ -1,4 +1,4 @@
var Test = function () {
var Test = /*#__PURE__*/babelHelpers.createClass(function () {
function Test() {
"use strict";
@@ -6,4 +6,4 @@ var Test = function () {
}
return Test;
}();
}());