Area restrita - Questionario

This commit is contained in:
2026-06-08 23:50:59 -03:00
parent f2e2400637
commit ef968f10ae
6972 changed files with 23454 additions and 2267883 deletions
+5 -5
View File
@@ -95,18 +95,18 @@ function createClassFeaturePlugin({
pre(file) {
(0, _features.enableFeature)(file, feature, loose);
if (typeof file.get(versionKey) === "number") {
file.set(versionKey, "7.28.6");
file.set(versionKey, "7.29.7");
return;
}
if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.28.6")) {
file.set(versionKey, "7.28.6");
if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.29.7")) {
file.set(versionKey, "7.29.7");
}
},
visitor: {
Class(path, {
file
}) {
if (file.get(versionKey) !== "7.28.6") return;
if (file.get(versionKey) !== "7.29.7") return;
if (!(0, _features.shouldTransform)(path, file)) return;
const pathIsClassDeclaration = path.isClassDeclaration();
if (pathIsClassDeclaration) (0, _typescript.assertFieldTransformed)(path);
@@ -218,7 +218,7 @@ function createClassFeaturePlugin({
ExportDefaultDeclaration(path, {
file
}) {
if (file.get(versionKey) !== "7.28.6") return;
if (file.get(versionKey) !== "7.29.7") return;
const decl = path.get("declaration");
if (decl.isClassDeclaration() && (0, _decorators.hasDecorators)(decl.node)) {
if (decl.node.id) {