mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
fix(client): repair dependency resolution after dependabot merges
@stryker-mutator/{api,core,vitest-runner} were bumped to 9.6.1 while
typescript-checker stayed at 9.6.0, which hard-pins core@9.6.0 as a peer.
npm install failed with ERESOLVE. Bump typescript-checker to match.
Also reformat two files for prettier 3.9.6, which changed how union
types are broken across lines.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Generated
+10
-64
@@ -25,7 +25,7 @@
|
||||
"@playwright/test": "^1",
|
||||
"@stryker-mutator/api": "^9.6.1",
|
||||
"@stryker-mutator/core": "^9.6.1",
|
||||
"@stryker-mutator/typescript-checker": "^9.6.0",
|
||||
"@stryker-mutator/typescript-checker": "^9.6.1",
|
||||
"@stryker-mutator/vitest-runner": "^9.6.1",
|
||||
"@tauri-apps/cli": "^2",
|
||||
"@vitest/browser": "^3.2.4",
|
||||
@@ -3525,13 +3525,6 @@
|
||||
"node": ">=20.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@stryker-mutator/core/node_modules/@stryker-mutator/util": {
|
||||
"version": "9.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-9.6.1.tgz",
|
||||
"integrity": "sha512-Lk/ALVctJjFv1vvwR+CFoKzDCWvsBlq7flDUnmnpuwTrGbm156EdZD1Jjq4o8KdOap0ezUZqQNE9OAI1m2+pUQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@stryker-mutator/core/node_modules/ajv": {
|
||||
"version": "8.18.0",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
|
||||
@@ -3600,69 +3593,29 @@
|
||||
"node": ">=20.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@stryker-mutator/instrumenter/node_modules/@stryker-mutator/util": {
|
||||
"version": "9.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-9.6.1.tgz",
|
||||
"integrity": "sha512-Lk/ALVctJjFv1vvwR+CFoKzDCWvsBlq7flDUnmnpuwTrGbm156EdZD1Jjq4o8KdOap0ezUZqQNE9OAI1m2+pUQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@stryker-mutator/typescript-checker": {
|
||||
"version": "9.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/typescript-checker/-/typescript-checker-9.6.0.tgz",
|
||||
"integrity": "sha512-mPoB2Eogda4bpIoNgdN+VHnZvbwD0R/oNCCbmq7UQVLZtzF09nH1M1kbilYdmrCyxYYkFyTCKy3WhU3YGWdDjA==",
|
||||
"version": "9.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/typescript-checker/-/typescript-checker-9.6.1.tgz",
|
||||
"integrity": "sha512-dCFJDoFixFe7cbilsukb7a5jpn9JRSPef7/vgx+xfaf4gPf/neDVbci8E/YSvxmcFveuPHdeUxioocA1CKZqrg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@stryker-mutator/api": "9.6.0",
|
||||
"@stryker-mutator/util": "9.6.0",
|
||||
"@stryker-mutator/api": "9.6.1",
|
||||
"@stryker-mutator/util": "9.6.1",
|
||||
"semver": "~7.7.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@stryker-mutator/core": "9.6.0",
|
||||
"@stryker-mutator/core": "9.6.1",
|
||||
"typescript": ">=3.6"
|
||||
}
|
||||
},
|
||||
"node_modules/@stryker-mutator/typescript-checker/node_modules/@stryker-mutator/api": {
|
||||
"version": "9.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/api/-/api-9.6.0.tgz",
|
||||
"integrity": "sha512-kJEEwOVoWDXGEIXuM+9efT6LSJ7nyxnQQvjEoKg8GSZXbDUjfD0tqA0aBD06U1SzQLKCM7ffjgPffr154MHZKw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"mutation-testing-metrics": "3.7.2",
|
||||
"mutation-testing-report-schema": "3.7.2",
|
||||
"tslib": "~2.8.0",
|
||||
"typed-inject": "~5.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@stryker-mutator/typescript-checker/node_modules/mutation-testing-metrics": {
|
||||
"version": "3.7.2",
|
||||
"resolved": "https://registry.npmjs.org/mutation-testing-metrics/-/mutation-testing-metrics-3.7.2.tgz",
|
||||
"integrity": "sha512-ichXZSC4FeJbcVHYOWzWUhNuTJGogc0WiQol8lqEBrBSp+ADl3fmcZMqrx0ogInEUiImn+A8JyTk6uh9vd25TQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"mutation-testing-report-schema": "3.7.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@stryker-mutator/typescript-checker/node_modules/mutation-testing-report-schema": {
|
||||
"version": "3.7.2",
|
||||
"resolved": "https://registry.npmjs.org/mutation-testing-report-schema/-/mutation-testing-report-schema-3.7.2.tgz",
|
||||
"integrity": "sha512-fN5M61SDzIOeJyatMOhGPLDOFz5BQIjTNPjo4PcHIEUWrejO4i4B5PFuQ/2l43709hEsTxeiXX00H73WERKcDw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@stryker-mutator/util": {
|
||||
"version": "9.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-9.6.0.tgz",
|
||||
"integrity": "sha512-gw7fJOFNHEj9inAEOodD9RrrMEMhZmWJ46Ww/kDJAXlSsBBmdwCzeomNLngmLTvgp14z7Tfq85DHYwvmNMdOxA==",
|
||||
"version": "9.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-9.6.1.tgz",
|
||||
"integrity": "sha512-Lk/ALVctJjFv1vvwR+CFoKzDCWvsBlq7flDUnmnpuwTrGbm156EdZD1Jjq4o8KdOap0ezUZqQNE9OAI1m2+pUQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
@@ -3686,13 +3639,6 @@
|
||||
"vitest": ">=2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@stryker-mutator/vitest-runner/node_modules/@stryker-mutator/util": {
|
||||
"version": "9.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-9.6.1.tgz",
|
||||
"integrity": "sha512-Lk/ALVctJjFv1vvwR+CFoKzDCWvsBlq7flDUnmnpuwTrGbm156EdZD1Jjq4o8KdOap0ezUZqQNE9OAI1m2+pUQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@tauri-apps/api": {
|
||||
"version": "2.11.1",
|
||||
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.11.1.tgz",
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"@playwright/test": "^1",
|
||||
"@stryker-mutator/api": "^9.6.1",
|
||||
"@stryker-mutator/core": "^9.6.1",
|
||||
"@stryker-mutator/typescript-checker": "^9.6.0",
|
||||
"@stryker-mutator/typescript-checker": "^9.6.1",
|
||||
"@stryker-mutator/vitest-runner": "^9.6.1",
|
||||
"@tauri-apps/cli": "^2",
|
||||
"@vitest/browser": "^3.2.4",
|
||||
|
||||
@@ -38,8 +38,7 @@ export function logIceConnectionInfo(room: Room | null): void {
|
||||
// LiveKit exposes the PeerConnection via room.engine.subscriber/publisher.
|
||||
try {
|
||||
const engine = (room as unknown as Record<string, unknown>).engine as
|
||||
| Record<string, unknown>
|
||||
| undefined;
|
||||
Record<string, unknown> | undefined;
|
||||
if (!engine) return;
|
||||
|
||||
const subscriber = engine.subscriber as Record<string, unknown> | undefined;
|
||||
@@ -99,8 +98,7 @@ export function getIceConnectionState(room: Room | null): Record<string, unknown
|
||||
if (room === null) return null;
|
||||
try {
|
||||
const engine = (room as unknown as Record<string, unknown>).engine as
|
||||
| Record<string, unknown>
|
||||
| undefined;
|
||||
Record<string, unknown> | undefined;
|
||||
if (!engine) return null;
|
||||
const subscriber = engine.subscriber as Record<string, unknown> | undefined;
|
||||
const publisher = engine.publisher as Record<string, unknown> | undefined;
|
||||
|
||||
@@ -14,8 +14,8 @@ let wsGeneration = 0;
|
||||
// Tauri IPC imports — resolved at runtime in Tauri context
|
||||
let tauriInvoke: ((cmd: string, args?: Record<string, unknown>) => Promise<unknown>) | null = null;
|
||||
let tauriListen:
|
||||
| ((event: string, handler: (e: { payload: unknown }) => void) => Promise<() => void>)
|
||||
| null = null;
|
||||
((event: string, handler: (e: { payload: unknown }) => void) => Promise<() => void>) | null =
|
||||
null;
|
||||
|
||||
// Dynamically load Tauri APIs (avoids import errors in test/browser env)
|
||||
async function ensureTauriApis(): Promise<void> {
|
||||
@@ -31,11 +31,7 @@ async function ensureTauriApis(): Promise<void> {
|
||||
}
|
||||
|
||||
export type ConnectionState =
|
||||
| "disconnected"
|
||||
| "connecting"
|
||||
| "authenticating"
|
||||
| "connected"
|
||||
| "reconnecting";
|
||||
"disconnected" | "connecting" | "authenticating" | "connected" | "reconnecting";
|
||||
|
||||
/** The UX-facing 3-state status stored in ui.store.connectionStatus. */
|
||||
export type ConnectionStatus = "connected" | "reconnecting" | "disconnected";
|
||||
|
||||
Reference in New Issue
Block a user