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
@@ -36,9 +36,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)(({
const state = {
found: false
};
{
path.traverse(containsClassExpressionVisitor, state);
}
path.traverse(containsClassExpressionVisitor, state);
return state.found;
}
function wrap(path) {
@@ -46,9 +44,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)(({
yield: t.isYieldExpression(path.node),
await: t.isAwaitExpression(path.node)
};
{
path.traverse(containsYieldOrAwaitVisitor, context);
}
path.traverse(containsYieldOrAwaitVisitor, context);
let replacement;
if (context.yield) {
const fn = t.functionExpression(null, [], t.blockStatement([t.returnStatement(path.node)]), true, context.await);
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
{
"name": "@babel/plugin-bugfix-firefox-class-in-computed-class-key",
"version": "7.28.5",
"version": "7.29.7",
"description": "Wraps classes defined in computed keys of other classes affected by https://bugzilla.mozilla.org/show_bug.cgi?id=1887677",
"repository": {
"type": "git",
@@ -25,15 +25,15 @@
"bugfix"
],
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1",
"@babel/traverse": "^7.28.5"
"@babel/helper-plugin-utils": "^7.29.7",
"@babel/traverse": "^7.29.7"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/helper-plugin-test-runner": "^7.27.1"
"@babel/core": "^7.29.7",
"@babel/helper-plugin-test-runner": "^7.29.7"
},
"engines": {
"node": ">=6.9.0"