Index: imaps-frontend/node_modules/eslint/lib/config/flat-config-array.js
===================================================================
--- imaps-frontend/node_modules/eslint/lib/config/flat-config-array.js	(revision 79a03170cdde4e801d12257ee86723774970427b)
+++ imaps-frontend/node_modules/eslint/lib/config/flat-config-array.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -20,9 +20,4 @@
 //-----------------------------------------------------------------------------
 
-/**
- * Fields that are considered metadata and not part of the config object.
- */
-const META_FIELDS = new Set(["name"]);
-
 const ruleValidator = new RuleValidator();
 
@@ -81,51 +76,5 @@
 }
 
-/**
- * Wraps a config error with details about where the error occurred.
- * @param {Error} error The original error.
- * @param {number} originalLength The original length of the config array.
- * @param {number} baseLength The length of the base config.
- * @returns {TypeError} The new error with details.
- */
-function wrapConfigErrorWithDetails(error, originalLength, baseLength) {
-
-    let location = "user-defined";
-    let configIndex = error.index;
-
-    /*
-     * A config array is set up in this order:
-     * 1. Base config
-     * 2. Original configs
-     * 3. User-defined configs
-     * 4. CLI-defined configs
-     *
-     * So we need to adjust the index to account for the base config.
-     *
-     * - If the index is less than the base length, it's in the base config
-     *   (as specified by `baseConfig` argument to `FlatConfigArray` constructor).
-     * - If the index is greater than the base length but less than the original
-     *   length + base length, it's in the original config. The original config
-     *   is passed to the `FlatConfigArray` constructor as the first argument.
-     * - Otherwise, it's in the user-defined config, which is loaded from the
-     *   config file and merged with any command-line options.
-     */
-    if (error.index < baseLength) {
-        location = "base";
-    } else if (error.index < originalLength + baseLength) {
-        location = "original";
-        configIndex = error.index - baseLength;
-    } else {
-        configIndex = error.index - originalLength - baseLength;
-    }
-
-    return new TypeError(
-        `${error.message.slice(0, -1)} at ${location} index ${configIndex}.`,
-        { cause: error }
-    );
-}
-
 const originalBaseConfig = Symbol("originalBaseConfig");
-const originalLength = Symbol("originalLength");
-const baseLength = Symbol("baseLength");
 
 //-----------------------------------------------------------------------------
@@ -154,10 +103,4 @@
         });
 
-        /**
-         * The original length of the array before any modifications.
-         * @type {number}
-         */
-        this[originalLength] = this.length;
-
         if (baseConfig[Symbol.iterator]) {
             this.unshift(...baseConfig);
@@ -165,10 +108,4 @@
             this.unshift(baseConfig);
         }
-
-        /**
-         * The length of the array after applying the base config.
-         * @type {number}
-         */
-        this[baseLength] = this.length - this[originalLength];
 
         /**
@@ -187,47 +124,4 @@
         this.shouldIgnore = shouldIgnore;
         Object.defineProperty(this, "shouldIgnore", { writable: false });
-    }
-
-    /**
-     * Normalizes the array by calling the superclass method and catching/rethrowing
-     * any ConfigError exceptions with additional details.
-     * @param {any} [context] The context to use to normalize the array.
-     * @returns {Promise<FlatConfigArray>} A promise that resolves when the array is normalized.
-     */
-    normalize(context) {
-        return super.normalize(context)
-            .catch(error => {
-                if (error.name === "ConfigError") {
-                    throw wrapConfigErrorWithDetails(error, this[originalLength], this[baseLength]);
-                }
-
-                throw error;
-
-            });
-    }
-
-    /**
-     * Normalizes the array by calling the superclass method and catching/rethrowing
-     * any ConfigError exceptions with additional details.
-     * @param {any} [context] The context to use to normalize the array.
-     * @returns {FlatConfigArray} The current instance.
-     * @throws {TypeError} If the config is invalid.
-     */
-    normalizeSync(context) {
-
-        try {
-
-            return super.normalizeSync(context);
-
-        } catch (error) {
-
-            if (error.name === "ConfigError") {
-                throw wrapConfigErrorWithDetails(error, this[originalLength], this[baseLength]);
-            }
-
-            throw error;
-
-        }
-
     }
 
@@ -262,7 +156,7 @@
 
         /*
-         * If a config object has `ignores` and no other non-meta fields, then it's an object
-         * for global ignores. If `shouldIgnore` is false, that object shouldn't apply,
-         * so we'll remove its `ignores`.
+         * If `shouldIgnore` is false, we remove any ignore patterns specified
+         * in the config so long as it's not a default config and it doesn't
+         * have a `files` entry.
          */
         if (
@@ -270,5 +164,5 @@
             !this[originalBaseConfig].includes(config) &&
             config.ignores &&
-            Object.keys(config).filter(key => !META_FIELDS.has(key)).length === 1
+            !config.files
         ) {
             /* eslint-disable-next-line no-unused-vars -- need to strip off other keys */
