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 -9
View File
@@ -35,10 +35,8 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
if (assumeArray === true && allowArrayLike === true) {
throw new Error(`The assumeArray and allowArrayLike options cannot be used together in @babel/plugin-transform-for-of`);
}
{
if (allowArrayLike && /^7\.\d\./.test(api.version)) {
throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`);
}
if (allowArrayLike && /^7\.\d\./.test(api.version)) {
throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`);
}
}
const iterableIsArray = (_options$assumeArray = options.assumeArray) != null ? _options$assumeArray : !options.loose && api.assumption("iterableIsArray");
@@ -148,11 +146,9 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
path.replaceWith(_ForOfStatementArray(path));
return;
}
{
if (!state.availableHelper(builder.helper)) {
(0, _noHelperImplementation.default)(skipIteratorClosing, path, state);
return;
}
if (!state.availableHelper(builder.helper)) {
(0, _noHelperImplementation.default)(skipIteratorClosing, path, state);
return;
}
const {
node,
File diff suppressed because one or more lines are too long
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = transformWithoutHelper;
var _core = require("@babel/core");
;
function transformWithoutHelper(loose, path, state) {
const pushComputedProps = loose ? pushComputedPropsLoose : pushComputedPropsSpec;
const {
File diff suppressed because one or more lines are too long
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@babel/plugin-transform-for-of",
"version": "7.27.1",
"version": "7.29.7",
"description": "Compile ES2015 for...of to ES5",
"repository": {
"type": "git",
@@ -17,15 +17,15 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1",
"@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
"@babel/helper-plugin-utils": "^7.29.7",
"@babel/helper-skip-transparent-expression-wrappers": "^7.29.7"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
"@babel/core": "^7.27.1",
"@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"