Index: imaps-frontend/node_modules/eslint-plugin-react-refresh/index.js
===================================================================
--- imaps-frontend/node_modules/eslint-plugin-react-refresh/index.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
+++ imaps-frontend/node_modules/eslint-plugin-react-refresh/index.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
@@ -21,4 +21,5 @@
 var src_exports = {};
 __export(src_exports, {
+  default: () => src_default,
   rules: () => rules
 });
@@ -35,5 +36,6 @@
       anonymousExport: "Fast refresh can't handle anonymous components. Add a name to your export.",
       localComponents: "Fast refresh only works when a file only exports components. Move your component(s) to a separate file.",
-      noExport: "Fast refresh only works when a file has exports. Move your component(s) to a separate file."
+      noExport: "Fast refresh only works when a file has exports. Move your component(s) to a separate file.",
+      reactContext: "Fast refresh only works when a file only exports components. Move your React context(s) to a separate file."
     },
     type: "problem",
@@ -57,5 +59,5 @@
       allowExportNames
     } = context.options[0] ?? {};
-    const filename = context.getFilename();
+    const filename = context.filename;
     if (filename.includes(".test.") || filename.includes(".spec.") || filename.includes(".cy.") || filename.includes(".stories.")) {
       return {};
@@ -72,4 +74,5 @@
         const localComponents = [];
         const nonComponentExports = [];
+        const reactContextExports = [];
         const handleLocalIdentifier = (identifierNode) => {
           if (identifierNode.type !== "Identifier")
@@ -99,4 +102,9 @@
             }
           } else {
+            if (init && init.type === "CallExpression" && // createContext || React.createContext
+            (init.callee.type === "Identifier" && init.callee.name === "createContext" || init.callee.type === "MemberExpression" && init.callee.property.type === "Identifier" && init.callee.property.name === "createContext")) {
+              reactContextExports.push(identifierNode);
+              return;
+            }
             if (init && // Switch to allowList?
             notReactComponentExpression.has(init.type)) {
@@ -129,5 +137,13 @@
             }
           } else if (node.type === "CallExpression") {
-            if (node.callee.type !== "Identifier" || !reactHOCs.has(node.callee.name)) {
+            if (node.callee.type === "CallExpression" && node.callee.callee.type === "Identifier" && node.callee.callee.name === "connect") {
+              mayHaveReactExport = true;
+            } else if (node.callee.type !== "Identifier") {
+              if (node.callee.type === "MemberExpression" && node.callee.property.type === "Identifier" && reactHOCs.has(node.callee.property.name)) {
+                mayHaveReactExport = true;
+              } else {
+                context.report({ messageId: "anonymousExport", node });
+              }
+            } else if (!reactHOCs.has(node.callee.name)) {
               context.report({ messageId: "anonymousExport", node });
             } else if (((_a = node.arguments[0]) == null ? void 0 : _a.type) === "FunctionExpression" && node.arguments[0].id) {
@@ -150,14 +166,17 @@
           } else if (node.type === "ExportDefaultDeclaration") {
             hasExports = true;
-            if (node.declaration.type === "VariableDeclaration" || node.declaration.type === "FunctionDeclaration" || node.declaration.type === "CallExpression") {
-              handleExportDeclaration(node.declaration);
-            }
-            if (node.declaration.type === "Identifier") {
-              handleExportIdentifier(node.declaration);
-            }
-            if (node.declaration.type === "ArrowFunctionExpression") {
+            const declaration = node.declaration.type === "TSAsExpression" || node.declaration.type === "TSSatisfiesExpression" ? node.declaration.expression : node.declaration;
+            if (declaration.type === "VariableDeclaration" || declaration.type === "FunctionDeclaration" || declaration.type === "CallExpression") {
+              handleExportDeclaration(declaration);
+            }
+            if (declaration.type === "Identifier") {
+              handleExportIdentifier(declaration);
+            }
+            if (declaration.type === "ArrowFunctionExpression") {
               context.report({ messageId: "anonymousExport", node });
             }
           } else if (node.type === "ExportNamedDeclaration") {
+            if (node.exportKind === "type")
+              continue;
             hasExports = true;
             if (node.declaration)
@@ -165,5 +184,5 @@
             for (const specifier of node.specifiers) {
               handleExportIdentifier(
-                specifier.exported.name === "default" ? specifier.local : specifier.exported
+                specifier.exported.type === "Identifier" && specifier.exported.name === "default" ? specifier.local : specifier.exported
               );
             }
@@ -184,4 +203,7 @@
             for (const node of nonComponentExports) {
               context.report({ messageId: "namedExport", node });
+            }
+            for (const node of reactContextExports) {
+              context.report({ messageId: "reactContext", node });
             }
           } else if (localComponents.length) {
@@ -229,4 +251,5 @@
   "only-export-components": onlyExportComponents
 };
+var src_default = { rules };
 // Annotate the CommonJS export names for ESM import in node:
 0 && (module.exports = {
Index: imaps-frontend/node_modules/eslint-plugin-react-refresh/package.json
===================================================================
--- imaps-frontend/node_modules/eslint-plugin-react-refresh/package.json	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
+++ imaps-frontend/node_modules/eslint-plugin-react-refresh/package.json	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
@@ -2,5 +2,5 @@
   "name": "eslint-plugin-react-refresh",
   "description": "Validate that your components can safely be updated with fast refresh",
-  "version": "0.4.9",
+  "version": "0.4.14",
   "author": "Arnaud Barré (https://github.com/ArnaudBarre)",
   "license": "MIT",
