diff --git a/.yarnrc.yml b/.yarnrc.yml index 909c8b8c..e4c3352e 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -3,3 +3,5 @@ nmHoistingLimits: workspaces nodeLinker: node-modules yarnPath: .yarn/releases/yarn-4.1.0.cjs + +enableInlineBuilds: true diff --git a/enjoy/package.json b/enjoy/package.json index 4e63e2ba..74dd2ad4 100644 --- a/enjoy/package.json +++ b/enjoy/package.json @@ -7,17 +7,18 @@ "main": ".vite/build/main.js", "types": "./src/types.d.ts", "scripts": { - "dev": "rimraf .vite && WEB_API_URL=http://localhost:3000 electron-forge start", - "start": "rimraf .vite && electron-forge start", - "package": "rimraf .vite && electron-forge package", - "make": "rimraf .vite && electron-forge make", - "publish": "rimraf .vite && electron-forge publish", + "predev": "yarn run download", + "dev": "rimraf .vite && yarn run download && WEB_API_URL=http://localhost:3000 electron-forge start", + "start": "rimraf .vite && yarn run download && electron-forge start", + "package": "rimraf .vite && yarn run download && electron-forge package", + "make": "rimraf .vite && yarn run download && electron-forge make", + "publish": "rimraf .vite && yarn run download && electron-forge publish", "lint": "eslint --ext .ts,.tsx .", - "test": "playwright test", + "test": "yarn run package && playwright test", "create-migration": "zx ./src/main/db/create-migration.mjs", "download-whisper-model": "zx ./scripts/download-whisper-model.mjs", "download-ffmpeg-wasm": "zx ./scripts/download-ffmpeg-wasm.mjs", - "postinstall": "zx ./scripts/download-whisper-model.mjs && zx ./scripts/download-ffmpeg-wasm.mjs" + "download": "yarn run download-whisper-model && yarn run download-ffmpeg-wasm" }, "keywords": [], "author": { @@ -48,8 +49,8 @@ "@types/react-dom": "^18.2.19", "@types/validator": "^13.11.9", "@types/wavesurfer.js": "^6.0.12", - "@typescript-eslint/eslint-plugin": "^6.21.0", - "@typescript-eslint/parser": "^6.21.0", + "@typescript-eslint/eslint-plugin": "^7.0.1", + "@typescript-eslint/parser": "^7.0.1", "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.17", "electron": "^28.2.0", @@ -74,7 +75,7 @@ "@ffmpeg/ffmpeg": "^0.12.10", "@ffmpeg/util": "^0.12.1", "@hookform/resolvers": "^3.3.4", - "@langchain/google-genai": "^0.0.8", + "@langchain/google-genai": "^0.0.10", "@mozilla/readability": "^0.5.0", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-alert-dialog": "^1.0.5", @@ -121,20 +122,20 @@ "fluent-ffmpeg": "^2.1.2", "fs-extra": "^11.2.0", "html-to-text": "^9.0.5", - "https-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.3", "i18next": "^23.8.2", "intl-tel-input": "^19.2.16", "js-md5": "^0.8.3", "langchain": "^0.1.17", "lodash": "^4.17.21", - "lucide-react": "^0.323.0", + "lucide-react": "^0.330.0", "mark.js": "^8.11.1", "microsoft-cognitiveservices-speech-sdk": "^1.35.0", "next-themes": "^0.2.1", - "openai": "^4.27.0", + "openai": "^4.28.0", "pitchfinder": "^2.3.2", "postcss": "^8.4.35", - "proxy-agent": "^6.3.1", + "proxy-agent": "^6.4.0", "react": "^18.2.0", "react-activity-calendar": "^2.2.7", "react-dom": "^18.2.0", @@ -143,10 +144,10 @@ "react-i18next": "^14.0.5", "react-markdown": "^9.0.1", "react-router-dom": "^6.22.0", - "react-tooltip": "^5.26.0", + "react-tooltip": "^5.26.2", "reflect-metadata": "^0.2.1", "rimraf": "^5.0.5", - "sequelize": "^6.36.0", + "sequelize": "^6.37.0", "sequelize-typescript": "^2.1.6", "sonner": "^1.4.0", "sqlite3": "^5.1.7", diff --git a/enjoy/scripts/download-ffmpeg-wasm.mjs b/enjoy/scripts/download-ffmpeg-wasm.mjs index ce1578d2..40e03eb7 100755 --- a/enjoy/scripts/download-ffmpeg-wasm.mjs +++ b/enjoy/scripts/download-ffmpeg-wasm.mjs @@ -4,7 +4,7 @@ import axios from "axios"; import { createHash } from "crypto"; import { HttpsProxyAgent } from "https-proxy-agent"; -console.log(chalk.blue("=> Download ffmpeg wasm files")); +console.info(chalk.blue("=> Download ffmpeg wasm files")); const files = [ { @@ -28,15 +28,15 @@ await Promise.all( files.map(async (file) => { try { if (fs.statSync(path.join(dir, file.name)).isFile()) { - console.log(chalk.green(`=> File ${file.name} already exists`)); + console.info(chalk.green(`✅ File ${file.name} already exists`)); const hash = await hashFile(path.join(dir, file.name), { algo: "md5" }); if (hash === file.md5) { - console.log(chalk.green(`=> File ${file.name} MD5 match`)); + console.info(chalk.green(`✅ File ${file.name} valid`)); } else { - console.log( + console.warn( chalk.yellow( - `=> File ${file.name} MD5 not match, start to redownload` + `❌ File ${file.name} not valid, start to redownload` ) ); fs.removeSync(path.join(dir, file.name)); @@ -47,7 +47,7 @@ await Promise.all( } } catch (err) { if (err && err.code !== "ENOENT") { - console.log(chalk.red(`=> Error: ${err}`)); + console.error(chalk.red(`❌ Error: ${err}`)); process.exit(1); } pendingFiles.push(file); @@ -56,10 +56,10 @@ await Promise.all( ); if (pendingFiles.length === 0) { - console.log(chalk.green("=> All files already exist")); + console.info(chalk.green("✅ All files already exist")); process.exit(0); } else { - console.log(chalk.blue(`=> Start to download ${pendingFiles.length} files`)); + console.info(chalk.blue(`=> Start to download ${pendingFiles.length} files`)); } const proxyUrl = @@ -77,12 +77,12 @@ if (proxyUrl) { protocol: protocol, }; axios.defaults.httpsAgent = httpsAgent; - console.log(chalk.blue(`=> Use proxy: ${proxyUrl}`)); + console.info(chalk.blue(`=> Use proxy: ${proxyUrl}`)); } const download = async (url, dest, md5) => { return spinner(async () => { - console.log(chalk.blue(`=> Start to download file ${url}`)); + console.info(chalk.blue(`=> Start to download file ${url}`)); await axios .get(url, { responseType: "arraybuffer", @@ -92,20 +92,19 @@ const download = async (url, dest, md5) => { fs.writeFileSync(dest, data); const hash = await hashFile(dest, { algo: "md5" }); - console.log(chalk.blue(`=> File ${dest}(MD5: ${hash})`)); if (hash === md5) { - console.log(chalk.green(`=> ${dest} downloaded successfully`)); + console.info(chalk.green(`✅ ${dest} downloaded successfully`)); } else { - console.log( + console.error( chalk.red( - `=> Error: ${dest} MD5 not match, ${hash} should be ${md5}` + `❌ Error: ${dest} MD5 not match, ${hash} should be ${md5}` ) ); process.exit(1); } }) .catch((err) => { - console.log(chalk.red(`=> Error: ${err}`)); + console.error(chalk.red(`❌ Error: ${err}`)); process.exit(1); }); }); @@ -127,7 +126,7 @@ const cleanup = () => { try { fs.removeSync(path.join(dir, file.name)); } catch (err) { - console.log(chalk.red(`=> Error: ${err}`)); + console.error(chalk.red(`❌ Error: ${err}`)); } }); }; @@ -140,10 +139,10 @@ try { ) ); } catch (err) { - console.log(chalk.red(`=> Error: ${err}`)); + console.error(chalk.red(`❌ Error: ${err}`)); cleanup(); process.exit(1); } -console.log(chalk.green("=> All files downloaded successfully")); +console.info(chalk.green("✅ All files downloaded successfully")); process.exit(0); diff --git a/enjoy/scripts/download-whisper-model.mjs b/enjoy/scripts/download-whisper-model.mjs index 852ae54a..b932c58e 100755 --- a/enjoy/scripts/download-whisper-model.mjs +++ b/enjoy/scripts/download-whisper-model.mjs @@ -9,29 +9,29 @@ const md5 = "55309cc6613788f07ac7988985210734"; const dir = path.join(process.cwd(), "lib/whisper.cpp/models"); -console.log(chalk.blue(`=> Download whisper model ${model}`)); +console.info(chalk.blue(`=> Download whisper model ${model}`)); fs.ensureDirSync(dir); try { if (fs.statSync(path.join(dir, model)).isFile()) { - console.log(chalk.green(`=> Model ${model} already exists`)); + console.info(chalk.green(`✅ Model ${model} already exists`)); const hash = await hashFile(path.join(dir, model), { algo: "md5" }); if (hash === md5) { - console.log(chalk.green(`=> Model ${model} MD5 match`)); + console.info(chalk.green(`✅ Model ${model} valid`)); process.exit(0); } else { - console.log( - chalk.red(`=> Model ${model} MD5 not match, start to redownload`) + console.error( + chalk.red(`❌ Model ${model} not valid, start to redownload`) ); fs.removeSync(path.join(dir, model)); } } } catch (err) { if (err && err.code !== "ENOENT") { - console.log(chalk.red(`=> Error: ${err}`)); + console.error(chalk.red(`❌ Error: ${err}`)); process.exit(1); } else { - console.log(chalk.blue(`=> Start to download model ${model}`)); + console.info(chalk.blue(`=> Start to download model ${model}`)); } } @@ -83,12 +83,12 @@ const download = async (url, dest) => { }); response.data.pipe(fs.createWriteStream(dest)).on("close", () => { - console.log(chalk.green(`=> Model ${model} downloaded successfully`)); + console.info(chalk.green(`✅ Model ${model} downloaded successfully`)); process.exit(0); }); }) .catch((err) => { - console.log(chalk.red(`=> Error: ${err}`)); + console.error(chalk.red(`❌ Error: ${err}`)); process.exit(1); }); }; diff --git a/yarn.lock b/yarn.lock index 3844284c..98518107 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1192,6 +1192,15 @@ __metadata: languageName: node linkType: hard +"@floating-ui/core@npm:^1.0.0": + version: 1.6.0 + resolution: "@floating-ui/core@npm:1.6.0" + dependencies: + "@floating-ui/utils": "npm:^0.2.1" + checksum: 10c0/667a68036f7dd5ed19442c7792a6002ca02d1799221c4396691bbe0b6008b48f6ccad581225e81fa266bb91232f6c66838a5f825f554217e1ec886178b93381b + languageName: node + linkType: hard + "@floating-ui/core@npm:^1.5.3": version: 1.5.3 resolution: "@floating-ui/core@npm:1.5.3" @@ -1201,7 +1210,7 @@ __metadata: languageName: node linkType: hard -"@floating-ui/dom@npm:^1.0.0, @floating-ui/dom@npm:^1.5.4": +"@floating-ui/dom@npm:^1.5.4": version: 1.5.4 resolution: "@floating-ui/dom@npm:1.5.4" dependencies: @@ -1211,6 +1220,16 @@ __metadata: languageName: node linkType: hard +"@floating-ui/dom@npm:^1.6.1": + version: 1.6.3 + resolution: "@floating-ui/dom@npm:1.6.3" + dependencies: + "@floating-ui/core": "npm:^1.0.0" + "@floating-ui/utils": "npm:^0.2.0" + checksum: 10c0/d6cac10877918ce5a8d1a24b21738d2eb130a0191043d7c0dd43bccac507844d3b4dc5d4107d3891d82f6007945ca8fb4207a1252506e91c37e211f0f73cf77e + languageName: node + linkType: hard + "@floating-ui/react-dom@npm:^2.0.0": version: 2.0.6 resolution: "@floating-ui/react-dom@npm:2.0.6" @@ -1223,7 +1242,7 @@ __metadata: languageName: node linkType: hard -"@floating-ui/utils@npm:^0.2.0": +"@floating-ui/utils@npm:^0.2.0, @floating-ui/utils@npm:^0.2.1": version: 0.2.1 resolution: "@floating-ui/utils@npm:0.2.1" checksum: 10c0/ee77756712cf5b000c6bacf11992ffb364f3ea2d0d51cc45197a7e646a17aeb86ea4b192c0b42f3fbb29487aee918a565e84f710b8c3645827767f406a6b4cc9 @@ -1659,13 +1678,13 @@ __metadata: languageName: node linkType: hard -"@langchain/google-genai@npm:^0.0.8": - version: 0.0.8 - resolution: "@langchain/google-genai@npm:0.0.8" +"@langchain/google-genai@npm:^0.0.10": + version: 0.0.10 + resolution: "@langchain/google-genai@npm:0.0.10" dependencies: "@google/generative-ai": "npm:^0.1.3" "@langchain/core": "npm:~0.1.5" - checksum: 10c0/d908f33c21ed0bef904630ac1813d75935dee493d1d05a083a6f87ff5afb31fa1de052c34f4d7f7a3d6f34aa317639282c7b997b82f11bae9c774e8de5eb3e13 + checksum: 10c0/5c6cf34f7f08eecb674524b50359934a96fc542f7f881eb59f93b2faa2430fdb8c36c70e38b95a45f773152a14f43997e7fe952b8afbdd67bfd0af8e066e0600 languageName: node linkType: hard @@ -3931,15 +3950,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0" +"@typescript-eslint/eslint-plugin@npm:^7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/eslint-plugin@npm:7.0.1" dependencies: "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:6.21.0" - "@typescript-eslint/type-utils": "npm:6.21.0" - "@typescript-eslint/utils": "npm:6.21.0" - "@typescript-eslint/visitor-keys": "npm:6.21.0" + "@typescript-eslint/scope-manager": "npm:7.0.1" + "@typescript-eslint/type-utils": "npm:7.0.1" + "@typescript-eslint/utils": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" debug: "npm:^4.3.4" graphemer: "npm:^1.4.0" ignore: "npm:^5.2.4" @@ -3947,73 +3966,73 @@ __metadata: semver: "npm:^7.5.4" ts-api-utils: "npm:^1.0.1" peerDependencies: - "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + "@typescript-eslint/parser": ^7.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/f911a79ee64d642f814a3b6cdb0d324b5f45d9ef955c5033e78903f626b7239b4aa773e464a38c3e667519066169d983538f2bf8e5d00228af587c9d438fb344 + checksum: 10c0/0340a406b6a9036b6b2d92ffa79364d9cbe509e26c9726a953a1b26b4a4413a7079110e94b8a56c7d9d5193885a77f52611af00dea2d60ac79221303f0b91b3d languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/parser@npm:6.21.0" +"@typescript-eslint/parser@npm:^7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/parser@npm:7.0.1" dependencies: - "@typescript-eslint/scope-manager": "npm:6.21.0" - "@typescript-eslint/types": "npm:6.21.0" - "@typescript-eslint/typescript-estree": "npm:6.21.0" - "@typescript-eslint/visitor-keys": "npm:6.21.0" + "@typescript-eslint/scope-manager": "npm:7.0.1" + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/typescript-estree": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" debug: "npm:^4.3.4" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/a8f99820679decd0d115c0af61903fb1de3b1b5bec412dc72b67670bf636de77ab07f2a68ee65d6da7976039bbf636907f9d5ca546db3f0b98a31ffbc225bc7d + checksum: 10c0/6e5c17faf94ced7fd5f5e0a44129f1369a691a39824303f947ed8f0089b03493b51e8c40e1f8a9f67e6420cec9aa084440d9362153525f55b20572bc111d4da5 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/scope-manager@npm:6.21.0" +"@typescript-eslint/scope-manager@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/scope-manager@npm:7.0.1" dependencies: - "@typescript-eslint/types": "npm:6.21.0" - "@typescript-eslint/visitor-keys": "npm:6.21.0" - checksum: 10c0/eaf868938d811cbbea33e97e44ba7050d2b6892202cea6a9622c486b85ab1cf801979edf78036179a8ba4ac26f1dfdf7fcc83a68c1ff66be0b3a8e9a9989b526 + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" + checksum: 10c0/a1da8ba1cba503887d7a576132857e2be3345a3b1682251b73f00b87199c20bd06662260895cb8d54ec26aca49902c7dc90fc7b0fde162c8415b63bb94c63e6d languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/type-utils@npm:6.21.0" +"@typescript-eslint/type-utils@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/type-utils@npm:7.0.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:6.21.0" - "@typescript-eslint/utils": "npm:6.21.0" + "@typescript-eslint/typescript-estree": "npm:7.0.1" + "@typescript-eslint/utils": "npm:7.0.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.0.1" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/7409c97d1c4a4386b488962739c4f1b5b04dc60cf51f8cd88e6b12541f84d84c6b8b67e491a147a2c95f9ec486539bf4519fb9d418411aef6537b9c156468117 + checksum: 10c0/55e2ea9a76fbd62e69124298e3c1a4cf713ffe437874d090b76e747837fd5ea4034a82002e799108f29606bbed1a853e3d24f59b8a4d685b1e17698ffeb83d81 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/types@npm:6.21.0" - checksum: 10c0/020631d3223bbcff8a0da3efbdf058220a8f48a3de221563996ad1dcc30d6c08dadc3f7608cc08830d21c0d565efd2db19b557b9528921c78aabb605eef2d74d +"@typescript-eslint/types@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/types@npm:7.0.1" + checksum: 10c0/04156d5423b4d00296f0e0154b68aeae0e59876029e7eabb2cc49bb45b57a379248051b281c12644ba5afb79794d828cffcd053f2c5fcb45aa23f244ec98ef45 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.21.0" +"@typescript-eslint/typescript-estree@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/typescript-estree@npm:7.0.1" dependencies: - "@typescript-eslint/types": "npm:6.21.0" - "@typescript-eslint/visitor-keys": "npm:6.21.0" + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -4023,34 +4042,34 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/af1438c60f080045ebb330155a8c9bb90db345d5069cdd5d01b67de502abb7449d6c75500519df829f913a6b3f490ade3e8215279b6bdc63d0fb0ae61034df5f + checksum: 10c0/c8cff32a8d880de6228de900aeb20127e4663570a5f959195fda73f905ab06f3d9fbf46d60db0a6333456e0179e4706737293c90e8cce2d4ad7a220ccef2a8e7 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/utils@npm:6.21.0" +"@typescript-eslint/utils@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/utils@npm:7.0.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" "@types/json-schema": "npm:^7.0.12" "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:6.21.0" - "@typescript-eslint/types": "npm:6.21.0" - "@typescript-eslint/typescript-estree": "npm:6.21.0" + "@typescript-eslint/scope-manager": "npm:7.0.1" + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/typescript-estree": "npm:7.0.1" semver: "npm:^7.5.4" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: 10c0/ab2df3833b2582d4e5467a484d08942b4f2f7208f8e09d67de510008eb8001a9b7460f2f9ba11c12086fd3cdcac0c626761c7995c2c6b5657d5fa6b82030a32d + eslint: ^8.56.0 + checksum: 10c0/83038958695daaa2a91092b16a64109797af28ec419f734f9dffa71f852ffb57ebd67c72d0b84c70805e4a53d4ead08e4f87687e944a1db19aeb72fcc89208cd languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.21.0" +"@typescript-eslint/visitor-keys@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/visitor-keys@npm:7.0.1" dependencies: - "@typescript-eslint/types": "npm:6.21.0" + "@typescript-eslint/types": "npm:7.0.1" eslint-visitor-keys: "npm:^3.4.1" - checksum: 10c0/7395f69739cfa1cb83c1fb2fad30afa2a814756367302fb4facd5893eff66abc807e8d8f63eba94ed3b0fe0c1c996ac9a1680bcbf0f83717acedc3f2bb724fbf + checksum: 10c0/a7a174d706f1b2ce60ebd17b9d20b36cc89c0ed45fcf510538734d13bca38d25ddbd4b6893a83ef5f344ad9aa7be76c22ea8407fa3c213c14dbcc52f9a2eadd0 languageName: node linkType: hard @@ -6071,7 +6090,7 @@ __metadata: "@ffmpeg/ffmpeg": "npm:^0.12.10" "@ffmpeg/util": "npm:^0.12.1" "@hookform/resolvers": "npm:^3.3.4" - "@langchain/google-genai": "npm:^0.0.8" + "@langchain/google-genai": "npm:^0.0.10" "@mozilla/readability": "npm:^0.5.0" "@playwright/test": "npm:^1.41.2" "@radix-ui/react-accordion": "npm:^1.1.2" @@ -6109,8 +6128,8 @@ __metadata: "@types/react-dom": "npm:^18.2.19" "@types/validator": "npm:^13.11.9" "@types/wavesurfer.js": "npm:^6.0.12" - "@typescript-eslint/eslint-plugin": "npm:^6.21.0" - "@typescript-eslint/parser": "npm:^6.21.0" + "@typescript-eslint/eslint-plugin": "npm:^7.0.1" + "@typescript-eslint/parser": "npm:^7.0.1" "@uidotdev/usehooks": "npm:^2.4.1" "@vidstack/react": "npm:^1.10.5" "@vitejs/plugin-react": "npm:^4.2.1" @@ -6142,22 +6161,22 @@ __metadata: fluent-ffmpeg: "npm:^2.1.2" fs-extra: "npm:^11.2.0" html-to-text: "npm:^9.0.5" - https-proxy-agent: "npm:^7.0.2" + https-proxy-agent: "npm:^7.0.3" i18next: "npm:^23.8.2" intl-tel-input: "npm:^19.2.16" js-md5: "npm:^0.8.3" langchain: "npm:^0.1.17" lodash: "npm:^4.17.21" - lucide-react: "npm:^0.323.0" + lucide-react: "npm:^0.330.0" mark.js: "npm:^8.11.1" microsoft-cognitiveservices-speech-sdk: "npm:^1.35.0" next-themes: "npm:^0.2.1" octokit: "npm:^3.1.2" - openai: "npm:^4.27.0" + openai: "npm:^4.28.0" pitchfinder: "npm:^2.3.2" postcss: "npm:^8.4.35" progress: "npm:^2.0.3" - proxy-agent: "npm:^6.3.1" + proxy-agent: "npm:^6.4.0" react: "npm:^18.2.0" react-activity-calendar: "npm:^2.2.7" react-dom: "npm:^18.2.0" @@ -6166,10 +6185,10 @@ __metadata: react-i18next: "npm:^14.0.5" react-markdown: "npm:^9.0.1" react-router-dom: "npm:^6.22.0" - react-tooltip: "npm:^5.26.0" + react-tooltip: "npm:^5.26.2" reflect-metadata: "npm:^0.2.1" rimraf: "npm:^5.0.5" - sequelize: "npm:^6.36.0" + sequelize: "npm:^6.37.0" sequelize-typescript: "npm:^2.1.6" sonner: "npm:^1.4.0" sqlite3: "npm:^5.1.7" @@ -7896,6 +7915,16 @@ __metadata: languageName: node linkType: hard +"http-proxy-agent@npm:^7.0.1": + version: 7.0.1 + resolution: "http-proxy-agent@npm:7.0.1" + dependencies: + agent-base: "npm:^7.1.0" + debug: "npm:^4.3.4" + checksum: 10c0/09bc7ea134a133caeb57c9487e6ee59c61aebdc8f531a86c4638cffc0d04cf7415b9d74d32e6e7781e1e931e882d1163c953430aefd6fbd1465b5e033432a040 + languageName: node + linkType: hard + "http-response-object@npm:^3.0.1": version: 3.0.2 resolution: "http-response-object@npm:3.0.2" @@ -7945,6 +7974,16 @@ __metadata: languageName: node linkType: hard +"https-proxy-agent@npm:^7.0.3": + version: 7.0.3 + resolution: "https-proxy-agent@npm:7.0.3" + dependencies: + agent-base: "npm:^7.0.2" + debug: "npm:4" + checksum: 10c0/0a5d4beb8f3e71755e3dc62e421aceb3df8bf0d20892dfbdc54de7791f9d34be222c6acb8c83930b138a4bab9387a9f4e06ea0b171cda8e167c3aa72d437f8d8 + languageName: node + linkType: hard + "humanize-ms@npm:^1.2.1": version: 1.2.1 resolution: "humanize-ms@npm:1.2.1" @@ -9176,12 +9215,12 @@ __metadata: languageName: node linkType: hard -"lucide-react@npm:^0.323.0": - version: 0.323.0 - resolution: "lucide-react@npm:0.323.0" +"lucide-react@npm:^0.330.0": + version: 0.330.0 + resolution: "lucide-react@npm:0.330.0" peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 - checksum: 10c0/2b4d0bbf936a2fd78f83e15a65dfd682f86817cf1942df616d0f0f6ed129d2b0c592248e736e3330085d468cfc0ef108d88f35e8a05228c2215973d8a1f2fb90 + checksum: 10c0/c8bfd082b63a50f4f22dae147923c061a8b460fbc501a241ebdc6f391f13dba9e3cb05686bf6dbdcc8974d08011e0e889aca18cd4a99a7e8a0df450c5469c33d languageName: node linkType: hard @@ -10490,9 +10529,9 @@ __metadata: languageName: node linkType: hard -"openai@npm:^4.27.0": - version: 4.27.0 - resolution: "openai@npm:4.27.0" +"openai@npm:^4.28.0": + version: 4.28.0 + resolution: "openai@npm:4.28.0" dependencies: "@types/node": "npm:^18.11.18" "@types/node-fetch": "npm:^2.6.4" @@ -10505,7 +10544,7 @@ __metadata: web-streams-polyfill: "npm:^3.2.1" bin: openai: bin/cli - checksum: 10c0/a70fa17e6f63769184db039578afefd3d82d8b9885ac358678762c4f12bd1da6be6ee224a85d1800da748c25489e9e3cea6c33eb82a35bdf054eb6a4e697cdda + checksum: 10c0/b40cd3cf553ea947dbc916f6416c10528116eb523cd5453e3c442f11d9514de228e54b90b5c9cca1af34cc296baa0bd29ccbc8078bf9bf0b74bb18860468509a languageName: node linkType: hard @@ -11182,19 +11221,19 @@ __metadata: languageName: node linkType: hard -"proxy-agent@npm:^6.3.1": - version: 6.3.1 - resolution: "proxy-agent@npm:6.3.1" +"proxy-agent@npm:^6.4.0": + version: 6.4.0 + resolution: "proxy-agent@npm:6.4.0" dependencies: agent-base: "npm:^7.0.2" debug: "npm:^4.3.4" - http-proxy-agent: "npm:^7.0.0" - https-proxy-agent: "npm:^7.0.2" + http-proxy-agent: "npm:^7.0.1" + https-proxy-agent: "npm:^7.0.3" lru-cache: "npm:^7.14.1" pac-proxy-agent: "npm:^7.0.1" proxy-from-env: "npm:^1.1.0" socks-proxy-agent: "npm:^8.0.2" - checksum: 10c0/72532eeae5f038873232905e17272eaecae5e5891b06f0f40cce139a84a4b19f482ab3ce586050fd2c64ca9171c7828ef183eb49c615f0faa359f1213063498a + checksum: 10c0/0c5b85cacf67eec9d8add025a5e577b2c895672e4187079ec41b0ee2a6dacd90e69a837936cb3ac141dd92b05b50a325b9bfe86ab0dc3b904011aa3bcf406fc0 languageName: node linkType: hard @@ -11479,16 +11518,16 @@ __metadata: languageName: node linkType: hard -"react-tooltip@npm:^5.26.0": - version: 5.26.0 - resolution: "react-tooltip@npm:5.26.0" +"react-tooltip@npm:^5.26.2": + version: 5.26.2 + resolution: "react-tooltip@npm:5.26.2" dependencies: - "@floating-ui/dom": "npm:^1.0.0" + "@floating-ui/dom": "npm:^1.6.1" classnames: "npm:^2.3.0" peerDependencies: react: ">=16.14.0" react-dom: ">=16.14.0" - checksum: 10c0/7bae47df14958be169f969e7d5e56d6ad9f294acedd6905c58af44d1e2c6123b4debb373f94f68c25a9d92256668970803e2ebcf3f9e7243786d2923866a43b9 + checksum: 10c0/36f9747345b7cf0a2551ad2cfb77eebd8d2c2a98b069aa76ccabc121f23672510fe64dcd5808924b5fb94fc2ad6f2fd2c03c754a2d5e4fe51361a8b55f456574 languageName: node linkType: hard @@ -11966,9 +12005,9 @@ __metadata: languageName: node linkType: hard -"sequelize@npm:^6.36.0": - version: 6.36.0 - resolution: "sequelize@npm:6.36.0" +"sequelize@npm:^6.37.0": + version: 6.37.0 + resolution: "sequelize@npm:6.37.0" dependencies: "@types/debug": "npm:^4.1.8" "@types/validator": "npm:^13.7.17" @@ -12005,7 +12044,7 @@ __metadata: optional: true tedious: optional: true - checksum: 10c0/05c5d15cea7db61c682030dccda4fb4416093ea017bb1960909b8c8c1bda1876b1f0a5adda167eb870889399c54224d433cdd255ce464bc0572466515b79a07d + checksum: 10c0/707bb638ce490321357879bbd865b52a40845ac74b4f49b63a71f7f79658be117fca3b000865255b0312eb990404b26d263630366b0686867e327d9973e3258e languageName: node linkType: hard