diff --git a/backend/server.js b/backend/server.js index 8e6e1cd..f9034de 100644 --- a/backend/server.js +++ b/backend/server.js @@ -173,11 +173,24 @@ server.listen(PORT, () => { } } - // 为当前素材库启动文件监控 + // 为当前素材库启动文件监控(仅当索引存在时) if (currentConfig.currentLibraryId) { const currentLib = currentConfig.libraries.find(lib => lib.id === currentConfig.currentLibraryId); if (currentLib) { - lightweightWatcher.watch(currentLib.id, currentLib.path, currentLib.name, io); + const fs = require('fs'); + const { getFlypicPath, getDatabasePath } = require('./src/config'); + const flypicPath = getFlypicPath(currentLib.path); + const dbPath = getDatabasePath(currentLib.path); + + // 只有当文件夹和索引都存在时才启动监控 + const folderExists = fs.existsSync(currentLib.path); + const indexExists = fs.existsSync(flypicPath) && fs.existsSync(dbPath); + + if (folderExists && indexExists) { + lightweightWatcher.watch(currentLib.id, currentLib.path, currentLib.name, io); + } else { + console.log(`⚠️ 跳过文件监控: ${currentLib.name} (${!folderExists ? '文件夹不存在' : '索引不存在'})`); + } } } } catch (e) { diff --git a/backend/src/routes/library.js b/backend/src/routes/library.js index 6919901..0faaae0 100644 --- a/backend/src/routes/library.js +++ b/backend/src/routes/library.js @@ -79,10 +79,12 @@ router.put('/:id', asyncHandler(async (req, res) => { /** * 删除素材库 * DELETE /api/library/:id + * Query: autoSelectNext - 是否自动选择下一个素材库,默认 true */ router.delete('/:id', asyncHandler(async (req, res) => { const { id } = req.params; - const result = await libraryService.deleteLibrary(id); + const autoSelectNext = req.query.autoSelectNext !== 'false'; + const result = await libraryService.deleteLibrary(id, autoSelectNext); res.json({ success: true, data: result }); })); @@ -106,4 +108,14 @@ router.get('/:id/stats', asyncHandler(async (req, res) => { res.json({ success: true, data: result }); })); +/** + * 验证素材库路径是否存在 + * GET /api/library/:id/validate + */ +router.get('/:id/validate', asyncHandler(async (req, res) => { + const { id } = req.params; + const result = libraryService.validateLibraryPath(id); + res.json({ success: true, data: result }); +})); + module.exports = router; diff --git a/backend/src/services/LibraryService.js b/backend/src/services/LibraryService.js index 06097f2..dfc8bfa 100644 --- a/backend/src/services/LibraryService.js +++ b/backend/src/services/LibraryService.js @@ -6,7 +6,7 @@ const fs = require('fs'); const path = require('path'); const { NotFoundError, ValidationError } = require('../middleware/errorHandler'); -const { getFlypicPath, getDatabasePath } = require('../config'); +const { getFlypicPath, getDatabasePath, getThumbnailsPath } = require('../config'); class LibraryService { constructor(configManager, dbPool, scanManager, lightweightWatcher, io) { @@ -126,8 +126,10 @@ class LibraryService { /** * 删除素材库 + * @param {string} id - 素材库ID + * @param {boolean} autoSelectNext - 是否自动选择下一个素材库,默认 true */ - async deleteLibrary(id) { + async deleteLibrary(id, autoSelectNext = true) { const config = this.configManager.load(); const library = config.libraries.find(lib => lib.id === id); @@ -139,7 +141,7 @@ class LibraryService { await this._cleanupLibraryResources(id, library.path); // 删除配置 - this.configManager.removeLibrary(id); + this.configManager.removeLibrary(id, autoSelectNext); return { success: true, @@ -239,6 +241,43 @@ class LibraryService { await new Promise(resolve => setTimeout(resolve, 300)); } + /** + * 验证素材库路径是否存在 + * 返回三种状态: + * - status: 'ok' - 素材库正常(文件夹和索引都存在) + * - status: 'missing_index' - 文件夹存在但索引不存在(需要重新扫描) + * - status: 'missing_folder' - 文件夹不存在(需要打开其他或新建) + */ + validateLibraryPath(libraryId) { + const config = this.configManager.load(); + const library = config.libraries.find(lib => lib.id === libraryId); + + if (!library) { + throw new NotFoundError('Library', libraryId); + } + + const folderExists = fs.existsSync(library.path); + const flypicPath = getFlypicPath(library.path); + const dbPath = getDatabasePath(library.path); + const indexExists = fs.existsSync(flypicPath) && fs.existsSync(dbPath); + + let status = 'ok'; + if (!folderExists) { + status = 'missing_folder'; + } else if (!indexExists) { + status = 'missing_index'; + } + + return { + libraryId, + path: library.path, + name: library.name, + folderExists, + indexExists, + status + }; + } + /** * 获取素材库统计信息 */ diff --git a/backend/utils/config.js b/backend/utils/config.js index e4fa34c..1aeff6b 100644 --- a/backend/utils/config.js +++ b/backend/utils/config.js @@ -149,13 +149,19 @@ function addLibrary(name, libraryPath) { /** * Remove library from config + * @param {string} libraryId - 要删除的素材库ID + * @param {boolean} autoSelectNext - 是否自动选择下一个素材库,默认 true */ -function removeLibrary(libraryId) { +function removeLibrary(libraryId, autoSelectNext = true) { const config = loadConfig(); config.libraries = config.libraries.filter(lib => lib.id !== libraryId); if (config.currentLibraryId === libraryId) { - config.currentLibraryId = config.libraries.length > 0 ? config.libraries[0].id : null; + if (autoSelectNext) { + config.currentLibraryId = config.libraries.length > 0 ? config.libraries[0].id : null; + } else { + config.currentLibraryId = null; + } } saveConfig(config); diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 4bb2b04..bf8ffc7 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -10,10 +10,17 @@ import Sidebar from './components/Sidebar'; import MainContent from './components/MainContent'; import RightPanel from './components/RightPanel'; import Header from './components/Header'; +import LibraryMissingModal from './components/LibraryMissingModal'; function App() { const { theme, mobileView, setMobileView } = useUIStore(); - const { setLibraries, setCurrentLibrary } = useLibraryStore(); + const { + setLibraries, + setCurrentLibrary, + removeLibrary, + setShowAddLibraryForm, + triggerExpandLibrarySelector + } = useLibraryStore(); const { selectedImage } = useImageStore(); const { setScanProgress } = useScanStore(); const [leftWidth, setLeftWidth] = useState(256); // 默认 256px (w-64) @@ -23,6 +30,7 @@ function App() { const [isMobile, setIsMobile] = useState(false); const [isConnecting, setIsConnecting] = useState(true); // 启动加载状态 const [connectionError, setConnectionError] = useState(null); + const [missingLibrary, setMissingLibrary] = useState(null); // 丢失的素材库信息 const containerRef = useRef(null); useEffect(() => { @@ -202,6 +210,28 @@ function App() { } if (libId) { + // 验证当前素材库路径是否存在 + try { + const validateRes = await libraryAPI.validate(libId); + const validateData = validateRes.data || validateRes; + + // 检查状态:ok / missing_index / missing_folder + if (validateData.status !== 'ok') { + // 路径或索引不存在,显示弹窗 + setMissingLibrary({ + id: libId, + name: validateData.name, + path: validateData.path, + status: validateData.status // 'missing_index' 或 'missing_folder' + }); + setIsConnecting(false); + return; // 不继续加载 + } + } catch (validateError) { + console.warn('验证素材库路径失败:', validateError.message); + // 验证失败时继续正常加载 + } + // 加载文件夹和统计信息(包含 totalSize) await loadFolders(libId); @@ -397,11 +427,85 @@ function App() { ); } + // 素材库路径丢失弹窗处理函数 + const handleRescanLibrary = async () => { + if (!missingLibrary) return; + + // 关闭弹窗 + setMissingLibrary(null); + + // 触发全量扫描 + try { + await scanAPI.fullScan(missingLibrary.id); + // 扫描会通过 Socket.IO 推送进度 + } catch (error) { + console.error('启动扫描失败:', error.message); + alert('启动扫描失败: ' + error.message); + } + }; + + const handleOpenOtherLibrary = async () => { + if (!missingLibrary) return; + + // 从配置中移除当前素材库(不自动选择下一个) + try { + await libraryAPI.remove(missingLibrary.id, false); + removeLibrary(missingLibrary.id); + + // 清空当前素材库,让用户自己选择 + setCurrentLibrary(null); + useImageStore.getState().setImages([]); + useImageStore.getState().setFolders([]); + useImageStore.getState().setTotalImageCount(0); + useImageStore.getState().setSelectedFolder(null); + } catch (error) { + console.error('移除素材库失败:', error.message); + } + + // 关闭弹窗 + setMissingLibrary(null); + + // 触发展开素材库选择器 + setTimeout(() => { + triggerExpandLibrarySelector(); + }, 100); + }; + + const handleCreateNewLibrary = async () => { + if (!missingLibrary) return; + + // 从配置中移除当前素材库 + try { + await libraryAPI.remove(missingLibrary.id); + removeLibrary(missingLibrary.id); + } catch (error) { + console.error('移除素材库失败:', error.message); + } + + // 关闭弹窗 + setMissingLibrary(null); + + // 触发显示新建素材库表单 + setTimeout(() => { + setShowAddLibraryForm(true); + }, 100); + }; + // 移动端布局 if (isMobile) { return (
+ {/* 素材库路径丢失弹窗 */} +
{/* 侧边栏视图 */}
+ {/* 素材库路径丢失弹窗 */} +
{/* 左侧边栏 */}
diff --git a/frontend/src/api/endpoints/library.js b/frontend/src/api/endpoints/library.js index 4c27ddc..8910b08 100644 --- a/frontend/src/api/endpoints/library.js +++ b/frontend/src/api/endpoints/library.js @@ -27,9 +27,11 @@ export async function update(id, updates) { /** * 删除素材库 + * @param {string} id - 素材库ID + * @param {boolean} autoSelectNext - 是否自动选择下一个素材库,默认 true */ -export async function remove(id) { - return api.delete(`/library/${id}`); +export async function remove(id, autoSelectNext = true) { + return api.delete(`/library/${id}?autoSelectNext=${autoSelectNext}`); } /** @@ -57,3 +59,10 @@ export async function updatePreferences(preferences) { export async function updateTheme(theme) { return api.put('/library/theme', { theme }); } + +/** + * 验证素材库路径是否存在 + */ +export async function validate(id) { + return api.get(`/library/${id}/validate`); +} diff --git a/frontend/src/components/Dashboard.jsx b/frontend/src/components/Dashboard.jsx index ad9be71..7026fb2 100644 --- a/frontend/src/components/Dashboard.jsx +++ b/frontend/src/components/Dashboard.jsx @@ -31,9 +31,11 @@ function Dashboard() {

{currentLibrary?.name || '素材库'}

-

- {currentLibrary?.path} -

+ {currentLibrary?.path && ( +

+ {currentLibrary.path} +

+ )}
{/* Stats Cards */} diff --git a/frontend/src/components/LibraryMissingModal.jsx b/frontend/src/components/LibraryMissingModal.jsx new file mode 100644 index 0000000..2c788b4 --- /dev/null +++ b/frontend/src/components/LibraryMissingModal.jsx @@ -0,0 +1,159 @@ +import { AlertTriangle, FolderOpen, Plus, RefreshCw } from 'lucide-react'; + +/** + * 素材库路径丢失弹窗 + * 两种状态: + * - missing_index: 文件夹存在但索引不存在(可重新扫描) + * - missing_folder: 文件夹不存在(只能打开其他或新建) + */ +function LibraryMissingModal({ + isOpen, + libraryName, + libraryPath, + status, // 'missing_index' | 'missing_folder' + onRescan, + onOpenOther, + onCreateNew +}) { + if (!isOpen) return null; + + const isMissingIndex = status === 'missing_index'; + const title = isMissingIndex ? '素材库索引丢失' : '打开资源库失败'; + + return ( +
+
+
+ {/* 左侧内容 */} +
+ {/* 标题 */} +
+ +

+ {title} +

+
+ + {/* 描述 */} +
+ {isMissingIndex ? ( + <> +

+ 素材库 {libraryName} 的索引数据已丢失。 +

+

+ 路径: {libraryPath} +

+

+ 图片文件夹仍然存在,您可以重新扫描来重建索引。 +

+ + ) : ( + <> +

+ 在这个位置的资源库( + {libraryPath} + ) 打开失败,可能是因为路径已经变化,或者资源库链接错误。 +

+

+ 如果您更改过资源库位置,可以{' '} + + {' '}打开 +

+ + )} +
+ + {/* 分隔线 */} +
+ {isMissingIndex ? '请选择操作:' : '您也可以:'} +
+ + {/* 操作按钮 */} +
+ {isMissingIndex && ( + + )} + + +
+
+ + {/* 右侧插图 */} +
+
+ {/* 简化的插图:房子和警告标志 */} + + {/* 房子 */} + + + {/* 门 */} + + {/* 窗户 */} + + + {/* 警告三角 */} + + ! + +
+
+
+ +
+
+ ); +} + +export default LibraryMissingModal; diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx index 7ed2ab9..9796b4a 100644 --- a/frontend/src/components/Sidebar.jsx +++ b/frontend/src/components/Sidebar.jsx @@ -6,6 +6,7 @@ import { useScanStore } from '../stores/useScanStore'; import { libraryAPI, scanAPI, imageAPI } from '../api'; import requestManager from '../services/requestManager'; import { onUserActionStart } from '../services/imageLoadService'; +import LibraryMissingModal from './LibraryMissingModal'; // 检查素材库扫描状态 const checkScanStatus = async (libraryId) => { @@ -18,7 +19,17 @@ const checkScanStatus = async (libraryId) => { }; function Sidebar() { - const { libraries, currentLibraryId, setCurrentLibrary, addLibrary, removeLibrary } = useLibraryStore(); + const { + libraries, + currentLibraryId, + setCurrentLibrary, + addLibrary, + removeLibrary, + showAddLibraryForm, + setShowAddLibraryForm, + expandLibrarySelector, + resetExpandLibrarySelector + } = useLibraryStore(); const { folders, selectedFolder, totalImageCount, setSelectedFolder } = useImageStore(); const { isScanning } = useScanStore(); @@ -30,7 +41,10 @@ function Sidebar() { const [expandedFolders, setExpandedFolders] = useState(new Set()); const [isAdding, setIsAdding] = useState(false); const [isSwitching, setIsSwitching] = useState(false); + const [missingLibrary, setMissingLibrary] = useState(null); // 切换时发现的丢失素材库 + const [isLibrarySelectorOpen, setIsLibrarySelectorOpen] = useState(false); // 素材库选择器展开状态 const folderSearchDebounceRef = useRef(null); + const librarySelectorRef = useRef(null); // 文件夹搜索防抖(300ms) const handleFolderSearchChange = (value) => { @@ -54,6 +68,36 @@ function Sidebar() { }; }, []); + // 响应全局状态:显示新建素材库表单 + useEffect(() => { + if (showAddLibraryForm) { + setShowAddLibrary(true); + setShowAddLibraryForm(false); // 重置全局状态 + } + }, [showAddLibraryForm, setShowAddLibraryForm]); + + // 响应全局状态:展开素材库选择器 + useEffect(() => { + if (expandLibrarySelector) { + setIsLibrarySelectorOpen(true); + resetExpandLibrarySelector(); // 重置全局状态 + } + }, [expandLibrarySelector, resetExpandLibrarySelector]); + + // 点击外部关闭下拉菜单 + useEffect(() => { + const handleClickOutside = (event) => { + if (librarySelectorRef.current && !librarySelectorRef.current.contains(event.target)) { + setIsLibrarySelectorOpen(false); + } + }; + + if (isLibrarySelectorOpen) { + document.addEventListener('mousedown', handleClickOutside); + return () => document.removeEventListener('mousedown', handleClickOutside); + } + }, [isLibrarySelectorOpen]); + const handleAddLibrary = async () => { // 扫描期间禁止添加素材库 if (isScanning()) { @@ -183,6 +227,22 @@ function Sidebar() { setIsSwitching(true); try { + // 0. 先验证目标素材库路径是否存在 + const validateRes = await libraryAPI.validate(libraryId); + const validateData = validateRes.data || validateRes; + + if (validateData.status !== 'ok') { + // 路径或索引不存在,显示弹窗 + setMissingLibrary({ + id: libraryId, + name: validateData.name, + path: validateData.path, + status: validateData.status + }); + setIsSwitching(false); + return; + } + // 1. 暂停空闲加载并取消所有之前的请求 onUserActionStart(); requestManager.cancelAllRequests(); @@ -459,8 +519,88 @@ function Sidebar() { }); }; + // 弹窗处理函数 + const handleMissingRescan = async () => { + if (!missingLibrary) return; + const libId = missingLibrary.id; + setMissingLibrary(null); + + try { + // 1. 清理当前状态 + useScanStore.getState().setScanProgress(null); + useImageStore.getState().setSelectedImage(null); + useImageStore.getState().setImages([]); + useImageStore.getState().setFolders([]); + useImageStore.getState().setTotalImageCount(0); + setSelectedFolder(null); + + // 2. 先切换到该素材库(后端) + await libraryAPI.setCurrent(libId); + + // 3. 更新前端状态(这会触发 UI 更新,select 会显示正确的值) + setCurrentLibrary(libId); + + // 4. 启动扫描(扫描进度会通过 Socket.IO 推送) + await scanAPI.fullScan(libId); + } catch (error) { + console.error('启动扫描失败:', error.message); + alert('启动扫描失败: ' + error.message); + } + }; + + const handleMissingOpenOther = async () => { + if (!missingLibrary) return; + + try { + // 删除时不自动选择下一个素材库 + await libraryAPI.remove(missingLibrary.id, false); + removeLibrary(missingLibrary.id); + + // 清空当前素材库,让用户自己选择 + setCurrentLibrary(null); + useImageStore.getState().setImages([]); + useImageStore.getState().setFolders([]); + useImageStore.getState().setTotalImageCount(0); + setSelectedFolder(null); + } catch (error) { + console.error('移除素材库失败:', error.message); + } + + setMissingLibrary(null); + + // 展开素材库选择器让用户选择 + setTimeout(() => { + setIsLibrarySelectorOpen(true); + }, 100); + }; + + const handleMissingCreateNew = async () => { + if (!missingLibrary) return; + + try { + await libraryAPI.remove(missingLibrary.id); + removeLibrary(missingLibrary.id); + } catch (error) { + console.error('移除素材库失败:', error.message); + } + + setMissingLibrary(null); + setShowAddLibrary(true); + }; + return (
+ {/* 素材库路径丢失弹窗 */} + + {/* Library Management */}
@@ -469,38 +609,65 @@ function Sidebar() { {/* Library Selector with Delete Button */}
-
- - + + {libraries.length === 0 + ? '暂无素材库' + : !currentLibraryId + ? '请选择素材库...' + : libraries.find(lib => lib.id === currentLibraryId)?.name || '未知素材库'} + + +
+ + {/* 下拉选项列表 */} + {isLibrarySelectorOpen && ( +
+ {libraries.map((library) => ( +
{ + if (library.id !== currentLibraryId) { + handleLibraryClick(library.id); + } + setIsLibrarySelectorOpen(false); + }} + className={`px-3 py-2 text-sm cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 ${ + library.id === currentLibraryId ? 'bg-blue-50 dark:bg-blue-900' : '' + }`} + > +
{library.name}
+
+ {library.path} +
+
+ ))} +
{ + if (isScanning()) { + alert('扫描进行中,请稍后再试或暂停扫描'); + return; + } + setShowAddLibrary(true); + setIsLibrarySelectorOpen(false); + }} + className="px-3 py-2 text-sm cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 border-t border-gray-200 dark:border-gray-700 text-blue-600 dark:text-blue-400" + > + + 添加新素材库 +
+
+ )}
{currentLibraryId && libraries.length > 0 && ( diff --git a/frontend/src/stores/useLibraryStore.js b/frontend/src/stores/useLibraryStore.js index 6f336b4..6c19ff5 100644 --- a/frontend/src/stores/useLibraryStore.js +++ b/frontend/src/stores/useLibraryStore.js @@ -8,6 +8,8 @@ export const useLibraryStore = create((set, get) => ({ // 状态 libraries: [], currentLibraryId: null, + showAddLibraryForm: false, // 控制显示新建素材库表单 + expandLibrarySelector: false, // 触发展开素材库选择器 // 设置素材库列表 setLibraries: (libraries) => set({ libraries }), @@ -15,6 +17,13 @@ export const useLibraryStore = create((set, get) => ({ // 设置当前素材库 setCurrentLibrary: (id) => set({ currentLibraryId: id }), + // 显示/隐藏新建素材库表单 + setShowAddLibraryForm: (show) => set({ showAddLibraryForm: show }), + + // 触发展开素材库选择器 + triggerExpandLibrarySelector: () => set({ expandLibrarySelector: true }), + resetExpandLibrarySelector: () => set({ expandLibrarySelector: false }), + // 添加素材库 addLibrary: (library) => set((state) => ({ libraries: [...state.libraries, library] diff --git a/package-lock.json b/package-lock.json index b996b48..202ffa8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,15 +27,17 @@ "glob": "^10.3.10", "p-limit": "^7.2.0", "sharp": "^0.33.0", - "socket.io": "^4.6.0" + "socket.io": "^4.6.0", + "trash": "^8.1.1" }, "devDependencies": { + "cross-env": "^7.0.3", "nodemon": "^3.0.2" } }, "frontend": { "name": "flypic-frontend", - "version": "1.0.0", + "version": "1.0.5", "dependencies": { "axios": "^1.6.2", "jszip": "^3.10.1", @@ -1551,12 +1553,143 @@ "dev": true, "license": "MIT" }, + "node_modules/@sindresorhus/chunkify": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/@sindresorhus/chunkify/-/chunkify-0.2.0.tgz", + "integrity": "sha512-mOAiwqu+bIIkNFDCXFJxZEmF9p9WHfSBbpLLmgysYnNkEs7aA0/AvU9+6zLHFqI7JnqdqwAuWu8CbGwGIszRdw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sindresorhus/df": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/@sindresorhus/df/-/df-3.1.1.tgz", + "integrity": "sha512-SME/vtXaJcnQ/HpeV6P82Egy+jThn11IKfwW8+/XVoRD0rmPHVTeKMtww1oWdVnMykzVPjmrDN9S8NBndPEHCQ==", + "license": "MIT", + "dependencies": { + "execa": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@sindresorhus/df/node_modules/execa": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/execa/-/execa-2.1.0.tgz", + "integrity": "sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^3.0.0", + "onetime": "^5.1.0", + "p-finally": "^2.0.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": "^8.12.0 || >=9.7.0" + } + }, + "node_modules/@sindresorhus/df/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sindresorhus/df/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sindresorhus/df/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@sindresorhus/df/node_modules/npm-run-path": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-3.1.0.tgz", + "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@sindresorhus/df/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sindresorhus/df/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "license": "ISC" + }, + "node_modules/@sindresorhus/df/node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/@socket.io/component-emitter": { "version": "3.1.2", "resolved": "https://registry.npmmirror.com/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", "license": "MIT" }, + "node_modules/@stroncium/procfs": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/@stroncium/procfs/-/procfs-1.2.1.tgz", + "integrity": "sha512-X1Iui3FUNZP18EUvysTHxt+Avu2nlVzyf90YM8OYgP6SGzTzzX/0JgObfO1AQQDzuZtNNz29bVh8h5R97JrjxA==", + "license": "CC0-1.0", + "engines": { + "node": ">=8" + } + }, "node_modules/@types/babel__core": { "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", @@ -1805,6 +1938,22 @@ "node": ">=0.4.0" } }, + "node_modules/aggregate-error": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", + "license": "MIT", + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ansi-regex": { "version": "6.2.2", "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.2.2.tgz", @@ -1862,6 +2011,27 @@ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "license": "MIT" }, + "node_modules/array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==", + "license": "MIT", + "dependencies": { + "array-uniq": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmmirror.com/assertion-error/-/assertion-error-1.1.0.tgz", @@ -2274,6 +2444,21 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "license": "ISC" }, + "node_modules/clean-stack": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/color": { "version": "4.2.3", "resolved": "https://registry.npmmirror.com/color/-/color-4.2.3.tgz", @@ -2341,7 +2526,6 @@ "version": "0.0.1", "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true, "license": "MIT" }, "node_modules/confbox": { @@ -2582,6 +2766,18 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/dir-glob": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/dir-glob/-/dir-glob-2.2.2.tgz", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", + "license": "MIT", + "dependencies": { + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/dlv": { "version": "1.1.3", "resolved": "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz", @@ -2831,6 +3027,18 @@ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", "license": "MIT" }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/estree-walker": { "version": "3.0.3", "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", @@ -3143,6 +3351,12 @@ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "license": "MIT" }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" + }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -3274,6 +3488,75 @@ "node": ">= 6" } }, + "node_modules/globby": { + "version": "7.1.1", + "resolved": "https://registry.npmmirror.com/globby/-/globby-7.1.1.tgz", + "integrity": "sha512-yANWAN2DUcBtuus5Cpd+SKROzXHs2iVXFZt/Ykrfz6SAXqacLX25NZpltE+39ceMexYF4TtEadjuSTw8+3wX4g==", + "license": "MIT", + "dependencies": { + "array-union": "^1.0.1", + "dir-glob": "^2.0.0", + "glob": "^7.1.2", + "ignore": "^3.3.5", + "pify": "^3.0.0", + "slash": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/globby/node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/globby/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/globby/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/globby/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -3393,6 +3676,12 @@ ], "license": "BSD-3-Clause" }, + "node_modules/ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmmirror.com/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "license": "MIT" + }, "node_modules/ignore-by-default": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz", @@ -3406,6 +3695,29 @@ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", "license": "MIT" }, + "node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -3500,6 +3812,18 @@ "node": ">=0.12.0" } }, + "node_modules/is-path-inside": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-4.0.0.tgz", + "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-stream": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-3.0.0.tgz", @@ -3758,7 +4082,6 @@ "version": "2.0.0", "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz", "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true, "license": "MIT" }, "node_modules/merge2": { @@ -3911,6 +4234,44 @@ "dev": true, "license": "MIT" }, + "node_modules/mount-point": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/mount-point/-/mount-point-3.0.0.tgz", + "integrity": "sha512-jAhfD7ZCG+dbESZjcY1SdFVFqSJkh/yGbdsifHcPkvuLRO5ugK0Ssmd9jdATu29BTd4JiN+vkpMzVvsUgP3SZA==", + "license": "MIT", + "dependencies": { + "@sindresorhus/df": "^1.0.1", + "pify": "^2.3.0", + "pinkie-promise": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mount-point/node_modules/@sindresorhus/df": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@sindresorhus/df/-/df-1.0.1.tgz", + "integrity": "sha512-1Hyp7NQnD/u4DSxR2DGW78TF9k7R0wZ8ev0BpMAIzA6yTQSHqNb5wTuvtcPYf4FWbVse2rW7RgDsyL8ua2vXHw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/move-file": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/move-file/-/move-file-3.1.0.tgz", + "integrity": "sha512-4aE3U7CCBWgrQlQDMq8da4woBWDGHioJFiOZ8Ie6Yq2uwYQ9V2kGhTz4x3u6Wc+OU17nw0yc3rJ/lQ4jIiPe3A==", + "license": "MIT", + "dependencies": { + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -4176,6 +4537,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-finally": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/p-finally/-/p-finally-2.0.1.tgz", + "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/p-limit": { "version": "7.2.0", "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-7.2.0.tgz", @@ -4191,6 +4570,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-map": { + "version": "5.5.0", + "resolved": "https://registry.npmmirror.com/p-map/-/p-map-5.5.0.tgz", + "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", + "license": "MIT", + "dependencies": { + "aggregate-error": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/package-json-from-dist": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", @@ -4212,6 +4606,24 @@ "node": ">= 0.8" } }, + "node_modules/path-exists": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -4256,6 +4668,27 @@ "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "license": "MIT" }, + "node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-type/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/pathe": { "version": "1.1.2", "resolved": "https://registry.npmmirror.com/pathe/-/pathe-1.1.2.tgz", @@ -4296,12 +4729,32 @@ "version": "2.3.0", "resolved": "https://registry.npmmirror.com/pify/-/pify-2.3.0.tgz", "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" } }, + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/pirates": { "version": "4.0.7", "resolved": "https://registry.npmmirror.com/pirates/-/pirates-4.0.7.tgz", @@ -5256,6 +5709,15 @@ "node": ">=10" } }, + "node_modules/slash": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/slash/-/slash-1.0.0.tgz", + "integrity": "sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/socket.io": { "version": "4.8.1", "resolved": "https://registry.npmmirror.com/socket.io/-/socket.io-4.8.1.tgz", @@ -5817,6 +6279,28 @@ "nodetouch": "bin/nodetouch.js" } }, + "node_modules/trash": { + "version": "8.1.1", + "resolved": "https://registry.npmmirror.com/trash/-/trash-8.1.1.tgz", + "integrity": "sha512-r15NUF+BJpDBKLTyOXaB+PhF8qh53TAOTpu/wCt6bqpu488jamsiOV7VdC//yPwAnyGIv1EJgetEnjLNer5XVw==", + "license": "MIT", + "dependencies": { + "@sindresorhus/chunkify": "^0.2.0", + "@stroncium/procfs": "^1.2.1", + "globby": "^7.1.1", + "is-path-inside": "^4.0.0", + "move-file": "^3.0.0", + "p-map": "^5.1.0", + "uuid": "^8.3.2", + "xdg-trashdir": "^3.1.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ts-interface-checker": { "version": "0.1.13", "resolved": "https://registry.npmmirror.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", @@ -5935,6 +6419,18 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, + "node_modules/user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha512-KMWqdlOcjCYdtIJpicDSFBQ8nFwS2i9sslAd6f4+CBGcU4gist2REnr2fxj2YocvJFxSF3ZOHLYLVZnUxv4BZQ==", + "license": "MIT", + "dependencies": { + "os-homedir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -5950,6 +6446,15 @@ "node": ">= 0.4.0" } }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -6258,6 +6763,30 @@ } } }, + "node_modules/xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/xdg-trashdir": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/xdg-trashdir/-/xdg-trashdir-3.1.0.tgz", + "integrity": "sha512-N1XQngeqMBoj9wM4ZFadVV2MymImeiFfYD+fJrNlcVcOHsJFFQe7n3b+aBoTPwARuq2HQxukfzVpQmAk1gN4sQ==", + "license": "MIT", + "dependencies": { + "@sindresorhus/df": "^3.1.1", + "mount-point": "^3.0.0", + "user-home": "^2.0.0", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/xmlhttprequest-ssl": { "version": "2.1.2", "resolved": "https://registry.npmmirror.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.1.2.tgz",