├── .nvmrc ├── .prettierrc ├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .gitignore ├── demo ├── client │ ├── src │ │ ├── vite-env.d.ts │ │ └── index.ts │ ├── package.json │ ├── tsconfig.json │ └── index.html ├── server │ ├── namespaces.ts │ ├── index.ts │ ├── package.json │ └── user.ts └── package.json ├── pnpm-workspace.yaml ├── .codesandbox ├── template.json └── tasks.json ├── package.json ├── server ├── package.json ├── tsconfig.json └── index.ts ├── client ├── tsconfig.json ├── package.json ├── tests │ └── index.test.ts └── index.ts ├── README.md ├── LICENSE └── pnpm-lock.yaml /.nvmrc: -------------------------------------------------------------------------------- 1 | v22 -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:22-slim -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | index.d.ts 3 | index.js 4 | -------------------------------------------------------------------------------- /demo/client/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /demo/server/namespaces.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | USER: "/user", 3 | }; 4 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - "." 3 | - client 4 | - server 5 | - demo 6 | - demo/* 7 | -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Devcontainer", 3 | "build": { 4 | "dockerfile": "./Dockerfile" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.codesandbox/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "Demo", 3 | "description": "socket-call demo", 4 | "tags": ["socket-call"], 5 | "published": true 6 | } 7 | -------------------------------------------------------------------------------- /demo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket-call-demo", 3 | "type": "module", 4 | "scripts": { 5 | "dev": "pnpm -r dev" 6 | }, 7 | "devDependencies": { 8 | "concurrently": "^9.1.2" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "packageManager": "pnpm@9.8.0", 3 | "description": "", 4 | "type": "module", 5 | "scripts": { 6 | "prettier": "prettier --write ." 7 | }, 8 | "devDependencies": { 9 | "prettier": "^3.5.3" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /demo/server/index.ts: -------------------------------------------------------------------------------- 1 | import { Server } from "socket.io"; 2 | import { server as user } from "./user"; 3 | 4 | const io = new Server({ 5 | cors: { 6 | origin: "*", 7 | }, 8 | }); 9 | 10 | user(io); 11 | 12 | io.listen(3000); 13 | console.log("Server listening on port 3000"); 14 | -------------------------------------------------------------------------------- /demo/client/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket-call-client-demo", 3 | "type": "module", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "tsc && vite build" 7 | }, 8 | "dependencies": { 9 | "socket-call-client": "workspace:*" 10 | }, 11 | "devDependencies": { 12 | "typescript": "^5.8.3", 13 | "vite": "^6.3.5" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /demo/server/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket-call-server-demo", 3 | "scripts": { 4 | "test": "echo \"Error: no test specified\" && exit 1", 5 | "dev": "tsx index.ts" 6 | }, 7 | "devDependencies": { 8 | "tsx": "^4.19.4" 9 | }, 10 | "dependencies": { 11 | "socket-call-server": "workspace:*", 12 | "socket.io": "^4.8.1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket-call-server", 3 | "version": "0.7.5", 4 | "type": "module", 5 | "files": [ 6 | "/index.js", 7 | "/index.d.ts" 8 | ], 9 | "main": "index.ts", 10 | "types": "index.d.ts", 11 | "engines": { 12 | "node": ">=22.0.0 <23.0.0" 13 | }, 14 | "scripts": { 15 | "build": "tsc", 16 | "prepack": "tsc" 17 | }, 18 | "dependencies": { 19 | "socket.io": "^4.8.1" 20 | }, 21 | "devDependencies": { 22 | "typescript": "^5.8.3" 23 | } 24 | } -------------------------------------------------------------------------------- /.codesandbox/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // These tasks will run in order when initializing your CodeSandbox project. 3 | "setupTasks": [ 4 | { 5 | "command": "npm install -g pnpm && pnpm i -r", 6 | "name": "Setup" 7 | } 8 | ], 9 | 10 | // These tasks can be run from CodeSandbox. Running one will open a log in the app. 11 | "tasks": { 12 | "Run demo": { 13 | "name": "Run demo", 14 | "command": "pnpm -r dev", 15 | "runAtStart": true, 16 | "preview": { 17 | "port": 5173 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "module": "ESNext", 5 | "target": "es2020", 6 | "declaration": true, 7 | "outDir": ".", 8 | "lib": ["ESNext", "ES2020"], 9 | "strict": true, 10 | "esModuleInterop": true, 11 | "skipLibCheck": true, 12 | "moduleResolution": "node", 13 | "resolveJsonModule": true, 14 | "noUnusedLocals": true, 15 | "strictNullChecks": true, 16 | "allowJs": true, 17 | "forceConsistentCasingInFileNames": true 18 | }, 19 | "include": ["index.ts"], 20 | "exclude": ["node_modules"] 21 | } 22 | -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "module": "ESNext", 5 | "target": "es2020", 6 | "declaration": true, 7 | "outDir": ".", 8 | "lib": ["ESNext", "ES2020", "DOM"], 9 | "strict": true, 10 | "esModuleInterop": true, 11 | "skipLibCheck": true, 12 | "moduleResolution": "node", 13 | "resolveJsonModule": true, 14 | "noUnusedLocals": true, 15 | "strictNullChecks": true, 16 | "allowJs": true, 17 | "forceConsistentCasingInFileNames": true 18 | }, 19 | "include": ["./index.ts"], 20 | "exclude": ["node_modules"] 21 | } 22 | -------------------------------------------------------------------------------- /demo/client/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2020", 4 | "useDefineForClassFields": true, 5 | "module": "ESNext", 6 | "lib": ["ES2020", "DOM", "DOM.Iterable"], 7 | "skipLibCheck": true, 8 | /* Bundler mode */ 9 | "moduleResolution": "bundler", 10 | "allowImportingTsExtensions": true, 11 | "isolatedModules": true, 12 | "moduleDetection": "force", 13 | "noEmit": true, 14 | /* Linting */ 15 | "strict": true, 16 | "noUnusedLocals": true, 17 | "noUnusedParameters": true, 18 | "noFallthroughCasesInSwitch": true, 19 | "noUncheckedSideEffectImports": true 20 | }, 21 | "include": ["src"] 22 | } 23 | -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket-call-client", 3 | "version": "0.7.5", 4 | "type": "module", 5 | "files": [ 6 | "/index.js", 7 | "/index.d.ts" 8 | ], 9 | "main": "index.js", 10 | "types": "index.d.ts", 11 | "engines": { 12 | "node": ">=22.0.0 <23.0.0" 13 | }, 14 | "scripts": { 15 | "build": "tsc", 16 | "prepack": "tsc", 17 | "test": "bun test" 18 | }, 19 | "devDependencies": { 20 | "@types/bun": "^1.2.14", 21 | "typescript": "^5.8.3" 22 | }, 23 | "dependencies": { 24 | "socket.io-client": "^4.8.1" 25 | }, 26 | "peerDependencies": { 27 | "axios-cache-interceptor": "^1.6.2", 28 | "typescript": "^5.3.3", 29 | "vue": "^3.4.15" 30 | }, 31 | "peerDependenciesMeta": { 32 | "axios-cache-interceptor": { 33 | "optional": true 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /demo/client/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | socket-call demo 7 | 8 | 9 |
10 |
11 |

socket-call

12 |
13 | 14 | 15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 |
23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /demo/client/src/index.ts: -------------------------------------------------------------------------------- 1 | import { EventOutput, SocketClient } from "socket-call-client"; 2 | import namespaces from "../../server/namespaces.ts"; 3 | import { 4 | type ClientListenEvents as UserListenEvents, 5 | type ClientEmitEvents as UserEmitEvents, 6 | } from "../../server/user.ts"; 7 | 8 | const socket = new SocketClient("http://localhost:3000"); 9 | const user = socket.addNamespace( 10 | namespaces.USER, 11 | ); 12 | 13 | const log = (message: string) => { 14 | document.getElementById("messages")!.innerHTML += `${message}
`; 15 | }; 16 | 17 | document.getElementById("login-form")!.addEventListener("submit", (e) => { 18 | e.preventDefault(); 19 | const username = document.getElementById("username") as HTMLInputElement; 20 | user.login(username.value).then((message) => { 21 | //^login: (username: string) => Promise 22 | 23 | // We can use the EventOutput type to get the return type of the event 24 | type Message = EventOutput; 25 | const myMessage: Message = message; 26 | log(myMessage); 27 | }); 28 | }); 29 | 30 | document.getElementById("send-reminder")!.addEventListener("click", () => { 31 | user.sendReminderIn5Seconds(); 32 | }); 33 | 34 | document.getElementById("run-process")!.addEventListener("click", () => { 35 | user.runProcess(); 36 | }); 37 | 38 | user._connect(); 39 | 40 | user.showReminder = (message) => { 41 | // ^ message: string 42 | log(message); 43 | }; 44 | 45 | user.showProgress = (id) => { 46 | // ^ id: number 47 | log(`Process started: ${id}`); 48 | }; 49 | 50 | user.showProgressEnd = (id) => { 51 | log(`Process ended: ${id}`); 52 | }; 53 | -------------------------------------------------------------------------------- /demo/server/user.ts: -------------------------------------------------------------------------------- 1 | import type { Socket } from "socket.io"; 2 | import { 3 | type NamespaceProxyTarget, 4 | type ServerSentStartEndEvents, 5 | useSocketEvents, 6 | } from "socket-call-server"; 7 | import namespaces from "./namespaces"; 8 | 9 | type SessionData = { 10 | user?: { 11 | username: string; 12 | }; 13 | }; 14 | 15 | type UserServerSentLongRunningEvents = { 16 | showProgress: (processId: number) => void; 17 | }; 18 | 19 | type UserServerSentEvents = 20 | ServerSentStartEndEvents & { 21 | showReminder: (message: string) => void; 22 | }; 23 | 24 | const listenEvents = (services: UserServices) => { 25 | console.log("User namespace connected"); 26 | return { 27 | login: async (username: string) => { 28 | services._socket.data.user = { username }; 29 | console.log(`User ${username} logged in`); 30 | return `You are now logged in ${username}!`; 31 | }, 32 | sendReminderIn5Seconds: async () => { 33 | setTimeout(() => { 34 | services.showReminder( 35 | `Hey ${services._socket.data.user!.username}, you asked me to remind you!`, 36 | ); 37 | }, 5000); 38 | }, 39 | runProcess: async () => { 40 | const processId = ~~(Math.random() * 1000); 41 | services.showProgress(processId); 42 | setTimeout(() => { 43 | services.showProgressEnd(processId); 44 | }, 2000); 45 | }, 46 | }; 47 | }; 48 | 49 | type UserServices = NamespaceProxyTarget< 50 | Socket, 51 | UserServerSentEvents 52 | >; 53 | 54 | const { client, server } = useSocketEvents< 55 | typeof listenEvents, 56 | UserServerSentEvents 57 | >(namespaces.USER, { 58 | listenEvents, 59 | middlewares: [], 60 | }); 61 | 62 | export { client, server }; 63 | export type ClientEmitEvents = (typeof client)["emitEvents"]; 64 | export type ClientListenEvents = (typeof client)["listenEventsInterfaces"]; 65 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### socket-call 2 | 3 | This small library on top of socket.io allows to call events like any regular async Typescript function. 4 | 5 | [Code Sandbox demo here!](https://codesandbox.io/p/github/bperel/socket-call/main) 6 | 7 | Usage example: 8 | * Server side: 9 | 10 | ```typescript 11 | import { Server } from "socket.io"; 12 | import { 13 | type NamespaceProxyTarget, 14 | type ServerSentStartEndEvents, 15 | useSocketEvents, 16 | } from "socket-call-server"; 17 | 18 | const io = new Server(); 19 | user(io); 20 | io.listen(3000); 21 | 22 | type SessionData = { 23 | user?: { 24 | username: string; 25 | }; 26 | }; 27 | 28 | type UserServerSentEvents = { 29 | showServerMessage: (message: string) => void; 30 | }; 31 | 32 | const listenEvents = (services: UserServices) => ({ 33 | // Add your events here, the name of the event is the name of the function 34 | login: async (username: string) => { 35 | services._socket.data.user = { username }; 36 | console.log(`User ${username} logged in`); 37 | setInterval(() => { 38 | // Calling an event that's handled client-side 39 | services.showServerMessage(`You're still logged in ${username}!`) 40 | }, 1000); 41 | return `You are now logged in ${username}!`; 42 | }, 43 | }); 44 | 45 | type UserServices = NamespaceProxyTarget< 46 | Socket, 47 | UserServerSentEvents 48 | >; 49 | 50 | const { client, server } = useSocketEvents< 51 | typeof listenEvents, 52 | UserServerSentEvents, 53 | Record, 54 | SessionData 55 | >('/user', { 56 | listenEvents, 57 | middlewares: [], 58 | }); 59 | 60 | export type ClientEmitEvents = (typeof client)["emitEvents"]; 61 | export type ClientListenEvents = (typeof client)["listenEventsInterfaces"]; 62 | ``` 63 | 64 | * Client side: 65 | 66 | ```typescript 67 | import { SocketClient } from 'socket-call-client'; 68 | import { 69 | type ClientListenEvents as UserListenEvents, 70 | type ClientEmitEvents as UserEmitEvents, 71 | } from "../server/user.ts"; 72 | 73 | const socket = new SocketClient("http://localhost:3000"); 74 | const user = socket.addNamespace( 75 | '/user' 76 | ); 77 | 78 | // Calling an event that's declared server-side 79 | user.login(username.value).then((message) => { 80 | console.log('Server acked with', message); 81 | }); 82 | 83 | // Handling an event that is sent by the server 84 | user.showServerMessage = (message) => { 85 | console.log('Server sent us the message', message); 86 | } 87 | ``` 88 | -------------------------------------------------------------------------------- /server/index.ts: -------------------------------------------------------------------------------- 1 | import type { ExtendedError, Server, Socket } from "socket.io"; 2 | 3 | export type ScopedError = { 4 | error: ErrorKey; 5 | message: string; 6 | selector: string; 7 | }; 8 | 9 | export type Errorable = 10 | | T 11 | | { error: ErrorKey; errorDetails?: string } 12 | | ScopedError; 13 | 14 | type AsyncEventsMap = { 15 | [event: string]: (...args: any[]) => Promise; 16 | }; 17 | type EventsMap = { 18 | [event: string]: (...args: any[]) => any; 19 | }; 20 | 21 | type ServerSentEndEvents = { 22 | [K in keyof Events & string as `${K}End`]: Events[K]; 23 | }; 24 | 25 | type NamespaceProxyTargetInternal = { 26 | _socket: Socket; 27 | }; 28 | 29 | export type NamespaceProxyTarget< 30 | Socket, 31 | EmitEvents extends EventsMap, 32 | > = EmitEvents & NamespaceProxyTargetInternal; 33 | 34 | const getProxy = (socket: S) => 35 | new Proxy({} as NamespaceProxyTarget, { 36 | get: < 37 | EventNameOrSpecialProperty extends 38 | | "_socket" 39 | | (keyof EmitEvents & string), 40 | >( 41 | _: never, 42 | prop: EventNameOrSpecialProperty, 43 | ): EventNameOrSpecialProperty extends "_socket" 44 | ? typeof socket 45 | : ( 46 | ...args: Parameters 47 | ) => boolean => { 48 | if (prop === "_socket") { 49 | return socket as any; // TODO improve typing 50 | } 51 | return ((...args: any[]) => socket.emit(prop, ...args)) as any; // TODO improve typing 52 | }, 53 | }); 54 | 55 | export type ServerSentStartEndEvents = 56 | Events & ServerSentEndEvents; 57 | 58 | export const useSocketEvents = < 59 | ListenEvents extends ( 60 | services: NamespaceProxyTarget, 61 | ) => AsyncEventsMap, 62 | EmitEvents extends EventsMap = EventsMap, 63 | >( 64 | endpoint: Parameters[0], 65 | options: { 66 | listenEvents: ListenEvents; 67 | middlewares: (( 68 | services: NamespaceProxyTarget, 69 | next: (err?: ExtendedError) => void, 70 | ) => void)[]; 71 | }, 72 | ) => ({ 73 | server: (io: Server) => { 74 | const namespace = io.of(endpoint); 75 | for (const middleware of options?.middlewares ?? []) { 76 | namespace.use((socket, next) => { 77 | middleware(getProxy(socket), next); 78 | }); 79 | } 80 | 81 | namespace.on("connection", (socket) => { 82 | const socketEventImplementations = options.listenEvents( 83 | getProxy(socket), 84 | ); 85 | for (const eventName in socketEventImplementations) { 86 | socket.on(eventName, async (...args: unknown[]) => { 87 | const callback = args.pop() as Function; 88 | const output = await socketEventImplementations[eventName](...args); 89 | callback(output); 90 | }); 91 | } 92 | }); 93 | }, 94 | client: { 95 | emitEvents: {} as ReturnType, 96 | listenEventsInterfaces: {} as EmitEvents, 97 | }, 98 | }); 99 | -------------------------------------------------------------------------------- /client/tests/index.test.ts: -------------------------------------------------------------------------------- 1 | import { NotEmptyStorageValue } from "axios-cache-interceptor"; 2 | import { AxiosStorage, SocketClient, stringifyEventParameters } from "../index"; 3 | import { expect, describe, mock, beforeEach, it, jest } from "bun:test"; 4 | 5 | type ClientEvents = { 6 | testEvent: ( 7 | arg1: string, 8 | options?: { disableCache?: boolean }, 9 | ) => Promise<{ data: string }>; 10 | }; 11 | 12 | const mockSocket = { 13 | io: jest.fn(() => ({ 14 | connect: jest.fn().mockReturnThis(), 15 | on: jest.fn().mockReturnThis(), 16 | onAny: jest.fn().mockReturnThis(), 17 | emit: jest.fn(), 18 | emitWithAck: jest.fn().mockResolvedValue({ data: "test" }), 19 | })), 20 | }; 21 | 22 | const removeTimestamps = ([log]: string) => 23 | log.replace(/ (?:in [^ ]+ )?at [^Z]+Z/, ""); 24 | 25 | const buildAxiosStorage = ( 26 | cachedValue: Record, 27 | ): AxiosStorage => ({ 28 | set: (key, data) => { 29 | console.log("setting cache", key, data); 30 | cachedValue[key] = data; 31 | }, 32 | get: async (key) => { 33 | console.log("getting cache", key); 34 | return cachedValue[key]; 35 | }, 36 | remove: () => jest.fn(), 37 | clear: () => jest.fn(), 38 | }); 39 | 40 | describe("SocketClient", () => { 41 | let socketClient: SocketClient; 42 | 43 | beforeEach(() => { 44 | mock.module("socket.io-client", () => mockSocket); 45 | socketClient = new SocketClient("http://test.com/"); 46 | }); 47 | 48 | describe("constructor", () => { 49 | it("should create instance with socket root url", () => { 50 | expect(socketClient).toBeInstanceOf(SocketClient); 51 | }); 52 | }); 53 | 54 | describe("cacheHydrator", () => { 55 | it("should handle cache hydration process", async () => { 56 | const loadCache = jest.fn().mockResolvedValue(undefined); 57 | const loadReal = jest.fn(); 58 | 59 | await socketClient.cacheHydrator.run(loadCache, loadReal); 60 | 61 | expect(loadCache).toHaveBeenCalled(); 62 | expect(loadReal).toHaveBeenCalled(); 63 | expect(socketClient.cacheHydrator.state.value?.mode).toBe("HYDRATE"); 64 | }); 65 | }); 66 | 67 | describe("addNamespace", () => { 68 | it("should create namespace with basic configuration", () => { 69 | const namespace = 70 | socketClient.addNamespace("test-namespace"); 71 | 72 | expect(namespace).toBeDefined(); 73 | expect(namespace._socket).toBeUndefined(); 74 | expect(typeof namespace._connect).toBe("function"); 75 | }); 76 | 77 | it("should handle connection with session token", () => { 78 | const mockToken = "test-token"; 79 | const namespace = socketClient.addNamespace( 80 | "test-namespace", 81 | { 82 | session: { 83 | getToken: jest.fn().mockResolvedValue(mockToken), 84 | clearSession: jest.fn(), 85 | sessionExists: jest.fn().mockResolvedValue(true), 86 | }, 87 | }, 88 | ); 89 | 90 | namespace._connect(); 91 | 92 | expect(mockSocket.io).toHaveBeenCalledWith( 93 | "http://test.com/test-namespace", 94 | expect.objectContaining({ 95 | extraHeaders: { "X-Namespace": "test-namespace" }, 96 | transports: ["websocket"], 97 | }), 98 | ); 99 | }); 100 | 101 | it("should handle an event call", async () => { 102 | const namespace = 103 | socketClient.addNamespace("test-namespace"); 104 | await namespace.testEvent("arg1"); 105 | 106 | expect(namespace._socket!.emitWithAck).toHaveBeenCalledWith( 107 | "testEvent", 108 | "arg1", 109 | ); 110 | }); 111 | 112 | it("should store and restore cached responses", async () => { 113 | let cachedValue: Record = { 114 | 'test-namespace/testEvent ["arg2"]': { 115 | data: { data: "cached", headers: {}, status: 200, statusText: "OK" }, 116 | createdAt: 1, 117 | state: "cached", 118 | ttl: 1, 119 | }, 120 | }; 121 | const storage = buildAxiosStorage(cachedValue); 122 | const namespace = socketClient.addNamespace( 123 | "test-namespace", 124 | { 125 | cache: { 126 | ttl: 1, 127 | storage, 128 | }, 129 | }, 130 | ); 131 | const cachedResponse = await namespace.testEvent("arg2"); 132 | expect(cachedResponse.data.data).toEqual("cached"); 133 | 134 | const response = await namespace.testEvent("arg1"); 135 | expect(response).toEqual({ data: "test" }); 136 | }); 137 | 138 | it("should not use cached responses when disableCache is true", async () => { 139 | const cachedValue: Record = { 140 | 'test-namespace/testEvent ["arg2"]': { 141 | data: { data: "cached", headers: {}, status: 200, statusText: "OK" }, 142 | createdAt: 1, 143 | state: "cached", 144 | ttl: 1, 145 | }, 146 | }; 147 | 148 | const debugSpy = jest.spyOn(console, "debug"); 149 | 150 | const namespace = socketClient.addNamespace( 151 | "test-namespace", 152 | { 153 | cache: { 154 | ttl: 1, 155 | storage: buildAxiosStorage(cachedValue), 156 | }, 157 | }, 158 | ); 159 | 160 | const response = await namespace.testEvent("arg1", { 161 | disableCache: true, 162 | }); 163 | expect(response).toEqual({ data: "test" }); 164 | expect(debugSpy.mock.calls.map(removeTimestamps)).toEqual([ 165 | 'test-namespace/testEvent("arg1") called without token', 166 | 'test-namespace/testEvent("arg1") responded', 167 | ]); 168 | }); 169 | 170 | it("should keep the state of the data loader", async () => { 171 | const cachedValue: Record = { 172 | 'test-namespace/testEvent ["arg2"]': { 173 | data: { data: "cached", headers: {}, status: 200, statusText: "OK" }, 174 | createdAt: 1, 175 | state: "cached", 176 | ttl: 1, 177 | }, 178 | }; 179 | const namespace = socketClient.addNamespace( 180 | "test-namespace", 181 | { 182 | cache: { 183 | ttl: 1, 184 | storage: buildAxiosStorage(cachedValue), 185 | }, 186 | }, 187 | ); 188 | 189 | await socketClient.cacheHydrator.run( 190 | () => 191 | namespace.testEvent("arg2").then(() => { 192 | expect( 193 | JSON.parse( 194 | JSON.stringify( 195 | socketClient.cacheHydrator.state.value?.cachedCallsDone, 196 | ), 197 | ), 198 | ).toEqual(['test-namespace/testEvent("arg2")']); 199 | }), 200 | () => { 201 | expect( 202 | socketClient.cacheHydrator.state.value?.cachedCallsDone, 203 | ).toEqual([]); 204 | }, 205 | ); 206 | }); 207 | }); 208 | 209 | describe("error handling", () => { 210 | beforeEach(() => { 211 | mock.module("socket.io-client", () => mockSocket); 212 | socketClient = new SocketClient("http://test.com/"); 213 | }); 214 | 215 | it("should handle connect error", () => { 216 | const errorSpy = jest.spyOn(console, "error"); 217 | const error = new Error("connection failed"); 218 | 219 | socketClient.onConnectError(error, "test-namespace"); 220 | 221 | expect(errorSpy).toHaveBeenCalledWith( 222 | expect.stringContaining("test-namespace: connect_error"), 223 | ); 224 | }); 225 | 226 | // it("should handle socket errors in namespace", async () => { 227 | // const namespace = socketClient.addNamespace( 228 | // "test-namespace", 229 | // ); 230 | // const error = { error: "test error" }; 231 | 232 | // namespace._connect() 233 | 234 | // mockSocket.io.emitWithAck.mockResolvedValueOnce(error); 235 | 236 | // await expect(namespace.testEvent()).rejects.toEqual(error); 237 | // }); 238 | }); 239 | 240 | describe("stringifyEventParameters", () => { 241 | it("should truncate long strings", () => { 242 | const longString = "a".repeat(60); 243 | const result = stringifyEventParameters([longString]); 244 | expect(result).toBe(JSON.stringify("a".repeat(50) + "...")); 245 | }); 246 | 247 | it("should truncate long objects", () => { 248 | const input = { 249 | short: "value", 250 | long: "a".repeat(40), 251 | nested: { 252 | deeper: "b".repeat(40), 253 | }, 254 | }; 255 | const result = stringifyEventParameters([input]); 256 | expect(result).toBe( 257 | '{"short":"value","long":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","nested":{"deeper":"bbbbbbbbbbbbb...', 258 | ); 259 | }); 260 | 261 | it("should not truncate short strings", () => { 262 | const shortString = "hello"; 263 | const result = stringifyEventParameters([shortString]); 264 | expect(result).toBe(JSON.stringify(shortString)); 265 | }); 266 | 267 | it("should handle arrays recursively", () => { 268 | const input = ["short", "a".repeat(60), ["nested", "b".repeat(60)]]; 269 | const result = stringifyEventParameters([input]); 270 | expect(result).toBe( 271 | '["short","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",["nested","bbbbbbbbbbbbbbbbbbbbbbbb...', 272 | ); 273 | }); 274 | 275 | it("should handle objects recursively", () => { 276 | const input = { 277 | short: "value", 278 | long: "a".repeat(60), 279 | nested: { 280 | deep: "b".repeat(60), 281 | }, 282 | }; 283 | const result = stringifyEventParameters([input]); 284 | expect(result).toBe( 285 | '{"short":"value","long":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...","nested":{"deep":"bb...', 286 | ); 287 | }); 288 | 289 | it("should preserve primitive types", () => { 290 | const input = { 291 | number: 42, 292 | boolean: true, 293 | null: null, 294 | string: "hello", 295 | }; 296 | const result = stringifyEventParameters([input]); 297 | expect(result).toBe(JSON.stringify(input)); 298 | }); 299 | }); 300 | }); 301 | -------------------------------------------------------------------------------- /client/index.ts: -------------------------------------------------------------------------------- 1 | // @ts-ignore Optional peer dependency 2 | import type { CacheOptions } from "axios-cache-interceptor"; 3 | import { io, type Socket } from "socket.io-client"; 4 | import { Ref, ref } from "vue"; 5 | 6 | export type ScopedError = { 7 | error: ErrorKey; 8 | message: string; 9 | selector: string; 10 | }; 11 | 12 | export type Errorable = 13 | | T 14 | | { error: ErrorKey; errorDetails?: string } 15 | | ScopedError; 16 | 17 | export type WithoutError = T extends { error: any; errorDetails?: any } 18 | ? never 19 | : T extends { error: any } 20 | ? never 21 | : T; 22 | 23 | export type EventOutput< 24 | ClientEvents extends EventsMap, 25 | EventName extends keyof ClientEvents, 26 | > = Awaited>; 27 | 28 | export type SuccessfulEventOutput< 29 | ClientEvents extends EventsMap, 30 | EventName extends keyof ClientEvents, 31 | > = WithoutError>; 32 | 33 | type SocketCacheOptions = Pick< 34 | CacheOptions, 35 | "storage" 36 | > & { 37 | ttl: number | ((event: StringKeyOf, args: unknown[]) => number); 38 | }; 39 | 40 | // eslint-disable-next-line @typescript-eslint/no-explicit-any 41 | type EventsMap = Record Promise>; 42 | 43 | type StringKeyOf = keyof T & string; 44 | 45 | type SpecialProperties = "_socket" | "_connect" | "_ongoingCalls"; 46 | 47 | type NamespaceProxyTargetInternal = { 48 | _socket: Socket | undefined; 49 | _connect: () => void; 50 | _ongoingCalls: Ref; 51 | }; 52 | 53 | type AddDisableCache = T extends (...args: infer Args) => infer Return 54 | ? (...args: [...Args, { disableCache: boolean }] | Args) => Return 55 | : never; 56 | 57 | type NamespaceProxyTarget< 58 | Events extends EventsMap, 59 | ServerSentEvents extends Record void> = Record< 60 | string, 61 | never 62 | >, 63 | > = { 64 | [K in keyof Events]: AddDisableCache; 65 | } & ServerSentEvents & 66 | NamespaceProxyTargetInternal; 67 | 68 | type JsonValue = 69 | | string 70 | | number 71 | | boolean 72 | | null 73 | | JsonValue[] 74 | | { [key: string]: JsonValue }; 75 | 76 | const formatValue = (obj: JsonValue): JsonValue => { 77 | if (typeof obj === "string") { 78 | return obj.length > 50 ? `${obj.slice(0, 50)}...` : obj; 79 | } 80 | if (Array.isArray(obj)) { 81 | return obj.map(formatValue); 82 | } 83 | if ( 84 | obj && 85 | typeof obj === "object" && 86 | (typeof Buffer === "undefined" || !Buffer.isBuffer(obj)) 87 | ) { 88 | return Object.entries(obj).reduce<{ [key: string]: JsonValue }>( 89 | (result, [key, value]) => ({ 90 | ...result, 91 | [key]: formatValue(value), 92 | }), 93 | {}, 94 | ); 95 | } 96 | return obj; 97 | }; 98 | 99 | export const stringifyEventParameters = (args: JsonValue[]): string => { 100 | let stringified = args 101 | .map((arg) => JSON.stringify(formatValue(arg))) 102 | .join(", "); 103 | if (stringified.length > 100) { 104 | stringified = stringified.substring(0, 100) + "..."; 105 | } 106 | return stringified; 107 | }; 108 | 109 | export class SocketClient { 110 | constructor(private socketRootUrl: string) {} 111 | 112 | public cacheHydrator = { 113 | state: ref<{ 114 | mode: "LOAD_CACHE" | "HYDRATE"; 115 | cachedCallsDone: string[]; 116 | hydratedCallsDoneAmount: number; 117 | }>(), 118 | run: async ( 119 | loadCachedDataFn: () => Promise, 120 | loadRealDataFn: () => void, 121 | ) => { 122 | this.cacheHydrator.state = ref({ 123 | mode: "LOAD_CACHE", 124 | cachedCallsDone: [], 125 | hydratedCallsDoneAmount: 0, 126 | }); 127 | 128 | console.debug("loading cache..."); 129 | await loadCachedDataFn(); 130 | 131 | this.cacheHydrator.state.value!.mode = "HYDRATE"; 132 | this.cacheHydrator.state.value!.hydratedCallsDoneAmount = 0; 133 | 134 | console.debug("Hydrating..."); 135 | loadRealDataFn(); 136 | }, 137 | }; 138 | 139 | public onConnectError = ( 140 | e: Error, 141 | namespace: string, 142 | _eventName?: string, 143 | ) => { 144 | console.error(`${namespace}: connect_error: ${e}`); 145 | }; 146 | public onConnected = (namespace: string) => { 147 | console.info(`${namespace}: connected`); 148 | }; 149 | 150 | public addNamespace< 151 | Events extends EventsMap, 152 | ServerSentEvents extends Record void> = Record< 153 | string, 154 | never 155 | >, 156 | >( 157 | namespaceName: string, 158 | namespaceOptions: { 159 | onConnectError?: (e: Error, namespace: string) => void; 160 | onConnected?: (namespace: string) => void; 161 | 162 | session?: { 163 | getToken: () => Promise; 164 | clearSession: () => Promise | void; 165 | sessionExists: () => Promise; 166 | }; 167 | cache?: Required> & { 168 | disableCache?: (eventName: StringKeyOf) => boolean; 169 | }; 170 | } = {}, 171 | ): NamespaceProxyTarget { 172 | const { session, cache } = namespaceOptions; 173 | let socket: Socket | undefined; 174 | 175 | let isOffline: boolean | undefined; 176 | 177 | const ongoingCalls = ref([]); 178 | 179 | const connect = () => { 180 | console.log("connect"); 181 | console.log( 182 | `connecting to ${namespaceName} at ${new Date().toISOString()}`, 183 | ); 184 | socket = io(this.socketRootUrl + namespaceName, { 185 | extraHeaders: { 186 | "X-Namespace": namespaceName, 187 | }, 188 | timeout: 1000, 189 | transports: ["websocket"], 190 | multiplex: false, 191 | auth: async (cb) => { 192 | const token = await session?.getToken(); 193 | cb(token ? { token } : {}); 194 | }, 195 | }) 196 | .onAny((event, ...args) => { 197 | if (!["connect", "connect_error"].includes(event)) { 198 | console.debug(`${namespaceName}/${event} received`, args); 199 | } 200 | }) 201 | .on("connect_error", (e) => { 202 | isOffline = true; 203 | console.log("connect_error", namespaceName, e); 204 | this.onConnectError(e, namespaceName); 205 | }) 206 | .on("connect", () => { 207 | isOffline = false; 208 | console.log( 209 | `connected to ${namespaceName} at ${new Date().toISOString()}`, 210 | ); 211 | 212 | this.onConnected(namespaceName); 213 | }); 214 | }; 215 | 216 | type ProxyTarget = NamespaceProxyTarget; 217 | 218 | return new Proxy({} as ProxyTarget, { 219 | set: >( 220 | _: never, 221 | event: EventName, 222 | callback: ServerSentEvents[EventName], 223 | ) => { 224 | socket?.on(event, callback as any); 225 | return true; 226 | }, 227 | get: < 228 | EventNameOrSpecialProperty extends 229 | | SpecialProperties 230 | | StringKeyOf, 231 | >( 232 | _: never, 233 | eventName: EventNameOrSpecialProperty, 234 | ) => { 235 | switch (eventName) { 236 | case "_socket": 237 | return socket as ProxyTarget["_socket"]; 238 | case "_connect": 239 | return connect as ProxyTarget["_connect"]; 240 | case "_ongoingCalls": 241 | return ongoingCalls as ProxyTarget["_ongoingCalls"]; 242 | case "__proto__": 243 | case "toJSON": 244 | return null as any; 245 | } 246 | 247 | type EventParameters = Parameters; 248 | 249 | return async ( 250 | ...args: 251 | | [...EventParameters, { disableCache: true }] 252 | | EventParameters 253 | ) => { 254 | if (!socket) { 255 | connect(); 256 | } 257 | const startTime = Date.now(); 258 | 259 | const lastArg = [...args].pop(); 260 | const disableCache = 261 | lastArg && 262 | typeof lastArg === "object" && 263 | "disableCache" in lastArg && 264 | lastArg.disableCache; 265 | if (disableCache) { 266 | args.pop(); 267 | } 268 | 269 | const shortEventConsoleString = 270 | `${eventName}(${stringifyEventParameters(args)})` as const; 271 | const eventConsoleString = `${namespaceName}/${shortEventConsoleString}`; 272 | const debugCall = async (post: boolean = false, cached = false) => { 273 | const token = await session?.getToken(); 274 | if (eventName !== "toJSON") { 275 | if (cached) { 276 | console.debug(`${eventConsoleString} served from cache`); 277 | } else { 278 | console.debug( 279 | `${eventConsoleString} ${ 280 | post 281 | ? `responded in ${Date.now() - startTime}ms` 282 | : `called ${token ? "with token" : "without token"}` 283 | } at ${new Date().toISOString()}`, 284 | ); 285 | 286 | if (post) { 287 | ongoingCalls.value = ongoingCalls.value.filter( 288 | (call) => call !== shortEventConsoleString, 289 | ); 290 | } else { 291 | ongoingCalls.value = ongoingCalls.value.concat( 292 | shortEventConsoleString, 293 | ); 294 | } 295 | } 296 | } 297 | }; 298 | let isCacheUsed = false; 299 | let cacheKey; 300 | if (cache && !disableCache) { 301 | cacheKey = `${namespaceName}/${eventName} ${JSON.stringify(args)}`; 302 | const cacheData = await cache.storage.get(cacheKey, { 303 | cache: { 304 | ttl: 305 | isOffline || 306 | this.cacheHydrator.state.value?.mode === "LOAD_CACHE" 307 | ? undefined 308 | : typeof cache.ttl === "function" 309 | ? cache.ttl(eventName, args) 310 | : cache.ttl, 311 | }, 312 | }); 313 | isCacheUsed = 314 | cacheData !== undefined && 315 | !(typeof cacheData === "object" && cacheData.state === "empty"); 316 | if (isCacheUsed) { 317 | debugCall(true, true); 318 | if (this.cacheHydrator.state.value) { 319 | switch (this.cacheHydrator.state.value.mode) { 320 | case "LOAD_CACHE": 321 | this.cacheHydrator.state.value.cachedCallsDone.push( 322 | eventConsoleString, 323 | ); 324 | break; 325 | case "HYDRATE": 326 | if ( 327 | this.cacheHydrator.state.value.cachedCallsDone.includes( 328 | eventConsoleString, 329 | ) 330 | ) { 331 | this.cacheHydrator.state.value.hydratedCallsDoneAmount++; 332 | } 333 | break; 334 | } 335 | } 336 | return cacheData as any; 337 | } 338 | } 339 | 340 | socket!.on("connect_error", (e) => { 341 | isOffline = true; 342 | 343 | this.onConnectError( 344 | e.message === "websocket error" 345 | ? { 346 | message: "offline_no_cache", 347 | name: "offline_no_cache", 348 | } 349 | : e, 350 | namespaceName, 351 | eventName, 352 | ); 353 | }); 354 | 355 | await debugCall(); 356 | const data = await socket!.emitWithAck(eventName, ...args); 357 | 358 | if (data && typeof data === "object" && "error" in data) { 359 | throw data; 360 | } 361 | await debugCall(true); 362 | if (cache && cacheKey) { 363 | cache.storage.set(cacheKey, data, { 364 | timeout: 365 | typeof cache.ttl === "function" 366 | ? cache.ttl(eventName, args) 367 | : cache.ttl, 368 | }); 369 | } 370 | if ( 371 | this.cacheHydrator.state.value?.mode === "HYDRATE" && 372 | this.cacheHydrator.state.value.cachedCallsDone.includes( 373 | eventConsoleString, 374 | ) 375 | ) { 376 | this.cacheHydrator.state.value.hydratedCallsDoneAmount++; 377 | } 378 | return data; 379 | }; 380 | }, 381 | }); 382 | } 383 | } 384 | 385 | export type { AxiosStorage } from "axios-cache-interceptor"; 386 | export { buildStorage, buildWebStorage } from "axios-cache-interceptor"; 387 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: "9.0" 2 | 3 | settings: 4 | autoInstallPeers: true 5 | excludeLinksFromLockfile: false 6 | 7 | importers: 8 | .: 9 | devDependencies: 10 | prettier: 11 | specifier: ^3.5.3 12 | version: 3.5.3 13 | 14 | client: 15 | dependencies: 16 | axios-cache-interceptor: 17 | specifier: ^1.6.2 18 | version: 1.8.0(axios@1.7.9) 19 | socket.io-client: 20 | specifier: ^4.8.1 21 | version: 4.8.1 22 | vue: 23 | specifier: ^3.4.15 24 | version: 3.5.15(typescript@5.8.3) 25 | devDependencies: 26 | "@types/bun": 27 | specifier: ^1.2.14 28 | version: 1.2.14 29 | typescript: 30 | specifier: ^5.8.3 31 | version: 5.8.3 32 | 33 | demo: 34 | devDependencies: 35 | concurrently: 36 | specifier: ^9.1.2 37 | version: 9.1.2 38 | 39 | demo/client: 40 | dependencies: 41 | socket-call-client: 42 | specifier: workspace:* 43 | version: link:../../client 44 | devDependencies: 45 | typescript: 46 | specifier: ^5.8.3 47 | version: 5.8.3 48 | vite: 49 | specifier: ^6.3.5 50 | version: 6.3.5(@types/node@22.15.21)(tsx@4.19.4) 51 | 52 | demo/server: 53 | dependencies: 54 | socket-call-server: 55 | specifier: workspace:* 56 | version: link:../../server 57 | socket.io: 58 | specifier: ^4.8.1 59 | version: 4.8.1 60 | devDependencies: 61 | tsx: 62 | specifier: ^4.19.4 63 | version: 4.19.4 64 | 65 | server: 66 | dependencies: 67 | socket.io: 68 | specifier: ^4.8.1 69 | version: 4.8.1 70 | devDependencies: 71 | typescript: 72 | specifier: ^5.8.3 73 | version: 5.8.3 74 | 75 | packages: 76 | "@babel/helper-string-parser@7.27.1": 77 | resolution: 78 | { 79 | integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==, 80 | } 81 | engines: { node: ">=6.9.0" } 82 | 83 | "@babel/helper-validator-identifier@7.27.1": 84 | resolution: 85 | { 86 | integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==, 87 | } 88 | engines: { node: ">=6.9.0" } 89 | 90 | "@babel/parser@7.27.2": 91 | resolution: 92 | { 93 | integrity: sha512-QYLs8299NA7WM/bZAdp+CviYYkVoYXlDW2rzliy3chxd1PQjej7JORuMJDJXJUb9g0TT+B99EwaVLKmX+sPXWw==, 94 | } 95 | engines: { node: ">=6.0.0" } 96 | hasBin: true 97 | 98 | "@babel/types@7.27.1": 99 | resolution: 100 | { 101 | integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==, 102 | } 103 | engines: { node: ">=6.9.0" } 104 | 105 | "@esbuild/aix-ppc64@0.25.4": 106 | resolution: 107 | { 108 | integrity: sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==, 109 | } 110 | engines: { node: ">=18" } 111 | cpu: [ppc64] 112 | os: [aix] 113 | 114 | "@esbuild/android-arm64@0.25.4": 115 | resolution: 116 | { 117 | integrity: sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==, 118 | } 119 | engines: { node: ">=18" } 120 | cpu: [arm64] 121 | os: [android] 122 | 123 | "@esbuild/android-arm@0.25.4": 124 | resolution: 125 | { 126 | integrity: sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==, 127 | } 128 | engines: { node: ">=18" } 129 | cpu: [arm] 130 | os: [android] 131 | 132 | "@esbuild/android-x64@0.25.4": 133 | resolution: 134 | { 135 | integrity: sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==, 136 | } 137 | engines: { node: ">=18" } 138 | cpu: [x64] 139 | os: [android] 140 | 141 | "@esbuild/darwin-arm64@0.25.4": 142 | resolution: 143 | { 144 | integrity: sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==, 145 | } 146 | engines: { node: ">=18" } 147 | cpu: [arm64] 148 | os: [darwin] 149 | 150 | "@esbuild/darwin-x64@0.25.4": 151 | resolution: 152 | { 153 | integrity: sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==, 154 | } 155 | engines: { node: ">=18" } 156 | cpu: [x64] 157 | os: [darwin] 158 | 159 | "@esbuild/freebsd-arm64@0.25.4": 160 | resolution: 161 | { 162 | integrity: sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==, 163 | } 164 | engines: { node: ">=18" } 165 | cpu: [arm64] 166 | os: [freebsd] 167 | 168 | "@esbuild/freebsd-x64@0.25.4": 169 | resolution: 170 | { 171 | integrity: sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==, 172 | } 173 | engines: { node: ">=18" } 174 | cpu: [x64] 175 | os: [freebsd] 176 | 177 | "@esbuild/linux-arm64@0.25.4": 178 | resolution: 179 | { 180 | integrity: sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==, 181 | } 182 | engines: { node: ">=18" } 183 | cpu: [arm64] 184 | os: [linux] 185 | 186 | "@esbuild/linux-arm@0.25.4": 187 | resolution: 188 | { 189 | integrity: sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==, 190 | } 191 | engines: { node: ">=18" } 192 | cpu: [arm] 193 | os: [linux] 194 | 195 | "@esbuild/linux-ia32@0.25.4": 196 | resolution: 197 | { 198 | integrity: sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==, 199 | } 200 | engines: { node: ">=18" } 201 | cpu: [ia32] 202 | os: [linux] 203 | 204 | "@esbuild/linux-loong64@0.25.4": 205 | resolution: 206 | { 207 | integrity: sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==, 208 | } 209 | engines: { node: ">=18" } 210 | cpu: [loong64] 211 | os: [linux] 212 | 213 | "@esbuild/linux-mips64el@0.25.4": 214 | resolution: 215 | { 216 | integrity: sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==, 217 | } 218 | engines: { node: ">=18" } 219 | cpu: [mips64el] 220 | os: [linux] 221 | 222 | "@esbuild/linux-ppc64@0.25.4": 223 | resolution: 224 | { 225 | integrity: sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==, 226 | } 227 | engines: { node: ">=18" } 228 | cpu: [ppc64] 229 | os: [linux] 230 | 231 | "@esbuild/linux-riscv64@0.25.4": 232 | resolution: 233 | { 234 | integrity: sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==, 235 | } 236 | engines: { node: ">=18" } 237 | cpu: [riscv64] 238 | os: [linux] 239 | 240 | "@esbuild/linux-s390x@0.25.4": 241 | resolution: 242 | { 243 | integrity: sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==, 244 | } 245 | engines: { node: ">=18" } 246 | cpu: [s390x] 247 | os: [linux] 248 | 249 | "@esbuild/linux-x64@0.25.4": 250 | resolution: 251 | { 252 | integrity: sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==, 253 | } 254 | engines: { node: ">=18" } 255 | cpu: [x64] 256 | os: [linux] 257 | 258 | "@esbuild/netbsd-arm64@0.25.4": 259 | resolution: 260 | { 261 | integrity: sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==, 262 | } 263 | engines: { node: ">=18" } 264 | cpu: [arm64] 265 | os: [netbsd] 266 | 267 | "@esbuild/netbsd-x64@0.25.4": 268 | resolution: 269 | { 270 | integrity: sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==, 271 | } 272 | engines: { node: ">=18" } 273 | cpu: [x64] 274 | os: [netbsd] 275 | 276 | "@esbuild/openbsd-arm64@0.25.4": 277 | resolution: 278 | { 279 | integrity: sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==, 280 | } 281 | engines: { node: ">=18" } 282 | cpu: [arm64] 283 | os: [openbsd] 284 | 285 | "@esbuild/openbsd-x64@0.25.4": 286 | resolution: 287 | { 288 | integrity: sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==, 289 | } 290 | engines: { node: ">=18" } 291 | cpu: [x64] 292 | os: [openbsd] 293 | 294 | "@esbuild/sunos-x64@0.25.4": 295 | resolution: 296 | { 297 | integrity: sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==, 298 | } 299 | engines: { node: ">=18" } 300 | cpu: [x64] 301 | os: [sunos] 302 | 303 | "@esbuild/win32-arm64@0.25.4": 304 | resolution: 305 | { 306 | integrity: sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==, 307 | } 308 | engines: { node: ">=18" } 309 | cpu: [arm64] 310 | os: [win32] 311 | 312 | "@esbuild/win32-ia32@0.25.4": 313 | resolution: 314 | { 315 | integrity: sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==, 316 | } 317 | engines: { node: ">=18" } 318 | cpu: [ia32] 319 | os: [win32] 320 | 321 | "@esbuild/win32-x64@0.25.4": 322 | resolution: 323 | { 324 | integrity: sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==, 325 | } 326 | engines: { node: ">=18" } 327 | cpu: [x64] 328 | os: [win32] 329 | 330 | "@jridgewell/sourcemap-codec@1.5.0": 331 | resolution: 332 | { 333 | integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==, 334 | } 335 | 336 | "@rollup/rollup-android-arm-eabi@4.41.1": 337 | resolution: 338 | { 339 | integrity: sha512-NELNvyEWZ6R9QMkiytB4/L4zSEaBC03KIXEghptLGLZWJ6VPrL63ooZQCOnlx36aQPGhzuOMwDerC1Eb2VmrLw==, 340 | } 341 | cpu: [arm] 342 | os: [android] 343 | 344 | "@rollup/rollup-android-arm64@4.41.1": 345 | resolution: 346 | { 347 | integrity: sha512-DXdQe1BJ6TK47ukAoZLehRHhfKnKg9BjnQYUu9gzhI8Mwa1d2fzxA1aw2JixHVl403bwp1+/o/NhhHtxWJBgEA==, 348 | } 349 | cpu: [arm64] 350 | os: [android] 351 | 352 | "@rollup/rollup-darwin-arm64@4.41.1": 353 | resolution: 354 | { 355 | integrity: sha512-5afxvwszzdulsU2w8JKWwY8/sJOLPzf0e1bFuvcW5h9zsEg+RQAojdW0ux2zyYAz7R8HvvzKCjLNJhVq965U7w==, 356 | } 357 | cpu: [arm64] 358 | os: [darwin] 359 | 360 | "@rollup/rollup-darwin-x64@4.41.1": 361 | resolution: 362 | { 363 | integrity: sha512-egpJACny8QOdHNNMZKf8xY0Is6gIMz+tuqXlusxquWu3F833DcMwmGM7WlvCO9sB3OsPjdC4U0wHw5FabzCGZg==, 364 | } 365 | cpu: [x64] 366 | os: [darwin] 367 | 368 | "@rollup/rollup-freebsd-arm64@4.41.1": 369 | resolution: 370 | { 371 | integrity: sha512-DBVMZH5vbjgRk3r0OzgjS38z+atlupJ7xfKIDJdZZL6sM6wjfDNo64aowcLPKIx7LMQi8vybB56uh1Ftck/Atg==, 372 | } 373 | cpu: [arm64] 374 | os: [freebsd] 375 | 376 | "@rollup/rollup-freebsd-x64@4.41.1": 377 | resolution: 378 | { 379 | integrity: sha512-3FkydeohozEskBxNWEIbPfOE0aqQgB6ttTkJ159uWOFn42VLyfAiyD9UK5mhu+ItWzft60DycIN1Xdgiy8o/SA==, 380 | } 381 | cpu: [x64] 382 | os: [freebsd] 383 | 384 | "@rollup/rollup-linux-arm-gnueabihf@4.41.1": 385 | resolution: 386 | { 387 | integrity: sha512-wC53ZNDgt0pqx5xCAgNunkTzFE8GTgdZ9EwYGVcg+jEjJdZGtq9xPjDnFgfFozQI/Xm1mh+D9YlYtl+ueswNEg==, 388 | } 389 | cpu: [arm] 390 | os: [linux] 391 | 392 | "@rollup/rollup-linux-arm-musleabihf@4.41.1": 393 | resolution: 394 | { 395 | integrity: sha512-jwKCca1gbZkZLhLRtsrka5N8sFAaxrGz/7wRJ8Wwvq3jug7toO21vWlViihG85ei7uJTpzbXZRcORotE+xyrLA==, 396 | } 397 | cpu: [arm] 398 | os: [linux] 399 | 400 | "@rollup/rollup-linux-arm64-gnu@4.41.1": 401 | resolution: 402 | { 403 | integrity: sha512-g0UBcNknsmmNQ8V2d/zD2P7WWfJKU0F1nu0k5pW4rvdb+BIqMm8ToluW/eeRmxCared5dD76lS04uL4UaNgpNA==, 404 | } 405 | cpu: [arm64] 406 | os: [linux] 407 | 408 | "@rollup/rollup-linux-arm64-musl@4.41.1": 409 | resolution: 410 | { 411 | integrity: sha512-XZpeGB5TKEZWzIrj7sXr+BEaSgo/ma/kCgrZgL0oo5qdB1JlTzIYQKel/RmhT6vMAvOdM2teYlAaOGJpJ9lahg==, 412 | } 413 | cpu: [arm64] 414 | os: [linux] 415 | 416 | "@rollup/rollup-linux-loongarch64-gnu@4.41.1": 417 | resolution: 418 | { 419 | integrity: sha512-bkCfDJ4qzWfFRCNt5RVV4DOw6KEgFTUZi2r2RuYhGWC8WhCA8lCAJhDeAmrM/fdiAH54m0mA0Vk2FGRPyzI+tw==, 420 | } 421 | cpu: [loong64] 422 | os: [linux] 423 | 424 | "@rollup/rollup-linux-powerpc64le-gnu@4.41.1": 425 | resolution: 426 | { 427 | integrity: sha512-3mr3Xm+gvMX+/8EKogIZSIEF0WUu0HL9di+YWlJpO8CQBnoLAEL/roTCxuLncEdgcfJcvA4UMOf+2dnjl4Ut1A==, 428 | } 429 | cpu: [ppc64] 430 | os: [linux] 431 | 432 | "@rollup/rollup-linux-riscv64-gnu@4.41.1": 433 | resolution: 434 | { 435 | integrity: sha512-3rwCIh6MQ1LGrvKJitQjZFuQnT2wxfU+ivhNBzmxXTXPllewOF7JR1s2vMX/tWtUYFgphygxjqMl76q4aMotGw==, 436 | } 437 | cpu: [riscv64] 438 | os: [linux] 439 | 440 | "@rollup/rollup-linux-riscv64-musl@4.41.1": 441 | resolution: 442 | { 443 | integrity: sha512-LdIUOb3gvfmpkgFZuccNa2uYiqtgZAz3PTzjuM5bH3nvuy9ty6RGc/Q0+HDFrHrizJGVpjnTZ1yS5TNNjFlklw==, 444 | } 445 | cpu: [riscv64] 446 | os: [linux] 447 | 448 | "@rollup/rollup-linux-s390x-gnu@4.41.1": 449 | resolution: 450 | { 451 | integrity: sha512-oIE6M8WC9ma6xYqjvPhzZYk6NbobIURvP/lEbh7FWplcMO6gn7MM2yHKA1eC/GvYwzNKK/1LYgqzdkZ8YFxR8g==, 452 | } 453 | cpu: [s390x] 454 | os: [linux] 455 | 456 | "@rollup/rollup-linux-x64-gnu@4.41.1": 457 | resolution: 458 | { 459 | integrity: sha512-cWBOvayNvA+SyeQMp79BHPK8ws6sHSsYnK5zDcsC3Hsxr1dgTABKjMnMslPq1DvZIp6uO7kIWhiGwaTdR4Og9A==, 460 | } 461 | cpu: [x64] 462 | os: [linux] 463 | 464 | "@rollup/rollup-linux-x64-musl@4.41.1": 465 | resolution: 466 | { 467 | integrity: sha512-y5CbN44M+pUCdGDlZFzGGBSKCA4A/J2ZH4edTYSSxFg7ce1Xt3GtydbVKWLlzL+INfFIZAEg1ZV6hh9+QQf9YQ==, 468 | } 469 | cpu: [x64] 470 | os: [linux] 471 | 472 | "@rollup/rollup-win32-arm64-msvc@4.41.1": 473 | resolution: 474 | { 475 | integrity: sha512-lZkCxIrjlJlMt1dLO/FbpZbzt6J/A8p4DnqzSa4PWqPEUUUnzXLeki/iyPLfV0BmHItlYgHUqJe+3KiyydmiNQ==, 476 | } 477 | cpu: [arm64] 478 | os: [win32] 479 | 480 | "@rollup/rollup-win32-ia32-msvc@4.41.1": 481 | resolution: 482 | { 483 | integrity: sha512-+psFT9+pIh2iuGsxFYYa/LhS5MFKmuivRsx9iPJWNSGbh2XVEjk90fmpUEjCnILPEPJnikAU6SFDiEUyOv90Pg==, 484 | } 485 | cpu: [ia32] 486 | os: [win32] 487 | 488 | "@rollup/rollup-win32-x64-msvc@4.41.1": 489 | resolution: 490 | { 491 | integrity: sha512-Wq2zpapRYLfi4aKxf2Xff0tN+7slj2d4R87WEzqw7ZLsVvO5zwYCIuEGSZYiK41+GlwUo1HiR+GdkLEJnCKTCw==, 492 | } 493 | cpu: [x64] 494 | os: [win32] 495 | 496 | "@socket.io/component-emitter@3.1.2": 497 | resolution: 498 | { 499 | integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==, 500 | } 501 | 502 | "@types/bun@1.2.14": 503 | resolution: 504 | { 505 | integrity: sha512-VsFZKs8oKHzI7zwvECiAJ5oSorWndIWEVhfbYqZd4HI/45kzW7PN2Rr5biAzvGvRuNmYLSANY+H59ubHq8xw7Q==, 506 | } 507 | 508 | "@types/cors@2.8.18": 509 | resolution: 510 | { 511 | integrity: sha512-nX3d0sxJW41CqQvfOzVG1NCTXfFDrDWIghCZncpHeWlVFd81zxB/DLhg7avFg6eHLCRX7ckBmoIIcqa++upvJA==, 512 | } 513 | 514 | "@types/estree@1.0.7": 515 | resolution: 516 | { 517 | integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==, 518 | } 519 | 520 | "@types/node@22.15.21": 521 | resolution: 522 | { 523 | integrity: sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==, 524 | } 525 | 526 | "@vue/compiler-core@3.5.15": 527 | resolution: 528 | { 529 | integrity: sha512-nGRc6YJg/kxNqbv/7Tg4juirPnjHvuVdhcmDvQWVZXlLHjouq7VsKmV1hIxM/8yKM0VUfwT/Uzc0lO510ltZqw==, 530 | } 531 | 532 | "@vue/compiler-dom@3.5.15": 533 | resolution: 534 | { 535 | integrity: sha512-ZelQd9n+O/UCBdL00rlwCrsArSak+YLZpBVuNDio1hN3+wrCshYZEDUO3khSLAzPbF1oQS2duEoMDUHScUlYjA==, 536 | } 537 | 538 | "@vue/compiler-sfc@3.5.15": 539 | resolution: 540 | { 541 | integrity: sha512-3zndKbxMsOU6afQWer75Zot/aydjtxNj0T2KLg033rAFaQUn2PGuE32ZRe4iMhflbTcAxL0yEYsRWFxtPro8RQ==, 542 | } 543 | 544 | "@vue/compiler-ssr@3.5.15": 545 | resolution: 546 | { 547 | integrity: sha512-gShn8zRREZbrXqTtmLSCffgZXDWv8nHc/GhsW+mbwBfNZL5pI96e7IWcIq8XGQe1TLtVbu7EV9gFIVSmfyarPg==, 548 | } 549 | 550 | "@vue/reactivity@3.5.15": 551 | resolution: 552 | { 553 | integrity: sha512-GaA5VUm30YWobCwpvcs9nvFKf27EdSLKDo2jA0IXzGS344oNpFNbEQ9z+Pp5ESDaxyS8FcH0vFN/XSe95BZtHQ==, 554 | } 555 | 556 | "@vue/runtime-core@3.5.15": 557 | resolution: 558 | { 559 | integrity: sha512-CZAlIOQ93nj0OPpWWOx4+QDLCMzBNY85IQR4Voe6vIID149yF8g9WQaWnw042f/6JfvLttK7dnyWlC1EVCRK8Q==, 560 | } 561 | 562 | "@vue/runtime-dom@3.5.15": 563 | resolution: 564 | { 565 | integrity: sha512-wFplHKzKO/v998up2iCW3RN9TNUeDMhdBcNYZgs5LOokHntrB48dyuZHspcahKZczKKh3v6i164gapMPxBTKNw==, 566 | } 567 | 568 | "@vue/server-renderer@3.5.15": 569 | resolution: 570 | { 571 | integrity: sha512-Gehc693kVTYkLt6QSYEjGvqvdK2zZ/gf/D5zkgmvBdeB30dNnVZS8yY7+IlBmHRd1rR/zwaqeu06Ij04ZxBscg==, 572 | } 573 | peerDependencies: 574 | vue: 3.5.15 575 | 576 | "@vue/shared@3.5.15": 577 | resolution: 578 | { 579 | integrity: sha512-bKvgFJJL1ZX9KxMCTQY6xD9Dhe3nusd1OhyOb1cJYGqvAr0Vg8FIjHPMOEVbJ9GDT9HG+Bjdn4oS8ohKP8EvoA==, 580 | } 581 | 582 | accepts@1.3.8: 583 | resolution: 584 | { 585 | integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==, 586 | } 587 | engines: { node: ">= 0.6" } 588 | 589 | ansi-regex@5.0.1: 590 | resolution: 591 | { 592 | integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, 593 | } 594 | engines: { node: ">=8" } 595 | 596 | ansi-styles@4.3.0: 597 | resolution: 598 | { 599 | integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, 600 | } 601 | engines: { node: ">=8" } 602 | 603 | asynckit@0.4.0: 604 | resolution: 605 | { 606 | integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==, 607 | } 608 | 609 | axios-cache-interceptor@1.8.0: 610 | resolution: 611 | { 612 | integrity: sha512-cTNnPGJyQkxnWp0EWvE3NRvgURU5cWw/Qx3dIhXyHSM4Ip0c7EEe0I3an0Jwa549m1CAOg57ibj27YRNLmQCcg==, 613 | } 614 | engines: { node: ">=12" } 615 | peerDependencies: 616 | axios: ^1 617 | 618 | axios@1.7.9: 619 | resolution: 620 | { 621 | integrity: sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==, 622 | } 623 | 624 | base64id@2.0.0: 625 | resolution: 626 | { 627 | integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==, 628 | } 629 | engines: { node: ^4.5.0 || >= 5.9 } 630 | 631 | bun-types@1.2.14: 632 | resolution: 633 | { 634 | integrity: sha512-Kuh4Ub28ucMRWeiUUWMHsT9Wcbr4H3kLIO72RZZElSDxSu7vpetRvxIUDUaW6QtaIeixIpm7OXtNnZPf82EzwA==, 635 | } 636 | 637 | cache-parser@1.2.5: 638 | resolution: 639 | { 640 | integrity: sha512-Md/4VhAHByQ9frQ15WD6LrMNiVw9AEl/J7vWIXw+sxT6fSOpbtt6LHTp76vy8+bOESPBO94117Hm2bIjlI7XjA==, 641 | } 642 | 643 | call-bind-apply-helpers@1.0.2: 644 | resolution: 645 | { 646 | integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==, 647 | } 648 | engines: { node: ">= 0.4" } 649 | 650 | chalk@4.1.2: 651 | resolution: 652 | { 653 | integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, 654 | } 655 | engines: { node: ">=10" } 656 | 657 | cliui@8.0.1: 658 | resolution: 659 | { 660 | integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==, 661 | } 662 | engines: { node: ">=12" } 663 | 664 | color-convert@2.0.1: 665 | resolution: 666 | { 667 | integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, 668 | } 669 | engines: { node: ">=7.0.0" } 670 | 671 | color-name@1.1.4: 672 | resolution: 673 | { 674 | integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, 675 | } 676 | 677 | combined-stream@1.0.8: 678 | resolution: 679 | { 680 | integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==, 681 | } 682 | engines: { node: ">= 0.8" } 683 | 684 | concurrently@9.1.2: 685 | resolution: 686 | { 687 | integrity: sha512-H9MWcoPsYddwbOGM6difjVwVZHl63nwMEwDJG/L7VGtuaJhb12h2caPG2tVPWs7emuYix252iGfqOyrz1GczTQ==, 688 | } 689 | engines: { node: ">=18" } 690 | hasBin: true 691 | 692 | cookie@0.7.2: 693 | resolution: 694 | { 695 | integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==, 696 | } 697 | engines: { node: ">= 0.6" } 698 | 699 | cors@2.8.5: 700 | resolution: 701 | { 702 | integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==, 703 | } 704 | engines: { node: ">= 0.10" } 705 | 706 | csstype@3.1.3: 707 | resolution: 708 | { 709 | integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==, 710 | } 711 | 712 | debug@4.3.7: 713 | resolution: 714 | { 715 | integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==, 716 | } 717 | engines: { node: ">=6.0" } 718 | peerDependencies: 719 | supports-color: "*" 720 | peerDependenciesMeta: 721 | supports-color: 722 | optional: true 723 | 724 | delayed-stream@1.0.0: 725 | resolution: 726 | { 727 | integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==, 728 | } 729 | engines: { node: ">=0.4.0" } 730 | 731 | dunder-proto@1.0.1: 732 | resolution: 733 | { 734 | integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==, 735 | } 736 | engines: { node: ">= 0.4" } 737 | 738 | emoji-regex@8.0.0: 739 | resolution: 740 | { 741 | integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, 742 | } 743 | 744 | engine.io-client@6.6.3: 745 | resolution: 746 | { 747 | integrity: sha512-T0iLjnyNWahNyv/lcjS2y4oE358tVS/SYQNxYXGAJ9/GLgH4VCvOQ/mhTjqU88mLZCQgiG8RIegFHYCdVC+j5w==, 748 | } 749 | 750 | engine.io-parser@5.2.3: 751 | resolution: 752 | { 753 | integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==, 754 | } 755 | engines: { node: ">=10.0.0" } 756 | 757 | engine.io@6.6.4: 758 | resolution: 759 | { 760 | integrity: sha512-ZCkIjSYNDyGn0R6ewHDtXgns/Zre/NT6Agvq1/WobF7JXgFff4SeDroKiCO3fNJreU9YG429Sc81o4w5ok/W5g==, 761 | } 762 | engines: { node: ">=10.2.0" } 763 | 764 | entities@4.5.0: 765 | resolution: 766 | { 767 | integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==, 768 | } 769 | engines: { node: ">=0.12" } 770 | 771 | es-define-property@1.0.1: 772 | resolution: 773 | { 774 | integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==, 775 | } 776 | engines: { node: ">= 0.4" } 777 | 778 | es-errors@1.3.0: 779 | resolution: 780 | { 781 | integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==, 782 | } 783 | engines: { node: ">= 0.4" } 784 | 785 | es-object-atoms@1.1.1: 786 | resolution: 787 | { 788 | integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==, 789 | } 790 | engines: { node: ">= 0.4" } 791 | 792 | es-set-tostringtag@2.1.0: 793 | resolution: 794 | { 795 | integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==, 796 | } 797 | engines: { node: ">= 0.4" } 798 | 799 | esbuild@0.25.4: 800 | resolution: 801 | { 802 | integrity: sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==, 803 | } 804 | engines: { node: ">=18" } 805 | hasBin: true 806 | 807 | escalade@3.2.0: 808 | resolution: 809 | { 810 | integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==, 811 | } 812 | engines: { node: ">=6" } 813 | 814 | estree-walker@2.0.2: 815 | resolution: 816 | { 817 | integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==, 818 | } 819 | 820 | fast-defer@1.1.8: 821 | resolution: 822 | { 823 | integrity: sha512-lEJeOH5VL5R09j6AA0D4Uvq7AgsHw0dAImQQ+F3iSyHZuAxyQfWobsagGpTcOPvJr3urmKRHrs+Gs9hV+/Qm/Q==, 824 | } 825 | 826 | fdir@6.4.4: 827 | resolution: 828 | { 829 | integrity: sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==, 830 | } 831 | peerDependencies: 832 | picomatch: ^3 || ^4 833 | peerDependenciesMeta: 834 | picomatch: 835 | optional: true 836 | 837 | follow-redirects@1.15.9: 838 | resolution: 839 | { 840 | integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==, 841 | } 842 | engines: { node: ">=4.0" } 843 | peerDependencies: 844 | debug: "*" 845 | peerDependenciesMeta: 846 | debug: 847 | optional: true 848 | 849 | form-data@4.0.2: 850 | resolution: 851 | { 852 | integrity: sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==, 853 | } 854 | engines: { node: ">= 6" } 855 | 856 | fsevents@2.3.3: 857 | resolution: 858 | { 859 | integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==, 860 | } 861 | engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } 862 | os: [darwin] 863 | 864 | function-bind@1.1.2: 865 | resolution: 866 | { 867 | integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, 868 | } 869 | 870 | get-caller-file@2.0.5: 871 | resolution: 872 | { 873 | integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, 874 | } 875 | engines: { node: 6.* || 8.* || >= 10.* } 876 | 877 | get-intrinsic@1.3.0: 878 | resolution: 879 | { 880 | integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==, 881 | } 882 | engines: { node: ">= 0.4" } 883 | 884 | get-proto@1.0.1: 885 | resolution: 886 | { 887 | integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==, 888 | } 889 | engines: { node: ">= 0.4" } 890 | 891 | get-tsconfig@4.10.1: 892 | resolution: 893 | { 894 | integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==, 895 | } 896 | 897 | gopd@1.2.0: 898 | resolution: 899 | { 900 | integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==, 901 | } 902 | engines: { node: ">= 0.4" } 903 | 904 | has-flag@4.0.0: 905 | resolution: 906 | { 907 | integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, 908 | } 909 | engines: { node: ">=8" } 910 | 911 | has-symbols@1.1.0: 912 | resolution: 913 | { 914 | integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==, 915 | } 916 | engines: { node: ">= 0.4" } 917 | 918 | has-tostringtag@1.0.2: 919 | resolution: 920 | { 921 | integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==, 922 | } 923 | engines: { node: ">= 0.4" } 924 | 925 | hasown@2.0.2: 926 | resolution: 927 | { 928 | integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==, 929 | } 930 | engines: { node: ">= 0.4" } 931 | 932 | is-fullwidth-code-point@3.0.0: 933 | resolution: 934 | { 935 | integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, 936 | } 937 | engines: { node: ">=8" } 938 | 939 | lodash@4.17.21: 940 | resolution: 941 | { 942 | integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==, 943 | } 944 | 945 | magic-string@0.30.17: 946 | resolution: 947 | { 948 | integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==, 949 | } 950 | 951 | math-intrinsics@1.1.0: 952 | resolution: 953 | { 954 | integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==, 955 | } 956 | engines: { node: ">= 0.4" } 957 | 958 | mime-db@1.52.0: 959 | resolution: 960 | { 961 | integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==, 962 | } 963 | engines: { node: ">= 0.6" } 964 | 965 | mime-types@2.1.35: 966 | resolution: 967 | { 968 | integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==, 969 | } 970 | engines: { node: ">= 0.6" } 971 | 972 | ms@2.1.3: 973 | resolution: 974 | { 975 | integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, 976 | } 977 | 978 | nanoid@3.3.11: 979 | resolution: 980 | { 981 | integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==, 982 | } 983 | engines: { node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1 } 984 | hasBin: true 985 | 986 | negotiator@0.6.3: 987 | resolution: 988 | { 989 | integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==, 990 | } 991 | engines: { node: ">= 0.6" } 992 | 993 | object-assign@4.1.1: 994 | resolution: 995 | { 996 | integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==, 997 | } 998 | engines: { node: ">=0.10.0" } 999 | 1000 | object-code@1.3.3: 1001 | resolution: 1002 | { 1003 | integrity: sha512-/Ds4Xd5xzrtUOJ+xJQ57iAy0BZsZltOHssnDgcZ8DOhgh41q1YJCnTPnWdWSLkNGNnxYzhYChjc5dgC9mEERCA==, 1004 | } 1005 | 1006 | picocolors@1.1.1: 1007 | resolution: 1008 | { 1009 | integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==, 1010 | } 1011 | 1012 | picomatch@4.0.2: 1013 | resolution: 1014 | { 1015 | integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==, 1016 | } 1017 | engines: { node: ">=12" } 1018 | 1019 | postcss@8.5.3: 1020 | resolution: 1021 | { 1022 | integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==, 1023 | } 1024 | engines: { node: ^10 || ^12 || >=14 } 1025 | 1026 | prettier@3.5.3: 1027 | resolution: 1028 | { 1029 | integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==, 1030 | } 1031 | engines: { node: ">=14" } 1032 | hasBin: true 1033 | 1034 | proxy-from-env@1.1.0: 1035 | resolution: 1036 | { 1037 | integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==, 1038 | } 1039 | 1040 | require-directory@2.1.1: 1041 | resolution: 1042 | { 1043 | integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, 1044 | } 1045 | engines: { node: ">=0.10.0" } 1046 | 1047 | resolve-pkg-maps@1.0.0: 1048 | resolution: 1049 | { 1050 | integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==, 1051 | } 1052 | 1053 | rollup@4.41.1: 1054 | resolution: 1055 | { 1056 | integrity: sha512-cPmwD3FnFv8rKMBc1MxWCwVQFxwf1JEmSX3iQXrRVVG15zerAIXRjMFVWnd5Q5QvgKF7Aj+5ykXFhUl+QGnyOw==, 1057 | } 1058 | engines: { node: ">=18.0.0", npm: ">=8.0.0" } 1059 | hasBin: true 1060 | 1061 | rxjs@7.8.2: 1062 | resolution: 1063 | { 1064 | integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==, 1065 | } 1066 | 1067 | shell-quote@1.8.2: 1068 | resolution: 1069 | { 1070 | integrity: sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==, 1071 | } 1072 | engines: { node: ">= 0.4" } 1073 | 1074 | socket.io-adapter@2.5.5: 1075 | resolution: 1076 | { 1077 | integrity: sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==, 1078 | } 1079 | 1080 | socket.io-client@4.8.1: 1081 | resolution: 1082 | { 1083 | integrity: sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==, 1084 | } 1085 | engines: { node: ">=10.0.0" } 1086 | 1087 | socket.io-parser@4.2.4: 1088 | resolution: 1089 | { 1090 | integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==, 1091 | } 1092 | engines: { node: ">=10.0.0" } 1093 | 1094 | socket.io@4.8.1: 1095 | resolution: 1096 | { 1097 | integrity: sha512-oZ7iUCxph8WYRHHcjBEc9unw3adt5CmSNlppj/5Q4k2RIrhl8Z5yY2Xr4j9zj0+wzVZ0bxmYoGSzKJnRl6A4yg==, 1098 | } 1099 | engines: { node: ">=10.2.0" } 1100 | 1101 | source-map-js@1.2.1: 1102 | resolution: 1103 | { 1104 | integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==, 1105 | } 1106 | engines: { node: ">=0.10.0" } 1107 | 1108 | string-width@4.2.3: 1109 | resolution: 1110 | { 1111 | integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, 1112 | } 1113 | engines: { node: ">=8" } 1114 | 1115 | strip-ansi@6.0.1: 1116 | resolution: 1117 | { 1118 | integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, 1119 | } 1120 | engines: { node: ">=8" } 1121 | 1122 | supports-color@7.2.0: 1123 | resolution: 1124 | { 1125 | integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, 1126 | } 1127 | engines: { node: ">=8" } 1128 | 1129 | supports-color@8.1.1: 1130 | resolution: 1131 | { 1132 | integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, 1133 | } 1134 | engines: { node: ">=10" } 1135 | 1136 | tinyglobby@0.2.14: 1137 | resolution: 1138 | { 1139 | integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==, 1140 | } 1141 | engines: { node: ">=12.0.0" } 1142 | 1143 | tree-kill@1.2.2: 1144 | resolution: 1145 | { 1146 | integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==, 1147 | } 1148 | hasBin: true 1149 | 1150 | tslib@2.8.1: 1151 | resolution: 1152 | { 1153 | integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==, 1154 | } 1155 | 1156 | tsx@4.19.4: 1157 | resolution: 1158 | { 1159 | integrity: sha512-gK5GVzDkJK1SI1zwHf32Mqxf2tSJkNx+eYcNly5+nHvWqXUJYUkWBQtKauoESz3ymezAI++ZwT855x5p5eop+Q==, 1160 | } 1161 | engines: { node: ">=18.0.0" } 1162 | hasBin: true 1163 | 1164 | typescript@5.8.3: 1165 | resolution: 1166 | { 1167 | integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==, 1168 | } 1169 | engines: { node: ">=14.17" } 1170 | hasBin: true 1171 | 1172 | undici-types@6.21.0: 1173 | resolution: 1174 | { 1175 | integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==, 1176 | } 1177 | 1178 | vary@1.1.2: 1179 | resolution: 1180 | { 1181 | integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==, 1182 | } 1183 | engines: { node: ">= 0.8" } 1184 | 1185 | vite@6.3.5: 1186 | resolution: 1187 | { 1188 | integrity: sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==, 1189 | } 1190 | engines: { node: ^18.0.0 || ^20.0.0 || >=22.0.0 } 1191 | hasBin: true 1192 | peerDependencies: 1193 | "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 1194 | jiti: ">=1.21.0" 1195 | less: "*" 1196 | lightningcss: ^1.21.0 1197 | sass: "*" 1198 | sass-embedded: "*" 1199 | stylus: "*" 1200 | sugarss: "*" 1201 | terser: ^5.16.0 1202 | tsx: ^4.8.1 1203 | yaml: ^2.4.2 1204 | peerDependenciesMeta: 1205 | "@types/node": 1206 | optional: true 1207 | jiti: 1208 | optional: true 1209 | less: 1210 | optional: true 1211 | lightningcss: 1212 | optional: true 1213 | sass: 1214 | optional: true 1215 | sass-embedded: 1216 | optional: true 1217 | stylus: 1218 | optional: true 1219 | sugarss: 1220 | optional: true 1221 | terser: 1222 | optional: true 1223 | tsx: 1224 | optional: true 1225 | yaml: 1226 | optional: true 1227 | 1228 | vue@3.5.15: 1229 | resolution: 1230 | { 1231 | integrity: sha512-aD9zK4rB43JAMK/5BmS4LdPiEp8Fdh8P1Ve/XNuMF5YRf78fCyPE6FUbQwcaWQ5oZ1R2CD9NKE0FFOVpMR7gEQ==, 1232 | } 1233 | peerDependencies: 1234 | typescript: "*" 1235 | peerDependenciesMeta: 1236 | typescript: 1237 | optional: true 1238 | 1239 | wrap-ansi@7.0.0: 1240 | resolution: 1241 | { 1242 | integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, 1243 | } 1244 | engines: { node: ">=10" } 1245 | 1246 | ws@8.17.1: 1247 | resolution: 1248 | { 1249 | integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==, 1250 | } 1251 | engines: { node: ">=10.0.0" } 1252 | peerDependencies: 1253 | bufferutil: ^4.0.1 1254 | utf-8-validate: ">=5.0.2" 1255 | peerDependenciesMeta: 1256 | bufferutil: 1257 | optional: true 1258 | utf-8-validate: 1259 | optional: true 1260 | 1261 | xmlhttprequest-ssl@2.1.2: 1262 | resolution: 1263 | { 1264 | integrity: sha512-TEU+nJVUUnA4CYJFLvK5X9AOeH4KvDvhIfm0vV1GaQRtchnG0hgK5p8hw/xjv8cunWYCsiPCSDzObPyhEwq3KQ==, 1265 | } 1266 | engines: { node: ">=0.4.0" } 1267 | 1268 | y18n@5.0.8: 1269 | resolution: 1270 | { 1271 | integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, 1272 | } 1273 | engines: { node: ">=10" } 1274 | 1275 | yargs-parser@21.1.1: 1276 | resolution: 1277 | { 1278 | integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==, 1279 | } 1280 | engines: { node: ">=12" } 1281 | 1282 | yargs@17.7.2: 1283 | resolution: 1284 | { 1285 | integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==, 1286 | } 1287 | engines: { node: ">=12" } 1288 | 1289 | snapshots: 1290 | "@babel/helper-string-parser@7.27.1": {} 1291 | 1292 | "@babel/helper-validator-identifier@7.27.1": {} 1293 | 1294 | "@babel/parser@7.27.2": 1295 | dependencies: 1296 | "@babel/types": 7.27.1 1297 | 1298 | "@babel/types@7.27.1": 1299 | dependencies: 1300 | "@babel/helper-string-parser": 7.27.1 1301 | "@babel/helper-validator-identifier": 7.27.1 1302 | 1303 | "@esbuild/aix-ppc64@0.25.4": 1304 | optional: true 1305 | 1306 | "@esbuild/android-arm64@0.25.4": 1307 | optional: true 1308 | 1309 | "@esbuild/android-arm@0.25.4": 1310 | optional: true 1311 | 1312 | "@esbuild/android-x64@0.25.4": 1313 | optional: true 1314 | 1315 | "@esbuild/darwin-arm64@0.25.4": 1316 | optional: true 1317 | 1318 | "@esbuild/darwin-x64@0.25.4": 1319 | optional: true 1320 | 1321 | "@esbuild/freebsd-arm64@0.25.4": 1322 | optional: true 1323 | 1324 | "@esbuild/freebsd-x64@0.25.4": 1325 | optional: true 1326 | 1327 | "@esbuild/linux-arm64@0.25.4": 1328 | optional: true 1329 | 1330 | "@esbuild/linux-arm@0.25.4": 1331 | optional: true 1332 | 1333 | "@esbuild/linux-ia32@0.25.4": 1334 | optional: true 1335 | 1336 | "@esbuild/linux-loong64@0.25.4": 1337 | optional: true 1338 | 1339 | "@esbuild/linux-mips64el@0.25.4": 1340 | optional: true 1341 | 1342 | "@esbuild/linux-ppc64@0.25.4": 1343 | optional: true 1344 | 1345 | "@esbuild/linux-riscv64@0.25.4": 1346 | optional: true 1347 | 1348 | "@esbuild/linux-s390x@0.25.4": 1349 | optional: true 1350 | 1351 | "@esbuild/linux-x64@0.25.4": 1352 | optional: true 1353 | 1354 | "@esbuild/netbsd-arm64@0.25.4": 1355 | optional: true 1356 | 1357 | "@esbuild/netbsd-x64@0.25.4": 1358 | optional: true 1359 | 1360 | "@esbuild/openbsd-arm64@0.25.4": 1361 | optional: true 1362 | 1363 | "@esbuild/openbsd-x64@0.25.4": 1364 | optional: true 1365 | 1366 | "@esbuild/sunos-x64@0.25.4": 1367 | optional: true 1368 | 1369 | "@esbuild/win32-arm64@0.25.4": 1370 | optional: true 1371 | 1372 | "@esbuild/win32-ia32@0.25.4": 1373 | optional: true 1374 | 1375 | "@esbuild/win32-x64@0.25.4": 1376 | optional: true 1377 | 1378 | "@jridgewell/sourcemap-codec@1.5.0": {} 1379 | 1380 | "@rollup/rollup-android-arm-eabi@4.41.1": 1381 | optional: true 1382 | 1383 | "@rollup/rollup-android-arm64@4.41.1": 1384 | optional: true 1385 | 1386 | "@rollup/rollup-darwin-arm64@4.41.1": 1387 | optional: true 1388 | 1389 | "@rollup/rollup-darwin-x64@4.41.1": 1390 | optional: true 1391 | 1392 | "@rollup/rollup-freebsd-arm64@4.41.1": 1393 | optional: true 1394 | 1395 | "@rollup/rollup-freebsd-x64@4.41.1": 1396 | optional: true 1397 | 1398 | "@rollup/rollup-linux-arm-gnueabihf@4.41.1": 1399 | optional: true 1400 | 1401 | "@rollup/rollup-linux-arm-musleabihf@4.41.1": 1402 | optional: true 1403 | 1404 | "@rollup/rollup-linux-arm64-gnu@4.41.1": 1405 | optional: true 1406 | 1407 | "@rollup/rollup-linux-arm64-musl@4.41.1": 1408 | optional: true 1409 | 1410 | "@rollup/rollup-linux-loongarch64-gnu@4.41.1": 1411 | optional: true 1412 | 1413 | "@rollup/rollup-linux-powerpc64le-gnu@4.41.1": 1414 | optional: true 1415 | 1416 | "@rollup/rollup-linux-riscv64-gnu@4.41.1": 1417 | optional: true 1418 | 1419 | "@rollup/rollup-linux-riscv64-musl@4.41.1": 1420 | optional: true 1421 | 1422 | "@rollup/rollup-linux-s390x-gnu@4.41.1": 1423 | optional: true 1424 | 1425 | "@rollup/rollup-linux-x64-gnu@4.41.1": 1426 | optional: true 1427 | 1428 | "@rollup/rollup-linux-x64-musl@4.41.1": 1429 | optional: true 1430 | 1431 | "@rollup/rollup-win32-arm64-msvc@4.41.1": 1432 | optional: true 1433 | 1434 | "@rollup/rollup-win32-ia32-msvc@4.41.1": 1435 | optional: true 1436 | 1437 | "@rollup/rollup-win32-x64-msvc@4.41.1": 1438 | optional: true 1439 | 1440 | "@socket.io/component-emitter@3.1.2": {} 1441 | 1442 | "@types/bun@1.2.14": 1443 | dependencies: 1444 | bun-types: 1.2.14 1445 | 1446 | "@types/cors@2.8.18": 1447 | dependencies: 1448 | "@types/node": 22.15.21 1449 | 1450 | "@types/estree@1.0.7": {} 1451 | 1452 | "@types/node@22.15.21": 1453 | dependencies: 1454 | undici-types: 6.21.0 1455 | 1456 | "@vue/compiler-core@3.5.15": 1457 | dependencies: 1458 | "@babel/parser": 7.27.2 1459 | "@vue/shared": 3.5.15 1460 | entities: 4.5.0 1461 | estree-walker: 2.0.2 1462 | source-map-js: 1.2.1 1463 | 1464 | "@vue/compiler-dom@3.5.15": 1465 | dependencies: 1466 | "@vue/compiler-core": 3.5.15 1467 | "@vue/shared": 3.5.15 1468 | 1469 | "@vue/compiler-sfc@3.5.15": 1470 | dependencies: 1471 | "@babel/parser": 7.27.2 1472 | "@vue/compiler-core": 3.5.15 1473 | "@vue/compiler-dom": 3.5.15 1474 | "@vue/compiler-ssr": 3.5.15 1475 | "@vue/shared": 3.5.15 1476 | estree-walker: 2.0.2 1477 | magic-string: 0.30.17 1478 | postcss: 8.5.3 1479 | source-map-js: 1.2.1 1480 | 1481 | "@vue/compiler-ssr@3.5.15": 1482 | dependencies: 1483 | "@vue/compiler-dom": 3.5.15 1484 | "@vue/shared": 3.5.15 1485 | 1486 | "@vue/reactivity@3.5.15": 1487 | dependencies: 1488 | "@vue/shared": 3.5.15 1489 | 1490 | "@vue/runtime-core@3.5.15": 1491 | dependencies: 1492 | "@vue/reactivity": 3.5.15 1493 | "@vue/shared": 3.5.15 1494 | 1495 | "@vue/runtime-dom@3.5.15": 1496 | dependencies: 1497 | "@vue/reactivity": 3.5.15 1498 | "@vue/runtime-core": 3.5.15 1499 | "@vue/shared": 3.5.15 1500 | csstype: 3.1.3 1501 | 1502 | "@vue/server-renderer@3.5.15(vue@3.5.15(typescript@5.8.3))": 1503 | dependencies: 1504 | "@vue/compiler-ssr": 3.5.15 1505 | "@vue/shared": 3.5.15 1506 | vue: 3.5.15(typescript@5.8.3) 1507 | 1508 | "@vue/shared@3.5.15": {} 1509 | 1510 | accepts@1.3.8: 1511 | dependencies: 1512 | mime-types: 2.1.35 1513 | negotiator: 0.6.3 1514 | 1515 | ansi-regex@5.0.1: {} 1516 | 1517 | ansi-styles@4.3.0: 1518 | dependencies: 1519 | color-convert: 2.0.1 1520 | 1521 | asynckit@0.4.0: {} 1522 | 1523 | axios-cache-interceptor@1.8.0(axios@1.7.9): 1524 | dependencies: 1525 | axios: 1.7.9 1526 | cache-parser: 1.2.5 1527 | fast-defer: 1.1.8 1528 | object-code: 1.3.3 1529 | 1530 | axios@1.7.9: 1531 | dependencies: 1532 | follow-redirects: 1.15.9 1533 | form-data: 4.0.2 1534 | proxy-from-env: 1.1.0 1535 | transitivePeerDependencies: 1536 | - debug 1537 | 1538 | base64id@2.0.0: {} 1539 | 1540 | bun-types@1.2.14: 1541 | dependencies: 1542 | "@types/node": 22.15.21 1543 | 1544 | cache-parser@1.2.5: {} 1545 | 1546 | call-bind-apply-helpers@1.0.2: 1547 | dependencies: 1548 | es-errors: 1.3.0 1549 | function-bind: 1.1.2 1550 | 1551 | chalk@4.1.2: 1552 | dependencies: 1553 | ansi-styles: 4.3.0 1554 | supports-color: 7.2.0 1555 | 1556 | cliui@8.0.1: 1557 | dependencies: 1558 | string-width: 4.2.3 1559 | strip-ansi: 6.0.1 1560 | wrap-ansi: 7.0.0 1561 | 1562 | color-convert@2.0.1: 1563 | dependencies: 1564 | color-name: 1.1.4 1565 | 1566 | color-name@1.1.4: {} 1567 | 1568 | combined-stream@1.0.8: 1569 | dependencies: 1570 | delayed-stream: 1.0.0 1571 | 1572 | concurrently@9.1.2: 1573 | dependencies: 1574 | chalk: 4.1.2 1575 | lodash: 4.17.21 1576 | rxjs: 7.8.2 1577 | shell-quote: 1.8.2 1578 | supports-color: 8.1.1 1579 | tree-kill: 1.2.2 1580 | yargs: 17.7.2 1581 | 1582 | cookie@0.7.2: {} 1583 | 1584 | cors@2.8.5: 1585 | dependencies: 1586 | object-assign: 4.1.1 1587 | vary: 1.1.2 1588 | 1589 | csstype@3.1.3: {} 1590 | 1591 | debug@4.3.7: 1592 | dependencies: 1593 | ms: 2.1.3 1594 | 1595 | delayed-stream@1.0.0: {} 1596 | 1597 | dunder-proto@1.0.1: 1598 | dependencies: 1599 | call-bind-apply-helpers: 1.0.2 1600 | es-errors: 1.3.0 1601 | gopd: 1.2.0 1602 | 1603 | emoji-regex@8.0.0: {} 1604 | 1605 | engine.io-client@6.6.3: 1606 | dependencies: 1607 | "@socket.io/component-emitter": 3.1.2 1608 | debug: 4.3.7 1609 | engine.io-parser: 5.2.3 1610 | ws: 8.17.1 1611 | xmlhttprequest-ssl: 2.1.2 1612 | transitivePeerDependencies: 1613 | - bufferutil 1614 | - supports-color 1615 | - utf-8-validate 1616 | 1617 | engine.io-parser@5.2.3: {} 1618 | 1619 | engine.io@6.6.4: 1620 | dependencies: 1621 | "@types/cors": 2.8.18 1622 | "@types/node": 22.15.21 1623 | accepts: 1.3.8 1624 | base64id: 2.0.0 1625 | cookie: 0.7.2 1626 | cors: 2.8.5 1627 | debug: 4.3.7 1628 | engine.io-parser: 5.2.3 1629 | ws: 8.17.1 1630 | transitivePeerDependencies: 1631 | - bufferutil 1632 | - supports-color 1633 | - utf-8-validate 1634 | 1635 | entities@4.5.0: {} 1636 | 1637 | es-define-property@1.0.1: {} 1638 | 1639 | es-errors@1.3.0: {} 1640 | 1641 | es-object-atoms@1.1.1: 1642 | dependencies: 1643 | es-errors: 1.3.0 1644 | 1645 | es-set-tostringtag@2.1.0: 1646 | dependencies: 1647 | es-errors: 1.3.0 1648 | get-intrinsic: 1.3.0 1649 | has-tostringtag: 1.0.2 1650 | hasown: 2.0.2 1651 | 1652 | esbuild@0.25.4: 1653 | optionalDependencies: 1654 | "@esbuild/aix-ppc64": 0.25.4 1655 | "@esbuild/android-arm": 0.25.4 1656 | "@esbuild/android-arm64": 0.25.4 1657 | "@esbuild/android-x64": 0.25.4 1658 | "@esbuild/darwin-arm64": 0.25.4 1659 | "@esbuild/darwin-x64": 0.25.4 1660 | "@esbuild/freebsd-arm64": 0.25.4 1661 | "@esbuild/freebsd-x64": 0.25.4 1662 | "@esbuild/linux-arm": 0.25.4 1663 | "@esbuild/linux-arm64": 0.25.4 1664 | "@esbuild/linux-ia32": 0.25.4 1665 | "@esbuild/linux-loong64": 0.25.4 1666 | "@esbuild/linux-mips64el": 0.25.4 1667 | "@esbuild/linux-ppc64": 0.25.4 1668 | "@esbuild/linux-riscv64": 0.25.4 1669 | "@esbuild/linux-s390x": 0.25.4 1670 | "@esbuild/linux-x64": 0.25.4 1671 | "@esbuild/netbsd-arm64": 0.25.4 1672 | "@esbuild/netbsd-x64": 0.25.4 1673 | "@esbuild/openbsd-arm64": 0.25.4 1674 | "@esbuild/openbsd-x64": 0.25.4 1675 | "@esbuild/sunos-x64": 0.25.4 1676 | "@esbuild/win32-arm64": 0.25.4 1677 | "@esbuild/win32-ia32": 0.25.4 1678 | "@esbuild/win32-x64": 0.25.4 1679 | 1680 | escalade@3.2.0: {} 1681 | 1682 | estree-walker@2.0.2: {} 1683 | 1684 | fast-defer@1.1.8: {} 1685 | 1686 | fdir@6.4.4(picomatch@4.0.2): 1687 | optionalDependencies: 1688 | picomatch: 4.0.2 1689 | 1690 | follow-redirects@1.15.9: {} 1691 | 1692 | form-data@4.0.2: 1693 | dependencies: 1694 | asynckit: 0.4.0 1695 | combined-stream: 1.0.8 1696 | es-set-tostringtag: 2.1.0 1697 | mime-types: 2.1.35 1698 | 1699 | fsevents@2.3.3: 1700 | optional: true 1701 | 1702 | function-bind@1.1.2: {} 1703 | 1704 | get-caller-file@2.0.5: {} 1705 | 1706 | get-intrinsic@1.3.0: 1707 | dependencies: 1708 | call-bind-apply-helpers: 1.0.2 1709 | es-define-property: 1.0.1 1710 | es-errors: 1.3.0 1711 | es-object-atoms: 1.1.1 1712 | function-bind: 1.1.2 1713 | get-proto: 1.0.1 1714 | gopd: 1.2.0 1715 | has-symbols: 1.1.0 1716 | hasown: 2.0.2 1717 | math-intrinsics: 1.1.0 1718 | 1719 | get-proto@1.0.1: 1720 | dependencies: 1721 | dunder-proto: 1.0.1 1722 | es-object-atoms: 1.1.1 1723 | 1724 | get-tsconfig@4.10.1: 1725 | dependencies: 1726 | resolve-pkg-maps: 1.0.0 1727 | 1728 | gopd@1.2.0: {} 1729 | 1730 | has-flag@4.0.0: {} 1731 | 1732 | has-symbols@1.1.0: {} 1733 | 1734 | has-tostringtag@1.0.2: 1735 | dependencies: 1736 | has-symbols: 1.1.0 1737 | 1738 | hasown@2.0.2: 1739 | dependencies: 1740 | function-bind: 1.1.2 1741 | 1742 | is-fullwidth-code-point@3.0.0: {} 1743 | 1744 | lodash@4.17.21: {} 1745 | 1746 | magic-string@0.30.17: 1747 | dependencies: 1748 | "@jridgewell/sourcemap-codec": 1.5.0 1749 | 1750 | math-intrinsics@1.1.0: {} 1751 | 1752 | mime-db@1.52.0: {} 1753 | 1754 | mime-types@2.1.35: 1755 | dependencies: 1756 | mime-db: 1.52.0 1757 | 1758 | ms@2.1.3: {} 1759 | 1760 | nanoid@3.3.11: {} 1761 | 1762 | negotiator@0.6.3: {} 1763 | 1764 | object-assign@4.1.1: {} 1765 | 1766 | object-code@1.3.3: {} 1767 | 1768 | picocolors@1.1.1: {} 1769 | 1770 | picomatch@4.0.2: {} 1771 | 1772 | postcss@8.5.3: 1773 | dependencies: 1774 | nanoid: 3.3.11 1775 | picocolors: 1.1.1 1776 | source-map-js: 1.2.1 1777 | 1778 | prettier@3.5.3: {} 1779 | 1780 | proxy-from-env@1.1.0: {} 1781 | 1782 | require-directory@2.1.1: {} 1783 | 1784 | resolve-pkg-maps@1.0.0: {} 1785 | 1786 | rollup@4.41.1: 1787 | dependencies: 1788 | "@types/estree": 1.0.7 1789 | optionalDependencies: 1790 | "@rollup/rollup-android-arm-eabi": 4.41.1 1791 | "@rollup/rollup-android-arm64": 4.41.1 1792 | "@rollup/rollup-darwin-arm64": 4.41.1 1793 | "@rollup/rollup-darwin-x64": 4.41.1 1794 | "@rollup/rollup-freebsd-arm64": 4.41.1 1795 | "@rollup/rollup-freebsd-x64": 4.41.1 1796 | "@rollup/rollup-linux-arm-gnueabihf": 4.41.1 1797 | "@rollup/rollup-linux-arm-musleabihf": 4.41.1 1798 | "@rollup/rollup-linux-arm64-gnu": 4.41.1 1799 | "@rollup/rollup-linux-arm64-musl": 4.41.1 1800 | "@rollup/rollup-linux-loongarch64-gnu": 4.41.1 1801 | "@rollup/rollup-linux-powerpc64le-gnu": 4.41.1 1802 | "@rollup/rollup-linux-riscv64-gnu": 4.41.1 1803 | "@rollup/rollup-linux-riscv64-musl": 4.41.1 1804 | "@rollup/rollup-linux-s390x-gnu": 4.41.1 1805 | "@rollup/rollup-linux-x64-gnu": 4.41.1 1806 | "@rollup/rollup-linux-x64-musl": 4.41.1 1807 | "@rollup/rollup-win32-arm64-msvc": 4.41.1 1808 | "@rollup/rollup-win32-ia32-msvc": 4.41.1 1809 | "@rollup/rollup-win32-x64-msvc": 4.41.1 1810 | fsevents: 2.3.3 1811 | 1812 | rxjs@7.8.2: 1813 | dependencies: 1814 | tslib: 2.8.1 1815 | 1816 | shell-quote@1.8.2: {} 1817 | 1818 | socket.io-adapter@2.5.5: 1819 | dependencies: 1820 | debug: 4.3.7 1821 | ws: 8.17.1 1822 | transitivePeerDependencies: 1823 | - bufferutil 1824 | - supports-color 1825 | - utf-8-validate 1826 | 1827 | socket.io-client@4.8.1: 1828 | dependencies: 1829 | "@socket.io/component-emitter": 3.1.2 1830 | debug: 4.3.7 1831 | engine.io-client: 6.6.3 1832 | socket.io-parser: 4.2.4 1833 | transitivePeerDependencies: 1834 | - bufferutil 1835 | - supports-color 1836 | - utf-8-validate 1837 | 1838 | socket.io-parser@4.2.4: 1839 | dependencies: 1840 | "@socket.io/component-emitter": 3.1.2 1841 | debug: 4.3.7 1842 | transitivePeerDependencies: 1843 | - supports-color 1844 | 1845 | socket.io@4.8.1: 1846 | dependencies: 1847 | accepts: 1.3.8 1848 | base64id: 2.0.0 1849 | cors: 2.8.5 1850 | debug: 4.3.7 1851 | engine.io: 6.6.4 1852 | socket.io-adapter: 2.5.5 1853 | socket.io-parser: 4.2.4 1854 | transitivePeerDependencies: 1855 | - bufferutil 1856 | - supports-color 1857 | - utf-8-validate 1858 | 1859 | source-map-js@1.2.1: {} 1860 | 1861 | string-width@4.2.3: 1862 | dependencies: 1863 | emoji-regex: 8.0.0 1864 | is-fullwidth-code-point: 3.0.0 1865 | strip-ansi: 6.0.1 1866 | 1867 | strip-ansi@6.0.1: 1868 | dependencies: 1869 | ansi-regex: 5.0.1 1870 | 1871 | supports-color@7.2.0: 1872 | dependencies: 1873 | has-flag: 4.0.0 1874 | 1875 | supports-color@8.1.1: 1876 | dependencies: 1877 | has-flag: 4.0.0 1878 | 1879 | tinyglobby@0.2.14: 1880 | dependencies: 1881 | fdir: 6.4.4(picomatch@4.0.2) 1882 | picomatch: 4.0.2 1883 | 1884 | tree-kill@1.2.2: {} 1885 | 1886 | tslib@2.8.1: {} 1887 | 1888 | tsx@4.19.4: 1889 | dependencies: 1890 | esbuild: 0.25.4 1891 | get-tsconfig: 4.10.1 1892 | optionalDependencies: 1893 | fsevents: 2.3.3 1894 | 1895 | typescript@5.8.3: {} 1896 | 1897 | undici-types@6.21.0: {} 1898 | 1899 | vary@1.1.2: {} 1900 | 1901 | vite@6.3.5(@types/node@22.15.21)(tsx@4.19.4): 1902 | dependencies: 1903 | esbuild: 0.25.4 1904 | fdir: 6.4.4(picomatch@4.0.2) 1905 | picomatch: 4.0.2 1906 | postcss: 8.5.3 1907 | rollup: 4.41.1 1908 | tinyglobby: 0.2.14 1909 | optionalDependencies: 1910 | "@types/node": 22.15.21 1911 | fsevents: 2.3.3 1912 | tsx: 4.19.4 1913 | 1914 | vue@3.5.15(typescript@5.8.3): 1915 | dependencies: 1916 | "@vue/compiler-dom": 3.5.15 1917 | "@vue/compiler-sfc": 3.5.15 1918 | "@vue/runtime-dom": 3.5.15 1919 | "@vue/server-renderer": 3.5.15(vue@3.5.15(typescript@5.8.3)) 1920 | "@vue/shared": 3.5.15 1921 | optionalDependencies: 1922 | typescript: 5.8.3 1923 | 1924 | wrap-ansi@7.0.0: 1925 | dependencies: 1926 | ansi-styles: 4.3.0 1927 | string-width: 4.2.3 1928 | strip-ansi: 6.0.1 1929 | 1930 | ws@8.17.1: {} 1931 | 1932 | xmlhttprequest-ssl@2.1.2: {} 1933 | 1934 | y18n@5.0.8: {} 1935 | 1936 | yargs-parser@21.1.1: {} 1937 | 1938 | yargs@17.7.2: 1939 | dependencies: 1940 | cliui: 8.0.1 1941 | escalade: 3.2.0 1942 | get-caller-file: 2.0.5 1943 | require-directory: 2.1.1 1944 | string-width: 4.2.3 1945 | y18n: 5.0.8 1946 | yargs-parser: 21.1.1 1947 | --------------------------------------------------------------------------------