The swiss army knife of lossless video/audio editing
use lodash/debounce in main instead of lodash.debounce
Claudec47cda504b3c
diff --git a/package.json b/package.jsonindex 121d3070..8d63b82c 100644--- a/package.json+++ b/package.json@@ -69,7 +69,6 @@"@types/express": "^5.0.6","@types/leaflet": "^1.9.21","@types/lodash": "^4.17.24",- "@types/lodash.debounce": "^4.0.9","@types/luxon": "^3.7.1","@types/mime-types": "^3.0.1","@types/morgan": "^1.9.10",@@ -151,7 +150,6 @@"i18next": "^26.3.0","i18next-fs-backend": "^2.6.6","json5": "^2.2.3",- "lodash.debounce": "^4.0.8","mime-types": "^3.0.2","mitt": "patch:mitt@npm%3A3.0.1#~/.yarn/patches/mitt-npm-3.0.1-ce290ffa77.patch","morgan": "^1.12.1",diff --git a/src/main/index.ts b/src/main/index.tsindex cf02de1b..bb576ef2 100644--- a/src/main/index.ts+++ b/src/main/index.ts@@ -5,7 +5,7 @@ process.traceProcessWarnings = true;// eslint-disable-next-line import/no-extraneous-dependenciesimport electron, { BrowserWindow, type BrowserWindowConstructorOptions, nativeTheme, shell, app, ipcMain, Notification, type NotificationConstructorOptions } from 'electron';import i18n from 'i18next';-import debounce from 'lodash.debounce/index.js';+import debounce from 'lodash/debounce.js';import yargsParser from 'yargs-parser';import JSON5 from 'json5';import remote from '@electron/remote/main/index.js';diff --git a/yarn.lock b/yarn.lockindex 141d5915..a0aa17fc 100644--- a/yarn.lock+++ b/yarn.lock@@ -4486,16 +4486,7 @@ __metadata:languageName: nodelinkType: hard-"@types/lodash.debounce@npm:^4.0.9":- version: 4.0.9- resolution: "@types/lodash.debounce@npm:4.0.9"- dependencies:- "@types/lodash": "npm:*"- checksum: 10/8183a152e01928e3b97ca773f6ae6038b8695e76493ba8bf6b743ec143948a62294fbc9d49fa4a78b52265b3ba4892ef57534e0c13d04aa0f111671b5a944feb- languageName: node- linkType: hard--"@types/lodash@npm:*, @types/lodash@npm:^4.17.24":+"@types/lodash@npm:^4.17.24":version: 4.17.24resolution: "@types/lodash@npm:4.17.24"checksum: 10/0f2082565f60f9787eefc046edc38458054512be5a8b3584ef0bad5fd9e85d0ab55ec5a1fbfae1ed6ba015cf1f9e837d5fb4da1f99fc60b8f74b2a46146fb00f@@ -9835,7 +9826,6 @@ __metadata:"@types/express": "npm:^5.0.6""@types/leaflet": "npm:^1.9.21""@types/lodash": "npm:^4.17.24"- "@types/lodash.debounce": "npm:^4.0.9""@types/luxon": "npm:^3.7.1""@types/mime-types": "npm:^3.0.1""@types/morgan": "npm:^1.9.10"@@ -9882,7 +9872,6 @@ __metadata:ky: "npm:^2.0.2"leaflet: "npm:^1.9.4"lodash: "npm:^4.18.1"- lodash.debounce: "npm:^4.0.8"luxon: "npm:^3.7.2"mime-types: "npm:^3.0.2"mitt: "patch:mitt@npm%3A3.0.1#~/.yarn/patches/mitt-npm-3.0.1-ce290ffa77.patch"