From 9d436ed0a8020ec257e259b4b1528ae4f39c9f7f Mon Sep 17 00:00:00 2001 From: "Patryk \\\"patYczakus\\\" Topolski" Date: Mon, 23 Sep 2024 15:10:01 +0000 Subject: [PATCH 01/93] chore(i18n): Translated using Weblate (Polish) Currently translated at 100.0% (382 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/pl/ --- src/i18n/resources/pl.json | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/src/i18n/resources/pl.json b/src/i18n/resources/pl.json index 02d7711e95..d785053837 100644 --- a/src/i18n/resources/pl.json +++ b/src/i18n/resources/pl.json @@ -674,13 +674,49 @@ "fetch": "⚠️ - Wystąpił błąd podczas pobierania tekstu utworu. Spróbuj ponownie później.", "not-found": "⚠️ - Nie znaleziono napisów dla tego utworu." }, + "menu": { + "default-text-string": { + "label": "Standardowy znak luki", + "tooltip": "Wybierz domyślny znak, który ma być wyświetlany jako pauza między słowami" + }, + "line-effect": { + "label": "Efekty linijki", + "submenu": { + "focus": { + "label": "Fokus", + "tooltip": "Spraw, aby tylko obecna linijka była biała" + }, + "offset": { + "label": "Przesunięcie", + "tooltip": "Przesuń w prawo obecną linijkę" + }, + "scale": { + "label": "Skala", + "tooltip": "Zmień skalę aktualnej linijki" + } + }, + "tooltip": "Wybierz efekt, by zastosować go do aktualnej linijki" + }, + "precise-timing": { + "label": "Zsynchronizuj tekst utworu", + "tooltip": "Wylicz czas wyświetlania następnej linijki co do milisekundy (może mieć mały wpływ na wydajność systemu)" + }, + "show-lyrics-even-if-inexact": { + "label": "Pokaż teksty, mimo niezgodności", + "tooltip": "Jeżeli nie znaleziono tekstu piosenki z bazy danych, wtyczka spróbuje ponownie przez wyszukanie przybliżonej frazy.\nNależy jednak pamiętać, że następne próby mogą nie być trafne co do oryginału." + }, + "show-time-codes": { + "label": "Pokaż znaczniki czasu", + "tooltip": "Pokaż znaczniki czasu obok linijek" + } + }, "name": "Napisy zsynchronizowane", "refetch-btn": { "fetching": "Pobieranie napisów...", "normal": "Odśwież napisy" }, "warnings": { - "duration-mismatch": "⚠️ - Napisy mogą nie być zsynchronizowane z powodu różnicy w czasie trwania.", + "duration-mismatch": "⚠️ - Napisy mogą nie być zsynchronizowane z powodu różnicy w czasie trwania utworu.", "instrumental": "⚠️ - To jest utwór instrumentalny" } }, From f2716e1dc8c296dfb6a6d7dfc586c9557fca9a1e Mon Sep 17 00:00:00 2001 From: Hadeik Date: Mon, 23 Sep 2024 12:31:32 +0000 Subject: [PATCH 02/93] chore(i18n): Translated using Weblate (Polish) Currently translated at 100.0% (382 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/pl/ --- src/i18n/resources/pl.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i18n/resources/pl.json b/src/i18n/resources/pl.json index d785053837..a3f576552a 100644 --- a/src/i18n/resources/pl.json +++ b/src/i18n/resources/pl.json @@ -717,6 +717,7 @@ }, "warnings": { "duration-mismatch": "⚠️ - Napisy mogą nie być zsynchronizowane z powodu różnicy w czasie trwania utworu.", + "inexact": "⚠️ - Napisy mogą różnić się od faktycznego tekstu.", "instrumental": "⚠️ - To jest utwór instrumentalny" } }, From 50d92bc004aee987971a00ec08da20810c64dc09 Mon Sep 17 00:00:00 2001 From: "Patryk \\\"patYczakus\\\" Topolski" Date: Mon, 23 Sep 2024 15:35:20 +0000 Subject: [PATCH 03/93] chore(i18n): Translated using Weblate (English) Currently translated at 99.7% (381 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/en/ --- src/i18n/resources/en.json | 114 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/i18n/resources/en.json b/src/i18n/resources/en.json index a5966a8d93..20aa7d41ab 100644 --- a/src/i18n/resources/en.json +++ b/src/i18n/resources/en.json @@ -158,18 +158,18 @@ }, "remove-upgrade-button": "Remove upgrade button", "theme": { - "label": "Theme", - "submenu": { - "import-css-file": "Import custom CSS file", - "no-theme": "No theme" - }, "dialog": { - "remove-theme": "Are you sure you want to remove the custom theme?", - "remove-theme-message": "This will remove the custom theme", "button": { "cancel": "Cancel", "remove": "Remove" - } + }, + "remove-theme": "Are you sure you want to remove the custom theme?", + "remove-theme-message": "This will remove the custom theme" + }, + "label": "Theme", + "submenu": { + "import-css-file": "Import custom CSS file", + "no-theme": "No theme" } } } @@ -207,6 +207,10 @@ } }, "plugins": { + "ad-speedup": { + "description": "If an ad play it mutes the audio and sets playback speed to 16x", + "name": "Ad Speedup" + }, "adblocker": { "description": "Block all ads and tracking out of the box", "menu": { @@ -214,17 +218,12 @@ }, "name": "Ad Blocker" }, - "ad-speedup": { - "name": "Ad Speedup", - "description": "If an ad play it mutes the audio and sets playback speed to 16x" - }, "album-actions": { "description": "Adds Undislike, Dislike, Like, and Unlike buttons to apply this to all songs in a playlist or album", "name": "Album Actions" }, "album-color-theme": { "description": "Applies a dynamic theme and visual effects based on the album color palette", - "name": "Album Color Theme", "menu": { "color-mix-ratio": { "label": "Color mix ratio", @@ -232,7 +231,8 @@ "percent": "{{ratio}}%" } } - } + }, + "name": "Album Color Theme" }, "ambient-mode": { "description": "Applies a lighting effect by casting gentle colors from the video, into your screen’s background", @@ -414,24 +414,24 @@ "description": "Downloads MP3 / source audio directly from the interface", "menu": { "choose-download-folder": "Choose download folder", - "download-playlist": "Download playlist", - "presets": "Presets", - "skip-existing": "Skip existing files", "download-finish-settings": { "label": "Download on finish", + "prompt": { + "last-percent": "After x percent", + "last-seconds": "Last x seconds", + "title": "Configure when to download" + }, "submenu": { + "advanced": "Advanced", "enabled": "Enabled", "mode": "Time mode", - "seconds": "Seconds", "percent": "Percent", - "advanced": "Advanced" - }, - "prompt": { - "title": "Configure when to download", - "last-seconds": "Last x seconds", - "last-percent": "After x percent" + "seconds": "Seconds" } - } + }, + "download-playlist": "Download playlist", + "presets": "Presets", + "skip-existing": "Skip existing files" }, "name": "Downloader", "renderer": { @@ -609,19 +609,19 @@ "dialog": { "lastfm": { "auth-failed": { - "title": "Authentication Failed", - "message": "Failed to authenticate with Last.fm\nHide the popup until the next restart." + "message": "Failed to authenticate with Last.fm\nHide the popup until the next restart.", + "title": "Authentication Failed" } } }, "menu": { - "scrobble-other-media": "Scrobble other media", "lastfm": { "api-settings": "Last.fm API Settings" }, "listenbrainz": { "token": "Enter ListenBrainz user token" - } + }, + "scrobble-other-media": "Scrobble other media" }, "name": "Scrobbler", "prompt": { @@ -670,55 +670,55 @@ }, "synced-lyrics": { "description": "Provides synced lyrics to songs, using providers like LRClib.", - "name": "Synced Lyrics", "errors": { "fetch": "⚠️ - An error occurred while fetching the lyrics. Please try again later.", "not-found": "⚠️ - No lyrics found for this song." }, - "warnings": { - "instrumental": "⚠️ - This is an instrumental song", - "inexact": "⚠️ - The lyrics for this song may not be exact", - "duration-mismatch": "⚠️ - The lyrics may be out of sync due to a duration mismatch." - }, - "refetch-btn": { - "normal": "Refetch lyrics", - "fetching": "Fetching..." - }, "menu": { - "precise-timing": { - "label": "Make the lyrics perfectly synced", - "tooltip": "Calculate to the milisecond the display of the next line (can have a small impact on performance)" + "default-text-string": { + "label": "Default character between lyrics", + "tooltip": "Choose the default character to use for the gap between lyrics" }, "line-effect": { "label": "Line effect", - "tooltip": "Choose the effect to apply to the current line", "submenu": { - "scale": { - "label": "Scale", - "tooltip": "Scale the current line" + "focus": { + "label": "Focus", + "tooltip": "Make only the current line white" }, "offset": { "label": "Offset", "tooltip": "Offset on the right the current line" }, - "focus": { - "label": "Focus", - "tooltip": "Make only the current line white" + "scale": { + "label": "Scale", + "tooltip": "Scale the current line" } - } - }, - "default-text-string": { - "label": "Default character between lyrics", - "tooltip": "Choose the default character to use for the gap between lyrics" + }, + "tooltip": "Choose the effect to apply to the current line" }, - "show-time-codes": { - "label": "Show time codes", - "tooltip": "Show the time codes next to the lyrics" + "precise-timing": { + "label": "Make the lyrics perfectly synced", + "tooltip": "Calculate to the milisecond the display of the next line (can have a small impact on performance)" }, "show-lyrics-even-if-inexact": { "label": "Show lyrics even if inexact", "tooltip": "If the song is not found, the plugin tries again with a different search query.\nThe result from the second attempt may not be exact." + }, + "show-time-codes": { + "label": "Show time codes", + "tooltip": "Show the time codes next to the lyrics" } + }, + "name": "Synced Lyrics", + "refetch-btn": { + "fetching": "Fetching...", + "normal": "Refetch lyrics" + }, + "warnings": { + "duration-mismatch": "⚠️ - The lyrics may be out of sync due to a duration mismatch.", + "inexact": "⚠️ - The lyrics for this song may not be exact", + "instrumental": "⚠️ - This is an instrumental song" } }, "taskbar-mediacontrol": { From 102034b58c3a82cd2b117ed415fb393a6006af75 Mon Sep 17 00:00:00 2001 From: "Patryk \\\"patYczakus\\\" Topolski" Date: Mon, 23 Sep 2024 15:26:29 +0000 Subject: [PATCH 04/93] chore(i18n): Translated using Weblate (Polish) Currently translated at 100.0% (382 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/pl/ --- src/i18n/resources/pl.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/resources/pl.json b/src/i18n/resources/pl.json index a3f576552a..dfd1d40eba 100644 --- a/src/i18n/resources/pl.json +++ b/src/i18n/resources/pl.json @@ -698,7 +698,7 @@ "tooltip": "Wybierz efekt, by zastosować go do aktualnej linijki" }, "precise-timing": { - "label": "Zsynchronizuj tekst utworu", + "label": "Zsynchronizuj tekst utworu do perfekcji", "tooltip": "Wylicz czas wyświetlania następnej linijki co do milisekundy (może mieć mały wpływ na wydajność systemu)" }, "show-lyrics-even-if-inexact": { @@ -717,7 +717,7 @@ }, "warnings": { "duration-mismatch": "⚠️ - Napisy mogą nie być zsynchronizowane z powodu różnicy w czasie trwania utworu.", - "inexact": "⚠️ - Napisy mogą różnić się od faktycznego tekstu.", + "inexact": "⚠️ - Tekst utworu może się różnić od oryginału", "instrumental": "⚠️ - To jest utwór instrumentalny" } }, From 5189d6cfee1b5c6e9ada2611b46b0452886817d5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:35:30 +0900 Subject: [PATCH 05/93] chore(deps): update dependency @types/howler to v2.2.12 (#2443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3eb7382c8d..88ea9b48a7 100644 --- a/package.json +++ b/package.json @@ -214,7 +214,7 @@ "@types/color": "3.0.6", "@types/electron-localshortcut": "3.1.3", "@types/eslint__js": "^8.42.3", - "@types/howler": "2.2.11", + "@types/howler": "2.2.12", "@types/html-to-text": "9.0.4", "@types/semver": "7.5.8", "@types/trusted-types": "2.0.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b25c169982..00a62c6487 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -191,8 +191,8 @@ importers: specifier: ^8.42.3 version: 8.42.3 '@types/howler': - specifier: 2.2.11 - version: 2.2.11 + specifier: 2.2.12 + version: 2.2.12 '@types/html-to-text': specifier: 9.0.4 version: 9.0.4 @@ -1125,8 +1125,8 @@ packages: '@types/har-format@1.2.15': resolution: {integrity: sha512-RpQH4rXLuvTXKR0zqHq3go0RVXYv/YVqv4TnPH95VbwUxZdQlK1EtcMvQvMpDngHbt13Csh9Z4qT9AbkiQH5BA==} - '@types/howler@2.2.11': - resolution: {integrity: sha512-7aBoUL6RbSIrqKnpEgfa1wSNUBK06mn08siP2QI0zYk7MXfEJAaORc4tohamQYqCqVESoDyRWSdQn2BOKWj2Qw==} + '@types/howler@2.2.12': + resolution: {integrity: sha512-hy769UICzOSdK0Kn1FBk4gN+lswcj1EKRkmiDtMkUGvFfYJzgaDXmVXkSShS2m89ERAatGIPnTUlp2HhfkVo5g==} '@types/html-to-text@9.0.4': resolution: {integrity: sha512-pUY3cKH/Nm2yYrEmDlPR1mR7yszjGx4DrwPjQ702C4/D5CwHuZTgZdIdwPkRbcuhs7BAh2L5rg3CL5cbRiGTCQ==} @@ -4896,7 +4896,7 @@ snapshots: '@types/har-format@1.2.15': {} - '@types/howler@2.2.11': {} + '@types/howler@2.2.12': {} '@types/html-to-text@9.0.4': {} From 45f419f41a6f3849e8076136a772a1ea575f8bc7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:35:42 +0900 Subject: [PATCH 06/93] chore(deps): update eslint monorepo to v9.11.1 (#2442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 120 +++++++++++++++++++++++++++---------------------- 2 files changed, 68 insertions(+), 54 deletions(-) diff --git a/package.json b/package.json index 88ea9b48a7..0aab479c39 100644 --- a/package.json +++ b/package.json @@ -228,7 +228,7 @@ "electron-devtools-installer": "3.2.0", "electron-vite": "2.3.0", "esbuild": "0.23.1", - "eslint": "9.11.0", + "eslint": "9.11.1", "eslint-import-resolver-exports": "1.0.0-beta.5", "eslint-import-resolver-typescript": "3.6.3", "eslint-plugin-import": "2.30.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00a62c6487..e8b1fa5c0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -171,13 +171,13 @@ importers: devDependencies: '@eslint/js': specifier: ^9.10.0 - version: 9.11.0 + version: 9.11.1 '@playwright/test': specifier: 1.47.2 version: 1.47.2 '@stylistic/eslint-plugin-js': specifier: ^2.8.0 - version: 2.8.0(eslint@9.11.0) + version: 2.8.0(eslint@9.11.1) '@total-typescript/ts-reset': specifier: 0.6.1 version: 0.6.1 @@ -233,17 +233,17 @@ importers: specifier: 0.23.1 version: 0.23.1 eslint: - specifier: 9.11.0 - version: 9.11.0 + specifier: 9.11.1 + version: 9.11.1 eslint-import-resolver-exports: specifier: 1.0.0-beta.5 - version: 1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0))(eslint@9.11.0) + version: 1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.0) + version: 3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) eslint-plugin-import: specifier: 2.30.0 - version: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0) + version: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) glob: specifier: 11.0.0 version: 11.0.0 @@ -261,7 +261,7 @@ importers: version: 5.6.2 typescript-eslint: specifier: ^8.6.0 - version: 8.6.0(eslint@9.11.0)(typescript@5.6.2) + version: 8.6.0(eslint@9.11.1)(typescript@5.6.2) utf-8-validate: specifier: 6.0.4 version: 6.0.4 @@ -777,12 +777,16 @@ packages: resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/core@0.6.0': + resolution: {integrity: sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/eslintrc@3.1.0': resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.11.0': - resolution: {integrity: sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ==} + '@eslint/js@9.11.1': + resolution: {integrity: sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.4': @@ -1110,6 +1114,9 @@ packages: '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/filesystem@0.0.35': resolution: {integrity: sha512-1eKvCaIBdrD2mmMgy5dwh564rVvfEhZTWVQQGRNn0Nt4ZEnJ0C8oSUCzvMKRA4lGde5oEVo+q2MrTTbV/GHDCQ==} @@ -2133,8 +2140,8 @@ packages: resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.11.0: - resolution: {integrity: sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA==} + eslint@9.11.1: + resolution: {integrity: sha512-MobhYKIoAO1s1e4VUrgx1l1Sk2JBR/Gqjjgw8+mfgoLE2xwsHur4gdfTxyTgShrhvdVFTaJSgMiQBl1jv/AWxg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -4539,9 +4546,9 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.11.0)': + '@eslint-community/eslint-utils@4.4.0(eslint@9.11.1)': dependencies: - eslint: 9.11.0 + eslint: 9.11.1 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.0': {} @@ -4554,6 +4561,8 @@ snapshots: transitivePeerDependencies: - supports-color + '@eslint/core@0.6.0': {} + '@eslint/eslintrc@3.1.0': dependencies: ajv: 6.12.6 @@ -4568,7 +4577,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.11.0': {} + '@eslint/js@9.11.1': {} '@eslint/object-schema@2.1.4': {} @@ -4715,7 +4724,7 @@ snapshots: '@rollup/pluginutils@5.1.0(rollup@4.22.4)': dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: @@ -4797,9 +4806,9 @@ snapshots: dependencies: solid-js: 1.8.22 - '@stylistic/eslint-plugin-js@2.8.0(eslint@9.11.0)': + '@stylistic/eslint-plugin-js@2.8.0(eslint@9.11.1)': dependencies: - eslint: 9.11.0 + eslint: 9.11.1 eslint-visitor-keys: 4.0.0 espree: 10.1.0 @@ -4873,7 +4882,7 @@ snapshots: '@types/eslint@9.6.1': dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 '@types/json-schema': 7.0.15 '@types/eslint__js@8.42.3': @@ -4882,6 +4891,8 @@ snapshots: '@types/estree@1.0.5': {} + '@types/estree@1.0.6': {} + '@types/filesystem@0.0.35': dependencies: '@types/filewriter': 0.0.32 @@ -4942,15 +4953,15 @@ snapshots: '@types/node': 20.12.5 optional: true - '@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint@9.11.0)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.6.0(eslint@9.11.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0)(typescript@5.6.2) - '@typescript-eslint/utils': 8.6.0(eslint@9.11.0)(typescript@5.6.2) + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.6.0 - eslint: 9.11.0 + eslint: 9.11.1 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -4960,14 +4971,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2)': + '@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: '@typescript-eslint/scope-manager': 8.6.0 '@typescript-eslint/types': 8.6.0 '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.6.0 debug: 4.3.6 - eslint: 9.11.0 + eslint: 9.11.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -4978,10 +4989,10 @@ snapshots: '@typescript-eslint/types': 8.6.0 '@typescript-eslint/visitor-keys': 8.6.0 - '@typescript-eslint/type-utils@8.6.0(eslint@9.11.0)(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.6.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.6.0(eslint@9.11.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -5007,13 +5018,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.6.0(eslint@9.11.0)(typescript@5.6.2)': + '@typescript-eslint/utils@8.6.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) '@typescript-eslint/scope-manager': 8.6.0 '@typescript-eslint/types': 8.6.0 '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - eslint: 9.11.0 + eslint: 9.11.1 transitivePeerDependencies: - supports-color - typescript @@ -6169,10 +6180,10 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0))(eslint@9.11.0): + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1): dependencies: - eslint: 9.11.0 - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0) + eslint: 9.11.1 + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6183,37 +6194,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.0): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.6 enhanced-resolve: 5.15.0 - eslint: 9.11.0 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.0))(eslint@9.11.0) + eslint: 9.11.1 + eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.0))(eslint@9.11.0): + eslint-module-utils@2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.6.0(eslint@9.11.0)(typescript@5.6.2) - eslint: 9.11.0 + '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) + eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6222,9 +6233,9 @@ snapshots: array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 9.11.0 + eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.0))(eslint@9.11.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6235,7 +6246,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.6.0(eslint@9.11.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -6250,17 +6261,20 @@ snapshots: eslint-visitor-keys@4.0.0: {} - eslint@9.11.0: + eslint@9.11.1: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) '@eslint-community/regexpp': 4.11.0 '@eslint/config-array': 0.18.0 + '@eslint/core': 0.6.0 '@eslint/eslintrc': 3.1.0 - '@eslint/js': 9.11.0 + '@eslint/js': 9.11.1 '@eslint/plugin-kit': 0.2.0 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.3.0 '@nodelib/fs.walk': 1.2.8 + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 @@ -8044,11 +8058,11 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.6.0(eslint@9.11.0)(typescript@5.6.2): + typescript-eslint@8.6.0(eslint@9.11.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0)(typescript@5.6.2))(eslint@9.11.0)(typescript@5.6.2) - '@typescript-eslint/parser': 8.6.0(eslint@9.11.0)(typescript@5.6.2) - '@typescript-eslint/utils': 8.6.0(eslint@9.11.0)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: From af79ba266d470d5c10f63dcbf66450daef8195ec Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:51:44 +0900 Subject: [PATCH 07/93] chore(deps): update dependency esbuild to v0.24.0 (#2439) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 202 ++++++++++++++++++++++++------------------------- 2 files changed, 102 insertions(+), 102 deletions(-) diff --git a/package.json b/package.json index 0aab479c39..24b6db056a 100644 --- a/package.json +++ b/package.json @@ -227,7 +227,7 @@ "electron-builder": "24.13.3", "electron-devtools-installer": "3.2.0", "electron-vite": "2.3.0", - "esbuild": "0.23.1", + "esbuild": "0.24.0", "eslint": "9.11.1", "eslint-import-resolver-exports": "1.0.0-beta.5", "eslint-import-resolver-typescript": "3.6.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e8b1fa5c0c..bf110eca3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -230,8 +230,8 @@ importers: specifier: 2.3.0 version: 2.3.0(vite@5.4.7(@types/node@20.12.5)) esbuild: - specifier: 0.23.1 - version: 0.23.1 + specifier: 0.24.0 + version: 0.24.0 eslint: specifier: 9.11.1 version: 9.11.1 @@ -487,8 +487,8 @@ packages: cpu: [ppc64] os: [aix] - '@esbuild/aix-ppc64@0.23.1': - resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==} + '@esbuild/aix-ppc64@0.24.0': + resolution: {integrity: sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] @@ -499,8 +499,8 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm64@0.23.1': - resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==} + '@esbuild/android-arm64@0.24.0': + resolution: {integrity: sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==} engines: {node: '>=18'} cpu: [arm64] os: [android] @@ -511,8 +511,8 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-arm@0.23.1': - resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==} + '@esbuild/android-arm@0.24.0': + resolution: {integrity: sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==} engines: {node: '>=18'} cpu: [arm] os: [android] @@ -523,8 +523,8 @@ packages: cpu: [x64] os: [android] - '@esbuild/android-x64@0.23.1': - resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==} + '@esbuild/android-x64@0.24.0': + resolution: {integrity: sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==} engines: {node: '>=18'} cpu: [x64] os: [android] @@ -535,8 +535,8 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-arm64@0.23.1': - resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==} + '@esbuild/darwin-arm64@0.24.0': + resolution: {integrity: sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] @@ -547,8 +547,8 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/darwin-x64@0.23.1': - resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==} + '@esbuild/darwin-x64@0.24.0': + resolution: {integrity: sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==} engines: {node: '>=18'} cpu: [x64] os: [darwin] @@ -559,8 +559,8 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-arm64@0.23.1': - resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==} + '@esbuild/freebsd-arm64@0.24.0': + resolution: {integrity: sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] @@ -571,8 +571,8 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/freebsd-x64@0.23.1': - resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==} + '@esbuild/freebsd-x64@0.24.0': + resolution: {integrity: sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==} engines: {node: '>=18'} cpu: [x64] os: [freebsd] @@ -583,8 +583,8 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm64@0.23.1': - resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==} + '@esbuild/linux-arm64@0.24.0': + resolution: {integrity: sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==} engines: {node: '>=18'} cpu: [arm64] os: [linux] @@ -595,8 +595,8 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-arm@0.23.1': - resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==} + '@esbuild/linux-arm@0.24.0': + resolution: {integrity: sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==} engines: {node: '>=18'} cpu: [arm] os: [linux] @@ -607,8 +607,8 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-ia32@0.23.1': - resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==} + '@esbuild/linux-ia32@0.24.0': + resolution: {integrity: sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==} engines: {node: '>=18'} cpu: [ia32] os: [linux] @@ -619,8 +619,8 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-loong64@0.23.1': - resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==} + '@esbuild/linux-loong64@0.24.0': + resolution: {integrity: sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==} engines: {node: '>=18'} cpu: [loong64] os: [linux] @@ -631,8 +631,8 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-mips64el@0.23.1': - resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==} + '@esbuild/linux-mips64el@0.24.0': + resolution: {integrity: sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==} engines: {node: '>=18'} cpu: [mips64el] os: [linux] @@ -643,8 +643,8 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-ppc64@0.23.1': - resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==} + '@esbuild/linux-ppc64@0.24.0': + resolution: {integrity: sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==} engines: {node: '>=18'} cpu: [ppc64] os: [linux] @@ -655,8 +655,8 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-riscv64@0.23.1': - resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==} + '@esbuild/linux-riscv64@0.24.0': + resolution: {integrity: sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==} engines: {node: '>=18'} cpu: [riscv64] os: [linux] @@ -667,8 +667,8 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-s390x@0.23.1': - resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==} + '@esbuild/linux-s390x@0.24.0': + resolution: {integrity: sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==} engines: {node: '>=18'} cpu: [s390x] os: [linux] @@ -679,8 +679,8 @@ packages: cpu: [x64] os: [linux] - '@esbuild/linux-x64@0.23.1': - resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==} + '@esbuild/linux-x64@0.24.0': + resolution: {integrity: sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==} engines: {node: '>=18'} cpu: [x64] os: [linux] @@ -691,14 +691,14 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/netbsd-x64@0.23.1': - resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==} + '@esbuild/netbsd-x64@0.24.0': + resolution: {integrity: sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==} engines: {node: '>=18'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-arm64@0.23.1': - resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==} + '@esbuild/openbsd-arm64@0.24.0': + resolution: {integrity: sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] @@ -709,8 +709,8 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/openbsd-x64@0.23.1': - resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==} + '@esbuild/openbsd-x64@0.24.0': + resolution: {integrity: sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==} engines: {node: '>=18'} cpu: [x64] os: [openbsd] @@ -721,8 +721,8 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/sunos-x64@0.23.1': - resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==} + '@esbuild/sunos-x64@0.24.0': + resolution: {integrity: sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==} engines: {node: '>=18'} cpu: [x64] os: [sunos] @@ -733,8 +733,8 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-arm64@0.23.1': - resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==} + '@esbuild/win32-arm64@0.24.0': + resolution: {integrity: sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==} engines: {node: '>=18'} cpu: [arm64] os: [win32] @@ -745,8 +745,8 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-ia32@0.23.1': - resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==} + '@esbuild/win32-ia32@0.24.0': + resolution: {integrity: sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==} engines: {node: '>=18'} cpu: [ia32] os: [win32] @@ -757,8 +757,8 @@ packages: cpu: [x64] os: [win32] - '@esbuild/win32-x64@0.23.1': - resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==} + '@esbuild/win32-x64@0.24.0': + resolution: {integrity: sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==} engines: {node: '>=18'} cpu: [x64] os: [win32] @@ -2054,8 +2054,8 @@ packages: engines: {node: '>=12'} hasBin: true - esbuild@0.23.1: - resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==} + esbuild@0.24.0: + resolution: {integrity: sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==} engines: {node: '>=18'} hasBin: true @@ -4408,142 +4408,142 @@ snapshots: '@esbuild/aix-ppc64@0.21.5': optional: true - '@esbuild/aix-ppc64@0.23.1': + '@esbuild/aix-ppc64@0.24.0': optional: true '@esbuild/android-arm64@0.21.5': optional: true - '@esbuild/android-arm64@0.23.1': + '@esbuild/android-arm64@0.24.0': optional: true '@esbuild/android-arm@0.21.5': optional: true - '@esbuild/android-arm@0.23.1': + '@esbuild/android-arm@0.24.0': optional: true '@esbuild/android-x64@0.21.5': optional: true - '@esbuild/android-x64@0.23.1': + '@esbuild/android-x64@0.24.0': optional: true '@esbuild/darwin-arm64@0.21.5': optional: true - '@esbuild/darwin-arm64@0.23.1': + '@esbuild/darwin-arm64@0.24.0': optional: true '@esbuild/darwin-x64@0.21.5': optional: true - '@esbuild/darwin-x64@0.23.1': + '@esbuild/darwin-x64@0.24.0': optional: true '@esbuild/freebsd-arm64@0.21.5': optional: true - '@esbuild/freebsd-arm64@0.23.1': + '@esbuild/freebsd-arm64@0.24.0': optional: true '@esbuild/freebsd-x64@0.21.5': optional: true - '@esbuild/freebsd-x64@0.23.1': + '@esbuild/freebsd-x64@0.24.0': optional: true '@esbuild/linux-arm64@0.21.5': optional: true - '@esbuild/linux-arm64@0.23.1': + '@esbuild/linux-arm64@0.24.0': optional: true '@esbuild/linux-arm@0.21.5': optional: true - '@esbuild/linux-arm@0.23.1': + '@esbuild/linux-arm@0.24.0': optional: true '@esbuild/linux-ia32@0.21.5': optional: true - '@esbuild/linux-ia32@0.23.1': + '@esbuild/linux-ia32@0.24.0': optional: true '@esbuild/linux-loong64@0.21.5': optional: true - '@esbuild/linux-loong64@0.23.1': + '@esbuild/linux-loong64@0.24.0': optional: true '@esbuild/linux-mips64el@0.21.5': optional: true - '@esbuild/linux-mips64el@0.23.1': + '@esbuild/linux-mips64el@0.24.0': optional: true '@esbuild/linux-ppc64@0.21.5': optional: true - '@esbuild/linux-ppc64@0.23.1': + '@esbuild/linux-ppc64@0.24.0': optional: true '@esbuild/linux-riscv64@0.21.5': optional: true - '@esbuild/linux-riscv64@0.23.1': + '@esbuild/linux-riscv64@0.24.0': optional: true '@esbuild/linux-s390x@0.21.5': optional: true - '@esbuild/linux-s390x@0.23.1': + '@esbuild/linux-s390x@0.24.0': optional: true '@esbuild/linux-x64@0.21.5': optional: true - '@esbuild/linux-x64@0.23.1': + '@esbuild/linux-x64@0.24.0': optional: true '@esbuild/netbsd-x64@0.21.5': optional: true - '@esbuild/netbsd-x64@0.23.1': + '@esbuild/netbsd-x64@0.24.0': optional: true - '@esbuild/openbsd-arm64@0.23.1': + '@esbuild/openbsd-arm64@0.24.0': optional: true '@esbuild/openbsd-x64@0.21.5': optional: true - '@esbuild/openbsd-x64@0.23.1': + '@esbuild/openbsd-x64@0.24.0': optional: true '@esbuild/sunos-x64@0.21.5': optional: true - '@esbuild/sunos-x64@0.23.1': + '@esbuild/sunos-x64@0.24.0': optional: true '@esbuild/win32-arm64@0.21.5': optional: true - '@esbuild/win32-arm64@0.23.1': + '@esbuild/win32-arm64@0.24.0': optional: true '@esbuild/win32-ia32@0.21.5': optional: true - '@esbuild/win32-ia32@0.23.1': + '@esbuild/win32-ia32@0.24.0': optional: true '@esbuild/win32-x64@0.21.5': optional: true - '@esbuild/win32-x64@0.23.1': + '@esbuild/win32-x64@0.24.0': optional: true '@eslint-community/eslint-utils@4.4.0(eslint@9.11.1)': @@ -6145,32 +6145,32 @@ snapshots: '@esbuild/win32-ia32': 0.21.5 '@esbuild/win32-x64': 0.21.5 - esbuild@0.23.1: + esbuild@0.24.0: optionalDependencies: - '@esbuild/aix-ppc64': 0.23.1 - '@esbuild/android-arm': 0.23.1 - '@esbuild/android-arm64': 0.23.1 - '@esbuild/android-x64': 0.23.1 - '@esbuild/darwin-arm64': 0.23.1 - '@esbuild/darwin-x64': 0.23.1 - '@esbuild/freebsd-arm64': 0.23.1 - '@esbuild/freebsd-x64': 0.23.1 - '@esbuild/linux-arm': 0.23.1 - '@esbuild/linux-arm64': 0.23.1 - '@esbuild/linux-ia32': 0.23.1 - '@esbuild/linux-loong64': 0.23.1 - '@esbuild/linux-mips64el': 0.23.1 - '@esbuild/linux-ppc64': 0.23.1 - '@esbuild/linux-riscv64': 0.23.1 - '@esbuild/linux-s390x': 0.23.1 - '@esbuild/linux-x64': 0.23.1 - '@esbuild/netbsd-x64': 0.23.1 - '@esbuild/openbsd-arm64': 0.23.1 - '@esbuild/openbsd-x64': 0.23.1 - '@esbuild/sunos-x64': 0.23.1 - '@esbuild/win32-arm64': 0.23.1 - '@esbuild/win32-ia32': 0.23.1 - '@esbuild/win32-x64': 0.23.1 + '@esbuild/aix-ppc64': 0.24.0 + '@esbuild/android-arm': 0.24.0 + '@esbuild/android-arm64': 0.24.0 + '@esbuild/android-x64': 0.24.0 + '@esbuild/darwin-arm64': 0.24.0 + '@esbuild/darwin-x64': 0.24.0 + '@esbuild/freebsd-arm64': 0.24.0 + '@esbuild/freebsd-x64': 0.24.0 + '@esbuild/linux-arm': 0.24.0 + '@esbuild/linux-arm64': 0.24.0 + '@esbuild/linux-ia32': 0.24.0 + '@esbuild/linux-loong64': 0.24.0 + '@esbuild/linux-mips64el': 0.24.0 + '@esbuild/linux-ppc64': 0.24.0 + '@esbuild/linux-riscv64': 0.24.0 + '@esbuild/linux-s390x': 0.24.0 + '@esbuild/linux-x64': 0.24.0 + '@esbuild/netbsd-x64': 0.24.0 + '@esbuild/openbsd-arm64': 0.24.0 + '@esbuild/openbsd-x64': 0.24.0 + '@esbuild/sunos-x64': 0.24.0 + '@esbuild/win32-arm64': 0.24.0 + '@esbuild/win32-ia32': 0.24.0 + '@esbuild/win32-x64': 0.24.0 escalade@3.1.1: {} From 358fb3b0848cf47bb854052be49b71e5221a38c5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:51:54 +0900 Subject: [PATCH 08/93] chore(deps): update dependency discord-api-types to v0.37.101 (#2440) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 24b6db056a..5c07d69314 100644 --- a/package.json +++ b/package.json @@ -222,7 +222,7 @@ "builtin-modules": "4.0.0", "cross-env": "7.0.3", "del-cli": "5.1.0", - "discord-api-types": "0.37.100", + "discord-api-types": "0.37.101", "electron": "32.1.2", "electron-builder": "24.13.3", "electron-devtools-installer": "3.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bf110eca3a..38a8b3c5a6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,8 +215,8 @@ importers: specifier: 5.1.0 version: 5.1.0 discord-api-types: - specifier: 0.37.100 - version: 0.37.100 + specifier: 0.37.101 + version: 0.37.101 electron: specifier: 32.1.2 version: 32.1.2 @@ -1849,8 +1849,8 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} - discord-api-types@0.37.100: - resolution: {integrity: sha512-a8zvUI0GYYwDtScfRd/TtaNBDTXwP5DiDVX7K5OmE+DRT57gBqKnwtOC5Ol8z0mRW8KQfETIgiB8U0YZ9NXiCA==} + discord-api-types@0.37.101: + resolution: {integrity: sha512-2wizd94t7G3A8U5Phr3AiuL4gSvhqistDwWnlk1VLTit8BI1jWUncFqFQNdPbHqS3661+Nx/iEyIwtVjPuBP3w==} discord-api-types@0.37.83: resolution: {integrity: sha512-urGGYeWtWNYMKnYlZnOnDHm8fVRffQs3U0SpE8RHeiuLKb/u92APS8HoQnPTFbnXmY1vVnXjXO4dOxcAn3J+DA==} @@ -5040,7 +5040,7 @@ snapshots: dependencies: '@discordjs/rest': 2.3.0 '@vladfrangu/async_event_emitter': 2.4.4 - discord-api-types: 0.37.100 + discord-api-types: 0.37.101 ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) transitivePeerDependencies: - bufferutil @@ -5800,7 +5800,7 @@ snapshots: dependencies: path-type: 4.0.0 - discord-api-types@0.37.100: {} + discord-api-types@0.37.101: {} discord-api-types@0.37.83: {} From d7f5f28091516708b82347442fbe1ba24eedd874 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:52:06 +0900 Subject: [PATCH 09/93] chore(deps): update dependency vite to v5.4.8 (#2449) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 5c07d69314..640cc2ab1e 100644 --- a/package.json +++ b/package.json @@ -239,7 +239,7 @@ "typescript": "5.6.2", "typescript-eslint": "^8.6.0", "utf-8-validate": "6.0.4", - "vite": "5.4.7", + "vite": "5.4.8", "vite-plugin-inspect": "0.8.7", "vite-plugin-resolve": "2.5.2", "vite-plugin-solid": "2.10.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 38a8b3c5a6..d20498b678 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -228,7 +228,7 @@ importers: version: 3.2.0 electron-vite: specifier: 2.3.0 - version: 2.3.0(vite@5.4.7(@types/node@20.12.5)) + version: 2.3.0(vite@5.4.8(@types/node@20.12.5)) esbuild: specifier: 0.24.0 version: 0.24.0 @@ -266,17 +266,17 @@ importers: specifier: 6.0.4 version: 6.0.4 vite: - specifier: 5.4.7 - version: 5.4.7(@types/node@20.12.5) + specifier: 5.4.8 + version: 5.4.8(@types/node@20.12.5) vite-plugin-inspect: specifier: 0.8.7 - version: 0.8.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.12.5)) + version: 0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@20.12.5)) vite-plugin-resolve: specifier: 2.5.2 version: 2.5.2 vite-plugin-solid: specifier: 2.10.2 - version: 2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@20.12.5)) + version: 2.10.2(solid-js@1.8.22)(vite@5.4.8(@types/node@20.12.5)) ws: specifier: 8.18.0 version: 8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) @@ -3972,8 +3972,8 @@ packages: '@testing-library/jest-dom': optional: true - vite@5.4.7: - resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} + vite@5.4.8: + resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5975,7 +5975,7 @@ snapshots: transitivePeerDependencies: - supports-color - electron-vite@2.3.0(vite@5.4.7(@types/node@20.12.5)): + electron-vite@2.3.0(vite@5.4.8(@types/node@20.12.5)): dependencies: '@babel/core': 7.24.7 '@babel/plugin-transform-arrow-functions': 7.24.7(@babel/core@7.24.7) @@ -5983,7 +5983,7 @@ snapshots: esbuild: 0.21.5 magic-string: 0.30.10 picocolors: 1.0.1 - vite: 5.4.7(@types/node@20.12.5) + vite: 5.4.8(@types/node@20.12.5) transitivePeerDependencies: - supports-color @@ -8157,7 +8157,7 @@ snapshots: extsprintf: 1.4.1 optional: true - vite-plugin-inspect@0.8.7(rollup@4.22.4)(vite@5.4.7(@types/node@20.12.5)): + vite-plugin-inspect@0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@20.12.5)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.22.4) @@ -8168,7 +8168,7 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.0.1 sirv: 2.0.4 - vite: 5.4.7(@types/node@20.12.5) + vite: 5.4.8(@types/node@20.12.5) transitivePeerDependencies: - rollup - supports-color @@ -8177,7 +8177,7 @@ snapshots: dependencies: lib-esm: 0.4.2 - vite-plugin-solid@2.10.2(solid-js@1.8.22)(vite@5.4.7(@types/node@20.12.5)): + vite-plugin-solid@2.10.2(solid-js@1.8.22)(vite@5.4.8(@types/node@20.12.5)): dependencies: '@babel/core': 7.24.7 '@types/babel__core': 7.20.5 @@ -8185,12 +8185,12 @@ snapshots: merge-anything: 5.1.7 solid-js: 1.8.22 solid-refresh: 0.6.3(solid-js@1.8.22) - vite: 5.4.7(@types/node@20.12.5) - vitefu: 0.2.5(vite@5.4.7(@types/node@20.12.5)) + vite: 5.4.8(@types/node@20.12.5) + vitefu: 0.2.5(vite@5.4.8(@types/node@20.12.5)) transitivePeerDependencies: - supports-color - vite@5.4.7(@types/node@20.12.5): + vite@5.4.8(@types/node@20.12.5): dependencies: esbuild: 0.21.5 postcss: 8.4.44 @@ -8199,9 +8199,9 @@ snapshots: '@types/node': 20.12.5 fsevents: 2.3.3 - vitefu@0.2.5(vite@5.4.7(@types/node@20.12.5)): + vitefu@0.2.5(vite@5.4.8(@types/node@20.12.5)): optionalDependencies: - vite: 5.4.7(@types/node@20.12.5) + vite: 5.4.8(@types/node@20.12.5) vudio@2.1.1(patch_hash=7iux5msqpgl3octdmwy4uspwoe): {} From 151da2d786a60b3b547eaaa513bab1e8407e2f5d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:20:46 +0900 Subject: [PATCH 10/93] fix(deps): update dependency solid-js to v1.9.1 (#2451) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 58 +++++++++++++++++++++++++------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 640cc2ab1e..f3ec5657d9 100644 --- a/package.json +++ b/package.json @@ -198,7 +198,7 @@ "serve": "14.2.3", "simple-youtube-age-restriction-bypass": "github:organization/Simple-YouTube-Age-Restriction-Bypass#v2.5.9", "solid-floating-ui": "0.3.1", - "solid-js": "1.8.22", + "solid-js": "1.9.1", "solid-styled-components": "0.28.5", "solid-transition-group": "0.2.3", "ts-morph": "23.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d20498b678..a4b3b7ce87 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -146,16 +146,16 @@ importers: version: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6 solid-floating-ui: specifier: 0.3.1 - version: 0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.8.22) + version: 0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.1) solid-js: - specifier: 1.8.22 - version: 1.8.22 + specifier: 1.9.1 + version: 1.9.1 solid-styled-components: specifier: 0.28.5 - version: 0.28.5(solid-js@1.8.22) + version: 0.28.5(solid-js@1.9.1) solid-transition-group: specifier: 0.2.3 - version: 0.2.3(solid-js@1.8.22) + version: 0.2.3(solid-js@1.9.1) ts-morph: specifier: 23.0.0 version: 23.0.0 @@ -276,7 +276,7 @@ importers: version: 2.5.2 vite-plugin-solid: specifier: 2.10.2 - version: 2.10.2(solid-js@1.8.22)(vite@5.4.8(@types/node@20.12.5)) + version: 2.10.2(solid-js@1.9.1)(vite@5.4.8(@types/node@20.12.5)) ws: specifier: 8.18.0 version: 8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) @@ -3609,8 +3609,8 @@ packages: '@floating-ui/dom': ^1.5 solid-js: ^1.8 - solid-js@1.8.22: - resolution: {integrity: sha512-VBzN5j+9Y4rqIKEnK301aBk+S7fvFSTs9ljg+YEdFxjNjH0hkjXPiQRcws9tE5fUzMznSS6KToL5hwMfHDgpLA==} + solid-js@1.9.1: + resolution: {integrity: sha512-Gd6QWRFfO2XKKZqVK4YwbhWZkr0jWw1dYHOt+VYebomeyikGP0SuMflf42XcDuU9HAEYDArFJIYsBNjlE7iZsw==} solid-refresh@0.6.3: resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==} @@ -4793,18 +4793,18 @@ snapshots: '@skyra/jaro-winkler@1.1.1': {} - '@solid-primitives/refs@1.0.6(solid-js@1.8.22)': + '@solid-primitives/refs@1.0.6(solid-js@1.9.1)': dependencies: - '@solid-primitives/utils': 6.2.2(solid-js@1.8.22) - solid-js: 1.8.22 + '@solid-primitives/utils': 6.2.2(solid-js@1.9.1) + solid-js: 1.9.1 - '@solid-primitives/transition-group@1.0.4(solid-js@1.8.22)': + '@solid-primitives/transition-group@1.0.4(solid-js@1.9.1)': dependencies: - solid-js: 1.8.22 + solid-js: 1.9.1 - '@solid-primitives/utils@6.2.2(solid-js@1.8.22)': + '@solid-primitives/utils@6.2.2(solid-js@1.9.1)': dependencies: - solid-js: 1.8.22 + solid-js: 1.9.1 '@stylistic/eslint-plugin-js@2.8.0(eslint@9.11.1)': dependencies: @@ -7783,37 +7783,37 @@ snapshots: ip-address: 9.0.5 smart-buffer: 4.2.0 - solid-floating-ui@0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.8.22): + solid-floating-ui@0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.1): dependencies: '@floating-ui/dom': 1.6.11 - solid-js: 1.8.22 + solid-js: 1.9.1 - solid-js@1.8.22: + solid-js@1.9.1: dependencies: csstype: 3.1.3 seroval: 1.1.0 seroval-plugins: 1.1.0(seroval@1.1.0) - solid-refresh@0.6.3(solid-js@1.8.22): + solid-refresh@0.6.3(solid-js@1.9.1): dependencies: '@babel/generator': 7.24.7 '@babel/helper-module-imports': 7.24.7 '@babel/types': 7.24.7 - solid-js: 1.8.22 + solid-js: 1.9.1 transitivePeerDependencies: - supports-color - solid-styled-components@0.28.5(solid-js@1.8.22): + solid-styled-components@0.28.5(solid-js@1.9.1): dependencies: csstype: 3.1.3 goober: 2.1.14(csstype@3.1.3) - solid-js: 1.8.22 + solid-js: 1.9.1 - solid-transition-group@0.2.3(solid-js@1.8.22): + solid-transition-group@0.2.3(solid-js@1.9.1): dependencies: - '@solid-primitives/refs': 1.0.6(solid-js@1.8.22) - '@solid-primitives/transition-group': 1.0.4(solid-js@1.8.22) - solid-js: 1.8.22 + '@solid-primitives/refs': 1.0.6(solid-js@1.9.1) + '@solid-primitives/transition-group': 1.0.4(solid-js@1.9.1) + solid-js: 1.9.1 source-map-js@1.2.0: {} @@ -8177,14 +8177,14 @@ snapshots: dependencies: lib-esm: 0.4.2 - vite-plugin-solid@2.10.2(solid-js@1.8.22)(vite@5.4.8(@types/node@20.12.5)): + vite-plugin-solid@2.10.2(solid-js@1.9.1)(vite@5.4.8(@types/node@20.12.5)): dependencies: '@babel/core': 7.24.7 '@types/babel__core': 7.20.5 babel-preset-solid: 1.8.12(@babel/core@7.24.7) merge-anything: 5.1.7 - solid-js: 1.8.22 - solid-refresh: 0.6.3(solid-js@1.8.22) + solid-js: 1.9.1 + solid-refresh: 0.6.3(solid-js@1.9.1) vite: 5.4.8(@types/node@20.12.5) vitefu: 0.2.5(vite@5.4.8(@types/node@20.12.5)) transitivePeerDependencies: From 494e58296bb1fa106ca264ad4fe93c90f127aa81 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:20:57 +0900 Subject: [PATCH 11/93] chore(deps): update dependency typescript-eslint to v8.7.0 (#2450) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 239 ++++++++++++++++++++++++------------------------- 1 file changed, 117 insertions(+), 122 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4b3b7ce87..4e98d2bf5a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -237,13 +237,13 @@ importers: version: 9.11.1 eslint-import-resolver-exports: specifier: 1.0.0-beta.5 - version: 1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1) + version: 1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) + version: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) eslint-plugin-import: specifier: 2.30.0 - version: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + version: 2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) glob: specifier: 11.0.0 version: 11.0.0 @@ -261,7 +261,7 @@ importers: version: 5.6.2 typescript-eslint: specifier: ^8.6.0 - version: 8.6.0(eslint@9.11.1)(typescript@5.6.2) + version: 8.7.0(eslint@9.11.1)(typescript@5.6.2) utf-8-validate: specifier: 6.0.4 version: 6.0.4 @@ -769,8 +769,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/regexpp@4.11.0': - resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} + '@eslint-community/regexpp@4.11.1': + resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint/config-array@0.18.0': @@ -1180,8 +1180,8 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.6.0': - resolution: {integrity: sha512-UOaz/wFowmoh2G6Mr9gw60B1mm0MzUtm6Ic8G2yM1Le6gyj5Loi/N+O5mocugRGY+8OeeKmkMmbxNqUCq3B4Sg==} + '@typescript-eslint/eslint-plugin@8.7.0': + resolution: {integrity: sha512-RIHOoznhA3CCfSTFiB6kBGLQtB/sox+pJ6jeFu6FxJvqL8qRxq/FfGO/UhsGgQM9oGdXkV4xUgli+dt26biB6A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1191,8 +1191,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.6.0': - resolution: {integrity: sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow==} + '@typescript-eslint/parser@8.7.0': + resolution: {integrity: sha512-lN0btVpj2unxHlNYLI//BQ7nzbMJYBVQX5+pbNXvGYazdlgYonMn4AhhHifQ+J4fGRYA/m1DjaQjx+fDetqBOQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1201,12 +1201,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.6.0': - resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} + '@typescript-eslint/scope-manager@8.7.0': + resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.6.0': - resolution: {integrity: sha512-dtePl4gsuenXVwC7dVNlb4mGDcKjDT/Ropsk4za/ouMBPplCLyznIaR+W65mvCvsyS97dymoBRrioEXI7k0XIg==} + '@typescript-eslint/type-utils@8.7.0': + resolution: {integrity: sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1214,12 +1214,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.6.0': - resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} + '@typescript-eslint/types@8.7.0': + resolution: {integrity: sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.6.0': - resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} + '@typescript-eslint/typescript-estree@8.7.0': + resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1227,14 +1227,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.6.0': - resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} + '@typescript-eslint/utils@8.7.0': + resolution: {integrity: sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.6.0': - resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} + '@typescript-eslint/visitor-keys@8.7.0': + resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@vladfrangu/async_event_emitter@2.4.4': @@ -1758,8 +1758,8 @@ packages: supports-color: optional: true - debug@4.3.6: - resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -2524,8 +2524,8 @@ packages: ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - ignore@5.3.1: - resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} immediate@3.0.6: @@ -3007,8 +3007,8 @@ packages: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} - minimatch@9.0.4: - resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} minimist-options@4.1.0: @@ -3075,9 +3075,6 @@ packages: ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -3855,8 +3852,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript-eslint@8.6.0: - resolution: {integrity: sha512-eEhhlxCEpCd4helh3AO1hk0UP2MvbRi9CtIAJTVPQjuSXOOO2jsEacNi4UdcJzZJbeuVg1gMhtZ8UYb+NFYPrA==} + typescript-eslint@8.7.0: + resolution: {integrity: sha512-nEHbEYJyHwsuf7c3V3RS7Saq+1+la3i0ieR3qP0yjqWSzVmh8Drp47uOl9LjbPANac4S7EFSqvcYIKXUUwIfIQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -4161,7 +4158,7 @@ snapshots: '@babel/traverse': 7.24.7 '@babel/types': 7.24.7 convert-source-map: 2.0.0 - debug: 4.3.6 + debug: 4.3.7 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -4283,7 +4280,7 @@ snapshots: '@babel/helper-split-export-declaration': 7.24.7 '@babel/parser': 7.24.7 '@babel/types': 7.24.7 - debug: 4.3.6 + debug: 4.3.7 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -4358,7 +4355,7 @@ snapshots: '@electron/get@2.0.3': dependencies: - debug: 4.3.6 + debug: 4.3.7 env-paths: 2.2.1 fs-extra: 8.1.0 got: 11.8.6 @@ -4372,7 +4369,7 @@ snapshots: '@electron/notarize@2.2.1': dependencies: - debug: 4.3.6 + debug: 4.3.7 fs-extra: 9.1.0 promise-retry: 2.0.1 transitivePeerDependencies: @@ -4381,7 +4378,7 @@ snapshots: '@electron/osx-sign@1.0.5': dependencies: compare-version: 0.1.2 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 10.1.0 isbinaryfile: 4.0.10 minimist: 1.2.8 @@ -4397,10 +4394,10 @@ snapshots: dependencies: '@electron/asar': 3.2.8 '@malept/cross-spawn-promise': 2.0.0 - debug: 4.3.6 + debug: 4.3.7 dir-compare: 4.2.0 fs-extra: 11.2.0 - minimatch: 9.0.4 + minimatch: 9.0.5 plist: 3.1.0 transitivePeerDependencies: - supports-color @@ -4551,12 +4548,12 @@ snapshots: eslint: 9.11.1 eslint-visitor-keys: 3.4.3 - '@eslint-community/regexpp@4.11.0': {} + '@eslint-community/regexpp@4.11.1': {} '@eslint/config-array@0.18.0': dependencies: '@eslint/object-schema': 2.1.4 - debug: 4.3.6 + debug: 4.3.7 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -4566,10 +4563,10 @@ snapshots: '@eslint/eslintrc@3.1.0': dependencies: ajv: 6.12.6 - debug: 4.3.6 + debug: 4.3.7 espree: 10.1.0 globals: 14.0.0 - ignore: 5.3.1 + ignore: 5.3.2 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 @@ -4657,7 +4654,7 @@ snapshots: '@malept/flatpak-bundler@0.4.0': dependencies: - debug: 4.3.6 + debug: 4.3.7 fs-extra: 9.1.0 lodash: 4.17.21 tmp-promise: 3.0.3 @@ -4823,7 +4820,7 @@ snapshots: '@ts-morph/common@0.24.0': dependencies: fast-glob: 3.3.2 - minimatch: 9.0.4 + minimatch: 9.0.5 mkdirp: 3.0.1 path-browserify: 1.0.1 @@ -4953,17 +4950,17 @@ snapshots: '@types/node': 20.12.5 optional: true - '@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2)': dependencies: - '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.6.0 + '@eslint-community/regexpp': 4.11.1 + '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.7.0 eslint: 9.11.1 graphemer: 1.4.0 - ignore: 5.3.1 + ignore: 5.3.2 natural-compare: 1.4.0 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -4971,29 +4968,29 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: - '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.6.0 - debug: 4.3.6 + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.7.0 + debug: 4.3.7 eslint: 9.11.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.6.0': + '@typescript-eslint/scope-manager@8.7.0': dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/visitor-keys': 8.7.0 - '@typescript-eslint/type-utils@8.6.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.7.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) - debug: 4.3.6 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 @@ -5001,16 +4998,16 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.6.0': {} + '@typescript-eslint/types@8.7.0': {} - '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 - debug: 4.3.6 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/visitor-keys': 8.7.0 + debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 - minimatch: 9.0.4 + minimatch: 9.0.5 semver: 7.6.3 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -5018,20 +5015,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.6.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/utils@8.7.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) - '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) eslint: 9.11.1 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.6.0': + '@typescript-eslint/visitor-keys@8.7.0': dependencies: - '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/types': 8.7.0 eslint-visitor-keys: 3.4.3 '@vladfrangu/async_event_emitter@2.4.4': {} @@ -5065,13 +5062,13 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color agent-base@7.1.1: dependencies: - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -5147,7 +5144,7 @@ snapshots: builder-util: 24.13.1 builder-util-runtime: 9.2.4 chromium-pickle-js: 0.2.0 - debug: 4.3.6 + debug: 4.3.7 dmg-builder: 24.13.3(electron-builder-squirrel-windows@24.13.3) ejs: 3.1.9 electron-builder-squirrel-windows: 24.13.3(dmg-builder@24.13.3) @@ -5377,14 +5374,14 @@ snapshots: builder-util-runtime@9.2.4: dependencies: - debug: 4.3.6 + debug: 4.3.7 sax: 1.3.0 transitivePeerDependencies: - supports-color builder-util-runtime@9.2.5: dependencies: - debug: 4.3.6 + debug: 4.3.7 sax: 1.3.0 transitivePeerDependencies: - supports-color @@ -5398,7 +5395,7 @@ snapshots: builder-util-runtime: 9.2.4 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 10.1.0 http-proxy-agent: 5.0.0 https-proxy-agent: 5.0.1 @@ -5701,9 +5698,9 @@ snapshots: dependencies: ms: 2.1.3 - debug@4.3.6: + debug@4.3.7: dependencies: - ms: 2.1.2 + ms: 2.1.3 decamelize-keys@1.1.1: dependencies: @@ -5928,7 +5925,7 @@ snapshots: electron-localshortcut@3.2.1: dependencies: - debug: 4.3.6 + debug: 4.3.7 electron-is-accelerator: 0.1.2 keyboardevent-from-electron-accelerator: 2.0.0 keyboardevents-areequal: 0.2.2 @@ -6180,10 +6177,10 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1): + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1): dependencies: eslint: 9.11.1 - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6194,37 +6191,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1): dependencies: '@nolyfill/is-core-module': 1.0.39 - debug: 4.3.6 + debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.11.1 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1): + eslint-module-utils@2.11.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6235,7 +6232,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6246,7 +6243,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -6264,7 +6261,7 @@ snapshots: eslint@9.11.1: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.11.1 '@eslint/config-array': 0.18.0 '@eslint/core': 0.6.0 '@eslint/eslintrc': 3.1.0 @@ -6278,7 +6275,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.6 + debug: 4.3.7 escape-string-regexp: 4.0.0 eslint-scope: 8.0.2 eslint-visitor-keys: 4.0.0 @@ -6289,7 +6286,7 @@ snapshots: file-entry-cache: 8.0.0 find-up: 5.0.0 glob-parent: 6.0.2 - ignore: 5.3.1 + ignore: 5.3.2 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 @@ -6351,7 +6348,7 @@ snapshots: extract-zip@2.0.1: dependencies: - debug: 4.3.6 + debug: 4.3.7 get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -6547,7 +6544,7 @@ snapshots: dependencies: foreground-child: 3.1.1 jackspeak: 3.1.2 - minimatch: 9.0.4 + minimatch: 9.0.5 minipass: 7.1.2 package-json-from-dist: 1.0.0 path-scurry: 1.11.1 @@ -6592,7 +6589,7 @@ snapshots: dependencies: dir-glob: 3.0.1 fast-glob: 3.3.2 - ignore: 5.3.1 + ignore: 5.3.2 merge2: 1.4.1 slash: 4.0.0 @@ -6679,14 +6676,14 @@ snapshots: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -6698,14 +6695,14 @@ snapshots: https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color https-proxy-agent@7.0.4: dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -6731,7 +6728,7 @@ snapshots: ieee754@1.2.1: {} - ignore@5.3.1: {} + ignore@5.3.2: {} immediate@3.0.6: {} @@ -7150,7 +7147,7 @@ snapshots: dependencies: brace-expansion: 2.0.1 - minimatch@9.0.4: + minimatch@9.0.5: dependencies: brace-expansion: 2.0.1 @@ -7211,8 +7208,6 @@ snapshots: ms@2.0.0: {} - ms@2.1.2: {} - ms@2.1.3: {} nan@2.18.0: @@ -7773,7 +7768,7 @@ snapshots: socks-proxy-agent@8.0.3: dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 socks: 2.8.1 transitivePeerDependencies: - supports-color @@ -7921,7 +7916,7 @@ snapshots: sumchecker@3.0.1: dependencies: - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -8058,11 +8053,11 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.6.0(eslint@9.11.1)(typescript@5.6.2): + typescript-eslint@8.7.0(eslint@9.11.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/parser': 8.6.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/utils': 8.6.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -8124,7 +8119,7 @@ snapshots: usocket@1.0.1: dependencies: bindings: 1.5.0 - debug: 4.3.6 + debug: 4.3.7 nan: 2.18.0 node-gyp: 10.2.0 transitivePeerDependencies: @@ -8161,7 +8156,7 @@ snapshots: dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.22.4) - debug: 4.3.6 + debug: 4.3.7 error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 open: 10.1.0 From 0829fd2167349d98c4d4208a278359b873b49e2a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:24:04 +0900 Subject: [PATCH 12/93] chore(deps): update dependency rollup to v4.22.5 (#2448) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 157 ++++++++++++++++++++++++------------------------- 2 files changed, 77 insertions(+), 82 deletions(-) diff --git a/package.json b/package.json index f3ec5657d9..d8bda311e1 100644 --- a/package.json +++ b/package.json @@ -235,7 +235,7 @@ "glob": "11.0.0", "node-gyp": "10.2.0", "playwright": "1.47.2", - "rollup": "4.22.4", + "rollup": "4.22.5", "typescript": "5.6.2", "typescript-eslint": "^8.6.0", "utf-8-validate": "6.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4e98d2bf5a..98ed89110c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -254,8 +254,8 @@ importers: specifier: 1.47.2 version: 1.47.2 rollup: - specifier: 4.22.4 - version: 4.22.4 + specifier: 4.22.5 + version: 4.22.5 typescript: specifier: 5.6.2 version: 5.6.2 @@ -270,7 +270,7 @@ importers: version: 5.4.8(@types/node@20.12.5) vite-plugin-inspect: specifier: 0.8.7 - version: 0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@20.12.5)) + version: 0.8.7(rollup@4.22.5)(vite@5.4.8(@types/node@20.12.5)) vite-plugin-resolve: specifier: 2.5.2 version: 2.5.2 @@ -935,83 +935,83 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.22.4': - resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} + '@rollup/rollup-android-arm-eabi@4.22.5': + resolution: {integrity: sha512-SU5cvamg0Eyu/F+kLeMXS7GoahL+OoizlclVFX3l5Ql6yNlywJJ0OuqTzUx0v+aHhPHEB/56CT06GQrRrGNYww==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.22.4': - resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} + '@rollup/rollup-android-arm64@4.22.5': + resolution: {integrity: sha512-S4pit5BP6E5R5C8S6tgU/drvgjtYW76FBuG6+ibG3tMvlD1h9LHVF9KmlmaUBQ8Obou7hEyS+0w+IR/VtxwNMQ==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.22.4': - resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} + '@rollup/rollup-darwin-arm64@4.22.5': + resolution: {integrity: sha512-250ZGg4ipTL0TGvLlfACkIxS9+KLtIbn7BCZjsZj88zSg2Lvu3Xdw6dhAhfe/FjjXPVNCtcSp+WZjVsD3a/Zlw==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.22.4': - resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} + '@rollup/rollup-darwin-x64@4.22.5': + resolution: {integrity: sha512-D8brJEFg5D+QxFcW6jYANu+Rr9SlKtTenmsX5hOSzNYVrK5oLAEMTUgKWYJP+wdKyCdeSwnapLsn+OVRFycuQg==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.22.4': - resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} + '@rollup/rollup-linux-arm-gnueabihf@4.22.5': + resolution: {integrity: sha512-PNqXYmdNFyWNg0ma5LdY8wP+eQfdvyaBAojAXgO7/gs0Q/6TQJVXAXe8gwW9URjbS0YAammur0fynYGiWsKlXw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.22.4': - resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} + '@rollup/rollup-linux-arm-musleabihf@4.22.5': + resolution: {integrity: sha512-kSSCZOKz3HqlrEuwKd9TYv7vxPYD77vHSUvM2y0YaTGnFc8AdI5TTQRrM1yIp3tXCKrSL9A7JLoILjtad5t8pQ==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.22.4': - resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} + '@rollup/rollup-linux-arm64-gnu@4.22.5': + resolution: {integrity: sha512-oTXQeJHRbOnwRnRffb6bmqmUugz0glXaPyspp4gbQOPVApdpRrY/j7KP3lr7M8kTfQTyrBUzFjj5EuHAhqH4/w==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.22.4': - resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} + '@rollup/rollup-linux-arm64-musl@4.22.5': + resolution: {integrity: sha512-qnOTIIs6tIGFKCHdhYitgC2XQ2X25InIbZFor5wh+mALH84qnFHvc+vmWUpyX97B0hNvwNUL4B+MB8vJvH65Fw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': - resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} + '@rollup/rollup-linux-powerpc64le-gnu@4.22.5': + resolution: {integrity: sha512-TMYu+DUdNlgBXING13rHSfUc3Ky5nLPbWs4bFnT+R6Vu3OvXkTkixvvBKk8uO4MT5Ab6lC3U7x8S8El2q5o56w==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.22.4': - resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} + '@rollup/rollup-linux-riscv64-gnu@4.22.5': + resolution: {integrity: sha512-PTQq1Kz22ZRvuhr3uURH+U/Q/a0pbxJoICGSprNLAoBEkyD3Sh9qP5I0Asn0y0wejXQBbsVMRZRxlbGFD9OK4A==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.22.4': - resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} + '@rollup/rollup-linux-s390x-gnu@4.22.5': + resolution: {integrity: sha512-bR5nCojtpuMss6TDEmf/jnBnzlo+6n1UhgwqUvRoe4VIotC7FG1IKkyJbwsT7JDsF2jxR+NTnuOwiGv0hLyDoQ==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.22.4': - resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} + '@rollup/rollup-linux-x64-gnu@4.22.5': + resolution: {integrity: sha512-N0jPPhHjGShcB9/XXZQWuWBKZQnC1F36Ce3sDqWpujsGjDz/CQtOL9LgTrJ+rJC8MJeesMWrMWVLKKNR/tMOCA==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.22.4': - resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} + '@rollup/rollup-linux-x64-musl@4.22.5': + resolution: {integrity: sha512-uBa2e28ohzNNwjr6Uxm4XyaA1M/8aTgfF2T7UIlElLaeXkgpmIJ2EitVNQxjO9xLLLy60YqAgKn/AqSpCUkE9g==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.22.4': - resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} + '@rollup/rollup-win32-arm64-msvc@4.22.5': + resolution: {integrity: sha512-RXT8S1HP8AFN/Kr3tg4fuYrNxZ/pZf1HemC5Tsddc6HzgGnJm0+Lh5rAHJkDuW3StI0ynNXukidROMXYl6ew8w==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.22.4': - resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} + '@rollup/rollup-win32-ia32-msvc@4.22.5': + resolution: {integrity: sha512-ElTYOh50InL8kzyUD6XsnPit7jYCKrphmddKAe1/Ytt74apOxDq5YEcbsiKs0fR3vff3jEneMM+3I7jbqaMyBg==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.22.4': - resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} + '@rollup/rollup-win32-x64-msvc@4.22.5': + resolution: {integrity: sha512-+lvL/4mQxSV8MukpkKyyvfwhH266COcWlXE/1qxwN08ajovta3459zrjLghYMgDerlzNwLAcFpvU+WWE5y6nAQ==} cpu: [x64] os: [win32] @@ -1111,9 +1111,6 @@ packages: '@types/eslint__js@8.42.3': resolution: {integrity: sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==} - '@types/estree@1.0.5': - resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} @@ -3451,8 +3448,8 @@ packages: resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==} engines: {node: '>=8.0'} - rollup@4.22.4: - resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} + rollup@4.22.5: + resolution: {integrity: sha512-WoinX7GeQOFMGznEcWA1WrTQCd/tpEbMkc3nuMs9BT0CPjMdSjPMTVClwWd4pgSQwJdP65SK9mTCNvItlr5o7w==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -4719,60 +4716,60 @@ snapshots: '@remusao/trie@1.4.1': {} - '@rollup/pluginutils@5.1.0(rollup@4.22.4)': + '@rollup/pluginutils@5.1.0(rollup@4.22.5)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.22.4 + rollup: 4.22.5 - '@rollup/rollup-android-arm-eabi@4.22.4': + '@rollup/rollup-android-arm-eabi@4.22.5': optional: true - '@rollup/rollup-android-arm64@4.22.4': + '@rollup/rollup-android-arm64@4.22.5': optional: true - '@rollup/rollup-darwin-arm64@4.22.4': + '@rollup/rollup-darwin-arm64@4.22.5': optional: true - '@rollup/rollup-darwin-x64@4.22.4': + '@rollup/rollup-darwin-x64@4.22.5': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + '@rollup/rollup-linux-arm-gnueabihf@4.22.5': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.22.4': + '@rollup/rollup-linux-arm-musleabihf@4.22.5': optional: true - '@rollup/rollup-linux-arm64-gnu@4.22.4': + '@rollup/rollup-linux-arm64-gnu@4.22.5': optional: true - '@rollup/rollup-linux-arm64-musl@4.22.4': + '@rollup/rollup-linux-arm64-musl@4.22.5': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + '@rollup/rollup-linux-powerpc64le-gnu@4.22.5': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.22.4': + '@rollup/rollup-linux-riscv64-gnu@4.22.5': optional: true - '@rollup/rollup-linux-s390x-gnu@4.22.4': + '@rollup/rollup-linux-s390x-gnu@4.22.5': optional: true - '@rollup/rollup-linux-x64-gnu@4.22.4': + '@rollup/rollup-linux-x64-gnu@4.22.5': optional: true - '@rollup/rollup-linux-x64-musl@4.22.4': + '@rollup/rollup-linux-x64-musl@4.22.5': optional: true - '@rollup/rollup-win32-arm64-msvc@4.22.4': + '@rollup/rollup-win32-arm64-msvc@4.22.5': optional: true - '@rollup/rollup-win32-ia32-msvc@4.22.4': + '@rollup/rollup-win32-ia32-msvc@4.22.5': optional: true - '@rollup/rollup-win32-x64-msvc@4.22.4': + '@rollup/rollup-win32-x64-msvc@4.22.5': optional: true '@rtsao/scc@1.1.0': {} @@ -4886,8 +4883,6 @@ snapshots: dependencies: '@types/eslint': 9.6.1 - '@types/estree@1.0.5': {} - '@types/estree@1.0.6': {} '@types/filesystem@0.0.35': @@ -7595,26 +7590,26 @@ snapshots: sprintf-js: 1.1.3 optional: true - rollup@4.22.4: + rollup@4.22.5: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.22.4 - '@rollup/rollup-android-arm64': 4.22.4 - '@rollup/rollup-darwin-arm64': 4.22.4 - '@rollup/rollup-darwin-x64': 4.22.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 - '@rollup/rollup-linux-arm-musleabihf': 4.22.4 - '@rollup/rollup-linux-arm64-gnu': 4.22.4 - '@rollup/rollup-linux-arm64-musl': 4.22.4 - '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 - '@rollup/rollup-linux-riscv64-gnu': 4.22.4 - '@rollup/rollup-linux-s390x-gnu': 4.22.4 - '@rollup/rollup-linux-x64-gnu': 4.22.4 - '@rollup/rollup-linux-x64-musl': 4.22.4 - '@rollup/rollup-win32-arm64-msvc': 4.22.4 - '@rollup/rollup-win32-ia32-msvc': 4.22.4 - '@rollup/rollup-win32-x64-msvc': 4.22.4 + '@rollup/rollup-android-arm-eabi': 4.22.5 + '@rollup/rollup-android-arm64': 4.22.5 + '@rollup/rollup-darwin-arm64': 4.22.5 + '@rollup/rollup-darwin-x64': 4.22.5 + '@rollup/rollup-linux-arm-gnueabihf': 4.22.5 + '@rollup/rollup-linux-arm-musleabihf': 4.22.5 + '@rollup/rollup-linux-arm64-gnu': 4.22.5 + '@rollup/rollup-linux-arm64-musl': 4.22.5 + '@rollup/rollup-linux-powerpc64le-gnu': 4.22.5 + '@rollup/rollup-linux-riscv64-gnu': 4.22.5 + '@rollup/rollup-linux-s390x-gnu': 4.22.5 + '@rollup/rollup-linux-x64-gnu': 4.22.5 + '@rollup/rollup-linux-x64-musl': 4.22.5 + '@rollup/rollup-win32-arm64-msvc': 4.22.5 + '@rollup/rollup-win32-ia32-msvc': 4.22.5 + '@rollup/rollup-win32-x64-msvc': 4.22.5 fsevents: 2.3.3 run-applescript@7.0.0: {} @@ -8152,10 +8147,10 @@ snapshots: extsprintf: 1.4.1 optional: true - vite-plugin-inspect@0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@20.12.5)): + vite-plugin-inspect@0.8.7(rollup@4.22.5)(vite@5.4.8(@types/node@20.12.5)): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + '@rollup/pluginutils': 5.1.0(rollup@4.22.5) debug: 4.3.7 error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 @@ -8189,7 +8184,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.44 - rollup: 4.22.4 + rollup: 4.22.5 optionalDependencies: '@types/node': 20.12.5 fsevents: 2.3.3 From 9edcd2c32ed6cffb975631e070c97d6e52420937 Mon Sep 17 00:00:00 2001 From: Infy's Tagalog Translations Date: Wed, 2 Oct 2024 01:59:33 +0000 Subject: [PATCH 13/93] chore(i18n): Translated using Weblate (Filipino) Currently translated at 86.9% (332 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/fil/ --- src/i18n/resources/fil.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i18n/resources/fil.json b/src/i18n/resources/fil.json index 770257b0a3..3a8768f9f2 100644 --- a/src/i18n/resources/fil.json +++ b/src/i18n/resources/fil.json @@ -498,6 +498,7 @@ } }, "priority": "Prioridad ng Notification", + "toast-style": "Estilo ng toast", "unpause-notification": "Ipakita ang notification sa pag-unpause" }, "name": "Mga Abiso" From 4c2cb8dac9b0438def1f6e0efa12ec43ac94f46f Mon Sep 17 00:00:00 2001 From: Abigail Dummer Date: Thu, 3 Oct 2024 12:41:18 +0000 Subject: [PATCH 14/93] chore(i18n): Translated using Weblate (Portuguese (Brazil)) Currently translated at 73.2% (280 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/pt_BR/ --- src/i18n/resources/pt-BR.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/i18n/resources/pt-BR.json b/src/i18n/resources/pt-BR.json index ec39ccb58e..88b0461f4b 100644 --- a/src/i18n/resources/pt-BR.json +++ b/src/i18n/resources/pt-BR.json @@ -403,6 +403,7 @@ "playlist-has-only-one-song": "Playlist possui apenas um item, baixando diretamente", "playlist-id-not-found": "Nenhum playlist ID encontrado", "playlist-is-empty": "Playlist está vazia", + "playlist-is-mix-or-private": "Erro ao obter informações da playlist: verifique se não é uma playlist privada ou “”Mixada para você”\n\n{{error}}", "preparing-file": "Preparando arquivo…", "saving": "Salvando…", "trying-to-get-playlist-id": "Tentando obter playlist ID: {{playlistId}}", @@ -410,6 +411,7 @@ "writing-id3": "Salvando tags ID3…" } }, + "description": "Faça download do MP3 / fonte de áudio diretamente da interface", "menu": { "choose-download-folder": "Escolha a pasta de download", "download-finish-settings": { @@ -437,22 +439,26 @@ "button": "Download" } }, + "exponential-volume": { + "name": "Volume Exponencial" + }, "in-app-menu": { "name": "Menu no aplicativo" }, "music-together": { "internal": { "save": "Salvar", - "track-source": "Fonte da faixa", - "unknown-user": "Usuário desconhecido" + "track-source": "Fonte da Faixa", + "unknown-user": "Usuário Desconhecido" }, "menu": { "click-to-copy-id": "Copiar ID do host", - "connected-users": "Usuários conectados", + "connected-users": "Usuários Conectados", "empty-user": "Nenhum usuário conectado", "status": { "disconnected": "Desconectado", - "guest": "Conectado como convidado" + "guest": "Conectado como convidado", + "host": "Conectado como Host" } }, "name": "Music Together [Beta]", From 2c21a032012c43dc18df88c239086f4879d5c5f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 14:59:44 +0900 Subject: [PATCH 15/93] chore(deps): update dependency eslint-plugin-import to v2.31.0 (#2464) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 49 +++++++++++++++++++++++++------------------------ 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index d8bda311e1..32b5da2da2 100644 --- a/package.json +++ b/package.json @@ -231,7 +231,7 @@ "eslint": "9.11.1", "eslint-import-resolver-exports": "1.0.0-beta.5", "eslint-import-resolver-typescript": "3.6.3", - "eslint-plugin-import": "2.30.0", + "eslint-plugin-import": "2.31.0", "glob": "11.0.0", "node-gyp": "10.2.0", "playwright": "1.47.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98ed89110c..a9a5af0a47 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -222,7 +222,7 @@ importers: version: 32.1.2 electron-builder: specifier: 24.13.3 - version: 24.13.3(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + version: 24.13.3(electron-builder-squirrel-windows@24.13.3) electron-devtools-installer: specifier: 3.2.0 version: 3.2.0 @@ -237,13 +237,13 @@ importers: version: 9.11.1 eslint-import-resolver-exports: specifier: 1.0.0-beta.5 - version: 1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1) + version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) + version: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) eslint-plugin-import: - specifier: 2.30.0 - version: 2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + specifier: 2.31.0 + version: 2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) glob: specifier: 11.0.0 version: 11.0.0 @@ -2094,8 +2094,8 @@ packages: eslint-plugin-import-x: optional: true - eslint-module-utils@2.11.0: - resolution: {integrity: sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==} + eslint-module-utils@2.12.0: + resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -2115,12 +2115,12 @@ packages: eslint-import-resolver-webpack: optional: true - eslint-plugin-import@2.30.0: - resolution: {integrity: sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==} + eslint-plugin-import@2.31.0: + resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 peerDependenciesMeta: '@typescript-eslint/parser': optional: true @@ -5126,7 +5126,7 @@ snapshots: app-builder-bin@4.0.0: {} - app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)): + app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): dependencies: '@develar/schema-utils': 2.6.5 '@electron/notarize': 2.2.1 @@ -5798,7 +5798,7 @@ snapshots: dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) builder-util: 24.13.1 builder-util-runtime: 9.2.4 fs-extra: 10.1.0 @@ -5866,7 +5866,7 @@ snapshots: electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) archiver: 5.3.2 builder-util: 24.13.1 fs-extra: 10.1.0 @@ -5874,9 +5874,9 @@ snapshots: - dmg-builder - supports-color - electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)): + electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) builder-util: 24.13.1 builder-util-runtime: 9.2.4 chalk: 4.1.2 @@ -6172,10 +6172,10 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1): + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1): dependencies: eslint: 9.11.1 - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6186,37 +6186,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.11.1 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6227,7 +6227,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.30.0)(eslint@9.11.1))(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6236,6 +6236,7 @@ snapshots: object.groupby: 1.0.3 object.values: 1.2.0 semver: 6.3.1 + string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) From 51ecfff86bc3e4c42ce77291d78dcb8262a475f1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:00:04 +0900 Subject: [PATCH 16/93] chore(deps): update dependency rollup to v4.24.0 (#2458) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 150 ++++++++++++++++++++++++------------------------- 2 files changed, 76 insertions(+), 76 deletions(-) diff --git a/package.json b/package.json index 32b5da2da2..36ec5ceb3b 100644 --- a/package.json +++ b/package.json @@ -235,7 +235,7 @@ "glob": "11.0.0", "node-gyp": "10.2.0", "playwright": "1.47.2", - "rollup": "4.22.5", + "rollup": "4.24.0", "typescript": "5.6.2", "typescript-eslint": "^8.6.0", "utf-8-validate": "6.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a9a5af0a47..f0f583311d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -254,8 +254,8 @@ importers: specifier: 1.47.2 version: 1.47.2 rollup: - specifier: 4.22.5 - version: 4.22.5 + specifier: 4.24.0 + version: 4.24.0 typescript: specifier: 5.6.2 version: 5.6.2 @@ -270,7 +270,7 @@ importers: version: 5.4.8(@types/node@20.12.5) vite-plugin-inspect: specifier: 0.8.7 - version: 0.8.7(rollup@4.22.5)(vite@5.4.8(@types/node@20.12.5)) + version: 0.8.7(rollup@4.24.0)(vite@5.4.8(@types/node@20.12.5)) vite-plugin-resolve: specifier: 2.5.2 version: 2.5.2 @@ -935,83 +935,83 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.22.5': - resolution: {integrity: sha512-SU5cvamg0Eyu/F+kLeMXS7GoahL+OoizlclVFX3l5Ql6yNlywJJ0OuqTzUx0v+aHhPHEB/56CT06GQrRrGNYww==} + '@rollup/rollup-android-arm-eabi@4.24.0': + resolution: {integrity: sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.22.5': - resolution: {integrity: sha512-S4pit5BP6E5R5C8S6tgU/drvgjtYW76FBuG6+ibG3tMvlD1h9LHVF9KmlmaUBQ8Obou7hEyS+0w+IR/VtxwNMQ==} + '@rollup/rollup-android-arm64@4.24.0': + resolution: {integrity: sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.22.5': - resolution: {integrity: sha512-250ZGg4ipTL0TGvLlfACkIxS9+KLtIbn7BCZjsZj88zSg2Lvu3Xdw6dhAhfe/FjjXPVNCtcSp+WZjVsD3a/Zlw==} + '@rollup/rollup-darwin-arm64@4.24.0': + resolution: {integrity: sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.22.5': - resolution: {integrity: sha512-D8brJEFg5D+QxFcW6jYANu+Rr9SlKtTenmsX5hOSzNYVrK5oLAEMTUgKWYJP+wdKyCdeSwnapLsn+OVRFycuQg==} + '@rollup/rollup-darwin-x64@4.24.0': + resolution: {integrity: sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.22.5': - resolution: {integrity: sha512-PNqXYmdNFyWNg0ma5LdY8wP+eQfdvyaBAojAXgO7/gs0Q/6TQJVXAXe8gwW9URjbS0YAammur0fynYGiWsKlXw==} + '@rollup/rollup-linux-arm-gnueabihf@4.24.0': + resolution: {integrity: sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.22.5': - resolution: {integrity: sha512-kSSCZOKz3HqlrEuwKd9TYv7vxPYD77vHSUvM2y0YaTGnFc8AdI5TTQRrM1yIp3tXCKrSL9A7JLoILjtad5t8pQ==} + '@rollup/rollup-linux-arm-musleabihf@4.24.0': + resolution: {integrity: sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.22.5': - resolution: {integrity: sha512-oTXQeJHRbOnwRnRffb6bmqmUugz0glXaPyspp4gbQOPVApdpRrY/j7KP3lr7M8kTfQTyrBUzFjj5EuHAhqH4/w==} + '@rollup/rollup-linux-arm64-gnu@4.24.0': + resolution: {integrity: sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.22.5': - resolution: {integrity: sha512-qnOTIIs6tIGFKCHdhYitgC2XQ2X25InIbZFor5wh+mALH84qnFHvc+vmWUpyX97B0hNvwNUL4B+MB8vJvH65Fw==} + '@rollup/rollup-linux-arm64-musl@4.24.0': + resolution: {integrity: sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.22.5': - resolution: {integrity: sha512-TMYu+DUdNlgBXING13rHSfUc3Ky5nLPbWs4bFnT+R6Vu3OvXkTkixvvBKk8uO4MT5Ab6lC3U7x8S8El2q5o56w==} + '@rollup/rollup-linux-powerpc64le-gnu@4.24.0': + resolution: {integrity: sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.22.5': - resolution: {integrity: sha512-PTQq1Kz22ZRvuhr3uURH+U/Q/a0pbxJoICGSprNLAoBEkyD3Sh9qP5I0Asn0y0wejXQBbsVMRZRxlbGFD9OK4A==} + '@rollup/rollup-linux-riscv64-gnu@4.24.0': + resolution: {integrity: sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.22.5': - resolution: {integrity: sha512-bR5nCojtpuMss6TDEmf/jnBnzlo+6n1UhgwqUvRoe4VIotC7FG1IKkyJbwsT7JDsF2jxR+NTnuOwiGv0hLyDoQ==} + '@rollup/rollup-linux-s390x-gnu@4.24.0': + resolution: {integrity: sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.22.5': - resolution: {integrity: sha512-N0jPPhHjGShcB9/XXZQWuWBKZQnC1F36Ce3sDqWpujsGjDz/CQtOL9LgTrJ+rJC8MJeesMWrMWVLKKNR/tMOCA==} + '@rollup/rollup-linux-x64-gnu@4.24.0': + resolution: {integrity: sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.22.5': - resolution: {integrity: sha512-uBa2e28ohzNNwjr6Uxm4XyaA1M/8aTgfF2T7UIlElLaeXkgpmIJ2EitVNQxjO9xLLLy60YqAgKn/AqSpCUkE9g==} + '@rollup/rollup-linux-x64-musl@4.24.0': + resolution: {integrity: sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.22.5': - resolution: {integrity: sha512-RXT8S1HP8AFN/Kr3tg4fuYrNxZ/pZf1HemC5Tsddc6HzgGnJm0+Lh5rAHJkDuW3StI0ynNXukidROMXYl6ew8w==} + '@rollup/rollup-win32-arm64-msvc@4.24.0': + resolution: {integrity: sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.22.5': - resolution: {integrity: sha512-ElTYOh50InL8kzyUD6XsnPit7jYCKrphmddKAe1/Ytt74apOxDq5YEcbsiKs0fR3vff3jEneMM+3I7jbqaMyBg==} + '@rollup/rollup-win32-ia32-msvc@4.24.0': + resolution: {integrity: sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.22.5': - resolution: {integrity: sha512-+lvL/4mQxSV8MukpkKyyvfwhH266COcWlXE/1qxwN08ajovta3459zrjLghYMgDerlzNwLAcFpvU+WWE5y6nAQ==} + '@rollup/rollup-win32-x64-msvc@4.24.0': + resolution: {integrity: sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==} cpu: [x64] os: [win32] @@ -3448,8 +3448,8 @@ packages: resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==} engines: {node: '>=8.0'} - rollup@4.22.5: - resolution: {integrity: sha512-WoinX7GeQOFMGznEcWA1WrTQCd/tpEbMkc3nuMs9BT0CPjMdSjPMTVClwWd4pgSQwJdP65SK9mTCNvItlr5o7w==} + rollup@4.24.0: + resolution: {integrity: sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -4716,60 +4716,60 @@ snapshots: '@remusao/trie@1.4.1': {} - '@rollup/pluginutils@5.1.0(rollup@4.22.5)': + '@rollup/pluginutils@5.1.0(rollup@4.24.0)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.22.5 + rollup: 4.24.0 - '@rollup/rollup-android-arm-eabi@4.22.5': + '@rollup/rollup-android-arm-eabi@4.24.0': optional: true - '@rollup/rollup-android-arm64@4.22.5': + '@rollup/rollup-android-arm64@4.24.0': optional: true - '@rollup/rollup-darwin-arm64@4.22.5': + '@rollup/rollup-darwin-arm64@4.24.0': optional: true - '@rollup/rollup-darwin-x64@4.22.5': + '@rollup/rollup-darwin-x64@4.24.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.22.5': + '@rollup/rollup-linux-arm-gnueabihf@4.24.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.22.5': + '@rollup/rollup-linux-arm-musleabihf@4.24.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.22.5': + '@rollup/rollup-linux-arm64-gnu@4.24.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.22.5': + '@rollup/rollup-linux-arm64-musl@4.24.0': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.22.5': + '@rollup/rollup-linux-powerpc64le-gnu@4.24.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.22.5': + '@rollup/rollup-linux-riscv64-gnu@4.24.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.22.5': + '@rollup/rollup-linux-s390x-gnu@4.24.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.22.5': + '@rollup/rollup-linux-x64-gnu@4.24.0': optional: true - '@rollup/rollup-linux-x64-musl@4.22.5': + '@rollup/rollup-linux-x64-musl@4.24.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.22.5': + '@rollup/rollup-win32-arm64-msvc@4.24.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.22.5': + '@rollup/rollup-win32-ia32-msvc@4.24.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.22.5': + '@rollup/rollup-win32-x64-msvc@4.24.0': optional: true '@rtsao/scc@1.1.0': {} @@ -7591,26 +7591,26 @@ snapshots: sprintf-js: 1.1.3 optional: true - rollup@4.22.5: + rollup@4.24.0: dependencies: '@types/estree': 1.0.6 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.22.5 - '@rollup/rollup-android-arm64': 4.22.5 - '@rollup/rollup-darwin-arm64': 4.22.5 - '@rollup/rollup-darwin-x64': 4.22.5 - '@rollup/rollup-linux-arm-gnueabihf': 4.22.5 - '@rollup/rollup-linux-arm-musleabihf': 4.22.5 - '@rollup/rollup-linux-arm64-gnu': 4.22.5 - '@rollup/rollup-linux-arm64-musl': 4.22.5 - '@rollup/rollup-linux-powerpc64le-gnu': 4.22.5 - '@rollup/rollup-linux-riscv64-gnu': 4.22.5 - '@rollup/rollup-linux-s390x-gnu': 4.22.5 - '@rollup/rollup-linux-x64-gnu': 4.22.5 - '@rollup/rollup-linux-x64-musl': 4.22.5 - '@rollup/rollup-win32-arm64-msvc': 4.22.5 - '@rollup/rollup-win32-ia32-msvc': 4.22.5 - '@rollup/rollup-win32-x64-msvc': 4.22.5 + '@rollup/rollup-android-arm-eabi': 4.24.0 + '@rollup/rollup-android-arm64': 4.24.0 + '@rollup/rollup-darwin-arm64': 4.24.0 + '@rollup/rollup-darwin-x64': 4.24.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.24.0 + '@rollup/rollup-linux-arm-musleabihf': 4.24.0 + '@rollup/rollup-linux-arm64-gnu': 4.24.0 + '@rollup/rollup-linux-arm64-musl': 4.24.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.24.0 + '@rollup/rollup-linux-riscv64-gnu': 4.24.0 + '@rollup/rollup-linux-s390x-gnu': 4.24.0 + '@rollup/rollup-linux-x64-gnu': 4.24.0 + '@rollup/rollup-linux-x64-musl': 4.24.0 + '@rollup/rollup-win32-arm64-msvc': 4.24.0 + '@rollup/rollup-win32-ia32-msvc': 4.24.0 + '@rollup/rollup-win32-x64-msvc': 4.24.0 fsevents: 2.3.3 run-applescript@7.0.0: {} @@ -8148,10 +8148,10 @@ snapshots: extsprintf: 1.4.1 optional: true - vite-plugin-inspect@0.8.7(rollup@4.22.5)(vite@5.4.8(@types/node@20.12.5)): + vite-plugin-inspect@0.8.7(rollup@4.24.0)(vite@5.4.8(@types/node@20.12.5)): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.22.5) + '@rollup/pluginutils': 5.1.0(rollup@4.24.0) debug: 4.3.7 error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 @@ -8185,7 +8185,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.44 - rollup: 4.22.5 + rollup: 4.24.0 optionalDependencies: '@types/node': 20.12.5 fsevents: 2.3.3 From 4ad8e7b9dca006253af5dfe6e714656a1abada10 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:02:01 +0900 Subject: [PATCH 17/93] chore(deps): update dependency @babel/runtime to v7.25.7 (#2462) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 36ec5ceb3b..3ff20fabbd 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "xml2js": "0.6.2", "node-fetch": "3.3.2", "@electron/universal": "2.0.1", - "@babel/runtime": "7.25.6" + "@babel/runtime": "7.25.7" }, "patchedDependencies": { "vudio@2.1.1": "patches/vudio@2.1.1.patch", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0f583311d..171b72f054 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ overrides: xml2js: 0.6.2 node-fetch: 3.3.2 '@electron/universal': 2.0.1 - '@babel/runtime': 7.25.6 + '@babel/runtime': 7.25.7 patchedDependencies: app-builder-lib@24.13.3: @@ -395,8 +395,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/runtime@7.25.6': - resolution: {integrity: sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==} + '@babel/runtime@7.25.7': + resolution: {integrity: sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==} engines: {node: '>=6.9.0'} '@babel/template@7.24.7': @@ -4257,7 +4257,7 @@ snapshots: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 - '@babel/runtime@7.25.6': + '@babel/runtime@7.25.7': dependencies: regenerator-runtime: 0.14.1 @@ -5410,12 +5410,12 @@ snapshots: butterchurn-presets@3.0.0-beta.4: dependencies: - '@babel/runtime': 7.25.6 + '@babel/runtime': 7.25.7 butterchurn@3.0.0-beta.4: dependencies: '@assemblyscript/loader': 0.17.14 - '@babel/runtime': 7.25.6 + '@babel/runtime': 7.25.7 ecma-proposal-math-extensions: 0.0.2 eel-wasm: 0.0.15 @@ -6706,7 +6706,7 @@ snapshots: i18next@23.15.1: dependencies: - '@babel/runtime': 7.25.6 + '@babel/runtime': 7.25.7 iconv-corefoundation@1.1.7: dependencies: From 7b6235694b6856d4d230fd278c4682a8370950d5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:02:09 +0900 Subject: [PATCH 18/93] chore(deps): update dependency typescript-eslint to v8.8.0 (#2457) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 124 ++++++++++++++++++++++++------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 171b72f054..7589bfbfe8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -240,10 +240,10 @@ importers: version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) + version: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + version: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) glob: specifier: 11.0.0 version: 11.0.0 @@ -261,7 +261,7 @@ importers: version: 5.6.2 typescript-eslint: specifier: ^8.6.0 - version: 8.7.0(eslint@9.11.1)(typescript@5.6.2) + version: 8.8.0(eslint@9.11.1)(typescript@5.6.2) utf-8-validate: specifier: 6.0.4 version: 6.0.4 @@ -1177,8 +1177,8 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.7.0': - resolution: {integrity: sha512-RIHOoznhA3CCfSTFiB6kBGLQtB/sox+pJ6jeFu6FxJvqL8qRxq/FfGO/UhsGgQM9oGdXkV4xUgli+dt26biB6A==} + '@typescript-eslint/eslint-plugin@8.8.0': + resolution: {integrity: sha512-wORFWjU30B2WJ/aXBfOm1LX9v9nyt9D3jsSOxC3cCaTQGCW5k4jNpmjFv3U7p/7s4yvdjHzwtv2Sd2dOyhjS0A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1188,8 +1188,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.7.0': - resolution: {integrity: sha512-lN0btVpj2unxHlNYLI//BQ7nzbMJYBVQX5+pbNXvGYazdlgYonMn4AhhHifQ+J4fGRYA/m1DjaQjx+fDetqBOQ==} + '@typescript-eslint/parser@8.8.0': + resolution: {integrity: sha512-uEFUsgR+tl8GmzmLjRqz+VrDv4eoaMqMXW7ruXfgThaAShO9JTciKpEsB+TvnfFfbg5IpujgMXVV36gOJRLtZg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1198,12 +1198,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.7.0': - resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} + '@typescript-eslint/scope-manager@8.8.0': + resolution: {integrity: sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.7.0': - resolution: {integrity: sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==} + '@typescript-eslint/type-utils@8.8.0': + resolution: {integrity: sha512-IKwJSS7bCqyCeG4NVGxnOP6lLT9Okc3Zj8hLO96bpMkJab+10HIfJbMouLrlpyOr3yrQ1cA413YPFiGd1mW9/Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1211,12 +1211,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.7.0': - resolution: {integrity: sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==} + '@typescript-eslint/types@8.8.0': + resolution: {integrity: sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.7.0': - resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} + '@typescript-eslint/typescript-estree@8.8.0': + resolution: {integrity: sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1224,14 +1224,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.7.0': - resolution: {integrity: sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw==} + '@typescript-eslint/utils@8.8.0': + resolution: {integrity: sha512-QE2MgfOTem00qrlPgyByaCHay9yb1+9BjnMFnSFkUKQfu7adBXDTnCAivURnuPPAG/qiB+kzKkZKmKfaMT0zVg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.7.0': - resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} + '@typescript-eslint/visitor-keys@8.8.0': + resolution: {integrity: sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@vladfrangu/async_event_emitter@2.4.4': @@ -3849,8 +3849,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript-eslint@8.7.0: - resolution: {integrity: sha512-nEHbEYJyHwsuf7c3V3RS7Saq+1+la3i0ieR3qP0yjqWSzVmh8Drp47uOl9LjbPANac4S7EFSqvcYIKXUUwIfIQ==} + typescript-eslint@8.8.0: + resolution: {integrity: sha512-BjIT/VwJ8+0rVO01ZQ2ZVnjE1svFBiRczcpr1t1Yxt7sT25VSbPfrJtDsQ8uQTy2pilX5nI9gwxhUyLULNentw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -4945,14 +4945,14 @@ snapshots: '@types/node': 20.12.5 optional: true - '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.7.0 + '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.8.0 + '@typescript-eslint/type-utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.8.0 eslint: 9.11.1 graphemer: 1.4.0 ignore: 5.3.2 @@ -4963,12 +4963,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: - '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.7.0 + '@typescript-eslint/scope-manager': 8.8.0 + '@typescript-eslint/types': 8.8.0 + '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.8.0 debug: 4.3.7 eslint: 9.11.1 optionalDependencies: @@ -4976,15 +4976,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.7.0': + '@typescript-eslint/scope-manager@8.8.0': dependencies: - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/visitor-keys': 8.7.0 + '@typescript-eslint/types': 8.8.0 + '@typescript-eslint/visitor-keys': 8.8.0 - '@typescript-eslint/type-utils@8.7.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.8.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -4993,12 +4993,12 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.7.0': {} + '@typescript-eslint/types@8.8.0': {} - '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.8.0(typescript@5.6.2)': dependencies: - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/visitor-keys': 8.7.0 + '@typescript-eslint/types': 8.8.0 + '@typescript-eslint/visitor-keys': 8.8.0 debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 @@ -5010,20 +5010,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.7.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/utils@8.8.0(eslint@9.11.1)(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) - '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.8.0 + '@typescript-eslint/types': 8.8.0 + '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) eslint: 9.11.1 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.7.0': + '@typescript-eslint/visitor-keys@8.8.0': dependencies: - '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/types': 8.8.0 eslint-visitor-keys: 3.4.3 '@vladfrangu/async_event_emitter@2.4.4': {} @@ -6175,7 +6175,7 @@ snapshots: eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1): dependencies: eslint: 9.11.1 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6186,37 +6186,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.11.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6227,7 +6227,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6239,7 +6239,7 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -8049,11 +8049,11 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.7.0(eslint@9.11.1)(typescript@5.6.2): + typescript-eslint@8.8.0(eslint@9.11.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/parser': 8.7.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: From da2dbcacc43716fc437f3bd55eb3bce936cf5c46 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:02:19 +0900 Subject: [PATCH 19/93] fix(deps): update dependency deepmerge-ts to v7.1.1 (#2467) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3ff20fabbd..953e6a4626 100644 --- a/package.json +++ b/package.json @@ -176,7 +176,7 @@ "conf": "13.0.1", "custom-electron-prompt": "1.5.8", "dbus-next": "0.10.2", - "deepmerge-ts": "7.1.0", + "deepmerge-ts": "7.1.1", "electron-debug": "4.0.1", "electron-is": "3.0.0", "electron-localshortcut": "3.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7589bfbfe8..46c627a420 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: 0.10.2 version: 0.10.2 deepmerge-ts: - specifier: 7.1.0 - version: 7.1.0 + specifier: 7.1.1 + version: 7.1.1 electron-debug: specifier: 4.0.1 version: 4.0.1 @@ -1791,8 +1791,8 @@ packages: deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge-ts@7.1.0: - resolution: {integrity: sha512-q6bNsfNBtgr8ZOQqmZbl94MmYWm+QcDNIkqCxVWiw1vKvf+y/N2dZQKdnDXn4c5Ygt/y63tDof6OCN+2YwWVEg==} + deepmerge-ts@7.1.1: + resolution: {integrity: sha512-M27OAbyR/XgJujhAd6ZlYvZGzejbzvGPSZWwuzezPCdKLT9VMtK0kpRNDc5LeUDYqFN3e254gWG1yKpjidCtow==} engines: {node: '>=16.0.0'} deepmerge@4.3.1: @@ -5735,7 +5735,7 @@ snapshots: deep-is@0.1.4: {} - deepmerge-ts@7.1.0: {} + deepmerge-ts@7.1.1: {} deepmerge@4.3.1: {} From 98bbbfd8516e134ed07b421e583c7418e0322e61 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:04:15 +0900 Subject: [PATCH 20/93] fix(deps): update dependency electron-updater to v6.3.9 (#2468) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 953e6a4626..b43975c09a 100644 --- a/package.json +++ b/package.json @@ -182,7 +182,7 @@ "electron-localshortcut": "3.2.1", "electron-store": "10.0.0", "electron-unhandled": "4.0.1", - "electron-updater": "6.3.4", + "electron-updater": "6.3.9", "fast-average-color": "9.4.0", "fast-equals": "5.0.1", "filenamify": "6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46c627a420..cbdf4d45e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -100,8 +100,8 @@ importers: specifier: 4.0.1 version: 4.0.1 electron-updater: - specifier: 6.3.4 - version: 6.3.4 + specifier: 6.3.9 + version: 6.3.9 fast-average-color: specifier: 9.4.0 version: 9.4.0 @@ -1488,12 +1488,12 @@ packages: resolution: {integrity: sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==} engines: {node: '>=6.14.2'} - builder-util-runtime@9.2.4: - resolution: {integrity: sha512-upp+biKpN/XZMLim7aguUyW8s0FUpDvOtK6sbanMFDAMBzpHDqdhgVYm6zc9HJ6nWo7u2Lxk60i2M6Jd3aiNrA==} + builder-util-runtime@9.2.10: + resolution: {integrity: sha512-6p/gfG1RJSQeIbz8TK5aPNkoztgY1q5TgmGFMAXcY8itsGW6Y2ld1ALsZ5UJn8rog7hKF3zHx5iQbNQ8uLcRlw==} engines: {node: '>=12.0.0'} - builder-util-runtime@9.2.5: - resolution: {integrity: sha512-HjIDfhvqx/8B3TDN4GbABQcgpewTU4LMRTQPkVpKYV3lsuxEJoIfvg09GyWTNmfVNSUAYf+fbTN//JX4TH20pg==} + builder-util-runtime@9.2.4: + resolution: {integrity: sha512-upp+biKpN/XZMLim7aguUyW8s0FUpDvOtK6sbanMFDAMBzpHDqdhgVYm6zc9HJ6nWo7u2Lxk60i2M6Jd3aiNrA==} engines: {node: '>=12.0.0'} builder-util@24.13.1: @@ -1953,8 +1953,8 @@ packages: electron-unhandled@4.0.1: resolution: {integrity: sha512-6BsLnBg+i96eUnbaIFZyYdyfNX3f80/Nlfqy34YEMxXT9JP3ddNsNnUeiOF8ezN4+et4t4D37gjghKTP0V3jyw==} - electron-updater@6.3.4: - resolution: {integrity: sha512-uZUo7p1Y53G4tl6Cgw07X1yF8Jlz6zhaL7CQJDZ1fVVkOaBfE2cWtx80avwDVi8jHp+I/FWawrMgTAeCCNIfAg==} + electron-updater@6.3.9: + resolution: {integrity: sha512-2PJNONi+iBidkoC5D1nzT9XqsE8Q1X28Fn6xRQhO3YX8qRRyJ3mkV4F1aQsuRnYPqq6Hw+E51y27W75WgDoofw==} electron-vite@2.3.0: resolution: {integrity: sha512-lsN2FymgJlp4k6MrcsphGqZQ9fKRdJKasoaiwIrAewN1tapYI/KINLdfEL7n10LuF0pPSNf/IqjzZbB5VINctg==} @@ -5367,14 +5367,14 @@ snapshots: dependencies: node-gyp-build: 4.8.0 - builder-util-runtime@9.2.4: + builder-util-runtime@9.2.10: dependencies: debug: 4.3.7 sax: 1.3.0 transitivePeerDependencies: - supports-color - builder-util-runtime@9.2.5: + builder-util-runtime@9.2.4: dependencies: debug: 4.3.7 sax: 1.3.0 @@ -5954,9 +5954,9 @@ snapshots: lodash.debounce: 4.0.8 serialize-error: 8.1.0 - electron-updater@6.3.4: + electron-updater@6.3.9: dependencies: - builder-util-runtime: 9.2.5 + builder-util-runtime: 9.2.10 fs-extra: 10.1.0 js-yaml: 4.1.0 lazy-val: 1.0.5 From 5b84c9efce600ad77c1f3453805b480aa50cb337 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:06:52 +0900 Subject: [PATCH 21/93] chore(deps): bump braces from 3.0.2 to 3.0.3 (#2466) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cbdf4d45e7..e0c9051534 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -143,7 +143,7 @@ importers: version: 14.2.3 simple-youtube-age-restriction-bypass: specifier: github:organization/Simple-YouTube-Age-Restriction-Bypass#v2.5.9 - version: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6 + version: git+https://git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git#4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6 solid-floating-ui: specifier: 0.3.1 version: 0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.1) @@ -222,7 +222,7 @@ importers: version: 32.1.2 electron-builder: specifier: 24.13.3 - version: 24.13.3(electron-builder-squirrel-windows@24.13.3) + version: 24.13.3(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) electron-devtools-installer: specifier: 3.2.0 version: 3.2.0 @@ -237,7 +237,7 @@ importers: version: 9.11.1 eslint-import-resolver-exports: specifier: 1.0.0-beta.5 - version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1) + version: 1.0.0-beta.5(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1) eslint-import-resolver-typescript: specifier: 3.6.3 version: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) @@ -1463,8 +1463,8 @@ packages: brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} browser-extension-url-match@1.0.0: @@ -2247,8 +2247,8 @@ packages: resolution: {integrity: sha512-vqIlNogKeyD3yzrm0yhRMQg8hOVwYcYRfjEoODd49iCprMn4HL85gK3HcykQE53EPIpX3HcAbGA5ELQv216dAQ==} engines: {node: '>=16'} - fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} find-up@5.0.0: @@ -3567,8 +3567,8 @@ packages: resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} engines: {node: '>=10'} - simple-youtube-age-restriction-bypass@https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: - resolution: {tarball: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6} + simple-youtube-age-restriction-bypass@git+https://git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git#4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: + resolution: {commit: 4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6, repo: git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git, type: git} version: 2.5.9 engines: {node: '>=18.0.0', npm: '>=7.0.0'} @@ -5126,7 +5126,7 @@ snapshots: app-builder-bin@4.0.0: {} - app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): + app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)): dependencies: '@develar/schema-utils': 2.6.5 '@electron/notarize': 2.2.1 @@ -5339,9 +5339,9 @@ snapshots: dependencies: balanced-match: 1.0.2 - braces@3.0.2: + braces@3.0.3: dependencies: - fill-range: 7.0.1 + fill-range: 7.1.1 browser-extension-url-match@1.0.0: dependencies: @@ -5798,7 +5798,7 @@ snapshots: dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) builder-util: 24.13.1 builder-util-runtime: 9.2.4 fs-extra: 10.1.0 @@ -5866,7 +5866,7 @@ snapshots: electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) archiver: 5.3.2 builder-util: 24.13.1 fs-extra: 10.1.0 @@ -5874,9 +5874,9 @@ snapshots: - dmg-builder - supports-color - electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): + electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) builder-util: 24.13.1 builder-util-runtime: 9.2.4 chalk: 4.1.2 @@ -6172,7 +6172,7 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1): + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1): dependencies: eslint: 9.11.1 eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) @@ -6192,7 +6192,7 @@ snapshots: debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.11.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1))(eslint@9.11.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 @@ -6205,7 +6205,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1))(eslint@9.11.1): dependencies: debug: 3.2.7 optionalDependencies: @@ -6227,7 +6227,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1))(eslint@9.11.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6409,7 +6409,7 @@ snapshots: dependencies: filename-reserved-regex: 3.0.0 - fill-range@7.0.1: + fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -7104,7 +7104,7 @@ snapshots: micromatch@4.0.5: dependencies: - braces: 3.0.2 + braces: 3.0.3 picomatch: 2.3.1 mime-db@1.33.0: {} @@ -7742,7 +7742,7 @@ snapshots: dependencies: semver: 7.6.3 - simple-youtube-age-restriction-bypass@https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: {} + simple-youtube-age-restriction-bypass@git+https://git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git#4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: {} sirv@2.0.4: dependencies: From 4cf4f19cccfc2ff2ca22b9e8952022a509780283 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:06:59 +0900 Subject: [PATCH 22/93] chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#2465) Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e0c9051534..e5f8ae7714 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2948,8 +2948,8 @@ packages: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} mime-db@1.33.0: @@ -6369,7 +6369,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.5 + micromatch: 4.0.8 fast-json-stable-stringify@2.1.0: {} @@ -7102,7 +7102,7 @@ snapshots: merge2@1.4.1: {} - micromatch@4.0.5: + micromatch@4.0.8: dependencies: braces: 3.0.3 picomatch: 2.3.1 From b587a1641925cc869baa8accbaa0c039d6d15023 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:30:15 +0900 Subject: [PATCH 23/93] chore(deps): update dependency @stylistic/eslint-plugin-js to v2.9.0 (#2469) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 62 +++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e5f8ae7714..38bc08f3d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -143,7 +143,7 @@ importers: version: 14.2.3 simple-youtube-age-restriction-bypass: specifier: github:organization/Simple-YouTube-Age-Restriction-Bypass#v2.5.9 - version: git+https://git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git#4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6 + version: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6 solid-floating-ui: specifier: 0.3.1 version: 0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.1) @@ -177,7 +177,7 @@ importers: version: 1.47.2 '@stylistic/eslint-plugin-js': specifier: ^2.8.0 - version: 2.8.0(eslint@9.11.1) + version: 2.9.0(eslint@9.11.1) '@total-typescript/ts-reset': specifier: 0.6.1 version: 0.6.1 @@ -222,7 +222,7 @@ importers: version: 32.1.2 electron-builder: specifier: 24.13.3 - version: 24.13.3(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + version: 24.13.3(electron-builder-squirrel-windows@24.13.3) electron-devtools-installer: specifier: 3.2.0 version: 3.2.0 @@ -237,7 +237,7 @@ importers: version: 9.11.1 eslint-import-resolver-exports: specifier: 1.0.0-beta.5 - version: 1.0.0-beta.5(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1) + version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1) eslint-import-resolver-typescript: specifier: 3.6.3 version: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) @@ -1052,8 +1052,8 @@ packages: peerDependencies: solid-js: ^1.6.12 - '@stylistic/eslint-plugin-js@2.8.0': - resolution: {integrity: sha512-/e7pSzVMrwBd6yzSDsKHwax3TS96+pd/xSKzELaTkOuYqUhYfj/becWdfDbFSBGQD7BBBCiiE4L8L2cUfu5h+A==} + '@stylistic/eslint-plugin-js@2.9.0': + resolution: {integrity: sha512-h08DQybPsXxIvHIvQqU1tFWcu74M7kZK/0S0jVIDdoHSFq7jB+TzxikBWAg5j0lPR17WsGGGHAS8GHFlAAQXHA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' @@ -2133,8 +2133,8 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.0.0: - resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} + eslint-visitor-keys@4.1.0: + resolution: {integrity: sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint@9.11.1: @@ -2147,8 +2147,8 @@ packages: jiti: optional: true - espree@10.1.0: - resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} + espree@10.2.0: + resolution: {integrity: sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} esquery@1.5.0: @@ -3567,8 +3567,8 @@ packages: resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} engines: {node: '>=10'} - simple-youtube-age-restriction-bypass@git+https://git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git#4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: - resolution: {commit: 4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6, repo: git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git, type: git} + simple-youtube-age-restriction-bypass@https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: + resolution: {tarball: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6} version: 2.5.9 engines: {node: '>=18.0.0', npm: '>=7.0.0'} @@ -4561,7 +4561,7 @@ snapshots: dependencies: ajv: 6.12.6 debug: 4.3.7 - espree: 10.1.0 + espree: 10.2.0 globals: 14.0.0 ignore: 5.3.2 import-fresh: 3.3.0 @@ -4800,11 +4800,11 @@ snapshots: dependencies: solid-js: 1.9.1 - '@stylistic/eslint-plugin-js@2.8.0(eslint@9.11.1)': + '@stylistic/eslint-plugin-js@2.9.0(eslint@9.11.1)': dependencies: eslint: 9.11.1 - eslint-visitor-keys: 4.0.0 - espree: 10.1.0 + eslint-visitor-keys: 4.1.0 + espree: 10.2.0 '@szmarczak/http-timer@4.0.6': dependencies: @@ -5126,7 +5126,7 @@ snapshots: app-builder-bin@4.0.0: {} - app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)): + app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): dependencies: '@develar/schema-utils': 2.6.5 '@electron/notarize': 2.2.1 @@ -5798,7 +5798,7 @@ snapshots: dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) builder-util: 24.13.1 builder-util-runtime: 9.2.4 fs-extra: 10.1.0 @@ -5866,7 +5866,7 @@ snapshots: electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) archiver: 5.3.2 builder-util: 24.13.1 fs-extra: 10.1.0 @@ -5874,9 +5874,9 @@ snapshots: - dmg-builder - supports-color - electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)): + electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3))(electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3)) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) builder-util: 24.13.1 builder-util-runtime: 9.2.4 chalk: 4.1.2 @@ -6172,7 +6172,7 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1))(eslint@9.11.1): + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1): dependencies: eslint: 9.11.1 eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) @@ -6192,7 +6192,7 @@ snapshots: debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.11.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1))(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 @@ -6205,7 +6205,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1))(eslint@9.11.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): dependencies: debug: 3.2.7 optionalDependencies: @@ -6227,7 +6227,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.11.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1))(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6252,7 +6252,7 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.0.0: {} + eslint-visitor-keys@4.1.0: {} eslint@9.11.1: dependencies: @@ -6274,8 +6274,8 @@ snapshots: debug: 4.3.7 escape-string-regexp: 4.0.0 eslint-scope: 8.0.2 - eslint-visitor-keys: 4.0.0 - espree: 10.1.0 + eslint-visitor-keys: 4.1.0 + espree: 10.2.0 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -6296,11 +6296,11 @@ snapshots: transitivePeerDependencies: - supports-color - espree@10.1.0: + espree@10.2.0: dependencies: acorn: 8.12.1 acorn-jsx: 5.3.2(acorn@8.12.1) - eslint-visitor-keys: 4.0.0 + eslint-visitor-keys: 4.1.0 esquery@1.5.0: dependencies: @@ -7742,7 +7742,7 @@ snapshots: dependencies: semver: 7.6.3 - simple-youtube-age-restriction-bypass@git+https://git@github.com:organization/Simple-YouTube-Age-Restriction-Bypass.git#4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: {} + simple-youtube-age-restriction-bypass@https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: {} sirv@2.0.4: dependencies: From a092da7ba53a220c3a78e210fc234183f6a61ec8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:32:49 +0900 Subject: [PATCH 24/93] chore(deps): update eslint monorepo to v9.12.0 (#2470) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 143 ++++++++++++++++++++++++++----------------------- 2 files changed, 76 insertions(+), 69 deletions(-) diff --git a/package.json b/package.json index b43975c09a..c289131e15 100644 --- a/package.json +++ b/package.json @@ -228,7 +228,7 @@ "electron-devtools-installer": "3.2.0", "electron-vite": "2.3.0", "esbuild": "0.24.0", - "eslint": "9.11.1", + "eslint": "9.12.0", "eslint-import-resolver-exports": "1.0.0-beta.5", "eslint-import-resolver-typescript": "3.6.3", "eslint-plugin-import": "2.31.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 38bc08f3d7..7719a5b737 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -171,13 +171,13 @@ importers: devDependencies: '@eslint/js': specifier: ^9.10.0 - version: 9.11.1 + version: 9.12.0 '@playwright/test': specifier: 1.47.2 version: 1.47.2 '@stylistic/eslint-plugin-js': specifier: ^2.8.0 - version: 2.9.0(eslint@9.11.1) + version: 2.9.0(eslint@9.12.0) '@total-typescript/ts-reset': specifier: 0.6.1 version: 0.6.1 @@ -233,17 +233,17 @@ importers: specifier: 0.24.0 version: 0.24.0 eslint: - specifier: 9.11.1 - version: 9.11.1 + specifier: 9.12.0 + version: 9.12.0 eslint-import-resolver-exports: specifier: 1.0.0-beta.5 - version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1) + version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) + version: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + version: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) glob: specifier: 11.0.0 version: 11.0.0 @@ -261,7 +261,7 @@ importers: version: 5.6.2 typescript-eslint: specifier: ^8.6.0 - version: 8.8.0(eslint@9.11.1)(typescript@5.6.2) + version: 8.8.0(eslint@9.12.0)(typescript@5.6.2) utf-8-validate: specifier: 6.0.4 version: 6.0.4 @@ -785,8 +785,8 @@ packages: resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.11.1': - resolution: {integrity: sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA==} + '@eslint/js@9.12.0': + resolution: {integrity: sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.4': @@ -820,12 +820,20 @@ packages: '@foobar404/wave@2.0.5': resolution: {integrity: sha512-V/ydadtv5ObCw8aEg+Qy3YSq1eyinEWzJfRI43Ovmj7VmAvEdWAdL7MatoMbiIVYPATkNDVF7GOxX1xirxM9dA==} + '@humanfs/core@0.19.0': + resolution: {integrity: sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.5': + resolution: {integrity: sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg==} + engines: {node: '>=18.18.0'} + '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/retry@0.3.0': - resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==} + '@humanwhocodes/retry@0.3.1': + resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} engines: {node: '>=18.18'} '@isaacs/cliui@8.0.2': @@ -2125,8 +2133,8 @@ packages: '@typescript-eslint/parser': optional: true - eslint-scope@8.0.2: - resolution: {integrity: sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==} + eslint-scope@8.1.0: + resolution: {integrity: sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@3.4.3: @@ -2137,8 +2145,8 @@ packages: resolution: {integrity: sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.11.1: - resolution: {integrity: sha512-MobhYKIoAO1s1e4VUrgx1l1Sk2JBR/Gqjjgw8+mfgoLE2xwsHur4gdfTxyTgShrhvdVFTaJSgMiQBl1jv/AWxg==} + eslint@9.12.0: + resolution: {integrity: sha512-UVIOlTEWxwIopRL1wgSQYdnVDcEvs2wyaO6DGo5mXqe3r16IoCNWkR29iHhyaP4cICWjbgbmFUGAhh0GJRuGZw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -2655,10 +2663,6 @@ packages: resolution: {integrity: sha512-kyiNFFLU0Ampr6SDZitD/DwUo4Zs1nSdnygUBqsu3LooL00Qvb5j+UnvApUn/TTj1J3OuE6BTdQ5rudKmU2ZaA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-path-inside@4.0.0: resolution: {integrity: sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==} engines: {node: '>=12'} @@ -4540,9 +4544,9 @@ snapshots: '@esbuild/win32-x64@0.24.0': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.11.1)': + '@eslint-community/eslint-utils@4.4.0(eslint@9.12.0)': dependencies: - eslint: 9.11.1 + eslint: 9.12.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.1': {} @@ -4571,7 +4575,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.11.1': {} + '@eslint/js@9.12.0': {} '@eslint/object-schema@2.1.4': {} @@ -4602,9 +4606,16 @@ snapshots: '@foobar404/wave@2.0.5': {} + '@humanfs/core@0.19.0': {} + + '@humanfs/node@0.16.5': + dependencies: + '@humanfs/core': 0.19.0 + '@humanwhocodes/retry': 0.3.1 + '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/retry@0.3.0': {} + '@humanwhocodes/retry@0.3.1': {} '@isaacs/cliui@8.0.2': dependencies: @@ -4800,9 +4811,9 @@ snapshots: dependencies: solid-js: 1.9.1 - '@stylistic/eslint-plugin-js@2.9.0(eslint@9.11.1)': + '@stylistic/eslint-plugin-js@2.9.0(eslint@9.12.0)': dependencies: - eslint: 9.11.1 + eslint: 9.12.0 eslint-visitor-keys: 4.1.0 espree: 10.2.0 @@ -4945,15 +4956,15 @@ snapshots: '@types/node': 20.12.5 optional: true - '@typescript-eslint/eslint-plugin@8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) '@typescript-eslint/scope-manager': 8.8.0 - '@typescript-eslint/type-utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/type-utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.8.0 - eslint: 9.11.1 + eslint: 9.12.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -4963,14 +4974,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2)': dependencies: '@typescript-eslint/scope-manager': 8.8.0 '@typescript-eslint/types': 8.8.0 '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.8.0 debug: 4.3.7 - eslint: 9.11.1 + eslint: 9.12.0 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -4981,10 +4992,10 @@ snapshots: '@typescript-eslint/types': 8.8.0 '@typescript-eslint/visitor-keys': 8.8.0 - '@typescript-eslint/type-utils@8.8.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.8.0(eslint@9.12.0)(typescript@5.6.2)': dependencies: '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -5010,13 +5021,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.8.0(eslint@9.11.1)(typescript@5.6.2)': + '@typescript-eslint/utils@8.8.0(eslint@9.12.0)(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0) '@typescript-eslint/scope-manager': 8.8.0 '@typescript-eslint/types': 8.8.0 '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) - eslint: 9.11.1 + eslint: 9.12.0 transitivePeerDependencies: - supports-color - typescript @@ -6172,10 +6183,10 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.11.1): + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: - eslint: 9.11.1 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint: 9.12.0 + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6186,37 +6197,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.15.0 - eslint: 9.11.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint: 9.12.0 + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) - eslint: 9.11.1 + '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + eslint: 9.12.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.11.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6225,9 +6236,9 @@ snapshots: array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 9.11.1 + eslint: 9.12.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6239,13 +6250,13 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-scope@8.0.2: + eslint-scope@8.1.0: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 @@ -6254,18 +6265,18 @@ snapshots: eslint-visitor-keys@4.1.0: {} - eslint@9.11.1: + eslint@9.12.0: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0) '@eslint-community/regexpp': 4.11.1 '@eslint/config-array': 0.18.0 '@eslint/core': 0.6.0 '@eslint/eslintrc': 3.1.0 - '@eslint/js': 9.11.1 + '@eslint/js': 9.12.0 '@eslint/plugin-kit': 0.2.0 + '@humanfs/node': 0.16.5 '@humanwhocodes/module-importer': 1.0.1 - '@humanwhocodes/retry': 0.3.0 - '@nodelib/fs.walk': 1.2.8 + '@humanwhocodes/retry': 0.3.1 '@types/estree': 1.0.6 '@types/json-schema': 7.0.15 ajv: 6.12.6 @@ -6273,7 +6284,7 @@ snapshots: cross-spawn: 7.0.3 debug: 4.3.7 escape-string-regexp: 4.0.0 - eslint-scope: 8.0.2 + eslint-scope: 8.1.0 eslint-visitor-keys: 4.1.0 espree: 10.2.0 esquery: 1.5.0 @@ -6285,13 +6296,11 @@ snapshots: ignore: 5.3.2 imurmurhash: 0.1.4 is-glob: 4.0.3 - is-path-inside: 3.0.3 json-stable-stringify-without-jsonify: 1.0.1 lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.3 - strip-ansi: 6.0.1 text-table: 0.2.0 transitivePeerDependencies: - supports-color @@ -6834,8 +6843,6 @@ snapshots: is-path-cwd@3.0.0: {} - is-path-inside@3.0.3: {} - is-path-inside@4.0.0: {} is-plain-obj@1.1.0: {} @@ -8049,11 +8056,11 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.8.0(eslint@9.11.1)(typescript@5.6.2): + typescript-eslint@8.8.0(eslint@9.12.0)(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1)(typescript@5.6.2))(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/parser': 8.8.0(eslint@9.11.1)(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.0(eslint@9.11.1)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: From 4a5f8114857bae774debccaca2dea7c62caca1ce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 19:57:18 +0900 Subject: [PATCH 25/93] fix(deps): update dependency i18next to v23.15.2 (#2471) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index c289131e15..92383880d8 100644 --- a/package.json +++ b/package.json @@ -188,7 +188,7 @@ "filenamify": "6.0.0", "howler": "2.2.4", "html-to-text": "9.0.5", - "i18next": "23.15.1", + "i18next": "23.15.2", "keyboardevent-from-electron-accelerator": "2.0.0", "keyboardevents-areequal": "0.2.2", "node-html-parser": "6.1.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7719a5b737..44b14f779f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -118,8 +118,8 @@ importers: specifier: 9.0.5 version: 9.0.5 i18next: - specifier: 23.15.1 - version: 23.15.1 + specifier: 23.15.2 + version: 23.15.2 keyboardevent-from-electron-accelerator: specifier: 2.0.0 version: 2.0.0 @@ -2510,8 +2510,8 @@ packages: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} - i18next@23.15.1: - resolution: {integrity: sha512-wB4abZ3uK7EWodYisHl/asf8UYEhrI/vj/8aoSsrj/ZDxj4/UXPOa1KvFt1Fq5hkUHquNqwFlDprmjZ8iySgYA==} + i18next@23.15.2: + resolution: {integrity: sha512-zcPSWzCvw6uKnuYHIqs4W7hTuB9e3AFcSdZgvCWoPXIZsBjBd4djN2/2uOHIB+1DFFkQnMBXvhNg7J3WyCuywQ==} iconv-corefoundation@1.1.7: resolution: {integrity: sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==} @@ -6713,7 +6713,7 @@ snapshots: human-signals@2.1.0: {} - i18next@23.15.1: + i18next@23.15.2: dependencies: '@babel/runtime': 7.25.7 From f6b2766ec231dbdc0ace69a81f25d1ff26d8a413 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 12:42:06 +0900 Subject: [PATCH 26/93] fix(deps): update dependency ts-morph to v24 (#2474) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 63 ++++++++++++++++++++++++++++++++------------------ 2 files changed, 42 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 92383880d8..4f7822b2d7 100644 --- a/package.json +++ b/package.json @@ -201,7 +201,7 @@ "solid-js": "1.9.1", "solid-styled-components": "0.28.5", "solid-transition-group": "0.2.3", - "ts-morph": "23.0.0", + "ts-morph": "24.0.0", "vudio": "2.1.1", "x11": "2.3.0", "youtubei.js": "10.5.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 44b14f779f..92e46e45ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -157,8 +157,8 @@ importers: specifier: 0.2.3 version: 0.2.3(solid-js@1.9.1) ts-morph: - specifier: 23.0.0 - version: 23.0.0 + specifier: 24.0.0 + version: 24.0.0 vudio: specifier: 2.1.1 version: 2.1.1(patch_hash=7iux5msqpgl3octdmwy4uspwoe) @@ -1077,8 +1077,8 @@ packages: '@total-typescript/ts-reset@0.6.1': resolution: {integrity: sha512-cka47fVSo6lfQDIATYqb/vO1nvFfbPw7uWLayIXIhGETj0wcOOlrlkobOMDNQOFr9QOafegUPq13V2+6vtD7yg==} - '@ts-morph/common@0.24.0': - resolution: {integrity: sha512-c1xMmNHWpNselmpIqursHeOHHBTIsJLbB+NuovbTTRCNiTLEr/U9dbJ8qy0jd/O2x5pc3seWuOUN5R2IoOTp8A==} + '@ts-morph/common@0.25.0': + resolution: {integrity: sha512-kMnZz+vGGHi4GoHnLmMhGNjm44kGtKUXGnOvrKmMwAuvNjM/PgKVGfUnL7IDvK7Jb2QQ82jq3Zmp04Gy+r3Dkg==} '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -1618,8 +1618,8 @@ packages: clone-response@1.0.3: resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} - code-block-writer@13.0.1: - resolution: {integrity: sha512-c5or4P6erEA69TxaxTNcHUNcIn+oyxSRTOWV+pSYF+z4epXqNvwvJ70XPGjPNgue83oAFAPBRQYwpAJ/Hpe/Sg==} + code-block-writer@13.0.3: + resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -2233,6 +2233,14 @@ packages: fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + fdir@6.4.0: + resolution: {integrity: sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fetch-blob@3.2.0: resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} engines: {node: ^12.20 || >= 14.13} @@ -3064,11 +3072,6 @@ packages: engines: {node: '>=10'} hasBin: true - mkdirp@3.0.1: - resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==} - engines: {node: '>=10'} - hasBin: true - mrmime@2.0.0: resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} engines: {node: '>=10'} @@ -3297,6 +3300,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + playwright-core@1.47.2: resolution: {integrity: sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ==} engines: {node: '>=18'} @@ -3766,6 +3773,10 @@ packages: tiny-typed-emitter@2.1.0: resolution: {integrity: sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==} + tinyglobby@0.2.9: + resolution: {integrity: sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==} + engines: {node: '>=12.0.0'} + tldts-core@6.1.2: resolution: {integrity: sha512-cFBCCSilkRe/7JkZrQlzqhWDE0r1irpEYRp5XiFLFGl8fTwN4eWqutyx9wfFaDfmVv7E7pQMUZnM1VHnOid5Vw==} @@ -3804,8 +3815,8 @@ packages: peerDependencies: typescript: '>=4.2.0' - ts-morph@23.0.0: - resolution: {integrity: sha512-FcvFx7a9E8TUe6T3ShihXJLiJOiqyafzFKUO4aqIHDUCIvADdGNShcbc2W5PMr3LerXRv7mafvFZ9lRENxJmug==} + ts-morph@24.0.0: + resolution: {integrity: sha512-2OAOg/Ob5yx9Et7ZX4CvTCc0UFoZHwLEJ+dpDPSUi5TgwwlTlX47w+iFRrEwzUZwYACjq83cgjS/Da50Ga37uw==} tsconfig-paths@3.15.0: resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} @@ -4825,12 +4836,11 @@ snapshots: '@total-typescript/ts-reset@0.6.1': {} - '@ts-morph/common@0.24.0': + '@ts-morph/common@0.25.0': dependencies: - fast-glob: 3.3.2 minimatch: 9.0.5 - mkdirp: 3.0.1 path-browserify: 1.0.1 + tinyglobby: 0.2.9 '@types/babel__core@7.20.5': dependencies: @@ -5537,7 +5547,7 @@ snapshots: dependencies: mimic-response: 1.0.1 - code-block-writer@13.0.1: {} + code-block-writer@13.0.3: {} color-convert@1.9.3: dependencies: @@ -6396,6 +6406,10 @@ snapshots: dependencies: pend: 1.2.0 + fdir@6.4.0(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + fetch-blob@3.2.0: dependencies: node-domexception: 1.0.0 @@ -7205,8 +7219,6 @@ snapshots: mkdirp@1.0.4: {} - mkdirp@3.0.1: {} - mrmime@2.0.0: {} ms@2.0.0: {} @@ -7434,6 +7446,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.2: {} + playwright-core@1.47.2: {} playwright@1.47.2: @@ -7963,6 +7977,11 @@ snapshots: tiny-typed-emitter@2.1.0: {} + tinyglobby@0.2.9: + dependencies: + fdir: 6.4.0(picomatch@4.0.2) + picomatch: 4.0.2 + tldts-core@6.1.2: {} tldts-experimental@6.1.2: @@ -7995,10 +8014,10 @@ snapshots: dependencies: typescript: 5.6.2 - ts-morph@23.0.0: + ts-morph@24.0.0: dependencies: - '@ts-morph/common': 0.24.0 - code-block-writer: 13.0.1 + '@ts-morph/common': 0.25.0 + code-block-writer: 13.0.3 tsconfig-paths@3.15.0: dependencies: From ca7ccc7b3ec2a854b122c6df82334c905ac353a7 Mon Sep 17 00:00:00 2001 From: Rodrigo Barioni Date: Tue, 8 Oct 2024 14:53:36 +0000 Subject: [PATCH 27/93] chore(i18n): Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (382 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/pt_BR/ --- src/i18n/resources/pt-BR.json | 192 +++++++++++++++++++++++++++++++--- 1 file changed, 175 insertions(+), 17 deletions(-) diff --git a/src/i18n/resources/pt-BR.json b/src/i18n/resources/pt-BR.json index 88b0461f4b..ec958032f8 100644 --- a/src/i18n/resources/pt-BR.json +++ b/src/i18n/resources/pt-BR.json @@ -270,7 +270,7 @@ "smoothness-transition": { "label": "Transição suave", "submenu": { - "during": "Durante {{interpolationTime}} seg." + "during": "Durante {{interpolationTime}} s" } }, "use-fullscreen": { @@ -424,6 +424,8 @@ "submenu": { "advanced": "Avançado", "enabled": "Ativado", + "mode": "Modo de tempo", + "percent": "Porcento", "seconds": "Segundos" } }, @@ -431,21 +433,44 @@ "presets": "Predefinições", "skip-existing": "Pular arquivos existentes" }, - "name": "Download", + "name": "Downloader", "renderer": { "can-not-update-progress": "Não é possível atualizar o progresso" }, "templates": { - "button": "Download" + "button": "Baixar" } }, "exponential-volume": { + "description": "Torna o controle deslizante de volume exponencial para que seja mais fácil selecionar volumes mais baixos.", "name": "Volume Exponencial" }, "in-app-menu": { + "description": "Dá às barras de menu uma aparência elegante, escura ou com a cor do álbum", + "menu": { + "hide-dom-window-controls": "Ocultar controles da janela DOM" + }, "name": "Menu no aplicativo" }, + "lumiastream": { + "description": "Adiciona suporte ao Lumia Stream", + "name": "Lumia Stream [Beta]" + }, + "lyrics-genius": { + "description": "Adiciona suporte a letras para a maioria das músicas", + "menu": { + "romanized-lyrics": "Letras Romanizadas" + }, + "name": "Letras Genius", + "renderer": { + "fetched-lyrics": "Letras buscadas por Genius" + } + }, "music-together": { + "description": "Compartilhe uma playlist com outras pessoas. Quando o anfitrião toca uma música, todos os outros ouvirão", + "dialog": { + "enter-host": "Insira o ID do host" + }, "internal": { "save": "Salvar", "track-source": "Fonte da Faixa", @@ -453,12 +478,22 @@ }, "menu": { "click-to-copy-id": "Copiar ID do host", + "close": "Fechar Music Together", "connected-users": "Usuários Conectados", + "disconnect": "Desconectar Music Together", "empty-user": "Nenhum usuário conectado", + "host": "Anfitrião do Music Together", + "join": "Entrar no Music Together", + "permission": { + "all": "Permitir que os convidados controlem a lista de reprodução e o player", + "host-only": "Somente o host pode controlar a lista de reprodução e o player", + "playlist": "Permitir que os convidados controlem a lista de reprodução" + }, + "set-permission": "Mudar Permissões de Controle", "status": { "disconnected": "Desconectado", "guest": "Conectado como convidado", - "host": "Conectado como Host" + "host": "Conectado como Anfitrião" } }, "name": "Music Together [Beta]", @@ -466,16 +501,27 @@ "add-song-failed": "Falha ao adicionar música", "closed": "Music Together fechado", "disconnected": "Music Together desconectado", - "remove-song-failed": "Falha ao remover música" + "host-failed": "Falha ao hospedar o Music Together", + "id-copied": "ID do anfitrião copiado para a área de transferência", + "id-copy-failed": "Falha ao copiar o ID do anfitrião para a área de transferência", + "join-failed": "Falha ao ingressar no Music Together", + "joined": "Entrou no Music Together", + "permission-changed": "A permissão do Music Together foi alterada para \"{{permission}}\"", + "remove-song-failed": "Falha ao remover música", + "user-connected": "{{name}} juntou-se ao Music Together", + "user-disconnected": "{{name}} saiu do Music Together" } }, "navigation": { + "description": "Setas de navegação para avançar/retornar diretamente integradas na interface, como no seu navegador favorito", "name": "Navegação" }, "no-google-login": { + "description": "Remova os botões e links de login do Google da interface", "name": "Sem login do Google" }, "notifications": { + "description": "Exibir uma notificação quando uma música começar a tocar (notificações interativas estão disponíveis no Windows)", "menu": { "interactive": "Notificações interativas", "interactive-settings": { @@ -486,11 +532,14 @@ "tray-controls": "Abrir/Fechar ao clicar na área de notificação" } }, - "priority": "Prioridade da notificação" + "priority": "Prioridade da notificação", + "toast-style": "Estilo de alerta", + "unpause-notification": "Mostrar notificação ao despausar" }, "name": "Notificações" }, "picture-in-picture": { + "description": "Permite alternar o aplicativo para o modo picture-in-picture", "menu": { "always-on-top": "Sempre no topo", "hotkey": { @@ -498,7 +547,9 @@ "prompt": { "keybind-options": { "hotkey": "Tecla de atalho" - } + }, + "label": "Escolha uma tecla de atalho para alternar entre picture-in-picture", + "title": "Atalho do picture-in-picture" } }, "save-window-position": "Salvar posição da janela", @@ -511,13 +562,17 @@ } }, "playback-speed": { + "description": "Ouça rápido, ouça devagar! Adiciona um controle deslizante que controla a velocidade da música", "name": "Velocidade de reprodução", "templates": { "button": "Velocidade" } }, "precise-volume": { + "description": "Controle o volume com precisão usando a roda do mouse/teclas de atalho, com um HUD personalizado e etapas de volume personalizáveis", "menu": { + "arrows-shortcuts": "Controles de teclas de seta locais", + "custom-volume-steps": "Definir etapas de volume personalizadas", "global-shortcuts": "Teclas de atalho globais" }, "name": "Volume preciso", @@ -526,7 +581,13 @@ "keybind-options": { "decrease": "Diminuir volume", "increase": "Aumentar volume" - } + }, + "label": "Selecione as teclas de atalho global do volume:", + "title": "Teclas de atalho global de volume" + }, + "volume-steps": { + "label": "Escolha as etapas de aumento/diminuição do volume", + "title": "Fases de volume" } } }, @@ -539,12 +600,16 @@ "title": "Escolher qualidade do vídeo" } } - } + }, + "description": "Permite alterar a qualidade do vídeo com um botão na sobreposição de vídeo", + "name": "Alterador de qualidade do vídeo" }, "scrobbler": { + "description": "Adicionar suporte para scrobbling (last.fm, Listenbrainz, etc.)", "dialog": { "lastfm": { "auth-failed": { + "message": "Falha ao autenticar com Last.fm\nOcultar o pop-up até a próxima reinicialização.", "title": "Falha na autenticação" } } @@ -552,42 +617,124 @@ "menu": { "lastfm": { "api-settings": "Configurações da API do Last.fm" - } + }, + "listenbrainz": { + "token": "Insira o token de usuário ListenBrainz" + }, + "scrobble-other-media": "Scrobble outras mídias" }, + "name": "Scrobbler", "prompt": { "lastfm": { - "api-key": "Chave API do Last.fm", - "api-secret": "Segredo da API do Last.fm" + "api-key": "Chave de API do Last.fm", + "api-secret": "Chave secreta da API do Last.fm" + }, + "listenbrainz": { + "token": { + "label": "Insira seu token de usuário do ListenBrainz:", + "title": "ListenBrainz token" + } } } }, "shortcuts": { + "description": "Permite definir teclas de atalho globais para reprodução (reproduzir/pausar/próximo/anterior) e desativar o OSD de mídia substituindo as teclas de mídia, ativando Ctrl/CMD + F para pesquisar, ativando o suporte Linux MPRIS para teclas de mídia e teclas de atalho personalizadas para usuários avançados", + "menu": { + "override-media-keys": "Substituir chaves de multimédia", + "set-keybinds": "Definir controles globais de música" + }, + "name": "Atalhos (& MPRIS)", "prompt": { "keybind": { "keybind-options": { "next": "Próximo", "play-pause": "Reproduzir / Pausar", "previous": "Anterior" - } + }, + "label": "Escolha atalhos de teclado globais para controle de músicas:", + "title": "Atalhos de teclado global" } } }, + "skip-disliked-songs": { + "description": "Ignora músicas marcadas com \"não gostei\"", + "name": "Pular músicas marcadas com \"não gostei\"" + }, "skip-silences": { + "description": "Pular automaticamente seções de silêncio em músicas", "name": "Pular silêncios" }, + "sponsorblock": { + "description": "Pula automaticamente partes não musicais, como introdução/finalização ou partes de videoclipes onde a música não está tocando", + "name": "SponsorBlock [Bloquear patrocínios]" + }, "synced-lyrics": { + "description": "Fornece letras sincronizadas para músicas, usando provedores como LRClib.", + "errors": { + "fetch": "⚠️ - Ocorreu um erro ao buscar a letra. Tente novamente mais tarde.", + "not-found": "⚠️ - Nenhuma letra encontrada para esta música." + }, "menu": { + "default-text-string": { + "label": "Caractere padrão entre letras", + "tooltip": "Escolha o caractere padrão a ser usado para o intervalo entre as letras" + }, "line-effect": { + "label": "Efeito de linha", "submenu": { "focus": { - "label": "Foco" + "label": "Foco", + "tooltip": "Deixe apenas a linha atual branca" + }, + "offset": { + "label": "Deslocar", + "tooltip": "Deslocamento à direita da linha atual" + }, + "scale": { + "label": "Aumentar", + "tooltip": "Aumentar a linha atual" } - } + }, + "tooltip": "Escolha o efeito a ser aplicado à linha atual" + }, + "precise-timing": { + "label": "Deixa as letras perfeitamente sincronizadas", + "tooltip": "Calcular até o milissegundo a exibição da próxima linha (pode ter um pequeno impacto no desempenho)" + }, + "show-lyrics-even-if-inexact": { + "label": "Mostrar letras mesmo que não sejam exatas", + "tooltip": "Se a música não for encontrada, o plugin tenta novamente com uma consulta de pesquisa diferente.\nO resultado da segunda tentativa pode não ser exato." + }, + "show-time-codes": { + "label": "Mostrar códigos de tempo", + "tooltip": "Mostrar os códigos de tempo ao lado das letras" } }, - "name": "Letras sincronizadas" + "name": "Letras sincronizadas", + "refetch-btn": { + "fetching": "Buscando...", + "normal": "Buscar letras novamente" + }, + "warnings": { + "duration-mismatch": "⚠️ - A letra pode estar dessincronizada devido a uma incompatibilidade de duração.", + "inexact": "⚠️ - A letra desta música pode não ser exata", + "instrumental": "⚠️ - Esta é uma música instrumental" + } + }, + "taskbar-mediacontrol": { + "description": "Controle a reprodução na barra de tarefas do Windows", + "name": "Controle de mídia da barra de tarefas" + }, + "touchbar": { + "description": "Adiciona um widget TouchBar para usuários do macOS", + "name": "TouchBar" + }, + "tuna-obs": { + "description": "Integração com o plugin Tuna do OBS", + "name": "Tuna OBS" }, "video-toggle": { + "description": "Adiciona um botão para alternar entre o modo Vídeo/Música. Também é possível remover opcionalmente toda a aba de vídeo", "menu": { "align": { "label": "Alinhamento", @@ -597,16 +744,27 @@ "right": "Direita" } }, + "force-hide": "Forçar remoção da aba de vídeo", "mode": { "label": "Modo", "submenu": { - "disabled": "Desativado" + "custom": "Alternância personalizada", + "disabled": "Desativado", + "native": "Alternância nativa" } } }, + "name": "Alternar vídeo", "templates": { "button": "Música" } + }, + "visualizer": { + "description": "Adiciona um visualizador ao player", + "menu": { + "visualizer-type": "Tipo de visualizador" + }, + "name": "Visualizador" } } } From ee354ff6785dda3132dab82ec7cee47249920e1d Mon Sep 17 00:00:00 2001 From: maril Date: Thu, 10 Oct 2024 01:45:13 +0200 Subject: [PATCH 28/93] chore(i18n): Added translation using Weblate (Persian) --- src/i18n/resources/fa.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/i18n/resources/fa.json diff --git a/src/i18n/resources/fa.json b/src/i18n/resources/fa.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/src/i18n/resources/fa.json @@ -0,0 +1 @@ +{} From 8cc8160f70a5bf5d176acdb3b3383d06dc9ec4c5 Mon Sep 17 00:00:00 2001 From: maril Date: Wed, 9 Oct 2024 23:56:25 +0000 Subject: [PATCH 29/93] chore(i18n): Translated using Weblate (Persian) Currently translated at 22.5% (86 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/fa/ --- src/i18n/resources/fa.json | 177 ++++++++++++++++++++++++++++++++++++- 1 file changed, 176 insertions(+), 1 deletion(-) diff --git a/src/i18n/resources/fa.json b/src/i18n/resources/fa.json index 0967ef424b..02f18c40c4 100644 --- a/src/i18n/resources/fa.json +++ b/src/i18n/resources/fa.json @@ -1 +1,176 @@ -{} +{ + "common": { + "console": { + "plugins": { + "execute-failed": "اجرای افزونه {{pluginName}}::{{contextName}} با خطا مواجه شد", + "executed-at-ms": "افزونه {{pluginName}}::{{contextName}} در {{ms}} میلی‌ثانیه اجرا شد", + "initialize-failed": "افزونه \"{{pluginName}}\" با خطا در حین مقداردهی اولیه مواجه شد", + "load-all": "در حال بارگذاری تمامی افزونه‌ها", + "load-failed": "افزونه \"{{pluginName}}\" بارگیری نشد", + "loaded": "افزونه \"{{pluginName}}\" بارگیری شد", + "unload-failed": "افزونه \"{{pluginName}}\" بارگذاری نشد", + "unloaded": "افزونه \"{{pluginName}}\" بارگذاری شد" + } + } + }, + "language": { + "code": "فا", + "local-name": "فارسی", + "name": "فارسی" + }, + "main": { + "console": { + "did-finish-load": { + "dev-tools": "بارگذاری کامل شد. DevTools باز شد" + }, + "i18n": { + "loaded": "i18n بارگذاری شد" + }, + "second-instance": { + "receive-command": "دریافت فرمان از طریق پروتکل: \"{{command}}\"" + }, + "theme": { + "css-file-not-found": "فایل CSS \"{{cssFile}}\" وجود ندارد، نادیده گرفته شد" + }, + "unresponsive": { + "details": "خطای عدم پاسخگویی!\n{{error}}" + }, + "when-ready": { + "clearing-cache-after-20s": "پاکسازی حافظه کش برنامه" + }, + "window": { + "tried-to-render-offscreen": "پنجره تلاش کرد خارج از صفحه نمایش داده شود، اندازه پنجره={{windowSize}}، اندازه نمایشگر={{displaySize}}، موقعیت={{position}}" + } + }, + "dialog": { + "hide-menu-enabled": { + "detail": "منو مخفی است، از 'Alt' برای نمایش آن استفاده کنید (یا 'Escape' اگر از منوی داخل برنامه استفاده می‌کنید)", + "message": "پنهان‌سازی منو فعال است", + "title": "پنهان کردن منو فعال شد" + }, + "need-to-restart": { + "buttons": { + "later": "بعداً", + "restart-now": "هم‌اکنون راه‌اندازی مجدد کنید" + }, + "detail": "افزونه \"{{pluginName}}\" برای اعمال تغییرات نیاز به راه‌اندازی مجدد دارد", + "message": "\"{{pluginName}}\" نیاز به راه‌اندازی مجدد دارد", + "title": "نیاز به راه‌اندازی مجدد" + }, + "unresponsive": { + "buttons": { + "quit": "خروج", + "relaunch": "راه‌اندازی مجدد", + "wait": "منتظر بمانید" + }, + "detail": "از بابت این مشکل متأسفیم! لطفاً انتخاب کنید که چه کاری انجام دهید:", + "message": "برنامه پاسخی نمی‌دهد", + "title": "پنجره بدون پاسخ" + }, + "update-available": { + "buttons": { + "disable": "غیرفعال کردن به‌روزرسانی‌ها", + "download": "دانلود", + "ok": "تأیید" + }, + "detail": "نسخه جدیدی در دسترس است و می‌توان آن را از {{downloadLink}} دانلود کرد", + "message": "نسخه جدیدی در دسترس است", + "title": "به‌روزرسانی موجود است" + } + }, + "menu": { + "about": "درباره", + "navigation": { + "label": "ناوبری", + "submenu": { + "copy-current-url": "کپی کردن URL فعلی", + "go-back": "بازگشت", + "go-forward": "حرکت به جلو", + "quit": "خروجی", + "restart": "راه‌اندازی مجدد برنامه" + } + }, + "options": { + "label": "گزینه‌ها", + "submenu": { + "advanced-options": { + "label": "گزینه‌های پیشرفته", + "submenu": { + "auto-reset-app-cache": "ریست کردن حافظه کش برنامه هنگام شروع", + "disable-hardware-acceleration": "غیرفعال کردن شتاب سخت‌افزاری", + "edit-config-json": "ویرایش config.json", + "override-user-agent": "تغییر User-Agent", + "restart-on-config-changes": "راه‌اندازی مجدد در صورت تغییرات در پیکربندی", + "set-proxy": { + "label": "تنظیم پراکسی", + "prompt": { + "label": "آدرس پراکسی را وارد کنید: (برای غیرفعال کردن، خالی بگذارید)", + "placeholder": "مثال: SOCKS5://127.0.0.1:9999", + "title": "تنظیم پراکسی" + } + }, + "toggle-dev-tools": "باز کردن DevTools" + } + }, + "always-on-top": "همیشه در بالا", + "auto-update": "به‌روزرسانی خودکار", + "hide-menu": { + "dialog": { + "message": "منو در اجرای بعدی مخفی خواهد بود، از [Alt] برای نمایش استفاده کنید (یا [`] اگر از منوی داخل برنامه استفاده می‌کنید)", + "title": "پنهان‌سازی منو فعال شد" + }, + "label": "پنهان کردن منو" + }, + "language": { + "dialog": { + "message": "زبان پس از راه‌اندازی مجدد تغییر خواهد کرد", + "title": "زبان تغییر کرد" + }, + "label": "زبان", + "submenu": { + "to-help-translate": "می‌خواهید به ترجمه کمک کنید؟ اینجا کلیک کنید" + } + }, + "resume-on-start": "ادامه آخرین آهنگ هنگام شروع برنامه", + "single-instance-lock": "قفل تنها یک نمونه", + "start-at-login": "شروع هنگام ورود", + "starting-page": { + "label": "صفحه شروع", + "unset": "لغو تنظیم" + }, + "tray": { + "label": "نوار", + "submenu": { + "disabled": "غیرفعال", + "enabled-and-hide-app": "فعال و پنهان کردن برنامه", + "enabled-and-show-app": "فعال و نمایش برنامه", + "play-pause-on-click": "پخش/توقف با کلیک" + } + }, + "visual-tweaks": { + "label": "تغییرات ظاهری", + "submenu": { + "like-buttons": { + "default": "پیش‌فرض", + "force-show": "اجبار به نمایش", + "hide": "پنهان کردن", + "label": "دکمه‌های پسندیدن" + }, + "remove-upgrade-button": "حذف دکمه ارتقا", + "theme": { + "dialog": { + "button": { + "cancel": "لغو", + "remove": "حذف" + }, + "remove-theme": "آیا مطمئن هستید که می‌خواهید تم سفارشی را حذف کنید؟", + "remove-theme-message": "این کار تم سفارشی را حذف خواهد کرد" + } + } + } + } + } + } + } + } +} From fade340e80c780247cea5adebd920359f7bf7d8f Mon Sep 17 00:00:00 2001 From: Zakaria ahmed Date: Thu, 10 Oct 2024 23:29:39 +0000 Subject: [PATCH 30/93] chore(i18n): Translated using Weblate (Arabic) Currently translated at 28.0% (107 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/ar/ --- src/i18n/resources/ar.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/i18n/resources/ar.json b/src/i18n/resources/ar.json index 044159e2ca..3cf15dd8a6 100644 --- a/src/i18n/resources/ar.json +++ b/src/i18n/resources/ar.json @@ -194,7 +194,21 @@ } }, "tray": { - "next": "التالي" + "next": "التالي", + "previous": "السابق", + "quit": "خروج", + "restart": "إعادة تشغيل التطبيق", + "show": "عرض النافدة", + "tooltip": { + "default": "يوتيوب اغاني", + "with-song-info": "يوتيوب أغاني: {{الفنان}}-{{العنوان}}" + } + } + }, + "plugins": { + "adblocker": { + "description": "حجب جميع الإعلانات والمسارات خارج الصندوق", + "name": "حاجب الإعلانات" } } } From ead448ed98095339557903eb0f84c4a6d0f32058 Mon Sep 17 00:00:00 2001 From: maril Date: Thu, 10 Oct 2024 18:41:31 +0000 Subject: [PATCH 31/93] chore(i18n): Translated using Weblate (Persian) Currently translated at 51.0% (195 of 382 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/fa/ --- src/i18n/resources/fa.json | 221 +++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) diff --git a/src/i18n/resources/fa.json b/src/i18n/resources/fa.json index 02f18c40c4..d1671dec80 100644 --- a/src/i18n/resources/fa.json +++ b/src/i18n/resources/fa.json @@ -165,11 +165,232 @@ }, "remove-theme": "آیا مطمئن هستید که می‌خواهید تم سفارشی را حذف کنید؟", "remove-theme-message": "این کار تم سفارشی را حذف خواهد کرد" + }, + "label": "تم", + "submenu": { + "import-css-file": "وارد کردن فایل CSS سفارشی", + "no-theme": "بدون تم" } } } } } + }, + "plugins": { + "enabled": "فعال", + "label": "افزونه‌ها", + "new": "جدید" + }, + "view": { + "label": "مشاهده", + "submenu": { + "force-reload": "اجبار به بارگذاری مجدد", + "reload": "بارگذاری مجدد", + "reset-zoom": "اندازه واقعی", + "toggle-fullscreen": "تغییر به تمام‌صفحه", + "zoom-in": "بزرگنمایی", + "zoom-out": "کوچکنمایی" + } + } + }, + "tray": { + "next": "بعدی", + "play-pause": "پخش/توقف", + "previous": "قبلی", + "quit": "خروجی", + "restart": "راه‌اندازی مجدد برنامه", + "show": "نمایش پنجره", + "tooltip": { + "default": "یوتیوب موسیقی", + "with-song-info": "یوتیوب موسیقی: {{artist}} - {{title}}" + } + } + }, + "plugins": { + "ad-speedup": { + "description": "اگر تبلیغ پخش شود، صدا را بی‌صدا کرده و سرعت پخش را به 16 برابر افزایش می‌دهد", + "name": "سرعت‌دهی به تبلیغ" + }, + "adblocker": { + "description": "مسدود کردن تمامی تبلیغات و ردیابی‌ها از ابتدا", + "menu": { + "blocker": "مسدودکننده" + }, + "name": "مسدودکننده تبلیغات" + }, + "album-actions": { + "description": "افزودن دکمه‌های \"برگرفتن ناپسند\"، \"ناپسند\"، \"پسند\"، و \"حذف پسند\" برای اعمال آنها روی همه آهنگ‌ها در یک فهرست پخش یا آلبوم", + "name": "عملیات آلبوم" + }, + "album-color-theme": { + "description": "اعمال یک تم پویا و جلوه‌های بصری بر اساس پالت رنگ آلبوم", + "menu": { + "color-mix-ratio": { + "label": "نسبت ترکیب رنگ" + } + }, + "name": "تم رنگ آلبوم" + }, + "ambient-mode": { + "description": "اعمال یک اثر نوری با پخش رنگ‌های ملایم از ویدئو به پس‌زمینه صفحه نمایش شما", + "menu": { + "blur-amount": { + "label": "میزان تاری", + "submenu": { + "pixels": "{{blurAmount}} پیکسل" + } + }, + "buffer": { + "label": "بافر" + }, + "opacity": { + "label": "شفافیت" + }, + "quality": { + "label": "کیفیت", + "submenu": { + "pixels": "{{quality}} پیکسل" + } + }, + "size": { + "label": "اندازه" + }, + "smoothness-transition": { + "label": "انتقال نرمی", + "submenu": { + "during": "در طول {{interpolationTime}} ثانیه" + } + }, + "use-fullscreen": { + "label": "استفاده از تمام‌صفحه" + } + }, + "name": "حالت محیطی" + }, + "audio-compressor": { + "description": "اعمال فشرده‌سازی به صدا (کاهش حجم بلندترین بخش‌های سیگنال و افزایش حجم بخش‌های نرم‌تر)", + "name": "فشرده‌ساز صدا" + }, + "blur-nav-bar": { + "description": "شفاف و محو کردن نوار ناوبری", + "name": "محو کردن نوار ناوبری" + }, + "bypass-age-restrictions": { + "description": "دور زدن تأیید سن یوتیوب", + "name": "دور زدن محدودیت‌های سنی" + }, + "captions-selector": { + "description": "انتخاب زیرنویس برای آهنگ‌های یوتیوب موسیقی", + "menu": { + "autoload": "به طور خودکار انتخاب آخرین زیرنویس استفاده شده", + "disable-captions": "بدون زیرنویس به صورت پیش‌فرض" + }, + "name": "انتخاب‌کننده زیرنویس", + "prompt": { + "selector": { + "label": "زبان زیرنویس فعلی: {{language}}", + "none": "هیچ‌کدام", + "title": "انتخاب زبان زیرنویس" + } + }, + "templates": { + "title": "باز کردن انتخاب‌کننده زیرنویس" + } + }, + "compact-sidebar": { + "description": "همیشه نوار کناری را در حالت فشرده تنظیم کن", + "name": "نوار کناری فشرده" + }, + "crossfade": { + "description": "تداخل بین آهنگ‌ها", + "menu": { + "advanced": "پیشرفته" + }, + "name": "تداخل [بتا]", + "prompt": { + "options": { + "multi-input": { + "fade-in-duration": "مدت زمان ورود تدریجی (میلی‌ثانیه)", + "fade-out-duration": "مدت زمان خروج تدریجی (میلی‌ثانیه)", + "fade-scaling": { + "label": "مقیاس‌بندی ورود تدریجی", + "linear": "خطی", + "logarithmic": "لگاریتمی" + }, + "seconds-before-end": "تداخل N ثانیه قبل از پایان" + }, + "title": "گزینه‌های تداخل" + } + } + }, + "disable-autoplay": { + "description": "شروع آهنگ در حالت \"توقف\"", + "menu": { + "apply-once": "فقط در شروع اعمال می‌شود" + }, + "name": "غیرفعال کردن پخش خودکار" + }, + "discord": { + "backend": { + "already-connected": "تلاش برای اتصال با اتصال فعال", + "connected": "متصل به Discord", + "disconnected": "قطع اتصال از Discord" + }, + "description": "نمایش آنچه گوش می‌دهید به دوستان با Rich Presence", + "menu": { + "auto-reconnect": "اتصال خودکار مجدد", + "clear-activity": "پاک کردن فعالیت", + "clear-activity-after-timeout": "پاک کردن فعالیت پس از تایم‌اوت", + "connected": "متصل", + "disconnected": "قطع شده", + "hide-duration-left": "مخفی کردن مدت زمان باقی‌مانده", + "hide-github-button": "مخفی کردن دکمه لینک GitHub", + "play-on-youtube-music": "پخش در یوتیوب موسیقی", + "set-inactivity-timeout": "تنظیم تایم‌اوت عدم فعالیت" + }, + "name": "Rich Presence در Discord", + "prompt": { + "set-inactivity-timeout": { + "label": "ورود تایم‌اوت عدم فعالیت به ثانیه:", + "title": "تنظیم تایم‌اوت عدم فعالیت" + } + } + }, + "downloader": { + "backend": { + "dialog": { + "error": { + "buttons": { + "ok": "تأیید" + }, + "message": "اوه! متاسفیم، دانلود شکست خورد…", + "title": "خطا در دانلود!" + }, + "start-download-playlist": { + "buttons": { + "ok": "تأیید" + }, + "detail": "({{playlistSize}} آهنگ)", + "message": "دانلود فهرست پخش {{playlistTitle}}", + "title": "دانلود شروع شد" + } + }, + "feedback": { + "conversion-progress": "تبدیل: {{percent}}%", + "converting": "در حال تبدیل…", + "done": "انجام شد: {{filePath}}", + "download-info": "در حال دانلود {{artist}} - {{title}} [{{videoId}}", + "download-progress": "دانلود: {{percent}}%", + "downloading": "در حال دانلود…", + "downloading-counter": "در حال دانلود {{current}}/{{total}}…", + "downloading-playlist": "در حال دانلود فهرست پخش \"{{playlistTitle}}\" - {{playlistSize}} آهنگ ({{playlistId}})", + "error-while-downloading": "خطا در دانلود \"{{author}} - {{title}}\": {{error}}", + "folder-already-exists": "پوشه {{playlistFolder}} از قبل وجود دارد", + "getting-playlist-info": "در حال دریافت اطلاعات فهرست پخش…", + "loading": "در حال بارگذاری…", + "playlist-has-only-one-song": "فهرست پخش فقط یک آیتم دارد، به طور مستقیم دانلود می‌شود", + "playlist-id-not-found": "شناسه فهرست پخش یافت نشد" + } } } } From a979f1c8ea653ccc2e21f2500e4b1e588d9561c0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:09:28 +0900 Subject: [PATCH 32/93] fix(deps): update dependency deepmerge-ts to v7.1.3 (#2481) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4f7822b2d7..1a5b8bef90 100644 --- a/package.json +++ b/package.json @@ -176,7 +176,7 @@ "conf": "13.0.1", "custom-electron-prompt": "1.5.8", "dbus-next": "0.10.2", - "deepmerge-ts": "7.1.1", + "deepmerge-ts": "7.1.3", "electron-debug": "4.0.1", "electron-is": "3.0.0", "electron-localshortcut": "3.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 92e46e45ac..cf2081946a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: 0.10.2 version: 0.10.2 deepmerge-ts: - specifier: 7.1.1 - version: 7.1.1 + specifier: 7.1.3 + version: 7.1.3 electron-debug: specifier: 4.0.1 version: 4.0.1 @@ -1799,8 +1799,8 @@ packages: deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge-ts@7.1.1: - resolution: {integrity: sha512-M27OAbyR/XgJujhAd6ZlYvZGzejbzvGPSZWwuzezPCdKLT9VMtK0kpRNDc5LeUDYqFN3e254gWG1yKpjidCtow==} + deepmerge-ts@7.1.3: + resolution: {integrity: sha512-qCSH6I0INPxd9Y1VtAiLpnYvz5O//6rCfJXKk0z66Up9/VOSr+1yS8XSKA5IWRxjocFGlzPyaZYe+jxq7OOLtQ==} engines: {node: '>=16.0.0'} deepmerge@4.3.1: @@ -5756,7 +5756,7 @@ snapshots: deep-is@0.1.4: {} - deepmerge-ts@7.1.1: {} + deepmerge-ts@7.1.3: {} deepmerge@4.3.1: {} From 4c23b1f9704e4e30a2a008d0749c7cd8d2d597f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:09:34 +0900 Subject: [PATCH 33/93] chore(deps): update dependency electron-builder to v25 (#2406) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 330 +++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 310 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 1a5b8bef90..5e8236d7e4 100644 --- a/package.json +++ b/package.json @@ -224,7 +224,7 @@ "del-cli": "5.1.0", "discord-api-types": "0.37.101", "electron": "32.1.2", - "electron-builder": "24.13.3", + "electron-builder": "25.1.8", "electron-devtools-installer": "3.2.0", "electron-vite": "2.3.0", "esbuild": "0.24.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf2081946a..2b742e8600 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -221,8 +221,8 @@ importers: specifier: 32.1.2 version: 32.1.2 electron-builder: - specifier: 24.13.3 - version: 24.13.3(electron-builder-squirrel-windows@24.13.3) + specifier: 25.1.8 + version: 25.1.8(electron-builder-squirrel-windows@24.13.3) electron-devtools-installer: specifier: 3.2.0 version: 3.2.0 @@ -467,11 +467,25 @@ packages: resolution: {integrity: sha512-aL+bFMIkpR0cmmj5Zgy0LMKEpgy43/hw5zadEArgmAMWWlKc5buwFvFT9G/o/YJkvXAJm5q3iuTuLaiaXW39sg==} engines: {node: '>= 10.0.0'} + '@electron/notarize@2.5.0': + resolution: {integrity: sha512-jNT8nwH1f9X5GEITXaQ8IF/KdskvIkOFfB2CvwumsveVidzpSc+mvhhTMdAGSYF3O+Nq49lJ7y+ssODRXu06+A==} + engines: {node: '>= 10.0.0'} + '@electron/osx-sign@1.0.5': resolution: {integrity: sha512-k9ZzUQtamSoweGQDV2jILiRIHUu7lYlJ3c6IEmjv1hC17rclE+eb9U+f6UFlOOETo0JzY1HNlXy4YOlCvl+Lww==} engines: {node: '>=12.0.0'} hasBin: true + '@electron/osx-sign@1.3.1': + resolution: {integrity: sha512-BAfviURMHpmb1Yb50YbCxnOY0wfwaLXH5KJ4+80zS0gUkzDX3ec23naTlEqKsN+PwYn+a1cCzM7BJ4Wcd3sGzw==} + engines: {node: '>=12.0.0'} + hasBin: true + + '@electron/rebuild@3.6.1': + resolution: {integrity: sha512-f6596ZHpEq/YskUd8emYvOUne89ij8mQgjYFA5ru25QwbrRO+t1SImofdDv7kKOuWCmVOuU5tvfkbgGxIl3E/w==} + engines: {node: '>=12.13.0'} + hasBin: true + '@electron/remote@2.1.2': resolution: {integrity: sha512-EPwNx+nhdrTBxyCqXt/pftoQg/ybtWDW3DUWHafejvnB1ZGGfMpv6e15D8KeempocjXe78T7WreyGGb3mlZxdA==} peerDependencies: @@ -1339,6 +1353,9 @@ packages: app-builder-bin@4.0.0: resolution: {integrity: sha512-xwdG0FJPQMe0M0UA4Tz0zEB8rBJTRA5a476ZawAqiBkMv16GRK5xpXThOjMaEOFnZ6zabejjG4J3da0SXG63KA==} + app-builder-bin@5.0.0-alpha.10: + resolution: {integrity: sha512-Ev4jj3D7Bo+O0GPD2NMvJl+PGiBAfS7pUGawntBNpCbxtpncfUixqFj9z9Jme7V7s3LBGqsWZZP54fxBX3JKJw==} + app-builder-lib@24.13.3: resolution: {integrity: sha512-FAzX6IBit2POXYGnTCT8YHFO/lr5AapAII6zzhQO3Rw4cEDOgK+t1xhLc5tNcKlicTHlo9zxIwnYCX9X2DLkig==} engines: {node: '>=14.0.0'} @@ -1346,6 +1363,13 @@ packages: dmg-builder: 24.13.3 electron-builder-squirrel-windows: 24.13.3 + app-builder-lib@25.1.8: + resolution: {integrity: sha512-pCqe7dfsQFBABC1jeKZXQWhGcCPF3rPCXDdfqVKjIeWBcXzyC1iOWZdfFhGl+S9MyE/k//DFmC6FzuGAUudNDg==} + engines: {node: '>=14.0.0'} + peerDependencies: + dmg-builder: 25.1.8 + electron-builder-squirrel-windows: 25.1.8 + arch@2.2.0: resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==} @@ -1507,6 +1531,9 @@ packages: builder-util@24.13.1: resolution: {integrity: sha512-NhbCSIntruNDTOVI9fdXz0dihaqX2YuE1D6zZMrwiErzH4ELZHE6mdiB40wEgZNprDia+FghRFgKoAqMZRRjSA==} + builder-util@25.1.7: + resolution: {integrity: sha512-7jPjzBwEGRbwNcep0gGNpLXG9P94VA3CPAZQCzxkFXiV2GMQKlziMbY//rXPI7WKfhsvGgFXjTcXdBEwgXw9ww==} + builtin-modules@4.0.0: resolution: {integrity: sha512-p1n8zyCkt1BVrKNFymOHjcDSAl7oq/gUvfgULv2EblgpPVQlQr9yHnWjg9IJ2MhfwPqiYqMMrr01OY7yQoK2yA==} engines: {node: '>=18.20'} @@ -1603,6 +1630,14 @@ packages: resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} engines: {node: '>=10'} + cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + cli-truncate@2.1.0: resolution: {integrity: sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==} engines: {node: '>=8'} @@ -1618,6 +1653,10 @@ packages: clone-response@1.0.3: resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + code-block-writer@13.0.3: resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} @@ -1675,6 +1714,9 @@ packages: config-file-ts@0.2.6: resolution: {integrity: sha512-6boGVaglwblBgJqGyxm4+xCmEGcWgnWHSWHY5jad58awQhB6gftq0G8HbzU39YqCIYHMLAiL1yjwiZ36m/CL8w==} + config-file-ts@0.2.8-rc1: + resolution: {integrity: sha512-GtNECbVI82bT4RiDIzBSVuTKoSHufnU7Ce7/42bkWZJZFLjmDF2WBpVsvRkhKCfKBnTBb3qZrBwPpFBU/Myvhg==} + content-disposition@0.5.2: resolution: {integrity: sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==} engines: {node: '>= 0.6'} @@ -1815,6 +1857,9 @@ packages: resolution: {integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==} engines: {node: '>=18'} + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + defer-to-connect@2.0.1: resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==} engines: {node: '>=10'} @@ -1844,6 +1889,10 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} + detect-libc@2.0.3: + resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} + engines: {node: '>=8'} + detect-node@2.1.0: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} @@ -1860,8 +1909,8 @@ packages: discord-api-types@0.37.83: resolution: {integrity: sha512-urGGYeWtWNYMKnYlZnOnDHm8fVRffQs3U0SpE8RHeiuLKb/u92APS8HoQnPTFbnXmY1vVnXjXO4dOxcAn3J+DA==} - dmg-builder@24.13.3: - resolution: {integrity: sha512-rcJUkMfnJpfCboZoOOPf4L29TRtEieHNOeAbYPWPxlaBw/Z1RKrRA86dOI9rwaI4tQSc/RD82zTNHprfUHXsoQ==} + dmg-builder@25.1.8: + resolution: {integrity: sha512-NoXo6Liy2heSklTI5OIZbCgXC1RzrDQsZkeEwXhdOro3FT1VBOvbubvscdPnjVuQ4AMwwv61oaH96AbiYg9EnQ==} dmg-license@1.0.11: resolution: {integrity: sha512-ZdzmqwKmECOWJpqefloC5OJy1+WZBBse5+MR88z9g9Zn4VY+WYUkAyojmhzJckH5YbbZGcYIuGAkY5/Ys5OM2Q==} @@ -1890,9 +1939,17 @@ packages: resolution: {integrity: sha512-1gxPBJpI/pcjQhKgIU91II6Wkay+dLcN3M6rf2uwP8hRur3HtQXjVrdAK3sjC0piaEuxzMwjXChcETiJl47lAQ==} engines: {node: '>=18'} + dotenv-expand@11.0.6: + resolution: {integrity: sha512-8NHi73otpWsZGBSZwwknTXS5pqMOrk9+Ssrna8xCaxkzEpU9OTf9R5ArQGVw03//Zmk9MOwLPng9WwndvpAJ5g==} + engines: {node: '>=12'} + dotenv-expand@5.1.0: resolution: {integrity: sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==} + dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} + engines: {node: '>=12'} + dotenv@9.0.2: resolution: {integrity: sha512-I9OvvrHp4pIARv4+x9iuewrWycX6CcZtoAu1XrzPxc5UygMJXJZYmBsynku8IkrJwgypE5DGNjDPmPRhDCptUg==} engines: {node: '>=10'} @@ -1917,8 +1974,8 @@ packages: electron-builder-squirrel-windows@24.13.3: resolution: {integrity: sha512-oHkV0iogWfyK+ah9ZIvMDpei1m9ZRpdXcvde1wTpra2U8AFDNNpqJdnin5z+PM1GbQ5BoaKCWas2HSjtR0HwMg==} - electron-builder@24.13.3: - resolution: {integrity: sha512-yZSgVHft5dNVlo31qmJAe4BVKQfFdwpRw7sFp1iQglDRCDD6r22zfRJuZlhtB5gp9FHUxCMEoWGq10SkCnMAIg==} + electron-builder@25.1.8: + resolution: {integrity: sha512-poRgAtUHHOnlzZnc9PK4nzG53xh74wj2Jy7jkTrqZ0MWPoHGh1M2+C//hGeYdA+4K8w4yiVCNYoLXF7ySj2Wig==} engines: {node: '>=14.0.0'} hasBin: true @@ -1951,6 +2008,9 @@ packages: electron-publish@24.13.1: resolution: {integrity: sha512-2ZgdEqJ8e9D17Hwp5LEq5mLQPjqU3lv/IALvgp+4W8VeNhryfGhYEQC/PgDPMrnWUp+l60Ou5SJLsu+k4mhQ8A==} + electron-publish@25.1.7: + resolution: {integrity: sha512-+jbTkR9m39eDBMP4gfbqglDd6UvBC7RLh5Y0MhFSsc6UkGHj9Vj9TWobxevHYMMqmoujL11ZLjfPpMX+Pt6YEg==} + electron-store@10.0.0: resolution: {integrity: sha512-BU/QZh+5twHBprRdLu3YZX/rIarmZzhTNpJvAvqG1/yN0mNCrsMh0kl7bM4xaUKDNRiHz1r7wP/7Prjh7cleIw==} engines: {node: '>=20'} @@ -2649,6 +2709,10 @@ packages: engines: {node: '>=14.16'} hasBin: true + is-interactive@1.0.0: + resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} + engines: {node: '>=8'} + is-lambda@1.0.1: resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==} @@ -2710,6 +2774,10 @@ packages: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} + is-unicode-supported@0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + is-url@1.2.4: resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} @@ -2898,6 +2966,10 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + log-symbols@4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + long@4.0.0: resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} @@ -3097,9 +3169,16 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} + node-abi@3.68.0: + resolution: {integrity: sha512-7vbj10trelExNjFSBm5kTvZXXa7pZyKWx9RCKIyqe6I9Ev3IzGpQoqBP3a+cOdxY+pWj6VkP28n/2wWysBHD/A==} + engines: {node: '>=10'} + node-addon-api@1.7.2: resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==} + node-api-version@0.2.0: + resolution: {integrity: sha512-fthTTsi8CxaBXMaBAD7ST2uylwvsnYxh2PfaScwpMhos6KlSFajXQPcM4ogNE1q2s3Lbz9GCGqeIHC+C6OZnKg==} + node-domexception@1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} @@ -3196,6 +3275,10 @@ packages: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} + ora@5.4.1: + resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} + engines: {node: '>=10'} + os-homedir@1.0.2: resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} engines: {node: '>=0.10.0'} @@ -3276,6 +3359,10 @@ packages: pause-stream@0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} + pe-library@0.4.1: + resolution: {integrity: sha512-eRWB5LBz7PpDu4PUlwT0PhnQfTQJlDDdPa35urV4Osrm0t0AqQFGn+UIkU3klZvwJ8KPO3VbBFsXquA6p6kqZw==} + engines: {node: '>=12', npm: '>=6'} + peberminta@0.9.0: resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==} @@ -3370,6 +3457,10 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true + read-binary-file-arch@1.0.6: + resolution: {integrity: sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==} + hasBin: true + read-config-file@6.3.2: resolution: {integrity: sha512-M80lpCjnE6Wt6zb98DoW8WHR09nzMSpu8XHtPkiTHrJ5Az9CybfeQhTJ8D7saeBHpGhLPIVyA8lcL6ZmdKwY6Q==} engines: {node: '>=12.0.0'} @@ -3421,6 +3512,10 @@ packages: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} + resedit@1.7.2: + resolution: {integrity: sha512-vHjcY2MlAITJhC0eRD/Vv8Vlgmu9Sd3LX9zZvtGzU5ZImdTN3+d6e/4mnTyV8vEbyf1sgNIrWxhWlrys52OkEA==} + engines: {node: '>=12', npm: '>=6'} + resolve-alpn@1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} @@ -3442,6 +3537,10 @@ packages: responselike@2.0.1: resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} + restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + retry@0.12.0: resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} @@ -4023,6 +4122,9 @@ packages: vudio@2.1.1: resolution: {integrity: sha512-VkFQcFt/b/kpF5Eg5Sq+oXUo1Zp5aRFF4BSmIrOzau5o+5WMWwX9ae/EGJZstCyZFiCTU5iw1Y+u2BCGW6Y6Jw==} + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + web-streams-polyfill@3.3.2: resolution: {integrity: sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==} engines: {node: '>= 8'} @@ -4387,6 +4489,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@electron/notarize@2.5.0': + dependencies: + debug: 4.3.7 + fs-extra: 9.1.0 + promise-retry: 2.0.1 + transitivePeerDependencies: + - supports-color + '@electron/osx-sign@1.0.5': dependencies: compare-version: 0.1.2 @@ -4398,6 +4508,36 @@ snapshots: transitivePeerDependencies: - supports-color + '@electron/osx-sign@1.3.1': + dependencies: + compare-version: 0.1.2 + debug: 4.3.7 + fs-extra: 10.1.0 + isbinaryfile: 4.0.10 + minimist: 1.2.8 + plist: 3.1.0 + transitivePeerDependencies: + - supports-color + + '@electron/rebuild@3.6.1': + dependencies: + '@malept/cross-spawn-promise': 2.0.0 + chalk: 4.1.2 + debug: 4.3.7 + detect-libc: 2.0.3 + fs-extra: 10.1.0 + got: 11.8.6 + node-abi: 3.68.0 + node-api-version: 0.2.0 + node-gyp: 10.2.0 + ora: 5.4.1 + read-binary-file-arch: 1.0.6 + semver: 7.6.3 + tar: 6.2.1 + yargs: 17.7.2 + transitivePeerDependencies: + - supports-color + '@electron/remote@2.1.2(electron@32.1.2)': dependencies: electron: 32.1.2 @@ -5147,7 +5287,9 @@ snapshots: app-builder-bin@4.0.0: {} - app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): + app-builder-bin@5.0.0-alpha.10: {} + + app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3): dependencies: '@develar/schema-utils': 2.6.5 '@electron/notarize': 2.2.1 @@ -5161,9 +5303,9 @@ snapshots: builder-util-runtime: 9.2.4 chromium-pickle-js: 0.2.0 debug: 4.3.7 - dmg-builder: 24.13.3(electron-builder-squirrel-windows@24.13.3) + dmg-builder: 25.1.8(electron-builder-squirrel-windows@24.13.3) ejs: 3.1.9 - electron-builder-squirrel-windows: 24.13.3(dmg-builder@24.13.3) + electron-builder-squirrel-windows: 24.13.3(dmg-builder@25.1.8) electron-publish: 24.13.1 form-data: 4.0.0 fs-extra: 10.1.0 @@ -5181,6 +5323,45 @@ snapshots: transitivePeerDependencies: - supports-color + app-builder-lib@25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3): + dependencies: + '@develar/schema-utils': 2.6.5 + '@electron/notarize': 2.5.0 + '@electron/osx-sign': 1.3.1 + '@electron/rebuild': 3.6.1 + '@electron/universal': 2.0.1 + '@malept/flatpak-bundler': 0.4.0 + '@types/fs-extra': 9.0.13 + async-exit-hook: 2.0.1 + bluebird-lst: 1.0.9 + builder-util: 25.1.7 + builder-util-runtime: 9.2.10 + chromium-pickle-js: 0.2.0 + config-file-ts: 0.2.8-rc1 + debug: 4.3.7 + dmg-builder: 25.1.8(electron-builder-squirrel-windows@24.13.3) + dotenv: 16.4.5 + dotenv-expand: 11.0.6 + ejs: 3.1.9 + electron-builder-squirrel-windows: 24.13.3(dmg-builder@25.1.8) + electron-publish: 25.1.7 + form-data: 4.0.0 + fs-extra: 10.1.0 + hosted-git-info: 4.1.0 + is-ci: 3.0.1 + isbinaryfile: 5.0.0 + js-yaml: 4.1.0 + json5: 2.2.3 + lazy-val: 1.0.5 + minimatch: 10.0.1 + resedit: 1.7.2 + sanitize-filename: 1.6.3 + semver: 7.6.3 + tar: 6.2.1 + temp-file: 3.4.0 + transitivePeerDependencies: + - supports-color + arch@2.2.0: {} archiver-utils@2.1.0: @@ -5423,6 +5604,27 @@ snapshots: transitivePeerDependencies: - supports-color + builder-util@25.1.7: + dependencies: + 7zip-bin: 5.2.0 + '@types/debug': 4.1.12 + app-builder-bin: 5.0.0-alpha.10 + bluebird-lst: 1.0.9 + builder-util-runtime: 9.2.10 + chalk: 4.1.2 + cross-spawn: 7.0.3 + debug: 4.3.7 + fs-extra: 10.1.0 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.4 + is-ci: 3.0.1 + js-yaml: 4.1.0 + source-map-support: 0.5.21 + stat-mode: 1.0.0 + temp-file: 3.4.0 + transitivePeerDependencies: + - supports-color + builtin-modules@4.0.0: {} bundle-name@4.1.0: @@ -5525,6 +5727,12 @@ snapshots: cli-boxes@3.0.0: {} + cli-cursor@3.1.0: + dependencies: + restore-cursor: 3.1.0 + + cli-spinners@2.9.2: {} + cli-truncate@2.1.0: dependencies: slice-ansi: 3.0.0 @@ -5547,6 +5755,8 @@ snapshots: dependencies: mimic-response: 1.0.1 + clone@1.0.4: {} + code-block-writer@13.0.3: {} color-convert@1.9.3: @@ -5621,6 +5831,11 @@ snapshots: glob: 10.4.5 typescript: 5.6.2 + config-file-ts@0.2.8-rc1: + dependencies: + glob: 10.4.5 + typescript: 5.6.2 + content-disposition@0.5.2: {} convert-source-map@2.0.0: {} @@ -5767,6 +5982,10 @@ snapshots: bundle-name: 4.1.0 default-browser-id: 5.0.0 + defaults@1.0.4: + dependencies: + clone: 1.0.4 + defer-to-connect@2.0.1: {} define-data-property@1.1.4: @@ -5801,6 +6020,8 @@ snapshots: delayed-stream@1.0.0: {} + detect-libc@2.0.3: {} + detect-node@2.1.0: optional: true @@ -5817,11 +6038,11 @@ snapshots: discord-api-types@0.37.83: {} - dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): + dmg-builder@25.1.8(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) - builder-util: 24.13.1 - builder-util-runtime: 9.2.4 + app-builder-lib: 25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3) + builder-util: 25.1.7 + builder-util-runtime: 9.2.10 fs-extra: 10.1.0 iconv-lite: 0.6.3 js-yaml: 4.1.0 @@ -5869,8 +6090,14 @@ snapshots: dependencies: type-fest: 4.20.1 + dotenv-expand@11.0.6: + dependencies: + dotenv: 16.4.5 + dotenv-expand@5.1.0: {} + dotenv@16.4.5: {} + dotenv@9.0.2: {} duplexer@0.1.2: {} @@ -5885,9 +6112,9 @@ snapshots: dependencies: jake: 10.8.7 - electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3): + electron-builder-squirrel-windows@24.13.3(dmg-builder@25.1.8): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3) archiver: 5.3.2 builder-util: 24.13.1 fs-extra: 10.1.0 @@ -5895,17 +6122,16 @@ snapshots: - dmg-builder - supports-color - electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): + electron-builder@25.1.8(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) - builder-util: 24.13.1 - builder-util-runtime: 9.2.4 + app-builder-lib: 25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3) + builder-util: 25.1.7 + builder-util-runtime: 9.2.10 chalk: 4.1.2 - dmg-builder: 24.13.3(electron-builder-squirrel-windows@24.13.3) + dmg-builder: 25.1.8(electron-builder-squirrel-windows@24.13.3) fs-extra: 10.1.0 is-ci: 3.0.1 lazy-val: 1.0.5 - read-config-file: 6.3.2 simple-update-notifier: 2.0.0 yargs: 17.7.2 transitivePeerDependencies: @@ -5960,6 +6186,18 @@ snapshots: transitivePeerDependencies: - supports-color + electron-publish@25.1.7: + dependencies: + '@types/fs-extra': 9.0.13 + builder-util: 25.1.7 + builder-util-runtime: 9.2.10 + chalk: 4.1.2 + fs-extra: 10.1.0 + lazy-val: 1.0.5 + mime: 2.6.0 + transitivePeerDependencies: + - supports-color + electron-store@10.0.0: dependencies: conf: 13.0.1 @@ -6843,6 +7081,8 @@ snapshots: dependencies: is-docker: 3.0.0 + is-interactive@1.0.0: {} + is-lambda@1.0.1: {} is-map@2.0.2: {} @@ -6888,6 +7128,8 @@ snapshots: dependencies: which-typed-array: 1.1.15 + is-unicode-supported@0.1.0: {} + is-url@1.2.4: {} is-weakmap@2.0.1: {} @@ -7051,6 +7293,11 @@ snapshots: lodash@4.17.21: {} + log-symbols@4.1.0: + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + long@4.0.0: {} lowercase-keys@2.0.0: {} @@ -7234,9 +7481,17 @@ snapshots: negotiator@0.6.3: {} + node-abi@3.68.0: + dependencies: + semver: 7.6.3 + node-addon-api@1.7.2: optional: true + node-api-version@0.2.0: + dependencies: + semver: 7.6.3 + node-domexception@1.0.0: {} node-fetch@3.3.2: @@ -7357,6 +7612,18 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 + ora@5.4.1: + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + os-homedir@1.0.2: {} p-cancelable@2.1.1: {} @@ -7427,6 +7694,8 @@ snapshots: dependencies: through: 2.3.8 + pe-library@0.4.1: {} + peberminta@0.9.0: {} peerjs-js-binarypack@2.1.0: {} @@ -7505,6 +7774,12 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 + read-binary-file-arch@1.0.6: + dependencies: + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + read-config-file@6.3.2: dependencies: config-file-ts: 0.2.6 @@ -7576,6 +7851,10 @@ snapshots: require-from-string@2.0.2: {} + resedit@1.7.2: + dependencies: + pe-library: 0.4.1 + resolve-alpn@1.2.1: {} resolve-from@4.0.0: {} @@ -7594,6 +7873,11 @@ snapshots: dependencies: lowercase-keys: 2.0.0 + restore-cursor@3.1.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + retry@0.12.0: {} reusify@1.0.4: {} @@ -8222,6 +8506,10 @@ snapshots: vudio@2.1.1(patch_hash=7iux5msqpgl3octdmwy4uspwoe): {} + wcwidth@1.0.1: + dependencies: + defaults: 1.0.4 + web-streams-polyfill@3.3.2: {} webrtc-adapter@9.0.1: From 88f54a389f840d51eb6ff74fa29bd3ac9ef7975b Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 17:11:11 +0900 Subject: [PATCH 34/93] Revert "chore(deps): update dependency electron-builder to v25" (#2488) --- package.json | 2 +- pnpm-lock.yaml | 330 ++++--------------------------------------------- 2 files changed, 22 insertions(+), 310 deletions(-) diff --git a/package.json b/package.json index 5e8236d7e4..1a5b8bef90 100644 --- a/package.json +++ b/package.json @@ -224,7 +224,7 @@ "del-cli": "5.1.0", "discord-api-types": "0.37.101", "electron": "32.1.2", - "electron-builder": "25.1.8", + "electron-builder": "24.13.3", "electron-devtools-installer": "3.2.0", "electron-vite": "2.3.0", "esbuild": "0.24.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2b742e8600..cf2081946a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -221,8 +221,8 @@ importers: specifier: 32.1.2 version: 32.1.2 electron-builder: - specifier: 25.1.8 - version: 25.1.8(electron-builder-squirrel-windows@24.13.3) + specifier: 24.13.3 + version: 24.13.3(electron-builder-squirrel-windows@24.13.3) electron-devtools-installer: specifier: 3.2.0 version: 3.2.0 @@ -467,25 +467,11 @@ packages: resolution: {integrity: sha512-aL+bFMIkpR0cmmj5Zgy0LMKEpgy43/hw5zadEArgmAMWWlKc5buwFvFT9G/o/YJkvXAJm5q3iuTuLaiaXW39sg==} engines: {node: '>= 10.0.0'} - '@electron/notarize@2.5.0': - resolution: {integrity: sha512-jNT8nwH1f9X5GEITXaQ8IF/KdskvIkOFfB2CvwumsveVidzpSc+mvhhTMdAGSYF3O+Nq49lJ7y+ssODRXu06+A==} - engines: {node: '>= 10.0.0'} - '@electron/osx-sign@1.0.5': resolution: {integrity: sha512-k9ZzUQtamSoweGQDV2jILiRIHUu7lYlJ3c6IEmjv1hC17rclE+eb9U+f6UFlOOETo0JzY1HNlXy4YOlCvl+Lww==} engines: {node: '>=12.0.0'} hasBin: true - '@electron/osx-sign@1.3.1': - resolution: {integrity: sha512-BAfviURMHpmb1Yb50YbCxnOY0wfwaLXH5KJ4+80zS0gUkzDX3ec23naTlEqKsN+PwYn+a1cCzM7BJ4Wcd3sGzw==} - engines: {node: '>=12.0.0'} - hasBin: true - - '@electron/rebuild@3.6.1': - resolution: {integrity: sha512-f6596ZHpEq/YskUd8emYvOUne89ij8mQgjYFA5ru25QwbrRO+t1SImofdDv7kKOuWCmVOuU5tvfkbgGxIl3E/w==} - engines: {node: '>=12.13.0'} - hasBin: true - '@electron/remote@2.1.2': resolution: {integrity: sha512-EPwNx+nhdrTBxyCqXt/pftoQg/ybtWDW3DUWHafejvnB1ZGGfMpv6e15D8KeempocjXe78T7WreyGGb3mlZxdA==} peerDependencies: @@ -1353,9 +1339,6 @@ packages: app-builder-bin@4.0.0: resolution: {integrity: sha512-xwdG0FJPQMe0M0UA4Tz0zEB8rBJTRA5a476ZawAqiBkMv16GRK5xpXThOjMaEOFnZ6zabejjG4J3da0SXG63KA==} - app-builder-bin@5.0.0-alpha.10: - resolution: {integrity: sha512-Ev4jj3D7Bo+O0GPD2NMvJl+PGiBAfS7pUGawntBNpCbxtpncfUixqFj9z9Jme7V7s3LBGqsWZZP54fxBX3JKJw==} - app-builder-lib@24.13.3: resolution: {integrity: sha512-FAzX6IBit2POXYGnTCT8YHFO/lr5AapAII6zzhQO3Rw4cEDOgK+t1xhLc5tNcKlicTHlo9zxIwnYCX9X2DLkig==} engines: {node: '>=14.0.0'} @@ -1363,13 +1346,6 @@ packages: dmg-builder: 24.13.3 electron-builder-squirrel-windows: 24.13.3 - app-builder-lib@25.1.8: - resolution: {integrity: sha512-pCqe7dfsQFBABC1jeKZXQWhGcCPF3rPCXDdfqVKjIeWBcXzyC1iOWZdfFhGl+S9MyE/k//DFmC6FzuGAUudNDg==} - engines: {node: '>=14.0.0'} - peerDependencies: - dmg-builder: 25.1.8 - electron-builder-squirrel-windows: 25.1.8 - arch@2.2.0: resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==} @@ -1531,9 +1507,6 @@ packages: builder-util@24.13.1: resolution: {integrity: sha512-NhbCSIntruNDTOVI9fdXz0dihaqX2YuE1D6zZMrwiErzH4ELZHE6mdiB40wEgZNprDia+FghRFgKoAqMZRRjSA==} - builder-util@25.1.7: - resolution: {integrity: sha512-7jPjzBwEGRbwNcep0gGNpLXG9P94VA3CPAZQCzxkFXiV2GMQKlziMbY//rXPI7WKfhsvGgFXjTcXdBEwgXw9ww==} - builtin-modules@4.0.0: resolution: {integrity: sha512-p1n8zyCkt1BVrKNFymOHjcDSAl7oq/gUvfgULv2EblgpPVQlQr9yHnWjg9IJ2MhfwPqiYqMMrr01OY7yQoK2yA==} engines: {node: '>=18.20'} @@ -1630,14 +1603,6 @@ packages: resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} engines: {node: '>=10'} - cli-cursor@3.1.0: - resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} - engines: {node: '>=8'} - - cli-spinners@2.9.2: - resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} - engines: {node: '>=6'} - cli-truncate@2.1.0: resolution: {integrity: sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==} engines: {node: '>=8'} @@ -1653,10 +1618,6 @@ packages: clone-response@1.0.3: resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} - clone@1.0.4: - resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} - engines: {node: '>=0.8'} - code-block-writer@13.0.3: resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} @@ -1714,9 +1675,6 @@ packages: config-file-ts@0.2.6: resolution: {integrity: sha512-6boGVaglwblBgJqGyxm4+xCmEGcWgnWHSWHY5jad58awQhB6gftq0G8HbzU39YqCIYHMLAiL1yjwiZ36m/CL8w==} - config-file-ts@0.2.8-rc1: - resolution: {integrity: sha512-GtNECbVI82bT4RiDIzBSVuTKoSHufnU7Ce7/42bkWZJZFLjmDF2WBpVsvRkhKCfKBnTBb3qZrBwPpFBU/Myvhg==} - content-disposition@0.5.2: resolution: {integrity: sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==} engines: {node: '>= 0.6'} @@ -1857,9 +1815,6 @@ packages: resolution: {integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==} engines: {node: '>=18'} - defaults@1.0.4: - resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} - defer-to-connect@2.0.1: resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==} engines: {node: '>=10'} @@ -1889,10 +1844,6 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - detect-libc@2.0.3: - resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} - engines: {node: '>=8'} - detect-node@2.1.0: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} @@ -1909,8 +1860,8 @@ packages: discord-api-types@0.37.83: resolution: {integrity: sha512-urGGYeWtWNYMKnYlZnOnDHm8fVRffQs3U0SpE8RHeiuLKb/u92APS8HoQnPTFbnXmY1vVnXjXO4dOxcAn3J+DA==} - dmg-builder@25.1.8: - resolution: {integrity: sha512-NoXo6Liy2heSklTI5OIZbCgXC1RzrDQsZkeEwXhdOro3FT1VBOvbubvscdPnjVuQ4AMwwv61oaH96AbiYg9EnQ==} + dmg-builder@24.13.3: + resolution: {integrity: sha512-rcJUkMfnJpfCboZoOOPf4L29TRtEieHNOeAbYPWPxlaBw/Z1RKrRA86dOI9rwaI4tQSc/RD82zTNHprfUHXsoQ==} dmg-license@1.0.11: resolution: {integrity: sha512-ZdzmqwKmECOWJpqefloC5OJy1+WZBBse5+MR88z9g9Zn4VY+WYUkAyojmhzJckH5YbbZGcYIuGAkY5/Ys5OM2Q==} @@ -1939,17 +1890,9 @@ packages: resolution: {integrity: sha512-1gxPBJpI/pcjQhKgIU91II6Wkay+dLcN3M6rf2uwP8hRur3HtQXjVrdAK3sjC0piaEuxzMwjXChcETiJl47lAQ==} engines: {node: '>=18'} - dotenv-expand@11.0.6: - resolution: {integrity: sha512-8NHi73otpWsZGBSZwwknTXS5pqMOrk9+Ssrna8xCaxkzEpU9OTf9R5ArQGVw03//Zmk9MOwLPng9WwndvpAJ5g==} - engines: {node: '>=12'} - dotenv-expand@5.1.0: resolution: {integrity: sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==} - dotenv@16.4.5: - resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} - engines: {node: '>=12'} - dotenv@9.0.2: resolution: {integrity: sha512-I9OvvrHp4pIARv4+x9iuewrWycX6CcZtoAu1XrzPxc5UygMJXJZYmBsynku8IkrJwgypE5DGNjDPmPRhDCptUg==} engines: {node: '>=10'} @@ -1974,8 +1917,8 @@ packages: electron-builder-squirrel-windows@24.13.3: resolution: {integrity: sha512-oHkV0iogWfyK+ah9ZIvMDpei1m9ZRpdXcvde1wTpra2U8AFDNNpqJdnin5z+PM1GbQ5BoaKCWas2HSjtR0HwMg==} - electron-builder@25.1.8: - resolution: {integrity: sha512-poRgAtUHHOnlzZnc9PK4nzG53xh74wj2Jy7jkTrqZ0MWPoHGh1M2+C//hGeYdA+4K8w4yiVCNYoLXF7ySj2Wig==} + electron-builder@24.13.3: + resolution: {integrity: sha512-yZSgVHft5dNVlo31qmJAe4BVKQfFdwpRw7sFp1iQglDRCDD6r22zfRJuZlhtB5gp9FHUxCMEoWGq10SkCnMAIg==} engines: {node: '>=14.0.0'} hasBin: true @@ -2008,9 +1951,6 @@ packages: electron-publish@24.13.1: resolution: {integrity: sha512-2ZgdEqJ8e9D17Hwp5LEq5mLQPjqU3lv/IALvgp+4W8VeNhryfGhYEQC/PgDPMrnWUp+l60Ou5SJLsu+k4mhQ8A==} - electron-publish@25.1.7: - resolution: {integrity: sha512-+jbTkR9m39eDBMP4gfbqglDd6UvBC7RLh5Y0MhFSsc6UkGHj9Vj9TWobxevHYMMqmoujL11ZLjfPpMX+Pt6YEg==} - electron-store@10.0.0: resolution: {integrity: sha512-BU/QZh+5twHBprRdLu3YZX/rIarmZzhTNpJvAvqG1/yN0mNCrsMh0kl7bM4xaUKDNRiHz1r7wP/7Prjh7cleIw==} engines: {node: '>=20'} @@ -2709,10 +2649,6 @@ packages: engines: {node: '>=14.16'} hasBin: true - is-interactive@1.0.0: - resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} - engines: {node: '>=8'} - is-lambda@1.0.1: resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==} @@ -2774,10 +2710,6 @@ packages: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} - is-unicode-supported@0.1.0: - resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} - engines: {node: '>=10'} - is-url@1.2.4: resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} @@ -2966,10 +2898,6 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - log-symbols@4.1.0: - resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} - engines: {node: '>=10'} - long@4.0.0: resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} @@ -3169,16 +3097,9 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - node-abi@3.68.0: - resolution: {integrity: sha512-7vbj10trelExNjFSBm5kTvZXXa7pZyKWx9RCKIyqe6I9Ev3IzGpQoqBP3a+cOdxY+pWj6VkP28n/2wWysBHD/A==} - engines: {node: '>=10'} - node-addon-api@1.7.2: resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==} - node-api-version@0.2.0: - resolution: {integrity: sha512-fthTTsi8CxaBXMaBAD7ST2uylwvsnYxh2PfaScwpMhos6KlSFajXQPcM4ogNE1q2s3Lbz9GCGqeIHC+C6OZnKg==} - node-domexception@1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} @@ -3275,10 +3196,6 @@ packages: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} - ora@5.4.1: - resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} - engines: {node: '>=10'} - os-homedir@1.0.2: resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} engines: {node: '>=0.10.0'} @@ -3359,10 +3276,6 @@ packages: pause-stream@0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} - pe-library@0.4.1: - resolution: {integrity: sha512-eRWB5LBz7PpDu4PUlwT0PhnQfTQJlDDdPa35urV4Osrm0t0AqQFGn+UIkU3klZvwJ8KPO3VbBFsXquA6p6kqZw==} - engines: {node: '>=12', npm: '>=6'} - peberminta@0.9.0: resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==} @@ -3457,10 +3370,6 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - read-binary-file-arch@1.0.6: - resolution: {integrity: sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==} - hasBin: true - read-config-file@6.3.2: resolution: {integrity: sha512-M80lpCjnE6Wt6zb98DoW8WHR09nzMSpu8XHtPkiTHrJ5Az9CybfeQhTJ8D7saeBHpGhLPIVyA8lcL6ZmdKwY6Q==} engines: {node: '>=12.0.0'} @@ -3512,10 +3421,6 @@ packages: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} - resedit@1.7.2: - resolution: {integrity: sha512-vHjcY2MlAITJhC0eRD/Vv8Vlgmu9Sd3LX9zZvtGzU5ZImdTN3+d6e/4mnTyV8vEbyf1sgNIrWxhWlrys52OkEA==} - engines: {node: '>=12', npm: '>=6'} - resolve-alpn@1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} @@ -3537,10 +3442,6 @@ packages: responselike@2.0.1: resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} - restore-cursor@3.1.0: - resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} - engines: {node: '>=8'} - retry@0.12.0: resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} @@ -4122,9 +4023,6 @@ packages: vudio@2.1.1: resolution: {integrity: sha512-VkFQcFt/b/kpF5Eg5Sq+oXUo1Zp5aRFF4BSmIrOzau5o+5WMWwX9ae/EGJZstCyZFiCTU5iw1Y+u2BCGW6Y6Jw==} - wcwidth@1.0.1: - resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} - web-streams-polyfill@3.3.2: resolution: {integrity: sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==} engines: {node: '>= 8'} @@ -4489,14 +4387,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@electron/notarize@2.5.0': - dependencies: - debug: 4.3.7 - fs-extra: 9.1.0 - promise-retry: 2.0.1 - transitivePeerDependencies: - - supports-color - '@electron/osx-sign@1.0.5': dependencies: compare-version: 0.1.2 @@ -4508,36 +4398,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@electron/osx-sign@1.3.1': - dependencies: - compare-version: 0.1.2 - debug: 4.3.7 - fs-extra: 10.1.0 - isbinaryfile: 4.0.10 - minimist: 1.2.8 - plist: 3.1.0 - transitivePeerDependencies: - - supports-color - - '@electron/rebuild@3.6.1': - dependencies: - '@malept/cross-spawn-promise': 2.0.0 - chalk: 4.1.2 - debug: 4.3.7 - detect-libc: 2.0.3 - fs-extra: 10.1.0 - got: 11.8.6 - node-abi: 3.68.0 - node-api-version: 0.2.0 - node-gyp: 10.2.0 - ora: 5.4.1 - read-binary-file-arch: 1.0.6 - semver: 7.6.3 - tar: 6.2.1 - yargs: 17.7.2 - transitivePeerDependencies: - - supports-color - '@electron/remote@2.1.2(electron@32.1.2)': dependencies: electron: 32.1.2 @@ -5287,9 +5147,7 @@ snapshots: app-builder-bin@4.0.0: {} - app-builder-bin@5.0.0-alpha.10: {} - - app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3): + app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): dependencies: '@develar/schema-utils': 2.6.5 '@electron/notarize': 2.2.1 @@ -5303,9 +5161,9 @@ snapshots: builder-util-runtime: 9.2.4 chromium-pickle-js: 0.2.0 debug: 4.3.7 - dmg-builder: 25.1.8(electron-builder-squirrel-windows@24.13.3) + dmg-builder: 24.13.3(electron-builder-squirrel-windows@24.13.3) ejs: 3.1.9 - electron-builder-squirrel-windows: 24.13.3(dmg-builder@25.1.8) + electron-builder-squirrel-windows: 24.13.3(dmg-builder@24.13.3) electron-publish: 24.13.1 form-data: 4.0.0 fs-extra: 10.1.0 @@ -5323,45 +5181,6 @@ snapshots: transitivePeerDependencies: - supports-color - app-builder-lib@25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3): - dependencies: - '@develar/schema-utils': 2.6.5 - '@electron/notarize': 2.5.0 - '@electron/osx-sign': 1.3.1 - '@electron/rebuild': 3.6.1 - '@electron/universal': 2.0.1 - '@malept/flatpak-bundler': 0.4.0 - '@types/fs-extra': 9.0.13 - async-exit-hook: 2.0.1 - bluebird-lst: 1.0.9 - builder-util: 25.1.7 - builder-util-runtime: 9.2.10 - chromium-pickle-js: 0.2.0 - config-file-ts: 0.2.8-rc1 - debug: 4.3.7 - dmg-builder: 25.1.8(electron-builder-squirrel-windows@24.13.3) - dotenv: 16.4.5 - dotenv-expand: 11.0.6 - ejs: 3.1.9 - electron-builder-squirrel-windows: 24.13.3(dmg-builder@25.1.8) - electron-publish: 25.1.7 - form-data: 4.0.0 - fs-extra: 10.1.0 - hosted-git-info: 4.1.0 - is-ci: 3.0.1 - isbinaryfile: 5.0.0 - js-yaml: 4.1.0 - json5: 2.2.3 - lazy-val: 1.0.5 - minimatch: 10.0.1 - resedit: 1.7.2 - sanitize-filename: 1.6.3 - semver: 7.6.3 - tar: 6.2.1 - temp-file: 3.4.0 - transitivePeerDependencies: - - supports-color - arch@2.2.0: {} archiver-utils@2.1.0: @@ -5604,27 +5423,6 @@ snapshots: transitivePeerDependencies: - supports-color - builder-util@25.1.7: - dependencies: - 7zip-bin: 5.2.0 - '@types/debug': 4.1.12 - app-builder-bin: 5.0.0-alpha.10 - bluebird-lst: 1.0.9 - builder-util-runtime: 9.2.10 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.7 - fs-extra: 10.1.0 - http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.4 - is-ci: 3.0.1 - js-yaml: 4.1.0 - source-map-support: 0.5.21 - stat-mode: 1.0.0 - temp-file: 3.4.0 - transitivePeerDependencies: - - supports-color - builtin-modules@4.0.0: {} bundle-name@4.1.0: @@ -5727,12 +5525,6 @@ snapshots: cli-boxes@3.0.0: {} - cli-cursor@3.1.0: - dependencies: - restore-cursor: 3.1.0 - - cli-spinners@2.9.2: {} - cli-truncate@2.1.0: dependencies: slice-ansi: 3.0.0 @@ -5755,8 +5547,6 @@ snapshots: dependencies: mimic-response: 1.0.1 - clone@1.0.4: {} - code-block-writer@13.0.3: {} color-convert@1.9.3: @@ -5831,11 +5621,6 @@ snapshots: glob: 10.4.5 typescript: 5.6.2 - config-file-ts@0.2.8-rc1: - dependencies: - glob: 10.4.5 - typescript: 5.6.2 - content-disposition@0.5.2: {} convert-source-map@2.0.0: {} @@ -5982,10 +5767,6 @@ snapshots: bundle-name: 4.1.0 default-browser-id: 5.0.0 - defaults@1.0.4: - dependencies: - clone: 1.0.4 - defer-to-connect@2.0.1: {} define-data-property@1.1.4: @@ -6020,8 +5801,6 @@ snapshots: delayed-stream@1.0.0: {} - detect-libc@2.0.3: {} - detect-node@2.1.0: optional: true @@ -6038,11 +5817,11 @@ snapshots: discord-api-types@0.37.83: {} - dmg-builder@25.1.8(electron-builder-squirrel-windows@24.13.3): + dmg-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3) - builder-util: 25.1.7 - builder-util-runtime: 9.2.10 + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + builder-util: 24.13.1 + builder-util-runtime: 9.2.4 fs-extra: 10.1.0 iconv-lite: 0.6.3 js-yaml: 4.1.0 @@ -6090,14 +5869,8 @@ snapshots: dependencies: type-fest: 4.20.1 - dotenv-expand@11.0.6: - dependencies: - dotenv: 16.4.5 - dotenv-expand@5.1.0: {} - dotenv@16.4.5: {} - dotenv@9.0.2: {} duplexer@0.1.2: {} @@ -6112,9 +5885,9 @@ snapshots: dependencies: jake: 10.8.7 - electron-builder-squirrel-windows@24.13.3(dmg-builder@25.1.8): + electron-builder-squirrel-windows@24.13.3(dmg-builder@24.13.3): dependencies: - app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3) + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) archiver: 5.3.2 builder-util: 24.13.1 fs-extra: 10.1.0 @@ -6122,16 +5895,17 @@ snapshots: - dmg-builder - supports-color - electron-builder@25.1.8(electron-builder-squirrel-windows@24.13.3): + electron-builder@24.13.3(electron-builder-squirrel-windows@24.13.3): dependencies: - app-builder-lib: 25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@24.13.3) - builder-util: 25.1.7 - builder-util-runtime: 9.2.10 + app-builder-lib: 24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + builder-util: 24.13.1 + builder-util-runtime: 9.2.4 chalk: 4.1.2 - dmg-builder: 25.1.8(electron-builder-squirrel-windows@24.13.3) + dmg-builder: 24.13.3(electron-builder-squirrel-windows@24.13.3) fs-extra: 10.1.0 is-ci: 3.0.1 lazy-val: 1.0.5 + read-config-file: 6.3.2 simple-update-notifier: 2.0.0 yargs: 17.7.2 transitivePeerDependencies: @@ -6186,18 +5960,6 @@ snapshots: transitivePeerDependencies: - supports-color - electron-publish@25.1.7: - dependencies: - '@types/fs-extra': 9.0.13 - builder-util: 25.1.7 - builder-util-runtime: 9.2.10 - chalk: 4.1.2 - fs-extra: 10.1.0 - lazy-val: 1.0.5 - mime: 2.6.0 - transitivePeerDependencies: - - supports-color - electron-store@10.0.0: dependencies: conf: 13.0.1 @@ -7081,8 +6843,6 @@ snapshots: dependencies: is-docker: 3.0.0 - is-interactive@1.0.0: {} - is-lambda@1.0.1: {} is-map@2.0.2: {} @@ -7128,8 +6888,6 @@ snapshots: dependencies: which-typed-array: 1.1.15 - is-unicode-supported@0.1.0: {} - is-url@1.2.4: {} is-weakmap@2.0.1: {} @@ -7293,11 +7051,6 @@ snapshots: lodash@4.17.21: {} - log-symbols@4.1.0: - dependencies: - chalk: 4.1.2 - is-unicode-supported: 0.1.0 - long@4.0.0: {} lowercase-keys@2.0.0: {} @@ -7481,17 +7234,9 @@ snapshots: negotiator@0.6.3: {} - node-abi@3.68.0: - dependencies: - semver: 7.6.3 - node-addon-api@1.7.2: optional: true - node-api-version@0.2.0: - dependencies: - semver: 7.6.3 - node-domexception@1.0.0: {} node-fetch@3.3.2: @@ -7612,18 +7357,6 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - ora@5.4.1: - dependencies: - bl: 4.1.0 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-spinners: 2.9.2 - is-interactive: 1.0.0 - is-unicode-supported: 0.1.0 - log-symbols: 4.1.0 - strip-ansi: 6.0.1 - wcwidth: 1.0.1 - os-homedir@1.0.2: {} p-cancelable@2.1.1: {} @@ -7694,8 +7427,6 @@ snapshots: dependencies: through: 2.3.8 - pe-library@0.4.1: {} - peberminta@0.9.0: {} peerjs-js-binarypack@2.1.0: {} @@ -7774,12 +7505,6 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - read-binary-file-arch@1.0.6: - dependencies: - debug: 4.3.7 - transitivePeerDependencies: - - supports-color - read-config-file@6.3.2: dependencies: config-file-ts: 0.2.6 @@ -7851,10 +7576,6 @@ snapshots: require-from-string@2.0.2: {} - resedit@1.7.2: - dependencies: - pe-library: 0.4.1 - resolve-alpn@1.2.1: {} resolve-from@4.0.0: {} @@ -7873,11 +7594,6 @@ snapshots: dependencies: lowercase-keys: 2.0.0 - restore-cursor@3.1.0: - dependencies: - onetime: 5.1.2 - signal-exit: 3.0.7 - retry@0.12.0: {} reusify@1.0.4: {} @@ -8506,10 +8222,6 @@ snapshots: vudio@2.1.1(patch_hash=7iux5msqpgl3octdmwy4uspwoe): {} - wcwidth@1.0.1: - dependencies: - defaults: 1.0.4 - web-streams-polyfill@3.3.2: {} webrtc-adapter@9.0.1: From 08aae09446631e3654c618fd565436cc823f9ecd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:11:25 +0900 Subject: [PATCH 35/93] fix(deps): update dependency solid-js to v1.9.2 (#2480) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 58 +++++++++++++++++++++++++------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 1a5b8bef90..99b3b44cd0 100644 --- a/package.json +++ b/package.json @@ -198,7 +198,7 @@ "serve": "14.2.3", "simple-youtube-age-restriction-bypass": "github:organization/Simple-YouTube-Age-Restriction-Bypass#v2.5.9", "solid-floating-ui": "0.3.1", - "solid-js": "1.9.1", + "solid-js": "1.9.2", "solid-styled-components": "0.28.5", "solid-transition-group": "0.2.3", "ts-morph": "24.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf2081946a..abff7067e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -146,16 +146,16 @@ importers: version: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6 solid-floating-ui: specifier: 0.3.1 - version: 0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.1) + version: 0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.2) solid-js: - specifier: 1.9.1 - version: 1.9.1 + specifier: 1.9.2 + version: 1.9.2 solid-styled-components: specifier: 0.28.5 - version: 0.28.5(solid-js@1.9.1) + version: 0.28.5(solid-js@1.9.2) solid-transition-group: specifier: 0.2.3 - version: 0.2.3(solid-js@1.9.1) + version: 0.2.3(solid-js@1.9.2) ts-morph: specifier: 24.0.0 version: 24.0.0 @@ -276,7 +276,7 @@ importers: version: 2.5.2 vite-plugin-solid: specifier: 2.10.2 - version: 2.10.2(solid-js@1.9.1)(vite@5.4.8(@types/node@20.12.5)) + version: 2.10.2(solid-js@1.9.2)(vite@5.4.8(@types/node@20.12.5)) ws: specifier: 8.18.0 version: 8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) @@ -3614,8 +3614,8 @@ packages: '@floating-ui/dom': ^1.5 solid-js: ^1.8 - solid-js@1.9.1: - resolution: {integrity: sha512-Gd6QWRFfO2XKKZqVK4YwbhWZkr0jWw1dYHOt+VYebomeyikGP0SuMflf42XcDuU9HAEYDArFJIYsBNjlE7iZsw==} + solid-js@1.9.2: + resolution: {integrity: sha512-fe/K03nV+kMFJYhAOE8AIQHcGxB4rMIEoEyrulbtmf217NffbbwBqJnJI4ovt16e+kaIt0czE2WA7mP/pYN9yg==} solid-refresh@0.6.3: resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==} @@ -4809,18 +4809,18 @@ snapshots: '@skyra/jaro-winkler@1.1.1': {} - '@solid-primitives/refs@1.0.6(solid-js@1.9.1)': + '@solid-primitives/refs@1.0.6(solid-js@1.9.2)': dependencies: - '@solid-primitives/utils': 6.2.2(solid-js@1.9.1) - solid-js: 1.9.1 + '@solid-primitives/utils': 6.2.2(solid-js@1.9.2) + solid-js: 1.9.2 - '@solid-primitives/transition-group@1.0.4(solid-js@1.9.1)': + '@solid-primitives/transition-group@1.0.4(solid-js@1.9.2)': dependencies: - solid-js: 1.9.1 + solid-js: 1.9.2 - '@solid-primitives/utils@6.2.2(solid-js@1.9.1)': + '@solid-primitives/utils@6.2.2(solid-js@1.9.2)': dependencies: - solid-js: 1.9.1 + solid-js: 1.9.2 '@stylistic/eslint-plugin-js@2.9.0(eslint@9.12.0)': dependencies: @@ -7795,37 +7795,37 @@ snapshots: ip-address: 9.0.5 smart-buffer: 4.2.0 - solid-floating-ui@0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.1): + solid-floating-ui@0.3.1(@floating-ui/dom@1.6.11)(solid-js@1.9.2): dependencies: '@floating-ui/dom': 1.6.11 - solid-js: 1.9.1 + solid-js: 1.9.2 - solid-js@1.9.1: + solid-js@1.9.2: dependencies: csstype: 3.1.3 seroval: 1.1.0 seroval-plugins: 1.1.0(seroval@1.1.0) - solid-refresh@0.6.3(solid-js@1.9.1): + solid-refresh@0.6.3(solid-js@1.9.2): dependencies: '@babel/generator': 7.24.7 '@babel/helper-module-imports': 7.24.7 '@babel/types': 7.24.7 - solid-js: 1.9.1 + solid-js: 1.9.2 transitivePeerDependencies: - supports-color - solid-styled-components@0.28.5(solid-js@1.9.1): + solid-styled-components@0.28.5(solid-js@1.9.2): dependencies: csstype: 3.1.3 goober: 2.1.14(csstype@3.1.3) - solid-js: 1.9.1 + solid-js: 1.9.2 - solid-transition-group@0.2.3(solid-js@1.9.1): + solid-transition-group@0.2.3(solid-js@1.9.2): dependencies: - '@solid-primitives/refs': 1.0.6(solid-js@1.9.1) - '@solid-primitives/transition-group': 1.0.4(solid-js@1.9.1) - solid-js: 1.9.1 + '@solid-primitives/refs': 1.0.6(solid-js@1.9.2) + '@solid-primitives/transition-group': 1.0.4(solid-js@1.9.2) + solid-js: 1.9.2 source-map-js@1.2.0: {} @@ -8194,14 +8194,14 @@ snapshots: dependencies: lib-esm: 0.4.2 - vite-plugin-solid@2.10.2(solid-js@1.9.1)(vite@5.4.8(@types/node@20.12.5)): + vite-plugin-solid@2.10.2(solid-js@1.9.2)(vite@5.4.8(@types/node@20.12.5)): dependencies: '@babel/core': 7.24.7 '@types/babel__core': 7.20.5 babel-preset-solid: 1.8.12(@babel/core@7.24.7) merge-anything: 5.1.7 - solid-js: 1.9.1 - solid-refresh: 0.6.3(solid-js@1.9.1) + solid-js: 1.9.2 + solid-refresh: 0.6.3(solid-js@1.9.2) vite: 5.4.8(@types/node@20.12.5) vitefu: 0.2.5(vite@5.4.8(@types/node@20.12.5)) transitivePeerDependencies: From 65ad09a02e19622b82b18d0b444d90d378091e77 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:11:56 +0900 Subject: [PATCH 36/93] chore(deps): update dependency typescript-eslint to v8.8.1 (#2477) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 124 ++++++++++++++++++++++++------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abff7067e8..7878ecff94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -240,10 +240,10 @@ importers: version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) + version: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + version: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) glob: specifier: 11.0.0 version: 11.0.0 @@ -261,7 +261,7 @@ importers: version: 5.6.2 typescript-eslint: specifier: ^8.6.0 - version: 8.8.0(eslint@9.12.0)(typescript@5.6.2) + version: 8.8.1(eslint@9.12.0)(typescript@5.6.2) utf-8-validate: specifier: 6.0.4 version: 6.0.4 @@ -1185,8 +1185,8 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.8.0': - resolution: {integrity: sha512-wORFWjU30B2WJ/aXBfOm1LX9v9nyt9D3jsSOxC3cCaTQGCW5k4jNpmjFv3U7p/7s4yvdjHzwtv2Sd2dOyhjS0A==} + '@typescript-eslint/eslint-plugin@8.8.1': + resolution: {integrity: sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1196,8 +1196,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.8.0': - resolution: {integrity: sha512-uEFUsgR+tl8GmzmLjRqz+VrDv4eoaMqMXW7ruXfgThaAShO9JTciKpEsB+TvnfFfbg5IpujgMXVV36gOJRLtZg==} + '@typescript-eslint/parser@8.8.1': + resolution: {integrity: sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1206,12 +1206,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.8.0': - resolution: {integrity: sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg==} + '@typescript-eslint/scope-manager@8.8.1': + resolution: {integrity: sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.8.0': - resolution: {integrity: sha512-IKwJSS7bCqyCeG4NVGxnOP6lLT9Okc3Zj8hLO96bpMkJab+10HIfJbMouLrlpyOr3yrQ1cA413YPFiGd1mW9/Q==} + '@typescript-eslint/type-utils@8.8.1': + resolution: {integrity: sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1219,12 +1219,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.8.0': - resolution: {integrity: sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw==} + '@typescript-eslint/types@8.8.1': + resolution: {integrity: sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.8.0': - resolution: {integrity: sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw==} + '@typescript-eslint/typescript-estree@8.8.1': + resolution: {integrity: sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1232,14 +1232,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.8.0': - resolution: {integrity: sha512-QE2MgfOTem00qrlPgyByaCHay9yb1+9BjnMFnSFkUKQfu7adBXDTnCAivURnuPPAG/qiB+kzKkZKmKfaMT0zVg==} + '@typescript-eslint/utils@8.8.1': + resolution: {integrity: sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.8.0': - resolution: {integrity: sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g==} + '@typescript-eslint/visitor-keys@8.8.1': + resolution: {integrity: sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@vladfrangu/async_event_emitter@2.4.4': @@ -3864,8 +3864,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript-eslint@8.8.0: - resolution: {integrity: sha512-BjIT/VwJ8+0rVO01ZQ2ZVnjE1svFBiRczcpr1t1Yxt7sT25VSbPfrJtDsQ8uQTy2pilX5nI9gwxhUyLULNentw==} + typescript-eslint@8.8.1: + resolution: {integrity: sha512-R0dsXFt6t4SAFjUSKFjMh4pXDtq04SsFKCVGDP3ZOzNP7itF0jBcZYU4fMsZr4y7O7V7Nc751dDeESbe4PbQMQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -4966,14 +4966,14 @@ snapshots: '@types/node': 20.12.5 optional: true - '@typescript-eslint/eslint-plugin@8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.8.0 - '@typescript-eslint/type-utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.8.0 + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.8.1 + '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.8.1 eslint: 9.12.0 graphemer: 1.4.0 ignore: 5.3.2 @@ -4984,12 +4984,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2)': dependencies: - '@typescript-eslint/scope-manager': 8.8.0 - '@typescript-eslint/types': 8.8.0 - '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.8.0 + '@typescript-eslint/scope-manager': 8.8.1 + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.8.1 debug: 4.3.7 eslint: 9.12.0 optionalDependencies: @@ -4997,15 +4997,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.8.0': + '@typescript-eslint/scope-manager@8.8.1': dependencies: - '@typescript-eslint/types': 8.8.0 - '@typescript-eslint/visitor-keys': 8.8.0 + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/visitor-keys': 8.8.1 - '@typescript-eslint/type-utils@8.8.0(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0)(typescript@5.6.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -5014,12 +5014,12 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.8.0': {} + '@typescript-eslint/types@8.8.1': {} - '@typescript-eslint/typescript-estree@8.8.0(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.2)': dependencies: - '@typescript-eslint/types': 8.8.0 - '@typescript-eslint/visitor-keys': 8.8.0 + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/visitor-keys': 8.8.1 debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 @@ -5031,20 +5031,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.8.0(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/utils@8.8.1(eslint@9.12.0)(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0) - '@typescript-eslint/scope-manager': 8.8.0 - '@typescript-eslint/types': 8.8.0 - '@typescript-eslint/typescript-estree': 8.8.0(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.8.1 + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) eslint: 9.12.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.8.0': + '@typescript-eslint/visitor-keys@8.8.1': dependencies: - '@typescript-eslint/types': 8.8.0 + '@typescript-eslint/types': 8.8.1 eslint-visitor-keys: 3.4.3 '@vladfrangu/async_event_emitter@2.4.4': {} @@ -6196,7 +6196,7 @@ snapshots: eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: eslint: 9.12.0 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6207,37 +6207,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.12.0 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) eslint: 9.12.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6248,7 +6248,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.12.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6260,7 +6260,7 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -8075,11 +8075,11 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.8.0(eslint@9.12.0)(typescript@5.6.2): + typescript-eslint@8.8.1(eslint@9.12.0)(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/parser': 8.8.0(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.0(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: From d48aa7ad3914ebfa73b9d4449fac34157133b53b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:12:05 +0900 Subject: [PATCH 37/93] chore(deps): update dependency del-cli to v6 (#2475) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 377 +++++++------------------------------------------ 2 files changed, 52 insertions(+), 327 deletions(-) diff --git a/package.json b/package.json index 99b3b44cd0..333e6f3a57 100644 --- a/package.json +++ b/package.json @@ -221,7 +221,7 @@ "bufferutil": "4.0.8", "builtin-modules": "4.0.0", "cross-env": "7.0.3", - "del-cli": "5.1.0", + "del-cli": "6.0.0", "discord-api-types": "0.37.101", "electron": "32.1.2", "electron-builder": "24.13.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7878ecff94..2346fbc791 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -212,8 +212,8 @@ importers: specifier: 7.0.3 version: 7.0.3 del-cli: - specifier: 5.1.0 - version: 5.1.0 + specifier: 6.0.0 + version: 6.0.0 discord-api-types: specifier: 0.37.101 version: 0.37.101 @@ -1041,6 +1041,10 @@ packages: resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} + '@sindresorhus/merge-streams@2.3.0': + resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} + engines: {node: '>=18'} + '@skyra/jaro-winkler@1.1.1': resolution: {integrity: sha512-jT2OWwpajtXTb6opnaIwmBTMpQtKUwl2Ro1zApxIIrpZJon71kZIv6GZSc08LzKO2lpTqUjvD+i7Z2hGuG42KQ==} engines: {node: '>=v18'} @@ -1155,18 +1159,12 @@ packages: '@types/keyv@3.1.4': resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} - '@types/minimist@1.2.5': - resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} - '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} '@types/node@20.12.5': resolution: {integrity: sha512-BD+BjQ9LS/D8ST9p5uqBxghlN+S42iuNxjsUGjeZobe/ciXzk2qb1B6IXc6AnRLS+yFJRpN2IPEHMzwspfDJNw==} - '@types/normalize-package-data@2.4.4': - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - '@types/plist@3.0.5': resolution: {integrity: sha512-E6OCaRmAe4WDmWNsL/9RMqdkkzDCY1etutkflWk4c+AcjDU07Pcz1fQwTX0TQz+Pxqn9i4L1TU3UFpjnrcDgxA==} @@ -1287,10 +1285,6 @@ packages: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} - aggregate-error@4.0.1: - resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==} - engines: {node: '>=12'} - ajv-formats@3.0.1: resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} peerDependencies: @@ -1391,10 +1385,6 @@ packages: resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} - arrify@1.0.1: - resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} - engines: {node: '>=0.10.0'} - assert-plus@1.0.0: resolution: {integrity: sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==} engines: {node: '>=0.8'} @@ -1549,14 +1539,6 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - camelcase-keys@7.0.2: - resolution: {integrity: sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==} - engines: {node: '>=12'} - - camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - camelcase@7.0.1: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} @@ -1595,10 +1577,6 @@ packages: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} - clean-stack@4.2.0: - resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==} - engines: {node: '>=12'} - cli-boxes@3.0.0: resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} engines: {node: '>=10'} @@ -1772,18 +1750,6 @@ packages: supports-color: optional: true - decamelize-keys@1.1.1: - resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} - engines: {node: '>=0.10.0'} - - decamelize@1.2.0: - resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} - engines: {node: '>=0.10.0'} - - decamelize@5.0.1: - resolution: {integrity: sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==} - engines: {node: '>=10'} - decompress-response@6.0.0: resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} engines: {node: '>=10'} @@ -1831,14 +1797,14 @@ packages: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} - del-cli@5.1.0: - resolution: {integrity: sha512-xwMeh2acluWeccsfzE7VLsG3yTr7nWikbfw+xhMnpRrF15pGSkw+3/vJZWlGoE4I86UiLRNHicmKt4tkIX9Jtg==} - engines: {node: '>=14.16'} + del-cli@6.0.0: + resolution: {integrity: sha512-9nitGV2W6KLFyya4qYt4+9AKQFL+c0Ehj5K7V7IwlxTc6RMCfQUGY9E9pLG6e8TQjtwXpuiWIGGZb3mfVxyZkw==} + engines: {node: '>=18'} hasBin: true - del@7.1.0: - resolution: {integrity: sha512-v2KyNk7efxhlyHpjEvfyxaAihKKK0nWCuf6ZtqZcFFpQRG0bJ12Qsr0RpvsICMjAAZ8DOVCxrlqpxISlMHC4Kg==} - engines: {node: '>=14.16'} + del@8.0.0: + resolution: {integrity: sha512-R6ep6JJ+eOBZsBr9esiNN1gxFbZE4Q2cULkUSFumGYecAiS6qodDvcPx/sFuWHMNul7DWmrtoEOpYSm7o6tbSA==} + engines: {node: '>=18'} delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} @@ -1850,10 +1816,6 @@ packages: dir-compare@4.2.0: resolution: {integrity: sha512-2xMCmOoMrdQIPHdsTawECdNPwlVFB9zGcz3kuhmBO6U3oU+UQjsue0i8ayLKpgBcm+hcXPMVSGUN9d+pvJ6+VQ==} - dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - discord-api-types@0.37.101: resolution: {integrity: sha512-2wizd94t7G3A8U5Phr3AiuL4gSvhqistDwWnlk1VLTit8BI1jWUncFqFQNdPbHqS3661+Nx/iEyIwtVjPuBP3w==} @@ -2015,9 +1977,6 @@ packages: err-code@2.0.3: resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} - error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - error-stack-parser-es@0.1.5: resolution: {integrity: sha512-xHku1X40RO+fO8yJ8Wh2f2rZWVjqyhb1zgq1yZ8aZRQkv6OOKhKWRUaht3eSCUbAOBaKIgM+ykwFLE+QUxgGeg==} @@ -2076,10 +2035,6 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - escape-string-regexp@5.0.0: - resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} - engines: {node: '>=12'} - eslint-import-resolver-exports@1.0.0-beta.5: resolution: {integrity: sha512-o6t0w7muUpXr7MkUVzD5igQoDfAQvTmcPp8HEAJdNF8eOuAO+yn6I/TTyMxz9ecCwzX7e02vzlkHURoScUuidg==} peerDependencies: @@ -2410,9 +2365,9 @@ packages: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} - globby@13.2.2: - resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + globby@14.0.2: + resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} + engines: {node: '>=18'} goober@2.1.14: resolution: {integrity: sha512-4UpC0NdGyAFqLNPnhCT2iHpza2q+RAY3GV85a/mRPdzyPQMsj0KmMMuetdIkzWRbJ+Hgau1EZztq8ImmiMGhsg==} @@ -2432,10 +2387,6 @@ packages: graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - hard-rejection@2.1.0: - resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} - engines: {node: '>=6'} - has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} @@ -2556,10 +2507,6 @@ packages: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} - indent-string@5.0.0: - resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} - engines: {node: '>=12'} - inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -2586,9 +2533,6 @@ packages: resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} engines: {node: '>= 0.4'} - is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} @@ -2675,10 +2619,6 @@ packages: resolution: {integrity: sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==} engines: {node: '>=12'} - is-plain-obj@1.1.0: - resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} - engines: {node: '>=0.10.0'} - is-port-reachable@4.0.0: resolution: {integrity: sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -2792,9 +2732,6 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -2837,10 +2774,6 @@ packages: keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} - kind-of@6.0.3: - resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} - engines: {node: '>=0.10.0'} - lazy-val@1.0.5: resolution: {integrity: sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==} @@ -2861,9 +2794,6 @@ packages: lie@3.3.0: resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==} - lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} @@ -2930,14 +2860,6 @@ packages: resolution: {integrity: sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==} engines: {node: ^16.14.0 || >=18.0.0} - map-obj@1.0.1: - resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} - engines: {node: '>=0.10.0'} - - map-obj@4.3.0: - resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} - engines: {node: '>=8'} - map-stream@0.1.0: resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==} @@ -2945,9 +2867,9 @@ packages: resolution: {integrity: sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==} engines: {node: '>=10'} - meow@10.1.5: - resolution: {integrity: sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + meow@13.2.0: + resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==} + engines: {node: '>=18'} merge-anything@5.1.7: resolution: {integrity: sha512-eRtbOb1N5iyH0tkQDAoQ4Ipsp/5qSR79Dzrz8hEPxRX10RWWR/iQXdoKmBSRCThY1Fh5EhISDtpSc93fpxUniQ==} @@ -3001,10 +2923,6 @@ packages: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} - min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - minimatch@10.0.1: resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} engines: {node: 20 || >=22} @@ -3020,10 +2938,6 @@ packages: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} - minimist-options@4.1.0: - resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} - engines: {node: '>= 6'} - minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -3131,10 +3045,6 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true - normalize-package-data@3.0.3: - resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} - engines: {node: '>=10'} - normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -3216,9 +3126,9 @@ packages: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} - p-map@5.5.0: - resolution: {integrity: sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==} - engines: {node: '>=12'} + p-map@7.0.2: + resolution: {integrity: sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==} + engines: {node: '>=18'} package-json-from-dist@1.0.0: resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} @@ -3230,10 +3140,6 @@ packages: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} - parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - parseley@0.12.1: resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==} @@ -3269,9 +3175,9 @@ packages: path-to-regexp@2.2.1: resolution: {integrity: sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==} - path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} + path-type@5.0.0: + resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} + engines: {node: '>=12'} pause-stream@0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} @@ -3374,14 +3280,6 @@ packages: resolution: {integrity: sha512-M80lpCjnE6Wt6zb98DoW8WHR09nzMSpu8XHtPkiTHrJ5Az9CybfeQhTJ8D7saeBHpGhLPIVyA8lcL6ZmdKwY6Q==} engines: {node: '>=12.0.0'} - read-pkg-up@8.0.0: - resolution: {integrity: sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==} - engines: {node: '>=12'} - - read-pkg@6.0.0: - resolution: {integrity: sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==} - engines: {node: '>=12'} - readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} @@ -3392,10 +3290,6 @@ packages: readdir-glob@1.1.3: resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} - redent@4.0.0: - resolution: {integrity: sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==} - engines: {node: '>=12'} - regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} @@ -3587,9 +3481,9 @@ packages: resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} engines: {node: '>= 10'} - slash@4.0.0: - resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} - engines: {node: '>=12'} + slash@5.1.0: + resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} + engines: {node: '>=14.16'} slice-ansi@3.0.0: resolution: {integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==} @@ -3644,18 +3538,6 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - - spdx-exceptions@2.3.0: - resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} - - spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - - spdx-license-ids@3.0.16: - resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} - split@0.3.3: resolution: {integrity: sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==} @@ -3718,10 +3600,6 @@ packages: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} - strip-indent@4.0.0: - resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==} - engines: {node: '>=12'} - strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} @@ -3802,10 +3680,6 @@ packages: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} - trim-newlines@4.1.1: - resolution: {integrity: sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==} - engines: {node: '>=12'} - truncate-utf8-bytes@1.0.2: resolution: {integrity: sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==} @@ -3836,10 +3710,6 @@ packages: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} - type-fest@1.4.0: - resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} - engines: {node: '>=10'} - type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} @@ -3896,6 +3766,10 @@ packages: resolution: {integrity: sha512-Q2rtqmZWrbP8nePMq7mOJIN98M0fYvSgV89vwl/BQRT4mDOeY2GXZngfGpcBBhtky3woM7G24wZV3Q304Bv6cw==} engines: {node: '>=18.0'} + unicorn-magic@0.1.0: + resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} + engines: {node: '>=18'} + unique-filename@3.0.0: resolution: {integrity: sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -3947,9 +3821,6 @@ packages: validate-html-nesting@1.2.2: resolution: {integrity: sha512-hGdgQozCsQJMyfK5urgFcWEqsSSrK63Awe0t/IMR0bZ0QMtnuaiHzThW81guu3qx9abLi99NEuiaN6P9gVYsNg==} - validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -4109,10 +3980,6 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} - yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -4807,6 +4674,8 @@ snapshots: '@sindresorhus/is@4.6.0': {} + '@sindresorhus/merge-streams@2.3.0': {} + '@skyra/jaro-winkler@1.1.1': {} '@solid-primitives/refs@1.0.6(solid-js@1.9.2)': @@ -4934,16 +4803,12 @@ snapshots: dependencies: '@types/node': 20.12.5 - '@types/minimist@1.2.5': {} - '@types/ms@0.7.34': {} '@types/node@20.12.5': dependencies: undici-types: 5.26.5 - '@types/normalize-package-data@2.4.4': {} - '@types/plist@3.0.5': dependencies: '@types/node': 20.12.5 @@ -5093,11 +4958,6 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - aggregate-error@4.0.1: - dependencies: - clean-stack: 4.2.0 - indent-string: 5.0.0 - ajv-formats@3.0.1(ajv@8.16.0): optionalDependencies: ajv: 8.16.0 @@ -5271,8 +5131,6 @@ snapshots: is-array-buffer: 3.0.4 is-shared-array-buffer: 1.0.3 - arrify@1.0.1: {} - assert-plus@1.0.0: optional: true @@ -5481,15 +5339,6 @@ snapshots: callsites@3.1.0: {} - camelcase-keys@7.0.2: - dependencies: - camelcase: 6.3.0 - map-obj: 4.3.0 - quick-lru: 5.1.1 - type-fest: 1.4.0 - - camelcase@6.3.0: {} - camelcase@7.0.1: {} caniuse-lite@1.0.30001576: {} @@ -5519,10 +5368,6 @@ snapshots: clean-stack@2.2.0: {} - clean-stack@4.2.0: - dependencies: - escape-string-regexp: 5.0.0 - cli-boxes@3.0.0: {} cli-truncate@2.1.0: @@ -5718,15 +5563,6 @@ snapshots: dependencies: ms: 2.1.3 - decamelize-keys@1.1.1: - dependencies: - decamelize: 1.2.0 - map-obj: 1.0.1 - - decamelize@1.2.0: {} - - decamelize@5.0.1: {} - decompress-response@6.0.0: dependencies: mimic-response: 3.1.0 @@ -5783,21 +5619,19 @@ snapshots: has-property-descriptors: 1.0.2 object-keys: 1.1.1 - del-cli@5.1.0: + del-cli@6.0.0: dependencies: - del: 7.1.0 - meow: 10.1.5 + del: 8.0.0 + meow: 13.2.0 - del@7.1.0: + del@8.0.0: dependencies: - globby: 13.2.2 - graceful-fs: 4.2.11 + globby: 14.0.2 is-glob: 4.0.3 is-path-cwd: 3.0.0 is-path-inside: 4.0.0 - p-map: 5.5.0 - rimraf: 3.0.2 - slash: 4.0.0 + p-map: 7.0.2 + slash: 5.1.0 delayed-stream@1.0.0: {} @@ -5809,10 +5643,6 @@ snapshots: minimatch: 3.1.2 p-limit: 3.1.0 - dir-glob@3.0.1: - dependencies: - path-type: 4.0.0 - discord-api-types@0.37.101: {} discord-api-types@0.37.83: {} @@ -6036,10 +5866,6 @@ snapshots: err-code@2.0.3: {} - error-ex@1.3.2: - dependencies: - is-arrayish: 0.2.1 - error-stack-parser-es@0.1.5: {} es-abstract@1.23.3: @@ -6191,8 +6017,6 @@ snapshots: escape-string-regexp@4.0.0: {} - escape-string-regexp@5.0.0: {} - eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: eslint: 9.12.0 @@ -6604,13 +6428,14 @@ snapshots: dependencies: define-properties: 1.2.1 - globby@13.2.2: + globby@14.0.2: dependencies: - dir-glob: 3.0.1 + '@sindresorhus/merge-streams': 2.3.0 fast-glob: 3.3.2 ignore: 5.3.2 - merge2: 1.4.1 - slash: 4.0.0 + path-type: 5.0.0 + slash: 5.1.0 + unicorn-magic: 0.1.0 goober@2.1.14(csstype@3.1.3): dependencies: @@ -6638,8 +6463,6 @@ snapshots: graphemer@1.4.0: {} - hard-rejection@2.1.0: {} - has-bigints@1.0.2: {} has-flag@3.0.0: {} @@ -6760,8 +6583,6 @@ snapshots: indent-string@4.0.0: {} - indent-string@5.0.0: {} - inflight@1.0.6: dependencies: once: 1.4.0 @@ -6792,8 +6613,6 @@ snapshots: call-bind: 1.0.7 get-intrinsic: 1.2.4 - is-arrayish@0.2.1: {} - is-arrayish@0.3.2: {} is-bigint@1.0.4: @@ -6859,8 +6678,6 @@ snapshots: is-path-inside@4.0.0: {} - is-plain-obj@1.1.0: {} - is-port-reachable@4.0.0: {} is-regex@1.1.4: @@ -6960,8 +6777,6 @@ snapshots: json-buffer@3.0.1: {} - json-parse-even-better-errors@2.3.1: {} - json-schema-traverse@0.4.1: {} json-schema-traverse@1.0.0: {} @@ -7004,8 +6819,6 @@ snapshots: dependencies: json-buffer: 3.0.1 - kind-of@6.0.3: {} - lazy-val@1.0.5: {} lazystream@1.0.1: @@ -7025,8 +6838,6 @@ snapshots: dependencies: immediate: 3.0.6 - lines-and-columns@1.2.4: {} - locate-path@6.0.0: dependencies: p-locate: 5.0.0 @@ -7089,10 +6900,6 @@ snapshots: transitivePeerDependencies: - supports-color - map-obj@1.0.1: {} - - map-obj@4.3.0: {} - map-stream@0.1.0: {} matcher@3.0.0: @@ -7100,20 +6907,7 @@ snapshots: escape-string-regexp: 4.0.0 optional: true - meow@10.1.5: - dependencies: - '@types/minimist': 1.2.5 - camelcase-keys: 7.0.2 - decamelize: 5.0.1 - decamelize-keys: 1.1.1 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 3.0.3 - read-pkg-up: 8.0.0 - redent: 4.0.0 - trim-newlines: 4.1.1 - type-fest: 1.4.0 - yargs-parser: 20.2.9 + meow@13.2.0: {} merge-anything@5.1.7: dependencies: @@ -7150,8 +6944,6 @@ snapshots: mimic-response@3.1.0: {} - min-indent@1.0.1: {} - minimatch@10.0.1: dependencies: brace-expansion: 2.0.1 @@ -7168,12 +6960,6 @@ snapshots: dependencies: brace-expansion: 2.0.1 - minimist-options@4.1.0: - dependencies: - arrify: 1.0.1 - is-plain-obj: 1.1.0 - kind-of: 6.0.3 - minimist@1.2.8: {} minipass-collect@2.0.1: @@ -7277,13 +7063,6 @@ snapshots: dependencies: abbrev: 2.0.0 - normalize-package-data@3.0.3: - dependencies: - hosted-git-info: 4.1.0 - is-core-module: 2.15.1 - semver: 7.6.3 - validate-npm-package-license: 3.0.4 - normalize-path@3.0.0: {} normalize-url@6.1.0: {} @@ -7373,9 +7152,7 @@ snapshots: dependencies: aggregate-error: 3.1.0 - p-map@5.5.0: - dependencies: - aggregate-error: 4.0.1 + p-map@7.0.2: {} package-json-from-dist@1.0.0: {} @@ -7385,13 +7162,6 @@ snapshots: dependencies: callsites: 3.1.0 - parse-json@5.2.0: - dependencies: - '@babel/code-frame': 7.24.7 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - parseley@0.12.1: dependencies: leac: 0.6.0 @@ -7421,7 +7191,7 @@ snapshots: path-to-regexp@2.2.1: {} - path-type@4.0.0: {} + path-type@5.0.0: {} pause-stream@0.0.11: dependencies: @@ -7514,19 +7284,6 @@ snapshots: json5: 2.2.3 lazy-val: 1.0.5 - read-pkg-up@8.0.0: - dependencies: - find-up: 5.0.0 - read-pkg: 6.0.0 - type-fest: 1.4.0 - - read-pkg@6.0.0: - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 3.0.3 - parse-json: 5.2.0 - type-fest: 1.4.0 - readable-stream@2.3.8: dependencies: core-util-is: 1.0.3 @@ -7547,11 +7304,6 @@ snapshots: dependencies: minimatch: 5.1.6 - redent@4.0.0: - dependencies: - indent-string: 5.0.0 - strip-indent: 4.0.0 - regenerator-runtime@0.13.11: {} regenerator-runtime@0.14.1: {} @@ -7771,7 +7523,7 @@ snapshots: mrmime: 2.0.0 totalist: 3.0.1 - slash@4.0.0: {} + slash@5.1.0: {} slice-ansi@3.0.0: dependencies: @@ -7836,20 +7588,6 @@ snapshots: source-map@0.6.1: {} - spdx-correct@3.2.0: - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.16 - - spdx-exceptions@2.3.0: {} - - spdx-expression-parse@3.0.1: - dependencies: - spdx-exceptions: 2.3.0 - spdx-license-ids: 3.0.16 - - spdx-license-ids@3.0.16: {} - split@0.3.3: dependencies: through: 2.3.8 @@ -7921,10 +7659,6 @@ snapshots: strip-final-newline@2.0.0: {} - strip-indent@4.0.0: - dependencies: - min-indent: 1.0.1 - strip-json-comments@2.0.1: {} strip-json-comments@3.1.1: {} @@ -8004,8 +7738,6 @@ snapshots: totalist@3.0.1: {} - trim-newlines@4.1.1: {} - truncate-utf8-bytes@1.0.2: dependencies: utf8-byte-length: 1.0.4 @@ -8037,8 +7769,6 @@ snapshots: type-fest@0.20.2: {} - type-fest@1.4.0: {} - type-fest@2.19.0: {} type-fest@4.20.1: {} @@ -8105,6 +7835,8 @@ snapshots: undici@6.13.0: {} + unicorn-magic@0.1.0: {} + unique-filename@3.0.0: dependencies: unique-slug: 4.0.0 @@ -8160,11 +7892,6 @@ snapshots: validate-html-nesting@1.2.2: {} - validate-npm-package-license@3.0.4: - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - vary@1.1.2: {} verror@1.10.1: @@ -8305,8 +8032,6 @@ snapshots: yallist@4.0.0: {} - yargs-parser@20.2.9: {} - yargs-parser@21.1.1: {} yargs@17.7.2: From 825aac1dabd66fc73d55e17c1dfe2f2a0dab8799 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:14:08 +0900 Subject: [PATCH 38/93] chore(deps): update dependency electron to v32.2.0 (#2487) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 38 +++++++++++++++++++------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 333e6f3a57..c9fbea8dc4 100644 --- a/package.json +++ b/package.json @@ -223,7 +223,7 @@ "cross-env": "7.0.3", "del-cli": "6.0.0", "discord-api-types": "0.37.101", - "electron": "32.1.2", + "electron": "32.2.0", "electron-builder": "24.13.3", "electron-devtools-installer": "3.2.0", "electron-vite": "2.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2346fbc791..15283f864b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,16 +26,16 @@ importers: dependencies: '@cliqz/adblocker-electron': specifier: 1.27.1 - version: 1.27.1(electron@32.1.2) + version: 1.27.1(electron@32.2.0) '@cliqz/adblocker-electron-preload': specifier: 1.27.1 - version: 1.27.1(electron@32.1.2) + version: 1.27.1(electron@32.2.0) '@electron-toolkit/tsconfig': specifier: 1.0.1 version: 1.0.1(@types/node@20.12.5) '@electron/remote': specifier: 2.1.2 - version: 2.1.2(electron@32.1.2) + version: 2.1.2(electron@32.2.0) '@ffmpeg.wasm/core-mt': specifier: 0.12.0 version: 0.12.0 @@ -77,7 +77,7 @@ importers: version: 13.0.1 custom-electron-prompt: specifier: 1.5.8 - version: 1.5.8(electron@32.1.2) + version: 1.5.8(electron@32.2.0) dbus-next: specifier: 0.10.2 version: 0.10.2 @@ -218,8 +218,8 @@ importers: specifier: 0.37.101 version: 0.37.101 electron: - specifier: 32.1.2 - version: 32.1.2 + specifier: 32.2.0 + version: 32.2.0 electron-builder: specifier: 24.13.3 version: 24.13.3(electron-builder-squirrel-windows@24.13.3) @@ -1937,8 +1937,8 @@ packages: '@swc/core': optional: true - electron@32.1.2: - resolution: {integrity: sha512-CXe6doFzhmh1U7daOvUzmF6Cj8hssdYWMeEPRnRO6rB9/bbwMlWctcQ7P8NJXhLQ88/vYUJQrJvlJPh8qM0BRQ==} + electron@32.2.0: + resolution: {integrity: sha512-Xy82QBQrEiQysoxsv6lnhHAcWNNe6vV6QqH3OPFXhEj/T9oAsBHEhZuuYHINSSsUE7zRSj+J9sNwJYOjisT0Vw==} engines: {node: '>= 12.20.55'} hasBin: true @@ -4176,16 +4176,16 @@ snapshots: dependencies: '@cliqz/adblocker-extended-selectors': 1.27.6 - '@cliqz/adblocker-electron-preload@1.27.1(electron@32.1.2)': + '@cliqz/adblocker-electron-preload@1.27.1(electron@32.2.0)': dependencies: '@cliqz/adblocker-content': 1.27.6 - electron: 32.1.2 + electron: 32.2.0 - '@cliqz/adblocker-electron@1.27.1(electron@32.1.2)': + '@cliqz/adblocker-electron@1.27.1(electron@32.2.0)': dependencies: '@cliqz/adblocker': 1.27.6 - '@cliqz/adblocker-electron-preload': 1.27.1(electron@32.1.2) - electron: 32.1.2 + '@cliqz/adblocker-electron-preload': 1.27.1(electron@32.2.0) + electron: 32.2.0 tldts-experimental: 6.1.2 '@cliqz/adblocker-extended-selectors@1.27.6': {} @@ -4265,9 +4265,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@electron/remote@2.1.2(electron@32.1.2)': + '@electron/remote@2.1.2(electron@32.2.0)': dependencies: - electron: 32.1.2 + electron: 32.2.0 '@electron/universal@2.0.1': dependencies: @@ -4760,7 +4760,7 @@ snapshots: '@types/electron-localshortcut@3.1.3': dependencies: - electron: 32.1.2 + electron: 32.2.0 transitivePeerDependencies: - supports-color @@ -5509,9 +5509,9 @@ snapshots: csstype@3.1.3: {} - custom-electron-prompt@1.5.8(electron@32.1.2): + custom-electron-prompt@1.5.8(electron@32.2.0): dependencies: - electron: 32.1.2 + electron: 32.2.0 data-uri-to-buffer@4.0.1: {} @@ -5830,7 +5830,7 @@ snapshots: transitivePeerDependencies: - supports-color - electron@32.1.2: + electron@32.2.0: dependencies: '@electron/get': 2.0.3 '@types/node': 20.12.5 From 1de1cbac655f55c26d1336fc23ba83f563c83a42 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:14:17 +0900 Subject: [PATCH 39/93] chore(deps): update dependency typescript to v5.6.3 (#2486) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 90 +++++++++++++++++++++++++------------------------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index c9fbea8dc4..5271301bd6 100644 --- a/package.json +++ b/package.json @@ -236,7 +236,7 @@ "node-gyp": "10.2.0", "playwright": "1.47.2", "rollup": "4.24.0", - "typescript": "5.6.2", + "typescript": "5.6.3", "typescript-eslint": "^8.6.0", "utf-8-validate": "6.0.4", "vite": "5.4.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15283f864b..aa7b6b9d01 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -240,10 +240,10 @@ importers: version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0) eslint-import-resolver-typescript: specifier: 3.6.3 - version: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) + version: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@9.12.0) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + version: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) glob: specifier: 11.0.0 version: 11.0.0 @@ -257,11 +257,11 @@ importers: specifier: 4.24.0 version: 4.24.0 typescript: - specifier: 5.6.2 - version: 5.6.2 + specifier: 5.6.3 + version: 5.6.3 typescript-eslint: specifier: ^8.6.0 - version: 8.8.1(eslint@9.12.0)(typescript@5.6.2) + version: 8.8.1(eslint@9.12.0)(typescript@5.6.3) utf-8-validate: specifier: 6.0.4 version: 6.0.4 @@ -3743,8 +3743,8 @@ packages: typescript: optional: true - typescript@5.6.2: - resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} + typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} hasBin: true @@ -4831,34 +4831,34 @@ snapshots: '@types/node': 20.12.5 optional: true - '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint@9.12.0)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.3) '@typescript-eslint/scope-manager': 8.8.1 - '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0)(typescript@5.6.3) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.8.1 eslint: 9.12.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 8.8.1 '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.8.1 debug: 4.3.7 eslint: 9.12.0 optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -4867,21 +4867,21 @@ snapshots: '@typescript-eslint/types': 8.8.1 '@typescript-eslint/visitor-keys': 8.8.1 - '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0)(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.3) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.3) debug: 4.3.7 - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - eslint - supports-color '@typescript-eslint/types@8.8.1': {} - '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 8.8.1 '@typescript-eslint/visitor-keys': 8.8.1 @@ -4890,18 +4890,18 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.8.1(eslint@9.12.0)(typescript@5.6.2)': + '@typescript-eslint/utils@8.8.1(eslint@9.12.0)(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0) '@typescript-eslint/scope-manager': 8.8.1 '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.3) eslint: 9.12.0 transitivePeerDependencies: - supports-color @@ -5464,7 +5464,7 @@ snapshots: config-file-ts@0.2.6: dependencies: glob: 10.4.5 - typescript: 5.6.2 + typescript: 5.6.3 content-disposition@0.5.2: {} @@ -6020,7 +6020,7 @@ snapshots: eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: eslint: 9.12.0 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) resolve.exports: 2.0.2 eslint-import-resolver-node@0.3.9: @@ -6031,37 +6031,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 9.12.0 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.3) eslint: 9.12.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@9.12.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -6072,7 +6072,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.12.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -6084,7 +6084,7 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -7742,9 +7742,9 @@ snapshots: dependencies: utf8-byte-length: 1.0.4 - ts-api-utils@1.3.0(typescript@5.6.2): + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: - typescript: 5.6.2 + typescript: 5.6.3 ts-morph@24.0.0: dependencies: @@ -7805,18 +7805,18 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.8.1(eslint@9.12.0)(typescript@5.6.2): + typescript-eslint@8.8.1(eslint@9.12.0)(typescript@5.6.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.2))(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint@9.12.0)(typescript@5.6.3) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.6.3) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - eslint - supports-color - typescript@5.6.2: {} + typescript@5.6.3: {} uint8array-extras@1.1.0: {} From 8153955ccfeaab7b2886fe65195297c962749cc5 Mon Sep 17 00:00:00 2001 From: Reycko <78082869+Reycko@users.noreply.github.com> Date: Sun, 13 Oct 2024 11:00:03 +0200 Subject: [PATCH 40/93] fix(`synced-lyrics`): Fix 2 issues (#2441) --- src/plugins/synced-lyrics/renderer/lyrics/fetch.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts b/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts index 9e51fbceb0..b4e53d311e 100644 --- a/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts +++ b/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts @@ -38,7 +38,7 @@ export const extractTimeAndText = ( index, timeInMs, time: `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}:${millis}`, - text: text?.trim() ?? config()!.defaultTextString, + text: text?.trim().length ? text?.trim() : config()!.defaultTextString, status: 'upcoming', duration: 0, }; @@ -178,8 +178,8 @@ export const getLyricsList = async ( // Add a blank line at the beginning raw.unshift('[0:0.0] '); - const syncedLyricList = raw.reduce((acc, line, index) => { - const syncedLine = extractTimeAndText(line, index); + const syncedLyricList = raw.reduce((acc, line) => { + const syncedLine = extractTimeAndText(line, acc.length); if (syncedLine) { acc.push(syncedLine); } From 8acb93225b5feb53a32a0cadcbb15710ca46cb2e Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 18:03:37 +0900 Subject: [PATCH 41/93] fix(synced-lyrics): fix text extract logic --- src/plugins/synced-lyrics/renderer/lyrics/fetch.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts b/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts index b4e53d311e..afbf7ace1e 100644 --- a/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts +++ b/src/plugins/synced-lyrics/renderer/lyrics/fetch.ts @@ -8,20 +8,16 @@ import { setDebugInfo, setLineLyrics } from '../components/LyricsContainer'; import type { SongInfo } from '@/providers/song-info'; import type { LineLyrics, LRCLIBSearchResponse } from '../../types'; -// prettier-ignore export const [isInstrumental, setIsInstrumental] = createSignal(false); -// prettier-ignore export const [isFetching, setIsFetching] = createSignal(false); -// prettier-ignore export const [hadSecondAttempt, setHadSecondAttempt] = createSignal(false); -// prettier-ignore export const [differentDuration, setDifferentDuration] = createSignal(false); export const extractTimeAndText = ( line: string, index: number, ): LineLyrics | null => { - const groups = /\[(\d+):(\d+)\.(\d+)\](.+)/.exec(line); + const groups = /\[(\d+):(\d+)\.(\d+)](.+)/.exec(line); if (!groups) return null; const [, rMinutes, rSeconds, rMillis, text] = groups; @@ -31,14 +27,13 @@ export const extractTimeAndText = ( parseInt(rMillis), ]; - // prettier-ignore const timeInMs = (minutes * 60 * 1000) + (seconds * 1000) + millis; return { index, timeInMs, time: `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}:${millis}`, - text: text?.trim().length ? text?.trim() : config()!.defaultTextString, + text: text?.trim() || config()!.defaultTextString, status: 'upcoming', duration: 0, }; @@ -123,7 +118,7 @@ export const getLyricsList = async ( setHadSecondAttempt(true); } - const filteredResults = []; + const filteredResults: LRCLIBSearchResponse = []; for (const item of data) { const { artist } = songData; const { artistName } = item; From 4cbf6c015bf50b1baa3bd74b1fc1559da410aecf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 18:05:01 +0900 Subject: [PATCH 42/93] chore(deps): update playwright monorepo to v1.48.0 (#2489) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 4 ++-- pnpm-lock.yaml | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 5271301bd6..c6e077230b 100644 --- a/package.json +++ b/package.json @@ -208,7 +208,7 @@ }, "devDependencies": { "@eslint/js": "^9.10.0", - "@playwright/test": "1.47.2", + "@playwright/test": "1.48.0", "@stylistic/eslint-plugin-js": "^2.8.0", "@total-typescript/ts-reset": "0.6.1", "@types/color": "3.0.6", @@ -234,7 +234,7 @@ "eslint-plugin-import": "2.31.0", "glob": "11.0.0", "node-gyp": "10.2.0", - "playwright": "1.47.2", + "playwright": "1.48.0", "rollup": "4.24.0", "typescript": "5.6.3", "typescript-eslint": "^8.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aa7b6b9d01..19206ad0bb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -173,8 +173,8 @@ importers: specifier: ^9.10.0 version: 9.12.0 '@playwright/test': - specifier: 1.47.2 - version: 1.47.2 + specifier: 1.48.0 + version: 1.48.0 '@stylistic/eslint-plugin-js': specifier: ^2.8.0 version: 2.9.0(eslint@9.12.0) @@ -251,8 +251,8 @@ importers: specifier: 10.2.0 version: 10.2.0 playwright: - specifier: 1.47.2 - version: 1.47.2 + specifier: 1.48.0 + version: 1.48.0 rollup: specifier: 4.24.0 version: 4.24.0 @@ -908,8 +908,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.47.2': - resolution: {integrity: sha512-jTXRsoSPONAs8Za9QEQdyjFn+0ZQFjCiIztAIF6bi1HqhBzG9Ma7g1WotyiGqFSBRZjIEqMdT8RUlbk1QVhzCQ==} + '@playwright/test@1.48.0': + resolution: {integrity: sha512-W5lhqPUVPqhtc/ySvZI5Q8X2ztBOUgZ8LbAFy0JQgrXZs2xaILrUcNO3rQjwbLPfGK13+rZsDa1FpG+tqYkT5w==} engines: {node: '>=18'} hasBin: true @@ -3210,13 +3210,13 @@ packages: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} - playwright-core@1.47.2: - resolution: {integrity: sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ==} + playwright-core@1.48.0: + resolution: {integrity: sha512-RBvzjM9rdpP7UUFrQzRwR8L/xR4HyC1QXMzGYTbf1vjw25/ya9NRAVnXi/0fvFopjebvyPzsmoK58xxeEOaVvA==} engines: {node: '>=18'} hasBin: true - playwright@1.47.2: - resolution: {integrity: sha512-nx1cLMmQWqmA3UsnjaaokyoUpdVaaDhJhMoxX2qj3McpjnsqFHs516QAKYhqHAgOP+oCFTEOCOAaD1RgD/RQfA==} + playwright@1.48.0: + resolution: {integrity: sha512-qPqFaMEHuY/ug8o0uteYJSRfMGFikhUysk8ZvAtfKmUK3kc/6oNl/y3EczF8OFGYIi/Ex2HspMfzYArk6+XQSA==} engines: {node: '>=18'} hasBin: true @@ -4582,9 +4582,9 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.47.2': + '@playwright/test@1.48.0': dependencies: - playwright: 1.47.2 + playwright: 1.48.0 '@polka/url@1.0.0-next.24': {} @@ -7218,11 +7218,11 @@ snapshots: picomatch@4.0.2: {} - playwright-core@1.47.2: {} + playwright-core@1.48.0: {} - playwright@1.47.2: + playwright@1.48.0: dependencies: - playwright-core: 1.47.2 + playwright-core: 1.48.0 optionalDependencies: fsevents: 2.3.2 From e7f213c4dc1ddc09556a857b0a29947cedbb5776 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 18:22:23 +0900 Subject: [PATCH 43/93] chore(eslint): apply eslint-plugin-prettier - Close #2438 --- eslint.config.mjs | 74 +++++++++++++++++++++++++---------------------- package.json | 2 ++ pnpm-lock.yaml | 12 ++++++++ 3 files changed, 53 insertions(+), 35 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6071e42a19..f6eea5dc79 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,67 +1,71 @@ //@ts-check import eslint from '@eslint/js'; -import tseslint from 'typescript-eslint'; -import stylistic from "@stylistic/eslint-plugin-js" -import * as importPlugin from "eslint-plugin-import" +import prettier from 'eslint-plugin-prettier/recommended'; +import stylistic from '@stylistic/eslint-plugin-js'; +import tsEslint from 'typescript-eslint'; -export default tseslint.config( +import * as importPlugin from 'eslint-plugin-import'; + +export default tsEslint.config( eslint.configs.recommended, - tseslint.configs.eslintRecommended, - ...tseslint.configs.recommendedTypeChecked, - { ignores: ["dist", "node_modules", "*.config.*js"] }, + tsEslint.configs.eslintRecommended, + ...tsEslint.configs.recommendedTypeChecked, + prettier, + { ignores: ['dist', 'node_modules', '*.config.*js'] }, { plugins: { stylistic, importPlugin }, languageOptions: { - parser: tseslint.parser, + parser: tsEslint.parser, parserOptions: { project: true, - sourceType: "module", - ecmaVersion: "latest" + sourceType: 'module', + ecmaVersion: 'latest' } }, rules: { - "stylistic/arrow-parens": ["error", "always"], - "stylistic/object-curly-spacing": ["error", "always"], - "@typescript-eslint/no-floating-promises": "off", - "@typescript-eslint/no-misused-promises": ["off", { checksVoidReturn: false }], + 'stylistic/arrow-parens': ['error', 'always'], + 'stylistic/object-curly-spacing': ['error', 'always'], + 'prettier/prettier': ['error', { singleQuote: true, semi: true, tabWidth: 2, trailingComma: 'all', quoteProps: 'preserve' }], + '@typescript-eslint/no-floating-promises': 'off', + '@typescript-eslint/no-misused-promises': ['off', { checksVoidReturn: false }], '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], - "@typescript-eslint/no-non-null-assertion": "off", - "importPlugin/first": "error", - "importPlugin/newline-after-import": "off", - "importPlugin/no-default-export": "off", - "importPlugin/no-duplicates": "error", - "importPlugin/no-unresolved": ["error", { ignore: ['^virtual:', '\\?inline$', '\\?raw$', '\\?asset&asarUnpack'] }], - "importPlugin/order": ["error", { + '@typescript-eslint/no-non-null-assertion': 'off', + 'importPlugin/first': 'error', + 'importPlugin/newline-after-import': 'off', + 'importPlugin/no-default-export': 'off', + 'importPlugin/no-duplicates': 'error', + 'importPlugin/no-unresolved': ['error', { ignore: ['^virtual:', '\\?inline$', '\\?raw$', '\\?asset&asarUnpack'] }], + 'importPlugin/order': ['error', { 'groups': ['builtin', 'external', ['internal', 'index', 'sibling'], 'parent', 'type'], 'newlines-between': 'always-and-inside-groups', 'alphabetize': { order: 'ignore', caseInsensitive: false } }], - "importPlugin/prefer-default-export": "off", - "camelcase": ["error", { properties: "never" }], - "class-methods-use-this": "off", - "stylistic/lines-around-comment": ["error", { + 'importPlugin/prefer-default-export': 'off', + 'camelcase': ['error', { properties: 'never' }], + 'class-methods-use-this': 'off', + 'stylistic/lines-around-comment': ['error', { beforeBlockComment: false, afterBlockComment: false, beforeLineComment: false, afterLineComment: false, }], - "stylistic/max-len": "off", - "stylistic/no-mixed-operators": "error", - "stylistic/no-multi-spaces": ["error", { ignoreEOLComments: true }], - "stylistic/no-tabs": "error", - "no-void": "error", - "no-empty": "off", - "prefer-promise-reject-errors": "off", - "stylistic/quotes": ["error", "single", { + 'stylistic/max-len': 'off', + 'stylistic/no-mixed-operators': 'error', + 'stylistic/no-multi-spaces': ['error', { ignoreEOLComments: true }], + 'stylistic/no-tabs': 'error', + 'no-void': 'error', + 'no-empty': 'off', + 'prefer-promise-reject-errors': 'off', + 'stylistic/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false, }], - "stylistic/quote-props": ["error", "consistent"], - "stylistic/semi": ["error", "always"], + 'stylistic/quote-props': ['error', 'consistent'], + 'stylistic/semi': ['error', 'always'], }, settings: { 'import/parsers': { diff --git a/package.json b/package.json index c6e077230b..2784d9f899 100644 --- a/package.json +++ b/package.json @@ -229,9 +229,11 @@ "electron-vite": "2.3.0", "esbuild": "0.24.0", "eslint": "9.12.0", + "eslint-config-prettier": "9.1.0", "eslint-import-resolver-exports": "1.0.0-beta.5", "eslint-import-resolver-typescript": "3.6.3", "eslint-plugin-import": "2.31.0", + "eslint-plugin-prettier": "5.2.1", "glob": "11.0.0", "node-gyp": "10.2.0", "playwright": "1.48.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19206ad0bb..98bbbf6d47 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -235,6 +235,9 @@ importers: eslint: specifier: 9.12.0 version: 9.12.0 + eslint-config-prettier: + specifier: 9.1.0 + version: 9.1.0(eslint@9.12.0) eslint-import-resolver-exports: specifier: 1.0.0-beta.5 version: 1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0) @@ -244,6 +247,9 @@ importers: eslint-plugin-import: specifier: 2.31.0 version: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0) + eslint-plugin-prettier: + specifier: 5.2.1 + version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.12.0))(eslint@9.12.0)(prettier@3.3.3) glob: specifier: 11.0.0 version: 11.0.0 @@ -908,6 +914,10 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} + '@pkgr/core@0.1.1': + resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@playwright/test@1.48.0': resolution: {integrity: sha512-W5lhqPUVPqhtc/ySvZI5Q8X2ztBOUgZ8LbAFy0JQgrXZs2xaILrUcNO3rQjwbLPfGK13+rZsDa1FpG+tqYkT5w==} engines: {node: '>=18'} @@ -4582,6 +4592,8 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true + '@pkgr/core@0.1.1': {} + '@playwright/test@1.48.0': dependencies: playwright: 1.48.0 From d07dae254204e8fc87f5a9935565e9bd6c0a07c5 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 18:24:36 +0900 Subject: [PATCH 44/93] fix: fix pnpm-lock.yaml --- pnpm-lock.yaml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98bbbf6d47..2c4a94705d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2045,6 +2045,12 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} + eslint-config-prettier@9.1.0: + resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + eslint-import-resolver-exports@1.0.0-beta.5: resolution: {integrity: sha512-o6t0w7muUpXr7MkUVzD5igQoDfAQvTmcPp8HEAJdNF8eOuAO+yn6I/TTyMxz9ecCwzX7e02vzlkHURoScUuidg==} peerDependencies: @@ -2098,6 +2104,20 @@ packages: '@typescript-eslint/parser': optional: true + eslint-plugin-prettier@5.2.1: + resolution: {integrity: sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' + eslint-config-prettier: '*' + prettier: '>=3.0.0' + peerDependenciesMeta: + '@types/eslint': + optional: true + eslint-config-prettier: + optional: true + eslint-scope@8.1.0: resolution: {integrity: sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2175,6 +2195,9 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + fast-equals@5.0.1: resolution: {integrity: sha512-WF1Wi8PwwSY7/6Kx0vKXtw8RwuSGoM1bvDaJbu7MxDlR1vovZjIAKrnzyrThgAjm6JDTu0fVgWXDlMGspodfoQ==} engines: {node: '>=6.0.0'} @@ -3246,6 +3269,15 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} + prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} + + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + engines: {node: '>=14'} + hasBin: true + proc-log@4.2.0: resolution: {integrity: sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -3637,6 +3669,10 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} + synckit@0.9.2: + resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} + engines: {node: ^14.18.0 || >=16.0.0} + tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -6029,6 +6065,10 @@ snapshots: escape-string-regexp@4.0.0: {} + eslint-config-prettier@9.1.0(eslint@9.12.0): + dependencies: + eslint: 9.12.0 + eslint-import-resolver-exports@1.0.0-beta.5(eslint-plugin-import@2.31.0)(eslint@9.12.0): dependencies: eslint: 9.12.0 @@ -6102,6 +6142,16 @@ snapshots: - eslint-import-resolver-webpack - supports-color + eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.12.0))(eslint@9.12.0)(prettier@3.3.3): + dependencies: + eslint: 9.12.0 + prettier: 3.3.3 + prettier-linter-helpers: 1.0.0 + synckit: 0.9.2 + optionalDependencies: + '@types/eslint': 9.6.1 + eslint-config-prettier: 9.1.0(eslint@9.12.0) + eslint-scope@8.1.0: dependencies: esrecurse: 4.3.0 @@ -6216,6 +6266,8 @@ snapshots: fast-deep-equal@3.1.3: {} + fast-diff@1.3.0: {} + fast-equals@5.0.1: {} fast-glob@3.3.2: @@ -7254,6 +7306,12 @@ snapshots: prelude-ls@1.2.1: {} + prettier-linter-helpers@1.0.0: + dependencies: + fast-diff: 1.3.0 + + prettier@3.3.3: {} + proc-log@4.2.0: {} process-nextick-args@2.0.1: {} @@ -7693,6 +7751,11 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} + synckit@0.9.2: + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.6.2 + tapable@2.2.1: {} tar-stream@2.2.0: From 9ba8913da739311047434e6dc7cc2e4e3a6b0335 Mon Sep 17 00:00:00 2001 From: Su-Yong Date: Sun, 13 Oct 2024 19:10:12 +0900 Subject: [PATCH 45/93] feat(api-server): remote control api (#1909) Co-authored-by: JellyBrick Co-authored-by: Angelos Bouklis Co-authored-by: Angelos Bouklis Co-authored-by: Angelos Bouklis <53124886+ArjixWasTaken@users.noreply.github.com> --- package.json | 8 +- pnpm-lock.yaml | 108 ++++ src/i18n/resources/en.json | 43 ++ src/plugins/api-server/backend/index.ts | 1 + src/plugins/api-server/backend/main.ts | 99 ++++ src/plugins/api-server/backend/routes/auth.ts | 90 ++++ .../api-server/backend/routes/control.ts | 474 ++++++++++++++++++ .../api-server/backend/routes/index.ts | 2 + src/plugins/api-server/backend/scheme/auth.ts | 13 + .../api-server/backend/scheme/go-back.ts | 5 + .../api-server/backend/scheme/go-forward.ts | 5 + .../api-server/backend/scheme/index.ts | 8 + .../backend/scheme/set-fullscreen.ts | 5 + .../api-server/backend/scheme/set-volume.ts | 5 + .../api-server/backend/scheme/song-info.ts | 26 + .../backend/scheme/switch-repeat.ts | 5 + src/plugins/api-server/backend/types.ts | 18 + src/plugins/api-server/config.ts | 19 + src/plugins/api-server/index.ts | 17 + src/plugins/api-server/menu.ts | 85 ++++ src/providers/song-controls.ts | 2 + src/renderer.ts | 6 + 22 files changed, 1043 insertions(+), 1 deletion(-) create mode 100644 src/plugins/api-server/backend/index.ts create mode 100644 src/plugins/api-server/backend/main.ts create mode 100644 src/plugins/api-server/backend/routes/auth.ts create mode 100644 src/plugins/api-server/backend/routes/control.ts create mode 100644 src/plugins/api-server/backend/routes/index.ts create mode 100644 src/plugins/api-server/backend/scheme/auth.ts create mode 100644 src/plugins/api-server/backend/scheme/go-back.ts create mode 100644 src/plugins/api-server/backend/scheme/go-forward.ts create mode 100644 src/plugins/api-server/backend/scheme/index.ts create mode 100644 src/plugins/api-server/backend/scheme/set-fullscreen.ts create mode 100644 src/plugins/api-server/backend/scheme/set-volume.ts create mode 100644 src/plugins/api-server/backend/scheme/song-info.ts create mode 100644 src/plugins/api-server/backend/scheme/switch-repeat.ts create mode 100644 src/plugins/api-server/backend/types.ts create mode 100644 src/plugins/api-server/config.ts create mode 100644 src/plugins/api-server/index.ts create mode 100644 src/plugins/api-server/menu.ts diff --git a/package.json b/package.json index 2784d9f899..1007597afa 100644 --- a/package.json +++ b/package.json @@ -165,6 +165,10 @@ "@ffmpeg.wasm/main": "0.12.0", "@floating-ui/dom": "1.6.11", "@foobar404/wave": "2.0.5", + "@hono/node-server": "1.13.2", + "@hono/swagger-ui": "0.4.1", + "@hono/zod-openapi": "0.16.4", + "@hono/zod-validator": "0.4.1", "@jellybrick/electron-better-web-request": "1.0.4", "@jellybrick/mpris-service": "2.1.4", "@skyra/jaro-winkler": "^1.1.1", @@ -186,6 +190,7 @@ "fast-average-color": "9.4.0", "fast-equals": "5.0.1", "filenamify": "6.0.0", + "hono": "4.6.4", "howler": "2.2.4", "html-to-text": "9.0.5", "i18next": "23.15.2", @@ -204,7 +209,8 @@ "ts-morph": "24.0.0", "vudio": "2.1.1", "x11": "2.3.0", - "youtubei.js": "10.5.0" + "youtubei.js": "10.5.0", + "zod": "3.23.8" }, "devDependencies": { "@eslint/js": "^9.10.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c4a94705d..5cb2719010 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,6 +48,18 @@ importers: '@foobar404/wave': specifier: 2.0.5 version: 2.0.5 + '@hono/node-server': + specifier: 1.13.2 + version: 1.13.2(hono@4.6.4) + '@hono/swagger-ui': + specifier: 0.4.1 + version: 0.4.1(hono@4.6.4) + '@hono/zod-openapi': + specifier: 0.16.4 + version: 0.16.4(hono@4.6.4)(zod@3.23.8) + '@hono/zod-validator': + specifier: 0.4.1 + version: 0.4.1(hono@4.6.4)(zod@3.23.8) '@jellybrick/electron-better-web-request': specifier: 1.0.4 version: 1.0.4 @@ -111,6 +123,9 @@ importers: filenamify: specifier: 6.0.0 version: 6.0.0 + hono: + specifier: 4.6.4 + version: 4.6.4 howler: specifier: 2.2.4 version: 2.2.4 @@ -168,6 +183,9 @@ importers: youtubei.js: specifier: 10.5.0 version: 10.5.0 + zod: + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@eslint/js': specifier: ^9.10.0 @@ -306,6 +324,11 @@ packages: '@assemblyscript/loader@0.17.14': resolution: {integrity: sha512-+PVTOfla/0XMLRTQLJFPg4u40XcdTfon6GGea70hBGi8Pd7ZymIXyVUR+vK8wt5Jb4MVKTKPIz43Myyebw5mZA==} + '@asteasolutions/zod-to-openapi@7.2.0': + resolution: {integrity: sha512-Va+Fq1QzKkSgmiYINSp3cASFhMsbdRH/kmCk2feijhC+yNjGoC056CRqihrVFhR8MY8HOZHdlYm2Ns2lmszCiw==} + peerDependencies: + zod: ^3.20.2 + '@babel/code-frame@7.24.7': resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} @@ -826,6 +849,36 @@ packages: '@foobar404/wave@2.0.5': resolution: {integrity: sha512-V/ydadtv5ObCw8aEg+Qy3YSq1eyinEWzJfRI43Ovmj7VmAvEdWAdL7MatoMbiIVYPATkNDVF7GOxX1xirxM9dA==} + '@hono/node-server@1.13.2': + resolution: {integrity: sha512-0w8nEmAyx0Ul0CQp8BL2VtAG4YVdpzXd/mvvM+l0G5Oq22pUyHS+KeFFPSY+czLOF5NAiV3MUNPD1n14Ol5svg==} + engines: {node: '>=18.14.1'} + peerDependencies: + hono: ^4 + + '@hono/swagger-ui@0.4.1': + resolution: {integrity: sha512-kPaJatHffeYQ3yVkHo878hCqwfapqx54FczJVJ+eRWt8J4biyVVMIdCAJb6MyA8bcnHUoTmUpPc7OJAV1VTg2g==} + peerDependencies: + hono: '*' + + '@hono/zod-openapi@0.16.4': + resolution: {integrity: sha512-mnF6GthBaKex0D5PsY/4lYNtkaGJNE38bjeUI//EUqq7Ee4TNm2su35IUiFH4HcmJp5fWYMLyOJOpjnkClzEGw==} + engines: {node: '>=16.0.0'} + peerDependencies: + hono: '>=4.3.6' + zod: 3.* + + '@hono/zod-validator@0.3.0': + resolution: {integrity: sha512-7XcTk3yYyk6ldrO/VuqsroE7stvDZxHJQcpATRAyha8rUxJNBPV3+6waDrARfgEqxOVlzIadm3/6sE/dPseXgQ==} + peerDependencies: + hono: '>=3.9.0' + zod: ^3.19.1 + + '@hono/zod-validator@0.4.1': + resolution: {integrity: sha512-I8LyfeJfvVmC5hPjZ2Iij7RjexlgSBT7QJudZ4JvNPLxn0JQ3sqclz2zydlwISAnw21D2n4LQ0nfZdoiv9fQQA==} + peerDependencies: + hono: '>=3.9.0' + zod: ^3.19.1 + '@humanfs/core@0.19.0': resolution: {integrity: sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==} engines: {node: '>=18.18.0'} @@ -2458,6 +2511,10 @@ packages: resolution: {integrity: sha512-ciq6hFsSG/Bpt2DmrZJtv+56zpPdnq+NQ4ijEFrveKN0ZG1mhl/LdT1NQZ9se6ty1fACcI4d4vYqC9v8EYpH2A==} hasBin: true + hono@4.6.4: + resolution: {integrity: sha512-T5WqBkTOcIQblqBKB5mpzaH/A+dSpvVe938xZJCHOmOuYfF7DSwE/9/10+BMvwSPq9N/f6LiQ38HxrZSQOsXKw==} + engines: {node: '>=16.9.0'} + hosted-git-info@4.1.0: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} @@ -3135,6 +3192,9 @@ packages: resolution: {integrity: sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==} engines: {node: '>=18'} + openapi3-ts@4.4.0: + resolution: {integrity: sha512-9asTNB9IkKEzWMcHmVZE7Ts3kC9G7AFHfs8i7caD8HbI76gEjdkId4z/AkP83xdZsH7PLAnnbl47qZkXuxpArw==} + optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} @@ -4026,6 +4086,11 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + yaml@2.5.1: + resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==} + engines: {node: '>= 14'} + hasBin: true + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -4048,6 +4113,9 @@ packages: resolution: {integrity: sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==} engines: {node: '>= 10'} + zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} + snapshots: 7zip-bin@5.2.0: {} @@ -4063,6 +4131,11 @@ snapshots: '@assemblyscript/loader@0.17.14': {} + '@asteasolutions/zod-to-openapi@7.2.0(zod@3.23.8)': + dependencies: + openapi3-ts: 4.4.0 + zod: 3.23.8 + '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 @@ -4530,6 +4603,31 @@ snapshots: '@foobar404/wave@2.0.5': {} + '@hono/node-server@1.13.2(hono@4.6.4)': + dependencies: + hono: 4.6.4 + + '@hono/swagger-ui@0.4.1(hono@4.6.4)': + dependencies: + hono: 4.6.4 + + '@hono/zod-openapi@0.16.4(hono@4.6.4)(zod@3.23.8)': + dependencies: + '@asteasolutions/zod-to-openapi': 7.2.0(zod@3.23.8) + '@hono/zod-validator': 0.3.0(hono@4.6.4)(zod@3.23.8) + hono: 4.6.4 + zod: 3.23.8 + + '@hono/zod-validator@0.3.0(hono@4.6.4)(zod@3.23.8)': + dependencies: + hono: 4.6.4 + zod: 3.23.8 + + '@hono/zod-validator@0.4.1(hono@4.6.4)(zod@3.23.8)': + dependencies: + hono: 4.6.4 + zod: 3.23.8 + '@humanfs/core@0.19.0': {} '@humanfs/node@0.16.5': @@ -6553,6 +6651,8 @@ snapshots: hexy@0.2.11: {} + hono@4.6.4: {} + hosted-git-info@4.1.0: dependencies: lru-cache: 6.0.0 @@ -7191,6 +7291,10 @@ snapshots: is-inside-container: 1.0.0 is-wsl: 3.1.0 + openapi3-ts@4.4.0: + dependencies: + yaml: 2.5.1 + optionator@0.9.3: dependencies: '@aashutoshrathi/word-wrap': 1.2.6 @@ -8107,6 +8211,8 @@ snapshots: yallist@4.0.0: {} + yaml@2.5.1: {} + yargs-parser@21.1.1: {} yargs@17.7.2: @@ -8138,3 +8244,5 @@ snapshots: archiver-utils: 3.0.4 compress-commons: 4.1.2 readable-stream: 3.6.2 + + zod@3.23.8: {} diff --git a/src/i18n/resources/en.json b/src/i18n/resources/en.json index 20aa7d41ab..9ce1bf41e4 100644 --- a/src/i18n/resources/en.json +++ b/src/i18n/resources/en.json @@ -279,6 +279,49 @@ }, "name": "Ambient Mode" }, + "api-server": { + "description": "Adds an API server to control the player", + "name": "API Server [Beta]", + "dialog": { + "request": { + "title": "API authorization request", + "message": "Allow {{ID}} ({{origin}}) to access the API?", + "buttons": { + "allow": "Allow", + "deny": "Deny" + } + } + }, + "menu": { + "hostname": { + "label": "Hostname" + }, + "port": { + "label": "Port" + }, + "auth-strategy": { + "label": "Authorization strategy", + "submenu": { + "auth-at-first": { + "label": "Authorize at first request" + }, + "none": { + "label": "No authorization" + } + } + } + }, + "prompt": { + "hostname": { + "title": "Hostname", + "label": "Enter the hostname (like 0.0.0.0) for the API server:" + }, + "port": { + "title": "Port", + "label": "Enter the port for the API server:" + } + } + }, "audio-compressor": { "description": "Apply compression to audio (lowers the volume of the loudest parts of the signal and raises the volume of the softest parts)", "name": "Audio Compressor" diff --git a/src/plugins/api-server/backend/index.ts b/src/plugins/api-server/backend/index.ts new file mode 100644 index 0000000000..aad1ca831e --- /dev/null +++ b/src/plugins/api-server/backend/index.ts @@ -0,0 +1 @@ +export * from './main'; diff --git a/src/plugins/api-server/backend/main.ts b/src/plugins/api-server/backend/main.ts new file mode 100644 index 0000000000..83c6376725 --- /dev/null +++ b/src/plugins/api-server/backend/main.ts @@ -0,0 +1,99 @@ +import { jwt } from 'hono/jwt'; +import { OpenAPIHono as Hono } from '@hono/zod-openapi'; +import { cors } from 'hono/cors'; +import { swaggerUI } from '@hono/swagger-ui'; +import { serve } from '@hono/node-server'; + +import registerCallback from '@/providers/song-info'; +import { createBackend } from '@/utils'; + +import { JWTPayloadSchema } from './scheme'; +import { registerAuth, registerControl } from './routes'; + +import type { APIServerConfig } from '../config'; +import type { BackendType } from './types'; + +export const backend = createBackend({ + async start(ctx) { + const config = await ctx.getConfig(); + + this.init(ctx); + registerCallback((songInfo) => { + this.songInfo = songInfo; + }); + + this.run(config.hostname, config.port); + }, + stop() { + this.end(); + }, + onConfigChange(config) { + if (this.oldConfig?.hostname === config.hostname && this.oldConfig?.port === config.port) { + this.oldConfig = config; + return; + } + + this.end(); + this.run(config.hostname, config.port); + this.oldConfig = config; + }, + + // Custom + async init(ctx) { + const config = await ctx.getConfig(); + this.app = new Hono(); + + this.app.use('*', cors()); + + // middlewares + this.app.use( + '/api/*', + jwt({ + secret: config.secret, + }), + ); + this.app.use('/api/*', async (ctx, next) => { + const result = await JWTPayloadSchema.spa(await ctx.get('jwtPayload')); + + const isAuthorized = result.success && config.authorizedClients.includes(result.data.id); + if (!isAuthorized) { + ctx.status(401); + return ctx.body('Unauthorized'); + } + + return await next(); + }); + + // routes + registerControl(this.app, ctx, () => this.songInfo); + registerAuth(this.app, ctx); + + // swagger + this.app.doc('/doc', { + openapi: '3.1.0', + info: { + version: '1.0.0', + title: 'Youtube Music API Server', + }, + }); + + this.app.get('/swagger', swaggerUI({ url: '/doc' })); + }, + run(hostname, port) { + if (!this.app) return; + + try { + this.server = serve({ + fetch: this.app.fetch.bind(this.app), + port, + hostname, + }); + } catch (err) { + console.error(err); + } + }, + end() { + this.server?.close(); + this.server = undefined; + }, +}); diff --git a/src/plugins/api-server/backend/routes/auth.ts b/src/plugins/api-server/backend/routes/auth.ts new file mode 100644 index 0000000000..b3a3e64b45 --- /dev/null +++ b/src/plugins/api-server/backend/routes/auth.ts @@ -0,0 +1,90 @@ +import { createRoute, z } from '@hono/zod-openapi'; +import { dialog } from 'electron'; +import { sign } from 'hono/jwt'; + +import { t } from '@/i18n'; +import { getConnInfo } from '@hono/node-server/conninfo'; + +import { APIServerConfig } from '../../config'; +import { JWTPayload } from '../scheme'; + +import type { HonoApp } from '../types'; +import type { BackendContext } from '@/types/contexts'; + +const routes = { + request: createRoute({ + method: 'post', + path: '/auth/{id}', + summary: '', + description: '', + request: { + params: z.object({ + id: z.string(), + }) + }, + responses: { + 200: { + description: 'Success', + content: { + 'application/json': { + schema: z.object({ + accessToken: z.string(), + }), + }, + }, + }, + 403: { + description: 'Forbidden', + }, + }, + }), +}; + +export const register = (app: HonoApp, { getConfig, setConfig }: BackendContext) => { + app.openapi(routes.request, async (ctx) => { + const config = await getConfig(); + const { id } = ctx.req.param(); + + if (config.authorizedClients.includes(id)) { + // SKIP CHECK + } else if (config.authStrategy === 'AUTH_AT_FIRST') { + const result = await dialog.showMessageBox({ + title: t('plugins.api-server.dialog.request.title'), + message: t('plugins.api-server.dialog.request.message', { + origin: getConnInfo(ctx).remote.address, + id, + }), + buttons: [t('plugins.api-server.dialog.request.buttons.allow'), t('plugins.api-server.dialog.request.deny')], + defaultId: 1, + cancelId: 1, + }); + + if (result.response === 1) { + ctx.status(403); + return ctx.body(null); + } + } else if (config.authStrategy === 'NONE') { + // SKIP CHECK + } + + setConfig({ + authorizedClients: [ + ...config.authorizedClients, + id, + ], + }); + + const token = await sign( + { + id, + iat: ~~(Date.now() / 1000), + } satisfies JWTPayload, + config.secret, + ); + + ctx.status(200); + return ctx.json({ + accessToken: token, + }); + }); +}; diff --git a/src/plugins/api-server/backend/routes/control.ts b/src/plugins/api-server/backend/routes/control.ts new file mode 100644 index 0000000000..f8231e292f --- /dev/null +++ b/src/plugins/api-server/backend/routes/control.ts @@ -0,0 +1,474 @@ +import { createRoute, z } from '@hono/zod-openapi'; + +import { ipcMain } from 'electron'; + +import getSongControls from '@/providers/song-controls'; + +import { + AuthHeadersSchema, + type ResponseSongInfo, + SongInfoSchema, + GoForwardScheme, + GoBackSchema, + SwitchRepeatSchema, + SetVolumeSchema, + SetFullscreenSchema, +} from '../scheme'; + +import type { SongInfo } from '@/providers/song-info'; +import type { BackendContext } from '@/types/contexts'; +import type { APIServerConfig } from '../../config'; +import type { HonoApp } from '../types'; +import type { QueueResponse } from '@/types/youtube-music-desktop-internal'; + +const API_VERSION = 'v1'; + +const routes = { + previous: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/previous`, + summary: 'play previous song', + description: 'Plays the previous song in the queue', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + next: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/next`, + summary: 'play next song', + description: 'Plays the next song in the queue', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + play: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/play`, + summary: 'Play', + description: 'Change the state of the player to play', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + pause: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/pause`, + summary: 'Pause', + description: 'Change the state of the player to pause', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + togglePlay: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/toggle-play`, + summary: 'Toggle play/pause', + description: 'Change the state of the player to play if paused, or pause if playing', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + like: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/like`, + summary: 'like song', + description: 'Set the current song as liked', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + dislike: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/dislike`, + summary: 'dislike song', + description: 'Set the current song as disliked', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + + goBack: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/go-back`, + summary: 'go back', + description: 'Move the current song back by a number of seconds', + request: { + headers: AuthHeadersSchema, + body: { + description: 'seconds to go back', + content: { + 'application/json': { + schema: GoBackSchema, + }, + }, + }, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + + goForward: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/go-forward`, + summary: 'go forward', + description: 'Move the current song forward by a number of seconds', + request: { + headers: AuthHeadersSchema, + body: { + description: 'seconds to go forward', + content: { + 'application/json': { + schema: GoForwardScheme, + }, + }, + }, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + + shuffle: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/shuffle`, + summary: 'shuffle', + description: 'Shuffle the queue', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + switchRepeat: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/switch-repeat`, + summary: 'switch repeat', + description: 'Switch the repeat mode', + request: { + headers: AuthHeadersSchema, + body: { + description: 'number of times to click the repeat button', + content: { + 'application/json': { + schema: SwitchRepeatSchema, + }, + }, + }, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + setVolume: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/volume`, + summary: 'set volume', + description: 'Set the volume of the player', + request: { + headers: AuthHeadersSchema, + body: { + description: 'volume to set', + content: { + 'application/json': { + schema: SetVolumeSchema, + }, + }, + }, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + setFullscreen: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/fullscreen`, + summary: 'set fullscreen', + description: 'Set the fullscreen state of the player', + request: { + headers: AuthHeadersSchema, + body: { + description: 'fullscreen state', + content: { + 'application/json': { + schema: SetFullscreenSchema, + }, + }, + }, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + toggleMute: createRoute({ + method: 'post', + path: `/api/${API_VERSION}/toggle-mute`, + summary: 'toggle mute', + description: 'Toggle the mute state of the player', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 204: { + description: 'Success', + }, + }, + }), + + getFullscreenState: createRoute({ + method: 'get', + path: `/api/${API_VERSION}/fullscreen`, + summary: 'get fullscreen state', + description: 'Get the current fullscreen state', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 200: { + description: 'Success', + content: { + 'application/json': { + schema: z.object({ + state: z.boolean(), + }), + } + }, + }, + }, + }), + queueInfo: createRoute({ + method: 'get', + path: `/api/${API_VERSION}/queue-info`, + summary: 'get current queue info', + description: 'Get the current queue info', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 200: { + description: 'Success', + content: { + 'application/json': { + schema: z.object({}), + } + }, + }, + 204: { + description: 'No queue info', + }, + }, + }), + songInfo: createRoute({ + method: 'get', + path: `/api/${API_VERSION}/song-info`, + summary: 'get current song info', + description: 'Get the current song info', + request: { + headers: AuthHeadersSchema, + }, + responses: { + 200: { + description: 'Success', + content: { + 'application/json': { + schema: SongInfoSchema, + } + }, + }, + 204: { + description: 'No song info', + }, + }, + }), +}; + +export const register = (app: HonoApp, { window }: BackendContext, songInfoGetter: () => SongInfo | undefined) => { + const controller = getSongControls(window); + + app.openapi(routes.previous, (ctx) => { + controller.previous(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.previous, (ctx) => { + controller.previous(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.play, (ctx) => { + controller.play(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.pause, (ctx) => { + controller.pause(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.togglePlay, (ctx) => { + controller.playPause(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.like, (ctx) => { + controller.like(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.dislike, (ctx) => { + controller.dislike(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.goBack, (ctx) => { + const { seconds } = ctx.req.valid('json'); + controller.goBack(seconds); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.goForward, (ctx) => { + const { seconds } = ctx.req.valid('json'); + controller.goForward(seconds); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.shuffle, (ctx) => { + controller.shuffle(); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.switchRepeat, (ctx) => { + const { iteration } = ctx.req.valid('json'); + controller.switchRepeat(iteration); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.setVolume, (ctx) => { + const { volume } = ctx.req.valid('json'); + controller.setVolume(volume); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.setFullscreen, (ctx) => { + const { state } = ctx.req.valid('json'); + controller.setFullscreen(state); + + ctx.status(204); + return ctx.body(null); + }); + app.openapi(routes.toggleMute, (ctx) => { + controller.muteUnmute(); + + ctx.status(204); + return ctx.body(null); + }); + + app.openapi(routes.getFullscreenState, async (ctx) => { + const stateResponsePromise = new Promise((resolve) => { + ipcMain.once('ytmd:set-fullscreen', (_, isFullscreen: boolean | undefined) => { + return resolve(!!isFullscreen); + }); + + controller.requestFullscreenInformation(); + }); + + const fullscreen = await stateResponsePromise; + + ctx.status(200); + return ctx.json({ state: fullscreen }); + }); + app.openapi(routes.queueInfo, async (ctx) => { + const queueResponsePromise = new Promise((resolve) => { + ipcMain.once('ytmd:get-queue-response', (_, queue: QueueResponse) => { + return resolve(queue); + }); + + controller.requestQueueInformation(); + }); + + const info = await queueResponsePromise; + + if (!info) { + ctx.status(204); + return ctx.body(null); + } + + ctx.status(200); + return ctx.json(info); + }); + app.openapi(routes.songInfo, (ctx) => { + const info = songInfoGetter(); + + if (!info) { + ctx.status(204); + return ctx.body(null); + } + + const body = { ...info }; + delete body.image; + + ctx.status(200); + return ctx.json(body satisfies ResponseSongInfo); + }); +}; diff --git a/src/plugins/api-server/backend/routes/index.ts b/src/plugins/api-server/backend/routes/index.ts new file mode 100644 index 0000000000..e13f8e66aa --- /dev/null +++ b/src/plugins/api-server/backend/routes/index.ts @@ -0,0 +1,2 @@ +export { register as registerControl } from './control'; +export { register as registerAuth } from './auth'; diff --git a/src/plugins/api-server/backend/scheme/auth.ts b/src/plugins/api-server/backend/scheme/auth.ts new file mode 100644 index 0000000000..9e685c0dc2 --- /dev/null +++ b/src/plugins/api-server/backend/scheme/auth.ts @@ -0,0 +1,13 @@ +import { z } from '@hono/zod-openapi'; + +export const AuthHeadersSchema = z.object({ + authorization: z.string().openapi({ + example: 'Bearer token', + }), +}); + +export type JWTPayload = z.infer; +export const JWTPayloadSchema = z.object({ + id: z.string(), + iat: z.number(), +}); diff --git a/src/plugins/api-server/backend/scheme/go-back.ts b/src/plugins/api-server/backend/scheme/go-back.ts new file mode 100644 index 0000000000..15472a4b1e --- /dev/null +++ b/src/plugins/api-server/backend/scheme/go-back.ts @@ -0,0 +1,5 @@ +import { z } from '@hono/zod-openapi'; + +export const GoBackSchema = z.object({ + seconds: z.number(), +}); diff --git a/src/plugins/api-server/backend/scheme/go-forward.ts b/src/plugins/api-server/backend/scheme/go-forward.ts new file mode 100644 index 0000000000..8d4d5836b7 --- /dev/null +++ b/src/plugins/api-server/backend/scheme/go-forward.ts @@ -0,0 +1,5 @@ +import { z } from '@hono/zod-openapi'; + +export const GoForwardScheme = z.object({ + seconds: z.number(), +}); diff --git a/src/plugins/api-server/backend/scheme/index.ts b/src/plugins/api-server/backend/scheme/index.ts new file mode 100644 index 0000000000..305f55af24 --- /dev/null +++ b/src/plugins/api-server/backend/scheme/index.ts @@ -0,0 +1,8 @@ +export * from './auth'; +export * from './song-info'; +export * from './go-back'; +export * from './go-forward'; +export * from './switch-repeat'; +export * from './set-volume'; +export * from './set-fullscreen'; + diff --git a/src/plugins/api-server/backend/scheme/set-fullscreen.ts b/src/plugins/api-server/backend/scheme/set-fullscreen.ts new file mode 100644 index 0000000000..6c31853850 --- /dev/null +++ b/src/plugins/api-server/backend/scheme/set-fullscreen.ts @@ -0,0 +1,5 @@ +import { z } from '@hono/zod-openapi'; + +export const SetFullscreenSchema = z.object({ + state: z.boolean(), +}); diff --git a/src/plugins/api-server/backend/scheme/set-volume.ts b/src/plugins/api-server/backend/scheme/set-volume.ts new file mode 100644 index 0000000000..41effe9fad --- /dev/null +++ b/src/plugins/api-server/backend/scheme/set-volume.ts @@ -0,0 +1,5 @@ +import { z } from '@hono/zod-openapi'; + +export const SetVolumeSchema = z.object({ + volume: z.number(), +}); diff --git a/src/plugins/api-server/backend/scheme/song-info.ts b/src/plugins/api-server/backend/scheme/song-info.ts new file mode 100644 index 0000000000..8d81181bba --- /dev/null +++ b/src/plugins/api-server/backend/scheme/song-info.ts @@ -0,0 +1,26 @@ +import { z } from '@hono/zod-openapi'; + +import { MediaType } from '@/providers/song-info'; + +export type ResponseSongInfo = z.infer; +export const SongInfoSchema = z.object({ + title: z.string(), + artist: z.string(), + views: z.number(), + uploadDate: z.string().optional(), + imageSrc: z.string().nullable().optional(), + isPaused: z.boolean().optional(), + songDuration: z.number(), + elapsedSeconds: z.number().optional(), + url: z.string().optional(), + album: z.string().nullable().optional(), + videoId: z.string(), + playlistId: z.string().optional(), + mediaType: z.enum([ + MediaType.Audio, + MediaType.OriginalMusicVideo, + MediaType.UserGeneratedContent, + MediaType.PodcastEpisode, + MediaType.OtherVideo, + ]), +}); diff --git a/src/plugins/api-server/backend/scheme/switch-repeat.ts b/src/plugins/api-server/backend/scheme/switch-repeat.ts new file mode 100644 index 0000000000..d82c065f07 --- /dev/null +++ b/src/plugins/api-server/backend/scheme/switch-repeat.ts @@ -0,0 +1,5 @@ +import { z } from '@hono/zod-openapi'; + +export const SwitchRepeatSchema = z.object({ + iteration: z.number(), +}); diff --git a/src/plugins/api-server/backend/types.ts b/src/plugins/api-server/backend/types.ts new file mode 100644 index 0000000000..105921d470 --- /dev/null +++ b/src/plugins/api-server/backend/types.ts @@ -0,0 +1,18 @@ +import { OpenAPIHono as Hono } from '@hono/zod-openapi'; +import { serve } from '@hono/node-server'; + +import type { BackendContext } from '@/types/contexts'; +import type { SongInfo } from '@/providers/song-info'; +import type { APIServerConfig } from '../config'; + +export type HonoApp = Hono; +export type BackendType = { + app?: HonoApp; + server?: ReturnType; + oldConfig?: APIServerConfig; + songInfo?: SongInfo; + + init: (ctx: BackendContext) => void; + run: (hostname: string, port: number) => void; + end: () => void; +}; diff --git a/src/plugins/api-server/config.ts b/src/plugins/api-server/config.ts new file mode 100644 index 0000000000..da2b372b40 --- /dev/null +++ b/src/plugins/api-server/config.ts @@ -0,0 +1,19 @@ +export interface APIServerConfig { + enabled: boolean; + hostname: string; + port: number; + authStrategy: 'AUTH_AT_FIRST' | 'NONE'; + secret: string; + + authorizedClients: string[]; +} + +export const defaultAPIServerConfig: APIServerConfig = { + enabled: true, + hostname: '0.0.0.0', + port: 26538, + authStrategy: 'AUTH_AT_FIRST', + secret: Date.now().toString(36), + + authorizedClients: [], +}; diff --git a/src/plugins/api-server/index.ts b/src/plugins/api-server/index.ts new file mode 100644 index 0000000000..5c05c45137 --- /dev/null +++ b/src/plugins/api-server/index.ts @@ -0,0 +1,17 @@ +import { createPlugin } from '@/utils'; +import { t } from '@/i18n'; + +import { defaultAPIServerConfig } from './config'; +import { onMenu } from './menu'; +import { backend } from './backend'; + +export default createPlugin({ + name: () => t('plugins.api-server.name'), + description: () => t('plugins.api-server.description'), + restartNeeded: false, + config: defaultAPIServerConfig, + addedVersion: '3.6.X', + menu: onMenu, + + backend, +}); diff --git a/src/plugins/api-server/menu.ts b/src/plugins/api-server/menu.ts new file mode 100644 index 0000000000..46f571b3e2 --- /dev/null +++ b/src/plugins/api-server/menu.ts @@ -0,0 +1,85 @@ +import prompt from 'custom-electron-prompt'; + +import { t } from '@/i18n'; +import promptOptions from '@/providers/prompt-options'; + +import { APIServerConfig, defaultAPIServerConfig } from './config'; + +import type { MenuContext } from '@/types/contexts'; +import type { MenuTemplate } from '@/menu'; + +export const onMenu = async ({ + getConfig, + setConfig, + window, +}: MenuContext): Promise => { + const config = await getConfig(); + + return [ + { + label: t('plugins.api-server.menu.hostname.label'), + type: 'normal', + async click() { + const config = await getConfig(); + + const newHostname = await prompt( + { + title: t('plugins.api-server.prompt.hostname.title'), + label: t('plugins.api-server.prompt.hostname.label'), + value: config.hostname, + type: 'input', + width: 380, + ...promptOptions(), + }, + window, + ) ?? defaultAPIServerConfig.hostname; + + setConfig({ ...config, hostname: newHostname }); + }, + }, + { + label: t('plugins.api-server.menu.port'), + type: 'normal', + async click() { + const config = await getConfig(); + + const newPort = await prompt( + { + title: t('plugins.api-server.prompt.port.title'), + label: t('plugins.api-server.prompt.port.label'), + value: config.port, + type: 'counter', + counterOptions: { minimum: 0, maximum: 65565, }, + width: 380, + ...promptOptions(), + }, + window, + ) ?? defaultAPIServerConfig.port; + + setConfig({ ...config, port: newPort }); + }, + }, + { + label: t('plugins.api-server.menu.auth-strategy'), + type: 'submenu', + submenu: [ + { + label: t('plugins.api-server.menu.auth-strategy.submenu.auth-at-first'), + type: 'radio', + checked: config.authStrategy === 'AUTH_AT_FIRST', + click() { + setConfig({ ...config, authStrategy: 'AUTH_AT_FIRST' }); + }, + }, + { + label: t('plugins.api-server.menu.auth-strategy.submenu.none'), + type: 'radio', + checked: config.authStrategy === 'NONE', + click() { + setConfig({ ...config, authStrategy: 'NONE' }); + }, + }, + ], + }, + ]; +}; diff --git a/src/providers/song-controls.ts b/src/providers/song-controls.ts index 9bb03eb36f..b427235d57 100644 --- a/src/providers/song-controls.ts +++ b/src/providers/song-controls.ts @@ -29,6 +29,8 @@ export default (win: BrowserWindow) => { // Playback previous: () => win.webContents.send('ytmd:previous-video'), next: () => win.webContents.send('ytmd:next-video'), + play: () => win.webContents.send('ytmd:play'), + pause: () => win.webContents.send('ytmd:pause'), playPause: () => win.webContents.send('ytmd:toggle-play'), like: () => win.webContents.send('ytmd:update-like', 'LIKE'), dislike: () => win.webContents.send('ytmd:update-like', 'DISLIKE'), diff --git a/src/renderer.ts b/src/renderer.ts index 800d50d0ce..51ed7c97fe 100644 --- a/src/renderer.ts +++ b/src/renderer.ts @@ -53,6 +53,12 @@ async function onApiLoaded() { window.ipcRenderer.on('ytmd:next-video', () => { document.querySelector('.next-button.ytmusic-player-bar')?.click(); }); + window.ipcRenderer.on('ytmd:play', (_) => { + api?.playVideo(); + }); + window.ipcRenderer.on('ytmd:pause', (_) => { + api?.pauseVideo(); + }); window.ipcRenderer.on('ytmd:toggle-play', (_) => { if (api?.getPlayerState() === 2) api?.playVideo(); else api?.pauseVideo(); From 708d4b548003fbea3fcafce808e56316d58a0ce6 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 19:11:03 +0900 Subject: [PATCH 46/93] chore(deps): Bump pnpm/action-setup to v4 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00c3bce4af..28cf27a9e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 9 run_install: false @@ -90,7 +90,7 @@ jobs: fetch-depth: 0 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 9 run_install: false From 782116b31b5e726713906ffca12c34b4f4b070de Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 19:14:40 +0900 Subject: [PATCH 47/93] fix: pin deps version --- package.json | 10 +++++----- pnpm-lock.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 1007597afa..55116259a3 100644 --- a/package.json +++ b/package.json @@ -171,7 +171,7 @@ "@hono/zod-validator": "0.4.1", "@jellybrick/electron-better-web-request": "1.0.4", "@jellybrick/mpris-service": "2.1.4", - "@skyra/jaro-winkler": "^1.1.1", + "@skyra/jaro-winkler": "1.1.1", "@xhayper/discord-rpc": "1.2.0", "async-mutex": "0.5.0", "butterchurn": "3.0.0-beta.4", @@ -213,13 +213,13 @@ "zod": "3.23.8" }, "devDependencies": { - "@eslint/js": "^9.10.0", + "@eslint/js": "9.12.0", "@playwright/test": "1.48.0", - "@stylistic/eslint-plugin-js": "^2.8.0", + "@stylistic/eslint-plugin-js": "2.9.0", "@total-typescript/ts-reset": "0.6.1", "@types/color": "3.0.6", "@types/electron-localshortcut": "3.1.3", - "@types/eslint__js": "^8.42.3", + "@types/eslint__js": "8.42.3", "@types/howler": "2.2.12", "@types/html-to-text": "9.0.4", "@types/semver": "7.5.8", @@ -245,7 +245,7 @@ "playwright": "1.48.0", "rollup": "4.24.0", "typescript": "5.6.3", - "typescript-eslint": "^8.6.0", + "typescript-eslint": "8.8.1", "utf-8-validate": "6.0.4", "vite": "5.4.8", "vite-plugin-inspect": "0.8.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5cb2719010..b0cd017273 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,7 +67,7 @@ importers: specifier: 2.1.4 version: 2.1.4 '@skyra/jaro-winkler': - specifier: ^1.1.1 + specifier: 1.1.1 version: 1.1.1 '@xhayper/discord-rpc': specifier: 1.2.0 @@ -188,13 +188,13 @@ importers: version: 3.23.8 devDependencies: '@eslint/js': - specifier: ^9.10.0 + specifier: 9.12.0 version: 9.12.0 '@playwright/test': specifier: 1.48.0 version: 1.48.0 '@stylistic/eslint-plugin-js': - specifier: ^2.8.0 + specifier: 2.9.0 version: 2.9.0(eslint@9.12.0) '@total-typescript/ts-reset': specifier: 0.6.1 @@ -206,7 +206,7 @@ importers: specifier: 3.1.3 version: 3.1.3 '@types/eslint__js': - specifier: ^8.42.3 + specifier: 8.42.3 version: 8.42.3 '@types/howler': specifier: 2.2.12 @@ -284,7 +284,7 @@ importers: specifier: 5.6.3 version: 5.6.3 typescript-eslint: - specifier: ^8.6.0 + specifier: 8.8.1 version: 8.8.1(eslint@9.12.0)(typescript@5.6.3) utf-8-validate: specifier: 6.0.4 From a97bc8da5afbc5a221232958d3727ce5bbfc3eea Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 21:42:00 +0900 Subject: [PATCH 48/93] fix(README): fix eslint path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 605d63da6f..5925641917 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![GitHub release](https://img.shields.io/github/release/th-ch/youtube-music.svg?style=for-the-badge&logo=youtube-music)](https://github.com/th-ch/youtube-music/releases/) [![GitHub license](https://img.shields.io/github/license/th-ch/youtube-music.svg?style=for-the-badge)](https://github.com/th-ch/youtube-music/blob/master/LICENSE) -[![eslint code style](https://img.shields.io/badge/code_style-eslint-5ed9c7.svg?style=for-the-badge)](https://github.com/th-ch/youtube-music/blob/master/.eslintrc.js) +[![eslint code style](https://img.shields.io/badge/code_style-eslint-5ed9c7.svg?style=for-the-badge)](https://github.com/th-ch/youtube-music/blob/master/eslint.config.mjs) [![Build status](https://img.shields.io/github/actions/workflow/status/th-ch/youtube-music/build.yml?branch=master&style=for-the-badge&logo=youtube-music)](https://GitHub.com/th-ch/youtube-music/releases/) [![GitHub All Releases](https://img.shields.io/github/downloads/th-ch/youtube-music/total?style=for-the-badge&logo=youtube-music)](https://GitHub.com/th-ch/youtube-music/releases/) [![AUR](https://img.shields.io/aur/version/youtube-music-bin?color=blueviolet&style=for-the-badge&logo=youtube-music)](https://aur.archlinux.org/packages/youtube-music-bin) From 11c25efd47447846d5d822cb834c0d925a5633d3 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 21:44:54 +0900 Subject: [PATCH 49/93] fix(taskbar-mediacontrol): fix icon color - Close #2485 --- package.json | 2 + pnpm-lock.yaml | 572 ++++++++++++++++++++++ src/plugins/taskbar-mediacontrol/index.ts | 77 ++- 3 files changed, 625 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 55116259a3..e2601f7aff 100644 --- a/package.json +++ b/package.json @@ -171,6 +171,7 @@ "@hono/zod-validator": "0.4.1", "@jellybrick/electron-better-web-request": "1.0.4", "@jellybrick/mpris-service": "2.1.4", + "@jimp/plugin-invert": "0.22.12", "@skyra/jaro-winkler": "1.1.1", "@xhayper/discord-rpc": "1.2.0", "async-mutex": "0.5.0", @@ -194,6 +195,7 @@ "howler": "2.2.4", "html-to-text": "9.0.5", "i18next": "23.15.2", + "jimp": "1.6.0", "keyboardevent-from-electron-accelerator": "2.0.0", "keyboardevents-areequal": "0.2.2", "node-html-parser": "6.1.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0cd017273..a5c826cddf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,6 +66,9 @@ importers: '@jellybrick/mpris-service': specifier: 2.1.4 version: 2.1.4 + '@jimp/plugin-invert': + specifier: 0.22.12 + version: 0.22.12(@jimp/custom@0.22.12) '@skyra/jaro-winkler': specifier: 1.1.1 version: 1.1.1 @@ -135,6 +138,9 @@ importers: i18next: specifier: 23.15.2 version: 23.15.2 + jimp: + specifier: 1.6.0 + version: 1.6.0 keyboardevent-from-electron-accelerator: specifier: 2.0.0 version: 2.0.0 @@ -905,6 +911,132 @@ packages: '@jellybrick/mpris-service@2.1.4': resolution: {integrity: sha512-OwSxYeRRss7+ZhZs/n6D0LjUMWp1QIrAfzBZA6zGs62x80QIQlpeMXO2GKxC6UNyi87wJTiSWsUGDM1jO4eCtQ==} + '@jimp/core@0.22.12': + resolution: {integrity: sha512-l0RR0dOPyzMKfjUW1uebzueFEDtCOj9fN6pyTYWWOM/VS4BciXQ1VVrJs8pO3kycGYZxncRKhCoygbNr8eEZQA==} + + '@jimp/core@1.6.0': + resolution: {integrity: sha512-EQQlKU3s9QfdJqiSrZWNTxBs3rKXgO2W+GxNXDtwchF3a4IqxDheFX1ti+Env9hdJXDiYLp2jTRjlxhPthsk8w==} + engines: {node: '>=18'} + + '@jimp/custom@0.22.12': + resolution: {integrity: sha512-xcmww1O/JFP2MrlGUMd3Q78S3Qu6W3mYTXYuIqFq33EorgYHV/HqymHfXy9GjiCJ7OI+7lWx6nYFOzU7M4rd1Q==} + + '@jimp/diff@1.6.0': + resolution: {integrity: sha512-+yUAQ5gvRC5D1WHYxjBHZI7JBRusGGSLf8AmPRPCenTzh4PA+wZ1xv2+cYqQwTfQHU5tXYOhA0xDytfHUf1Zyw==} + engines: {node: '>=18'} + + '@jimp/file-ops@1.6.0': + resolution: {integrity: sha512-Dx/bVDmgnRe1AlniRpCKrGRm5YvGmUwbDzt+MAkgmLGf+jvBT75hmMEZ003n9HQI/aPnm/YKnXjg/hOpzNCpHQ==} + engines: {node: '>=18'} + + '@jimp/js-bmp@1.6.0': + resolution: {integrity: sha512-FU6Q5PC/e3yzLyBDXupR3SnL3htU7S3KEs4e6rjDP6gNEOXRFsWs6YD3hXuXd50jd8ummy+q2WSwuGkr8wi+Gw==} + engines: {node: '>=18'} + + '@jimp/js-gif@1.6.0': + resolution: {integrity: sha512-N9CZPHOrJTsAUoWkWZstLPpwT5AwJ0wge+47+ix3++SdSL/H2QzyMqxbcDYNFe4MoI5MIhATfb0/dl/wmX221g==} + engines: {node: '>=18'} + + '@jimp/js-jpeg@1.6.0': + resolution: {integrity: sha512-6vgFDqeusblf5Pok6B2DUiMXplH8RhIKAryj1yn+007SIAQ0khM1Uptxmpku/0MfbClx2r7pnJv9gWpAEJdMVA==} + engines: {node: '>=18'} + + '@jimp/js-png@1.6.0': + resolution: {integrity: sha512-AbQHScy3hDDgMRNfG0tPjL88AV6qKAILGReIa3ATpW5QFjBKpisvUaOqhzJ7Reic1oawx3Riyv152gaPfqsBVg==} + engines: {node: '>=18'} + + '@jimp/js-tiff@1.6.0': + resolution: {integrity: sha512-zhReR8/7KO+adijj3h0ZQUOiun3mXUv79zYEAKvE0O+rP7EhgtKvWJOZfRzdZSNv0Pu1rKtgM72qgtwe2tFvyw==} + engines: {node: '>=18'} + + '@jimp/plugin-blit@1.6.0': + resolution: {integrity: sha512-M+uRWl1csi7qilnSK8uxK4RJMSuVeBiO1AY0+7APnfUbQNZm6hCe0CCFv1Iyw1D/Dhb8ph8fQgm5mwM0eSxgVA==} + engines: {node: '>=18'} + + '@jimp/plugin-blur@1.6.0': + resolution: {integrity: sha512-zrM7iic1OTwUCb0g/rN5y+UnmdEsT3IfuCXCJJNs8SZzP0MkZ1eTvuwK9ZidCuMo4+J3xkzCidRwYXB5CyGZTw==} + engines: {node: '>=18'} + + '@jimp/plugin-circle@1.6.0': + resolution: {integrity: sha512-xt1Gp+LtdMKAXfDp3HNaG30SPZW6AQ7dtAtTnoRKorRi+5yCJjKqXRgkewS5bvj8DEh87Ko1ydJfzqS3P2tdWw==} + engines: {node: '>=18'} + + '@jimp/plugin-color@1.6.0': + resolution: {integrity: sha512-J5q8IVCpkBsxIXM+45XOXTrsyfblyMZg3a9eAo0P7VPH4+CrvyNQwaYatbAIamSIN1YzxmO3DkIZXzRjFSz1SA==} + engines: {node: '>=18'} + + '@jimp/plugin-contain@1.6.0': + resolution: {integrity: sha512-oN/n+Vdq/Qg9bB4yOBOxtY9IPAtEfES8J1n9Ddx+XhGBYT1/QTU/JYkGaAkIGoPnyYvmLEDqMz2SGihqlpqfzQ==} + engines: {node: '>=18'} + + '@jimp/plugin-cover@1.6.0': + resolution: {integrity: sha512-Iow0h6yqSC269YUJ8HC3Q/MpCi2V55sMlbkkTTx4zPvd8mWZlC0ykrNDeAy9IJegrQ7v5E99rJwmQu25lygKLA==} + engines: {node: '>=18'} + + '@jimp/plugin-crop@1.6.0': + resolution: {integrity: sha512-KqZkEhvs+21USdySCUDI+GFa393eDIzbi1smBqkUPTE+pRwSWMAf01D5OC3ZWB+xZsNla93BDS9iCkLHA8wang==} + engines: {node: '>=18'} + + '@jimp/plugin-displace@1.6.0': + resolution: {integrity: sha512-4Y10X9qwr5F+Bo5ME356XSACEF55485j5nGdiyJ9hYzjQP9nGgxNJaZ4SAOqpd+k5sFaIeD7SQ0Occ26uIng5Q==} + engines: {node: '>=18'} + + '@jimp/plugin-dither@1.6.0': + resolution: {integrity: sha512-600d1RxY0pKwgyU0tgMahLNKsqEcxGdbgXadCiVCoGd6V6glyCvkNrnnwC0n5aJ56Htkj88PToSdF88tNVZEEQ==} + engines: {node: '>=18'} + + '@jimp/plugin-fisheye@1.6.0': + resolution: {integrity: sha512-E5QHKWSCBFtpgZarlmN3Q6+rTQxjirFqo44ohoTjzYVrDI6B6beXNnPIThJgPr0Y9GwfzgyarKvQuQuqCnnfbA==} + engines: {node: '>=18'} + + '@jimp/plugin-flip@1.6.0': + resolution: {integrity: sha512-/+rJVDuBIVOgwoyVkBjUFHtP+wmW0r+r5OQ2GpatQofToPVbJw1DdYWXlwviSx7hvixTWLKVgRWQ5Dw862emDg==} + engines: {node: '>=18'} + + '@jimp/plugin-hash@1.6.0': + resolution: {integrity: sha512-wWzl0kTpDJgYVbZdajTf+4NBSKvmI3bRI8q6EH9CVeIHps9VWVsUvEyb7rpbcwVLWYuzDtP2R0lTT6WeBNQH9Q==} + engines: {node: '>=18'} + + '@jimp/plugin-invert@0.22.12': + resolution: {integrity: sha512-N+6rwxdB+7OCR6PYijaA/iizXXodpxOGvT/smd/lxeXsZ/empHmFFFJ/FaXcYh19Tm04dGDaXcNF/dN5nm6+xQ==} + peerDependencies: + '@jimp/custom': '>=0.3.5' + + '@jimp/plugin-mask@1.6.0': + resolution: {integrity: sha512-Cwy7ExSJMZszvkad8NV8o/Z92X2kFUFM8mcDAhNVxU0Q6tA0op2UKRJY51eoK8r6eds/qak3FQkXakvNabdLnA==} + engines: {node: '>=18'} + + '@jimp/plugin-print@1.6.0': + resolution: {integrity: sha512-zarTIJi8fjoGMSI/M3Xh5yY9T65p03XJmPsuNet19K/Q7mwRU6EV2pfj+28++2PV2NJ+htDF5uecAlnGyxFN2A==} + engines: {node: '>=18'} + + '@jimp/plugin-quantize@1.6.0': + resolution: {integrity: sha512-EmzZ/s9StYQwbpG6rUGBCisc3f64JIhSH+ncTJd+iFGtGo0YvSeMdAd+zqgiHpfZoOL54dNavZNjF4otK+mvlg==} + engines: {node: '>=18'} + + '@jimp/plugin-resize@1.6.0': + resolution: {integrity: sha512-uSUD1mqXN9i1SGSz5ov3keRZ7S9L32/mAQG08wUwZiEi5FpbV0K8A8l1zkazAIZi9IJzLlTauRNU41Mi8IF9fA==} + engines: {node: '>=18'} + + '@jimp/plugin-rotate@1.6.0': + resolution: {integrity: sha512-JagdjBLnUZGSG4xjCLkIpQOZZ3Mjbg8aGCCi4G69qR+OjNpOeGI7N2EQlfK/WE8BEHOW5vdjSyglNqcYbQBWRw==} + engines: {node: '>=18'} + + '@jimp/plugin-threshold@1.6.0': + resolution: {integrity: sha512-M59m5dzLoHOVWdM41O8z9SyySzcDn43xHseOH0HavjsfQsT56GGCC4QzU1banJidbUrePhzoEdS42uFE8Fei8w==} + engines: {node: '>=18'} + + '@jimp/types@1.6.0': + resolution: {integrity: sha512-7UfRsiKo5GZTAATxm2qQ7jqmUXP0DxTArztllTcYdyw6Xi5oT4RaoXynVtCD4UyLK5gJgkZJcwonoijrhYFKfg==} + engines: {node: '>=18'} + + '@jimp/utils@0.22.12': + resolution: {integrity: sha512-yJ5cWUknGnilBq97ZXOyOS0HhsHOyAyjHwYfHxGbSyMTohgQI6sVyE8KPgDwH8HHW/nMKXk8TrSwAE71zt716Q==} + + '@jimp/utils@1.6.0': + resolution: {integrity: sha512-gqFTGEosKbOkYF/WFj26jMHOI5OH2jeP1MmC/zbK6BF6VJBf8rIC5898dPfSzZEbSA0wbbV5slbntWVc5PKLFA==} + engines: {node: '>=18'} + '@jridgewell/gen-mapping@0.3.5': resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -1137,6 +1269,9 @@ packages: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} + '@tokenizer/token@0.3.0': + resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==} + '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} @@ -1225,6 +1360,9 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} + '@types/node@16.9.1': + resolution: {integrity: sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==} + '@types/node@20.12.5': resolution: {integrity: sha512-BD+BjQ9LS/D8ST9p5uqBxghlN+S42iuNxjsUGjeZobe/ciXzk2qb1B6IXc6AnRLS+yFJRpN2IPEHMzwspfDJNw==} @@ -1393,6 +1531,9 @@ packages: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} + any-base@1.1.0: + resolution: {integrity: sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==} + app-builder-bin@4.0.0: resolution: {integrity: sha512-xwdG0FJPQMe0M0UA4Tz0zEB8rBJTRA5a476ZawAqiBkMv16GRK5xpXThOjMaEOFnZ6zabejjG4J3da0SXG63KA==} @@ -1480,6 +1621,10 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} + await-to-js@3.0.0: + resolution: {integrity: sha512-zJAaP9zxTcvTHRlejau3ZOY4V7SRpiByf3/dxx2uyKxxor19tpmpV2QRsTKikckwhaPmr2dVpxxMr7jOCYVp5g==} + engines: {node: '>=6.0.0'} + babel-plugin-jsx-dom-expressions@0.37.16: resolution: {integrity: sha512-ItMD16axbk+FqVb9vIbc7AOpNowy46VaSUHaMYPn+erPGpMCxsahQ1Iv+qhPMthjxtn5ROVMZ5AJtQvzjxjiNA==} peerDependencies: @@ -1508,6 +1653,9 @@ packages: bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} + bmp-ts@1.0.9: + resolution: {integrity: sha512-cTEHk2jLrPyi+12M3dhpEbnnPOsaZuq7C45ylbbQIiWgDFZq4UVYPEY5mlqjvsj/6gJv9qX5sa+ebDzLXT28Vw==} + boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} @@ -2226,6 +2374,9 @@ packages: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} + exif-parser@0.1.12: + resolution: {integrity: sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw==} + exponential-backoff@3.1.1: resolution: {integrity: sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==} @@ -2290,6 +2441,10 @@ packages: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} + file-type@16.5.4: + resolution: {integrity: sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==} + engines: {node: '>=10'} + file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} @@ -2414,6 +2569,9 @@ packages: get-tsconfig@4.8.0: resolution: {integrity: sha512-Pgba6TExTZ0FJAn1qkJAjIeKoDJ3CsI2ChuLohJnZl/tTU8MVrq3b+2t5UOPfRa4RMsorClBjJALkJUMjG1PAw==} + gifwrap@0.10.1: + resolution: {integrity: sha512-2760b1vpJHNmLzZ/ubTtNnEx5WApN/PYWJvXvgS+tL1egTTthayFYIQQNi136FLEDcN/IyEY2EcGpIITD6eYUw==} + glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -2582,6 +2740,9 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} + image-q@4.0.0: + resolution: {integrity: sha512-PfJGVgIfKQJuq3s0tTDOKtztksibuUEbJQIYT3by6wctQo+Rdlh7ef4evJ5NCdxY4CfMbvFkocEwbl4BF8RlJw==} + immediate@3.0.6: resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==} @@ -2785,6 +2946,9 @@ packages: resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} engines: {node: '>=16'} + isomorphic-fetch@3.0.0: + resolution: {integrity: sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==} + jackspeak@3.1.2: resolution: {integrity: sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==} engines: {node: '>=14'} @@ -2798,9 +2962,16 @@ packages: engines: {node: '>=10'} hasBin: true + jimp@1.6.0: + resolution: {integrity: sha512-YcwCHw1kiqEeI5xRpDlPPBGL2EOpBKLwO4yIBJcXWHPj5PnA5urGq0jbyhM5KoNpypQ6VboSoxc9D8HyfvngSg==} + engines: {node: '>=18'} + jintr@2.1.1: resolution: {integrity: sha512-89cwX4ouogeDGOBsEVsVYsnWWvWjchmwXBB4kiBhmjOKw19FiOKhNhMhpxhTlK2ctl7DS+d/ethfmuBpzoNNgA==} + jpeg-js@0.4.4: + resolution: {integrity: sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==} + js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -2997,6 +3168,11 @@ packages: engines: {node: '>=4.0.0'} hasBin: true + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} + hasBin: true + mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} @@ -3177,6 +3353,9 @@ packages: resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} + omggif@1.0.10: + resolution: {integrity: sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==} + on-headers@1.0.2: resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} engines: {node: '>= 0.8'} @@ -3233,6 +3412,15 @@ packages: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} + parse-bmfont-ascii@1.0.6: + resolution: {integrity: sha512-U4RrVsUFCleIOBsIGYOMKjn9PavsGOXxbvYGtMOEfnId0SVNsgehXh1DxUdVPLoxd5mvcEtvmKs2Mmf0Mpa1ZA==} + + parse-bmfont-binary@1.0.6: + resolution: {integrity: sha512-GxmsRea0wdGdYthjuUeWTMWPqm2+FAd4GI8vCvhgJsFnoGhTrLhXDDupwTo7rXVAgaLIGoVHDZS9p/5XbSqeWA==} + + parse-bmfont-xml@1.1.6: + resolution: {integrity: sha512-0cEliVMZEhrFDwMh4SxIyVJpqYoOWDJ9P895tFuS+XuNzI5UBmBk5U5O4KuJdTnZpSBI4LFA2+ZiJaiwfSwlMA==} + parseley@0.12.1: resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==} @@ -3278,6 +3466,10 @@ packages: peberminta@0.9.0: resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==} + peek-readable@4.1.0: + resolution: {integrity: sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==} + engines: {node: '>=8'} + peerjs-js-binarypack@2.1.0: resolution: {integrity: sha512-YIwCC+pTzp3Bi8jPI9UFKO0t0SLo6xALnHkiNt/iUFmUUZG0fEEmEyFKvjsDKweiFitzHRyhuh6NvyJZ4nNxMg==} engines: {node: '>= 14.0.0'} @@ -3303,6 +3495,14 @@ packages: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} + pixelmatch@4.0.2: + resolution: {integrity: sha512-J8B6xqiO37sU/gkcMglv6h5Jbd9xNER7aHzpfRdNmV4IbQBzBpe4l9XmbG+xPF/znacgu2jfEw+wHffaq/YkXA==} + hasBin: true + + pixelmatch@5.3.0: + resolution: {integrity: sha512-o8mkY4E/+LNUf6LzX96ht6k6CEDi65k9G2rjMtBe9Oo+VPKSvl+0GKHuH/AlG+GA5LPG/i5hrekkxUc3s2HU+Q==} + hasBin: true + playwright-core@1.48.0: resolution: {integrity: sha512-RBvzjM9rdpP7UUFrQzRwR8L/xR4HyC1QXMzGYTbf1vjw25/ya9NRAVnXi/0fvFopjebvyPzsmoK58xxeEOaVvA==} engines: {node: '>=18'} @@ -3317,6 +3517,18 @@ packages: resolution: {integrity: sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==} engines: {node: '>=10.4.0'} + pngjs@3.4.0: + resolution: {integrity: sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==} + engines: {node: '>=4.0.0'} + + pngjs@6.0.0: + resolution: {integrity: sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==} + engines: {node: '>=12.13.0'} + + pngjs@7.0.0: + resolution: {integrity: sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==} + engines: {node: '>=14.19.0'} + possible-typed-array-names@1.0.0: resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} engines: {node: '>= 0.4'} @@ -3389,6 +3601,10 @@ packages: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} + readable-web-to-node-stream@3.0.2: + resolution: {integrity: sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==} + engines: {node: '>=8'} + readdir-glob@1.1.3: resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} @@ -3574,6 +3790,10 @@ packages: resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} engines: {node: '>=10'} + simple-xml-to-json@1.2.3: + resolution: {integrity: sha512-kWJDCr9EWtZ+/EYYM5MareWj2cRnZGF93YDNpH4jQiHB+hBIZnfPFSQiVMzZOdk+zXWqTZ/9fTeQNu2DqeiudA==} + engines: {node: '>=20.12.2'} + simple-youtube-age-restriction-bypass@https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: resolution: {tarball: https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6} version: 2.5.9 @@ -3710,6 +3930,10 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + strtok3@6.3.0: + resolution: {integrity: sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==} + engines: {node: '>=10'} + stubborn-fs@1.2.5: resolution: {integrity: sha512-H2N9c26eXjzL/S/K+i/RHHcFanE74dptvvjM8iwzwbVcWY/zjBbgRqF3K0DY4+OD+uTTASTBvDoxPDaPN02D7g==} @@ -3757,6 +3981,9 @@ packages: tiny-typed-emitter@2.1.0: resolution: {integrity: sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==} + tinycolor2@1.6.0: + resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==} + tinyglobby@0.2.9: resolution: {integrity: sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==} engines: {node: '>=12.0.0'} @@ -3782,6 +4009,10 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} + token-types@4.2.1: + resolution: {integrity: sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==} + engines: {node: '>=10'} + totalist@3.0.1: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} @@ -3917,6 +4148,9 @@ packages: utf8-byte-length@1.0.4: resolution: {integrity: sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==} + utif2@4.1.0: + resolution: {integrity: sha512-+oknB9FHrJ7oW7A2WZYajOcv4FcDR4CfoGB0dPNfxbi4GO05RRnFmt5oa23+9w32EanrYcSJWspUiJkLMs+37w==} + util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -4008,6 +4242,9 @@ packages: resolution: {integrity: sha512-1AQO+d4ElfVSXyzNVTOewgGT/tAomwwztX/6e3totvyyzXPvXIIuUUjAmyZGbKBKbZOXauuJooZm3g6IuFuiNQ==} engines: {node: '>=6.0.0', npm: '>=3.10.0'} + whatwg-fetch@3.6.20: + resolution: {integrity: sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==} + when-exit@2.1.2: resolution: {integrity: sha512-u9J+toaf3CCxCAzM/484qNAxQE75rFdVgiFEEV8Xps2gzYhf0tx73s1WXDQhkwV17E3MxRMz40m7Ekd2/121Lg==} @@ -4061,6 +4298,9 @@ packages: x11@2.3.0: resolution: {integrity: sha512-Ep4DbqZkVHvZNVht+vvELcfdpGKnfh2kZuKdXqyZdtJx3UdvgUGrMQ9lwPNV33tDs86MF4YagC6+E2fZXikF6A==} + xml-parse-from-string@1.0.1: + resolution: {integrity: sha512-ErcKwJTF54uRzzNMXq2X5sMIy88zJvfN2DmdoQvy7PAFJ+tPRU6ydWuOKNMyfmOjdyBQTFREi60s0Y0SyI0G0g==} + xml2js@0.6.2: resolution: {integrity: sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==} engines: {node: '>=4.0.0'} @@ -4661,6 +4901,219 @@ snapshots: transitivePeerDependencies: - supports-color + '@jimp/core@0.22.12': + dependencies: + '@jimp/utils': 0.22.12 + any-base: 1.1.0 + buffer: 5.7.1 + exif-parser: 0.1.12 + file-type: 16.5.4 + isomorphic-fetch: 3.0.0 + pixelmatch: 4.0.2 + tinycolor2: 1.6.0 + + '@jimp/core@1.6.0': + dependencies: + '@jimp/file-ops': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + await-to-js: 3.0.0 + exif-parser: 0.1.12 + file-type: 16.5.4 + mime: 3.0.0 + + '@jimp/custom@0.22.12': + dependencies: + '@jimp/core': 0.22.12 + + '@jimp/diff@1.6.0': + dependencies: + '@jimp/plugin-resize': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + pixelmatch: 5.3.0 + + '@jimp/file-ops@1.6.0': {} + + '@jimp/js-bmp@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + bmp-ts: 1.0.9 + + '@jimp/js-gif@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + gifwrap: 0.10.1 + omggif: 1.0.10 + + '@jimp/js-jpeg@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + jpeg-js: 0.4.4 + + '@jimp/js-png@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + pngjs: 7.0.0 + + '@jimp/js-tiff@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + utif2: 4.1.0 + + '@jimp/plugin-blit@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-blur@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/utils': 1.6.0 + + '@jimp/plugin-circle@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-color@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + tinycolor2: 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-contain@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/plugin-blit': 1.6.0 + '@jimp/plugin-resize': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-cover@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/plugin-crop': 1.6.0 + '@jimp/plugin-resize': 1.6.0 + '@jimp/types': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-crop@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-displace@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-dither@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + + '@jimp/plugin-fisheye@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-flip@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-hash@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/js-bmp': 1.6.0 + '@jimp/js-jpeg': 1.6.0 + '@jimp/js-png': 1.6.0 + '@jimp/js-tiff': 1.6.0 + '@jimp/plugin-color': 1.6.0 + '@jimp/plugin-resize': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + any-base: 1.1.0 + + '@jimp/plugin-invert@0.22.12(@jimp/custom@0.22.12)': + dependencies: + '@jimp/custom': 0.22.12 + '@jimp/utils': 0.22.12 + + '@jimp/plugin-mask@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-print@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/js-jpeg': 1.6.0 + '@jimp/js-png': 1.6.0 + '@jimp/plugin-blit': 1.6.0 + '@jimp/types': 1.6.0 + parse-bmfont-ascii: 1.0.6 + parse-bmfont-binary: 1.0.6 + parse-bmfont-xml: 1.1.6 + simple-xml-to-json: 1.2.3 + zod: 3.23.8 + + '@jimp/plugin-quantize@1.6.0': + dependencies: + image-q: 4.0.0 + zod: 3.23.8 + + '@jimp/plugin-resize@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/types': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-rotate@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/plugin-crop': 1.6.0 + '@jimp/plugin-resize': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/plugin-threshold@1.6.0': + dependencies: + '@jimp/core': 1.6.0 + '@jimp/plugin-color': 1.6.0 + '@jimp/plugin-hash': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + zod: 3.23.8 + + '@jimp/types@1.6.0': + dependencies: + zod: 3.23.8 + + '@jimp/utils@0.22.12': + dependencies: + regenerator-runtime: 0.13.11 + + '@jimp/utils@1.6.0': + dependencies: + '@jimp/types': 1.6.0 + tinycolor2: 1.6.0 + '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 @@ -4847,6 +5300,8 @@ snapshots: dependencies: defer-to-connect: 2.0.1 + '@tokenizer/token@0.3.0': {} + '@tootallnate/once@2.0.0': {} '@total-typescript/ts-reset@0.6.1': {} @@ -4951,6 +5406,8 @@ snapshots: '@types/ms@0.7.34': {} + '@types/node@16.9.1': {} + '@types/node@20.12.5': dependencies: undici-types: 5.26.5 @@ -5151,6 +5608,8 @@ snapshots: ansi-styles@6.2.1: {} + any-base@1.1.0: {} + app-builder-bin@4.0.0: {} app-builder-lib@24.13.3(patch_hash=zcnm2qnjaggm2keyecnhiglkke)(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): @@ -5304,6 +5763,8 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 + await-to-js@3.0.0: {} + babel-plugin-jsx-dom-expressions@0.37.16(@babel/core@7.24.7): dependencies: '@babel/core': 7.24.7 @@ -5339,6 +5800,8 @@ snapshots: bluebird@3.7.2: {} + bmp-ts@1.0.9: {} + boolbase@1.0.0: {} boolean@3.2.0: @@ -6343,6 +6806,8 @@ snapshots: signal-exit: 3.0.7 strip-final-newline: 2.0.0 + exif-parser@0.1.12: {} + exponential-backoff@3.1.1: {} extract-zip@2.0.1: @@ -6405,6 +6870,12 @@ snapshots: dependencies: flat-cache: 4.0.1 + file-type@16.5.4: + dependencies: + readable-web-to-node-stream: 3.0.2 + strtok3: 6.3.0 + token-types: 4.2.1 + file-uri-to-path@1.0.0: optional: true @@ -6537,6 +7008,11 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 + gifwrap@0.10.1: + dependencies: + image-q: 4.0.0 + omggif: 1.0.10 + glob-parent@5.1.2: dependencies: is-glob: 4.0.3 @@ -6736,6 +7212,10 @@ snapshots: ignore@5.3.2: {} + image-q@4.0.0: + dependencies: + '@types/node': 16.9.1 + immediate@3.0.6: {} import-fresh@3.3.0: @@ -6904,6 +7384,11 @@ snapshots: isexe@3.1.1: {} + isomorphic-fetch@3.0.0: + dependencies: + node-fetch: 3.3.2 + whatwg-fetch: 3.6.20 + jackspeak@3.1.2: dependencies: '@isaacs/cliui': 8.0.2 @@ -6923,10 +7408,42 @@ snapshots: filelist: 1.0.4 minimatch: 3.1.2 + jimp@1.6.0: + dependencies: + '@jimp/core': 1.6.0 + '@jimp/diff': 1.6.0 + '@jimp/js-bmp': 1.6.0 + '@jimp/js-gif': 1.6.0 + '@jimp/js-jpeg': 1.6.0 + '@jimp/js-png': 1.6.0 + '@jimp/js-tiff': 1.6.0 + '@jimp/plugin-blit': 1.6.0 + '@jimp/plugin-blur': 1.6.0 + '@jimp/plugin-circle': 1.6.0 + '@jimp/plugin-color': 1.6.0 + '@jimp/plugin-contain': 1.6.0 + '@jimp/plugin-cover': 1.6.0 + '@jimp/plugin-crop': 1.6.0 + '@jimp/plugin-displace': 1.6.0 + '@jimp/plugin-dither': 1.6.0 + '@jimp/plugin-fisheye': 1.6.0 + '@jimp/plugin-flip': 1.6.0 + '@jimp/plugin-hash': 1.6.0 + '@jimp/plugin-mask': 1.6.0 + '@jimp/plugin-print': 1.6.0 + '@jimp/plugin-quantize': 1.6.0 + '@jimp/plugin-resize': 1.6.0 + '@jimp/plugin-rotate': 1.6.0 + '@jimp/plugin-threshold': 1.6.0 + '@jimp/types': 1.6.0 + '@jimp/utils': 1.6.0 + jintr@2.1.1: dependencies: acorn: 8.12.1 + jpeg-js@0.4.4: {} + js-tokens@4.0.0: {} js-yaml@4.1.0: @@ -7100,6 +7617,8 @@ snapshots: mime@2.6.0: {} + mime@3.0.0: {} + mimic-fn@2.1.0: {} mimic-function@5.0.1: {} @@ -7274,6 +7793,8 @@ snapshots: define-properties: 1.2.1 es-object-atoms: 1.0.0 + omggif@1.0.10: {} + on-headers@1.0.2: {} once@1.4.0: @@ -7330,6 +7851,15 @@ snapshots: dependencies: callsites: 3.1.0 + parse-bmfont-ascii@1.0.6: {} + + parse-bmfont-binary@1.0.6: {} + + parse-bmfont-xml@1.1.6: + dependencies: + xml-parse-from-string: 1.0.1 + xml2js: 0.6.2 + parseley@0.12.1: dependencies: leac: 0.6.0 @@ -7367,6 +7897,8 @@ snapshots: peberminta@0.9.0: {} + peek-readable@4.1.0: {} + peerjs-js-binarypack@2.1.0: {} peerjs@1.5.4: @@ -7386,6 +7918,14 @@ snapshots: picomatch@4.0.2: {} + pixelmatch@4.0.2: + dependencies: + pngjs: 3.4.0 + + pixelmatch@5.3.0: + dependencies: + pngjs: 6.0.0 + playwright-core@1.48.0: {} playwright@1.48.0: @@ -7400,6 +7940,12 @@ snapshots: base64-js: 1.5.1 xmlbuilder: 15.1.1 + pngjs@3.4.0: {} + + pngjs@6.0.0: {} + + pngjs@7.0.0: {} + possible-typed-array-names@1.0.0: {} postcss@8.4.44: @@ -7474,6 +8020,10 @@ snapshots: string_decoder: 1.3.0 util-deprecate: 1.0.2 + readable-web-to-node-stream@3.0.2: + dependencies: + readable-stream: 3.6.2 + readdir-glob@1.1.3: dependencies: minimatch: 5.1.6 @@ -7689,6 +8239,8 @@ snapshots: dependencies: semver: 7.6.3 + simple-xml-to-json@1.2.3: {} + simple-youtube-age-restriction-bypass@https://codeload.github.com/organization/Simple-YouTube-Age-Restriction-Bypass/tar.gz/4e2db89ccb2fb880c5110add9ff3f1dfb78d0ff6: {} sirv@2.0.4: @@ -7837,6 +8389,11 @@ snapshots: strip-json-comments@3.1.1: {} + strtok3@6.3.0: + dependencies: + '@tokenizer/token': 0.3.0 + peek-readable: 4.1.0 + stubborn-fs@1.2.5: {} sumchecker@3.0.1: @@ -7890,6 +8447,8 @@ snapshots: tiny-typed-emitter@2.1.0: {} + tinycolor2@1.6.0: {} + tinyglobby@0.2.9: dependencies: fdir: 6.4.0(picomatch@4.0.2) @@ -7915,6 +8474,11 @@ snapshots: dependencies: is-number: 7.0.0 + token-types@4.2.1: + dependencies: + '@tokenizer/token': 0.3.0 + ieee754: 1.2.1 + totalist@3.0.1: {} truncate-utf8-bytes@1.0.2: @@ -8065,6 +8629,10 @@ snapshots: utf8-byte-length@1.0.4: {} + utif2@4.1.0: + dependencies: + pako: 1.0.11 + util-deprecate@1.0.2: {} uuid@9.0.1: {} @@ -8134,6 +8702,8 @@ snapshots: dependencies: sdp: 3.2.0 + whatwg-fetch@3.6.20: {} + when-exit@2.1.2: {} which-boxed-primitive@1.0.2: @@ -8194,6 +8764,8 @@ snapshots: dependencies: os-homedir: 1.0.2 + xml-parse-from-string@1.0.1: {} + xml2js@0.6.2: dependencies: sax: 1.3.0 diff --git a/src/plugins/taskbar-mediacontrol/index.ts b/src/plugins/taskbar-mediacontrol/index.ts index e83d935acb..abdb38a888 100644 --- a/src/plugins/taskbar-mediacontrol/index.ts +++ b/src/plugins/taskbar-mediacontrol/index.ts @@ -1,4 +1,5 @@ -import { nativeImage } from 'electron'; +import { type NativeImage, nativeImage, nativeTheme } from 'electron'; +import { Jimp, JimpMime } from 'jimp'; import playIcon from '@assets/media-icons-black/play.png?asset&asarUnpack'; import pauseIcon from '@assets/media-icons-black/pause.png?asset&asarUnpack'; @@ -19,11 +20,55 @@ export default createPlugin({ enabled: false, }, - backend({ window }) { + async backend({ window }) { let currentSongInfo: SongInfo; const { playPause, next, previous } = getSongControls(window); + // Util + const getImagePath = (kind: keyof typeof mediaIcons): string => { + switch (kind) { + case 'play': + return playIcon; + case 'pause': + return pauseIcon; + case 'next': + return nextIcon; + case 'previous': + return previousIcon; + default: + return ''; + } + }; + + const getNativeImage = async ( + kind: keyof typeof mediaIcons, + ): Promise => { + const imagePath = getImagePath(kind); + + if (imagePath) { + console.log('imagePath', imagePath); + const jimpImageBuffer = await Jimp.read(imagePath).then((img) => { + if (imagePath && nativeTheme.shouldUseDarkColors) { + return img.invert().getBuffer(JimpMime.png); + } + return img.getBuffer(JimpMime.png); + }); + + return nativeImage.createFromBuffer(jimpImageBuffer); + } + + // return empty image + return nativeImage.createEmpty(); + }; + + const images = { + play: await getNativeImage('play'), + pause: await getNativeImage('pause'), + next: await getNativeImage('next'), + previous: await getNativeImage('previous'), + }; + const setThumbar = (songInfo: SongInfo) => { // Wait for song to start before setting thumbar if (!songInfo?.title) { @@ -34,7 +79,7 @@ export default createPlugin({ window.setThumbarButtons([ { tooltip: 'Previous', - icon: nativeImage.createFromPath(get('previous')), + icon: images.previous, click() { previous(); }, @@ -42,16 +87,14 @@ export default createPlugin({ { tooltip: 'Play/Pause', // Update icon based on play state - icon: nativeImage.createFromPath( - songInfo.isPaused ? get('play') : get('pause'), - ), + icon: songInfo.isPaused ? images.play : images.pause, click() { playPause(); }, }, { tooltip: 'Next', - icon: nativeImage.createFromPath(get('next')), + icon: images.next, click() { next(); }, @@ -59,22 +102,6 @@ export default createPlugin({ ]); }; - // Util - const get = (kind: keyof typeof mediaIcons): string => { - switch (kind) { - case 'play': - return playIcon; - case 'pause': - return pauseIcon; - case 'next': - return nextIcon; - case 'previous': - return previousIcon; - default: - return ''; - } - }; - registerCallback((songInfo) => { // Update currentsonginfo for win.on('show') currentSongInfo = songInfo; @@ -83,8 +110,6 @@ export default createPlugin({ }); // Need to set thumbar again after win.show - window.on('show', () => { - setThumbar(currentSongInfo); - }); + window.on('show', () => setThumbar(currentSongInfo)); }, }); From 6505a93645abb36667afe6a6ce6bbed9c3423bab Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 21:56:17 +0900 Subject: [PATCH 50/93] fix(api-server): fix i18n --- src/plugins/api-server/menu.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/api-server/menu.ts b/src/plugins/api-server/menu.ts index 46f571b3e2..4273877f2c 100644 --- a/src/plugins/api-server/menu.ts +++ b/src/plugins/api-server/menu.ts @@ -32,13 +32,13 @@ export const onMenu = async ({ ...promptOptions(), }, window, - ) ?? defaultAPIServerConfig.hostname; + ) ?? (config.hostname ?? defaultAPIServerConfig.hostname); setConfig({ ...config, hostname: newHostname }); }, }, { - label: t('plugins.api-server.menu.port'), + label: t('plugins.api-server.menu.port.label'), type: 'normal', async click() { const config = await getConfig(); @@ -54,17 +54,17 @@ export const onMenu = async ({ ...promptOptions(), }, window, - ) ?? defaultAPIServerConfig.port; + ) ?? (config.port ?? defaultAPIServerConfig.port); setConfig({ ...config, port: newPort }); }, }, { - label: t('plugins.api-server.menu.auth-strategy'), + label: t('plugins.api-server.menu.auth-strategy.label'), type: 'submenu', submenu: [ { - label: t('plugins.api-server.menu.auth-strategy.submenu.auth-at-first'), + label: t('plugins.api-server.menu.auth-strategy.submenu.auth-at-first.label'), type: 'radio', checked: config.authStrategy === 'AUTH_AT_FIRST', click() { @@ -72,7 +72,7 @@ export const onMenu = async ({ }, }, { - label: t('plugins.api-server.menu.auth-strategy.submenu.none'), + label: t('plugins.api-server.menu.auth-strategy.submenu.none.label'), type: 'radio', checked: config.authStrategy === 'NONE', click() { From 2fcddc8d2dc122ec5b1620c16daf6f62b0a922d7 Mon Sep 17 00:00:00 2001 From: gallegonovato Date: Sun, 13 Oct 2024 10:54:25 +0000 Subject: [PATCH 51/93] chore(i18n): Translated using Weblate (Spanish) Currently translated at 99.7% (396 of 397 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/es/ --- src/i18n/resources/es.json | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/i18n/resources/es.json b/src/i18n/resources/es.json index 537f2bb644..135d5aef44 100644 --- a/src/i18n/resources/es.json +++ b/src/i18n/resources/es.json @@ -279,6 +279,48 @@ }, "name": "Modo ambiente" }, + "api-server": { + "description": "Añade un servidor API para controlar el reproductor", + "dialog": { + "request": { + "buttons": { + "allow": "Permitir", + "deny": "Denegar" + }, + "message": "¿Permitir {{ID}} ({{origin}}) acceder a la API?", + "title": "Petición de autorización API" + } + }, + "menu": { + "auth-strategy": { + "submenu": { + "auth-at-first": { + "label": "Autorizar la primera solicitud" + }, + "none": { + "label": "Sin autorización" + } + } + }, + "hostname": { + "label": "Nombre del host" + }, + "port": { + "label": "Puerto" + } + }, + "name": "Servidor API [Beta]", + "prompt": { + "hostname": { + "label": "Introduzca el nombre de host (como 0.0.0.0) para el servidor API:", + "title": "Nombre de host" + }, + "port": { + "label": "Introduzca el puerto para el servidor API:", + "title": "Puerto" + } + } + }, "audio-compressor": { "description": "Aplicar compresión al audio (reduce la diferencia entre las partes más fuertes y más suaves de una pista para que tenga un nivel más consistente)", "name": "Compresor de audio" From 95644ea5132c0b9d6bb95fb93f53099a249489d5 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 13:00:24 +0000 Subject: [PATCH 52/93] chore(i18n): Translated using Weblate (Korean) Currently translated at 100.0% (397 of 397 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/ko/ --- src/i18n/resources/ko.json | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/i18n/resources/ko.json b/src/i18n/resources/ko.json index 1012759897..97765abf7e 100644 --- a/src/i18n/resources/ko.json +++ b/src/i18n/resources/ko.json @@ -279,6 +279,49 @@ }, "name": "앰비언트 모드" }, + "api-server": { + "description": "플레이어를 제어하기 위한 API 서버를 추가합니다", + "dialog": { + "request": { + "buttons": { + "allow": "허용", + "deny": "거부" + }, + "message": "{{ID}} ({{origin}})이(가) API에 액세스하도록 허용하시겠습니까?", + "title": "API 권한 요청" + } + }, + "menu": { + "auth-strategy": { + "label": "인증 정책", + "submenu": { + "auth-at-first": { + "label": "첫 번째 요청 시 인증" + }, + "none": { + "label": "인증 없음" + } + } + }, + "hostname": { + "label": "호스트 명" + }, + "port": { + "label": "포트" + } + }, + "name": "API 서버 [베타]", + "prompt": { + "hostname": { + "label": "API 서버가 사용할 호스트 명(예: 0.0.0.0)을 입력하세요:", + "title": "호스트 명" + }, + "port": { + "label": "API 서버가 사용할 포트를 입력하세요:", + "title": "포트" + } + } + }, "audio-compressor": { "description": "오디오에 컴프레서를 적용합니다 (신호에서 가장 시끄러운 부분의 음량을 낮추고 가장 조용한 부분의 음량을 높임)", "name": "오디오 컴프레서" From 4f1ebab45d568c826775ebdab3b759f95a1a4d44 Mon Sep 17 00:00:00 2001 From: Dani Bonet Date: Sun, 13 Oct 2024 12:57:24 +0000 Subject: [PATCH 53/93] chore(i18n): Translated using Weblate (Catalan) Currently translated at 100.0% (397 of 397 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/ca/ --- src/i18n/resources/ca.json | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/i18n/resources/ca.json b/src/i18n/resources/ca.json index 2ca4424a0d..90504e741a 100644 --- a/src/i18n/resources/ca.json +++ b/src/i18n/resources/ca.json @@ -279,6 +279,49 @@ }, "name": "Mode ambient" }, + "api-server": { + "description": "Afegeix un servidor API per controlar el reproductor", + "dialog": { + "request": { + "buttons": { + "allow": "Permet", + "deny": "Denegar" + }, + "message": "Permetre que {{ID}} ({{origin}}) accedeixi a l'API?", + "title": "Petició d'autorització API" + } + }, + "menu": { + "auth-strategy": { + "label": "Estratègia d'autorització", + "submenu": { + "auth-at-first": { + "label": "Autoritza a la primera petició" + }, + "none": { + "label": "Sense autorització" + } + } + }, + "hostname": { + "label": "Nom del host" + }, + "port": { + "label": "Port" + } + }, + "name": "Servidor API [Beta]", + "prompt": { + "hostname": { + "label": "Introdueix el nom del host (per exemple 0.0.0.0) pel servidor API:", + "title": "Nom del host" + }, + "port": { + "label": "Introdueix el port pel servidor API:", + "title": "Port" + } + } + }, "audio-compressor": { "description": "Aplica compressió a l'àudio (baixa el volum de les parts més sorolloses de la senyal d'àudio i puja el volum de les parts més fluixes)", "name": "Compressió d'àudio" From 9fb1dbfde0e0cfd8d377eef0fdf26f37b38b3609 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 13:35:48 +0000 Subject: [PATCH 54/93] chore(i18n): Translated using Weblate (Arabic) Currently translated at 26.9% (107 of 397 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/ar/ --- src/i18n/resources/ar.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/resources/ar.json b/src/i18n/resources/ar.json index 3cf15dd8a6..f31c4516a6 100644 --- a/src/i18n/resources/ar.json +++ b/src/i18n/resources/ar.json @@ -14,9 +14,9 @@ } }, "language": { - "code": "إنجليزي", - "local-name": "الإنجليزي", - "name": "الإنجليزية" + "code": "ar", + "local-name": "العربية", + "name": "Arabic" }, "main": { "console": { From f42f20f77065b2d1624accd2f6161df8f85fcb4c Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 13:38:21 +0000 Subject: [PATCH 55/93] chore(i18n): Translated using Weblate (Persian) Currently translated at 49.1% (195 of 397 strings) Translation: th-ch/youtube-music/i18n Translate-URL: https://hosted.weblate.org/projects/youtube-music/i18n/fa/ --- src/i18n/resources/fa.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/resources/fa.json b/src/i18n/resources/fa.json index d1671dec80..ef26f2e4ed 100644 --- a/src/i18n/resources/fa.json +++ b/src/i18n/resources/fa.json @@ -14,9 +14,9 @@ } }, "language": { - "code": "فا", + "code": "fa", "local-name": "فارسی", - "name": "فارسی" + "name": "Persian" }, "main": { "console": { From cb1381bbb394e2bbb404f44817ef96411dabc8a9 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 13 Oct 2024 22:45:11 +0900 Subject: [PATCH 56/93] fix: apply fix from eslint --- eslint.config.mjs | 4 +- src/custom-electron-prompt.d.ts | 38 +- src/index.ts | 30 +- src/loader/main.ts | 27 +- src/loader/renderer.ts | 4 +- src/menu.ts | 157 +++++--- src/plugins/adblocker/adSpeedup.ts | 8 +- src/plugins/adblocker/index.ts | 2 +- src/plugins/album-actions/index.ts | 17 +- src/plugins/album-color-theme/index.ts | 51 ++- src/plugins/ambient-mode/index.ts | 55 ++- src/plugins/ambient-mode/menu.ts | 24 +- src/plugins/ambient-mode/types.ts | 2 +- src/plugins/api-server/backend/main.ts | 8 +- src/plugins/api-server/backend/routes/auth.ts | 20 +- .../api-server/backend/routes/control.ts | 24 +- .../api-server/backend/scheme/index.ts | 1 - src/plugins/api-server/menu.ts | 56 +-- src/plugins/blur-nav-bar/index.ts | 5 +- src/plugins/captions-selector/index.ts | 4 +- src/plugins/crossfade/fader.ts | 30 +- src/plugins/crossfade/index.ts | 2 +- src/plugins/discord/main.ts | 4 +- src/plugins/downloader/main/index.ts | 22 +- src/plugins/downloader/menu.ts | 39 +- src/plugins/downloader/renderer.ts | 11 +- src/plugins/in-app-menu/constants.ts | 26 +- src/plugins/in-app-menu/main.ts | 21 +- src/plugins/in-app-menu/renderer.tsx | 26 +- .../in-app-menu/renderer/IconButton.tsx | 44 ++- .../in-app-menu/renderer/MenuButton.tsx | 52 +-- src/plugins/in-app-menu/renderer/Panel.tsx | 89 +++-- .../in-app-menu/renderer/PanelItem.tsx | 366 ++++++++++-------- src/plugins/in-app-menu/renderer/TitleBar.tsx | 203 ++++++---- .../in-app-menu/renderer/WindowController.tsx | 61 ++- src/plugins/lyrics-genius/renderer.ts | 2 +- src/plugins/music-together/connection.ts | 28 +- src/plugins/music-together/element.ts | 52 ++- src/plugins/music-together/index.ts | 318 ++++++++++----- src/plugins/music-together/queue/client.ts | 25 +- src/plugins/music-together/queue/queue.ts | 202 ++++++---- src/plugins/music-together/queue/song.ts | 8 +- src/plugins/music-together/queue/utils.ts | 35 +- src/plugins/music-together/types.ts | 7 +- src/plugins/music-together/ui/guest.ts | 3 +- src/plugins/music-together/ui/host.ts | 6 +- src/plugins/music-together/ui/setting.ts | 2 +- src/plugins/music-together/ui/status.ts | 38 +- src/plugins/picture-in-picture/renderer.ts | 4 +- src/plugins/playback-speed/renderer.ts | 5 +- src/plugins/scrobbler/index.ts | 36 +- src/plugins/scrobbler/main.ts | 85 ++-- src/plugins/scrobbler/menu.ts | 22 +- src/plugins/scrobbler/services/base.ts | 17 +- src/plugins/scrobbler/services/lastfm.ts | 41 +- .../scrobbler/services/listenbrainz.ts | 52 ++- src/plugins/shortcuts/mpris-service.d.ts | 12 +- src/plugins/shortcuts/mpris.ts | 11 +- src/plugins/skip-disliked-songs/index.ts | 32 +- .../sponsorblock/tests/segments.test.js | 4 +- src/plugins/synced-lyrics/menu.ts | 28 +- .../renderer/components/LyricsContainer.tsx | 2 +- src/plugins/synced-lyrics/renderer/index.ts | 19 +- .../synced-lyrics/renderer/lyrics/fetch.ts | 12 +- .../synced-lyrics/renderer/renderer.tsx | 7 +- src/plugins/touchbar/index.ts | 4 +- src/plugins/utils/main/fetch.ts | 4 +- src/preload.ts | 35 +- src/providers/app-controls.ts | 6 +- src/providers/decorators.ts | 2 +- src/providers/protocol-handler.ts | 13 +- src/providers/song-info-front.ts | 37 +- src/providers/song-info.ts | 4 +- src/renderer.ts | 62 ++- src/tray.ts | 34 +- src/types/contexts.ts | 5 +- src/types/datahost-get-state.ts | 1 + src/types/get-player-response.ts | 1 + src/types/queue.ts | 9 +- src/types/youtube-player.ts | 36 +- src/utils/wait-for-element.ts | 4 +- src/yt-web-components.d.ts | 3 +- vite-plugins/i18n-importer.mts | 4 +- vite-plugins/plugin-importer.mts | 4 +- vite-plugins/plugin-loader.mts | 30 +- 85 files changed, 1881 insertions(+), 1065 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index f6eea5dc79..f2d7231e63 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -12,7 +12,7 @@ export default tsEslint.config( tsEslint.configs.eslintRecommended, ...tsEslint.configs.recommendedTypeChecked, prettier, - { ignores: ['dist', 'node_modules', '*.config.*js'] }, + { ignores: ['dist', 'node_modules', '*.config.*js', '*.test.*js'] }, { plugins: { stylistic, @@ -54,7 +54,7 @@ export default tsEslint.config( afterLineComment: false, }], 'stylistic/max-len': 'off', - 'stylistic/no-mixed-operators': 'error', + 'stylistic/no-mixed-operators': 'warn', // prettier does not support no-mixed-operators 'stylistic/no-multi-spaces': ['error', { ignoreEOLComments: true }], 'stylistic/no-tabs': 'error', 'no-void': 'error', diff --git a/src/custom-electron-prompt.d.ts b/src/custom-electron-prompt.d.ts index bdbdc87f5a..a48ba5e5cc 100644 --- a/src/custom-electron-prompt.d.ts +++ b/src/custom-electron-prompt.d.ts @@ -64,29 +64,29 @@ declare module 'custom-electron-prompt' { export type PromptOptions = T extends 'input' ? InputPromptOptions : T extends 'select' - ? SelectPromptOptions - : T extends 'counter' - ? CounterPromptOptions - : T extends 'keybind' - ? KeybindPromptOptions - : T extends 'multiInput' - ? MultiInputPromptOptions - : never; + ? SelectPromptOptions + : T extends 'counter' + ? CounterPromptOptions + : T extends 'keybind' + ? KeybindPromptOptions + : T extends 'multiInput' + ? MultiInputPromptOptions + : never; type PromptResult = T extends 'input' ? string : T extends 'select' - ? string - : T extends 'counter' - ? number - : T extends 'keybind' - ? { - value: string; - accelerator: string; - }[] - : T extends 'multiInput' - ? string[] - : never; + ? string + : T extends 'counter' + ? number + : T extends 'keybind' + ? { + value: string; + accelerator: string; + }[] + : T extends 'multiInput' + ? string[] + : never; const prompt: ( options?: PromptOptions & { type: T }, diff --git a/src/index.ts b/src/index.ts index 18bbda6ff1..a2020fbf71 100644 --- a/src/index.ts +++ b/src/index.ts @@ -334,7 +334,9 @@ async function createMainWindow() { const display = screen.getDisplayNearestPoint(windowPosition); const primaryDisplay = screen.getPrimaryDisplay(); - const scaleFactor = is.windows() ? primaryDisplay.scaleFactor / display.scaleFactor : 1; + const scaleFactor = is.windows() + ? primaryDisplay.scaleFactor / display.scaleFactor + : 1; const scaledWidth = Math.floor(windowSize.width * scaleFactor); const scaledHeight = Math.floor(windowSize.height * scaleFactor); @@ -342,10 +344,10 @@ async function createMainWindow() { const scaledY = windowY; if ( - scaledX + (scaledWidth / 2) < display.bounds.x - 8 || // Left - scaledX + (scaledWidth / 2) > display.bounds.x + display.bounds.width || // Right + scaledX + scaledWidth / 2 < display.bounds.x - 8 || // Left + scaledX + scaledWidth / 2 > display.bounds.x + display.bounds.width || // Right scaledY < display.bounds.y - 8 || // Top - scaledY + (scaledHeight / 2) > display.bounds.y + display.bounds.height // Bottom + scaledY + scaledHeight / 2 > display.bounds.y + display.bounds.height // Bottom ) { // Window is offscreen if (is.dev()) { @@ -442,7 +444,7 @@ async function createMainWindow() { ...defaultTitleBarOverlayOptions, height: Math.floor( defaultTitleBarOverlayOptions.height! * - win.webContents.getZoomFactor(), + win.webContents.getZoomFactor(), ), }); } @@ -455,7 +457,7 @@ async function createMainWindow() { event.preventDefault(); win.webContents.loadURL( - 'https://accounts.google.com/ServiceLogin?ltmpl=music&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26next%3Dhttps%253A%252F%252Fmusic.youtube.com%252F' + 'https://accounts.google.com/ServiceLogin?ltmpl=music&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26next%3Dhttps%253A%252F%252Fmusic.youtube.com%252F', ); } }); @@ -479,8 +481,8 @@ app.once('browser-window-created', (_event, win) => { const updatedUserAgent = is.macOS() ? userAgents.mac : is.windows() - ? userAgents.windows - : userAgents.linux; + ? userAgents.windows + : userAgents.linux; win.webContents.userAgent = updatedUserAgent; app.userAgentFallback = updatedUserAgent; @@ -642,7 +644,9 @@ app.whenReady().then(async () => { // In dev mode, get string from process.env.VITE_DEV_SERVER_URL, else use fs.readFileSync if (is.dev() && process.env.ELECTRON_RENDERER_URL) { // HACK: to make vite work with electron renderer (supports hot reload) - event.returnValue = [null, ` + event.returnValue = [ + null, + ` console.log('${LoggerPrefix}', 'Loading vite from dev server'); (async () => { await new Promise((resolve) => { @@ -663,7 +667,8 @@ app.whenReady().then(async () => { document.body.appendChild(rendererScript); })(); 0 - `]; + `, + ]; } else { const rendererPath = path.join(__dirname, '..', 'renderer'); const indexHTML = parse( @@ -675,7 +680,10 @@ app.whenReady().then(async () => { scriptSrc.getAttribute('src')!, ); const scriptString = fs.readFileSync(scriptPath, 'utf-8'); - event.returnValue = [url.pathToFileURL(scriptPath).toString(), scriptString + ';0']; + event.returnValue = [ + url.pathToFileURL(scriptPath).toString(), + scriptString + ';0', + ]; } }); diff --git a/src/loader/main.ts b/src/loader/main.ts index 58807fe389..c763bc31dc 100644 --- a/src/loader/main.ts +++ b/src/loader/main.ts @@ -34,11 +34,12 @@ const createContext = ( win.webContents.send(event, ...args); }, handle: (event: string, listener: CallableFunction) => { - // eslint-disable-next-line @typescript-eslint/no-unsafe-return + // eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call ipcMain.handle(event, (_, ...args: unknown[]) => listener(...args)); }, on: (event: string, listener: CallableFunction) => { ipcMain.on(event, (_, ...args: unknown[]) => { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call listener(...args); }); }, @@ -75,11 +76,11 @@ export const forceUnloadMainPlugin = async ( ); return; } else { - console.log( - LoggerPrefix, - t('common.console.plugins.unload-failed', { pluginName: id }), - ); - return Promise.reject(); + const message = t('common.console.plugins.unload-failed', { + pluginName: id, + }); + console.log(LoggerPrefix, message); + return Promise.reject(new Error(message)); } } catch (err) { console.error( @@ -87,7 +88,7 @@ export const forceUnloadMainPlugin = async ( t('common.console.plugins.unload-failed', { pluginName: id }), ); console.trace(err); - return Promise.reject(err); + return Promise.reject(err as Error); } }; @@ -111,11 +112,11 @@ export const forceLoadMainPlugin = async ( ) { loadedPluginMap[id] = plugin; } else { - console.log( - LoggerPrefix, - t('common.console.plugins.load-failed', { pluginName: id }), - ); - return Promise.reject(); + const message = t('common.console.plugins.load-failed', { + pluginName: id, + }); + console.log(LoggerPrefix, message); + return Promise.reject(new Error(message)); } } catch (err) { console.error( @@ -123,7 +124,7 @@ export const forceLoadMainPlugin = async ( t('common.console.plugins.initialize-failed', { pluginName: id }), ); console.trace(err); - return Promise.reject(err); + return Promise.reject(err as Error); } }; diff --git a/src/loader/renderer.ts b/src/loader/renderer.ts index bf9d5cd564..a8ce8ed433 100644 --- a/src/loader/renderer.ts +++ b/src/loader/renderer.ts @@ -18,7 +18,8 @@ const loadedPluginMap: Record< export const createContext = ( id: string, ): RendererContext => ({ - getConfig: async () => window.ipcRenderer.invoke('ytmd:get-config', id), + getConfig: async () => + window.ipcRenderer.invoke('ytmd:get-config', id) as Promise, setConfig: async (newConfig) => { await window.ipcRenderer.invoke('ytmd:set-config', id, newConfig); }, @@ -30,6 +31,7 @@ export const createContext = ( window.ipcRenderer.invoke(event, ...args), on: (event: string, listener: CallableFunction) => { window.ipcRenderer.on(event, (_, ...args: unknown[]) => { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call listener(...args); }); }, diff --git a/src/menu.ts b/src/menu.ts index 22bde9afa8..61fd546616 100644 --- a/src/menu.ts +++ b/src/menu.ts @@ -1,5 +1,13 @@ import is from 'electron-is'; -import { app, BrowserWindow, clipboard, dialog, Menu, MenuItem, shell, } from 'electron'; +import { + app, + BrowserWindow, + clipboard, + dialog, + Menu, + MenuItem, + shell, +} from 'electron'; import prompt from 'custom-electron-prompt'; import { satisfies } from 'semver'; @@ -68,12 +76,21 @@ export const mainMenuTemplate = async ( const plugin = allPlugins[id]; const pluginLabel = plugin?.name?.() ?? id; const pluginDescription = plugin?.description?.() ?? undefined; - const isNew = plugin?.addedVersion ? satisfies(packageJson.version, plugin.addedVersion) : false; + const isNew = plugin?.addedVersion + ? satisfies(packageJson.version, plugin.addedVersion) + : false; if (!config.plugins.isEnabled(id)) { return [ id, - pluginEnabledMenu(id, pluginLabel, pluginDescription, isNew, true, innerRefreshMenu), + pluginEnabledMenu( + id, + pluginLabel, + pluginDescription, + isNew, + true, + innerRefreshMenu, + ), ] as const; } @@ -115,9 +132,18 @@ export const mainMenuTemplate = async ( const plugin = allPlugins[id]; const pluginLabel = plugin?.name?.() ?? id; const pluginDescription = plugin?.description?.() ?? undefined; - const isNew = plugin?.addedVersion ? satisfies(packageJson.version, plugin.addedVersion) : false; + const isNew = plugin?.addedVersion + ? satisfies(packageJson.version, plugin.addedVersion) + : false; - return pluginEnabledMenu(id, pluginLabel, pluginDescription, isNew, true, innerRefreshMenu); + return pluginEnabledMenu( + id, + pluginLabel, + pluginDescription, + isNew, + true, + innerRefreshMenu, + ); }); const availableLanguages = Object.keys(languageResources); @@ -229,12 +255,12 @@ export const mainMenuTemplate = async ( submenu: [ ...((config.get('options.themes')?.length ?? 0) === 0 ? [ - { - label: t( - 'main.menu.options.submenu.visual-tweaks.submenu.theme.submenu.no-theme', - ), - } - ] + { + label: t( + 'main.menu.options.submenu.visual-tweaks.submenu.theme.submenu.no-theme', + ), + }, + ] : []), ...(config.get('options.themes')?.map((theme: string) => ({ type: 'normal' as const, @@ -251,16 +277,25 @@ export const mainMenuTemplate = async ( { theme }, ), buttons: [ - t('main.menu.options.submenu.visual-tweaks.submenu.theme.dialog.button.cancel'), - t('main.menu.options.submenu.visual-tweaks.submenu.theme.dialog.button.remove'), + t( + 'main.menu.options.submenu.visual-tweaks.submenu.theme.dialog.button.cancel', + ), + t( + 'main.menu.options.submenu.visual-tweaks.submenu.theme.dialog.button.remove', + ), ], }); if (response === 1) { - config.set('options.themes', config.get('options.themes')?.filter((t) => t !== theme) ?? []); + config.set( + 'options.themes', + config + .get('options.themes') + ?.filter((t) => t !== theme) ?? [], + ); innerRefreshMenu(); } - } + }, })) ?? []), { type: 'separator' }, { @@ -306,40 +341,40 @@ export const mainMenuTemplate = async ( }, ...((is.windows() || is.linux() ? [ - { - label: t('main.menu.options.submenu.hide-menu.label'), - type: 'checkbox', - checked: config.get('options.hideMenu'), - click(item) { - config.setMenuOption('options.hideMenu', item.checked); - if (item.checked && !config.get('options.hideMenuWarned')) { - dialog.showMessageBox(win, { - type: 'info', - title: t( - 'main.menu.options.submenu.hide-menu.dialog.title', - ), - message: t( - 'main.menu.options.submenu.hide-menu.dialog.message', - ), - }); - } + { + label: t('main.menu.options.submenu.hide-menu.label'), + type: 'checkbox', + checked: config.get('options.hideMenu'), + click(item) { + config.setMenuOption('options.hideMenu', item.checked); + if (item.checked && !config.get('options.hideMenuWarned')) { + dialog.showMessageBox(win, { + type: 'info', + title: t( + 'main.menu.options.submenu.hide-menu.dialog.title', + ), + message: t( + 'main.menu.options.submenu.hide-menu.dialog.message', + ), + }); + } + }, }, - }, - ] + ] : []) satisfies Electron.MenuItemConstructorOptions[]), ...((is.windows() || is.macOS() ? // Only works on Win/Mac // https://www.electronjs.org/docs/api/app#appsetloginitemsettingssettings-macos-windows - [ - { - label: t('main.menu.options.submenu.start-at-login'), - type: 'checkbox', - checked: config.get('options.startAtLogin'), - click(item) { - config.setMenuOption('options.startAtLogin', item.checked); + [ + { + label: t('main.menu.options.submenu.start-at-login'), + type: 'checkbox', + checked: config.get('options.startAtLogin'), + click(item) { + config.setMenuOption('options.startAtLogin', item.checked); + }, }, - }, - ] + ] : []) satisfies Electron.MenuItemConstructorOptions[]), { label: t('main.menu.options.submenu.tray.label'), @@ -493,25 +528,25 @@ export const mainMenuTemplate = async ( { type: 'separator' }, is.macOS() ? { - label: t( - 'main.menu.options.submenu.advanced-options.submenu.toggle-dev-tools', - ), - // Cannot use "toggleDevTools" role in macOS - click() { - const { webContents } = win; - if (webContents.isDevToolsOpened()) { - webContents.closeDevTools(); - } else { - webContents.openDevTools(); - } - }, - } + label: t( + 'main.menu.options.submenu.advanced-options.submenu.toggle-dev-tools', + ), + // Cannot use "toggleDevTools" role in macOS + click() { + const { webContents } = win; + if (webContents.isDevToolsOpened()) { + webContents.closeDevTools(); + } else { + webContents.openDevTools(); + } + }, + } : { - label: t( - 'main.menu.options.submenu.advanced-options.submenu.toggle-dev-tools', - ), - role: 'toggleDevTools', - }, + label: t( + 'main.menu.options.submenu.advanced-options.submenu.toggle-dev-tools', + ), + role: 'toggleDevTools', + }, { label: t( 'main.menu.options.submenu.advanced-options.submenu.edit-config-json', diff --git a/src/plugins/adblocker/adSpeedup.ts b/src/plugins/adblocker/adSpeedup.ts index dbe2ea350e..acbfd5ef8e 100644 --- a/src/plugins/adblocker/adSpeedup.ts +++ b/src/plugins/adblocker/adSpeedup.ts @@ -1,5 +1,7 @@ function skipAd(target: Element) { - const skipButton = target.querySelector('button.ytp-ad-skip-button-modern'); + const skipButton = target.querySelector( + 'button.ytp-ad-skip-button-modern', + ); if (skipButton) { skipButton.click(); } @@ -17,7 +19,7 @@ function speedUpAndMute(player: Element, isAdShowing: boolean) { } } -export const loadAdSpeedup = async () => { +export const loadAdSpeedup = () => { const player = document.querySelector('#movie_player'); if (!player) return; @@ -53,4 +55,4 @@ export const loadAdSpeedup = async () => { player.classList.contains('ad-interrupting'); speedUpAndMute(player, isAdShowing); skipAd(player); -} +}; diff --git a/src/plugins/adblocker/index.ts b/src/plugins/adblocker/index.ts index 8469a62c24..c52faf79f2 100644 --- a/src/plugins/adblocker/index.ts +++ b/src/plugins/adblocker/index.ts @@ -79,7 +79,7 @@ export default createPlugin({ if (config.blocker === blockers.AdSpeedup) { await loadAdSpeedup(); } - } + }, }, backend: { mainWindow: null as BrowserWindow | null, diff --git a/src/plugins/album-actions/index.ts b/src/plugins/album-actions/index.ts index bc27c9e3fa..1542332a40 100644 --- a/src/plugins/album-actions/index.ts +++ b/src/plugins/album-actions/index.ts @@ -104,21 +104,28 @@ export default createPlugin< buttons.splice(i, 1); i--; } else { - (buttons[i].children[0].children[0] as HTMLElement).style.setProperty( + ( + buttons[i].children[0].children[0] as HTMLElement + ).style.setProperty( '-webkit-mask-size', - `100% ${100 - ((count / listsLength) * 100)}%`, + `100% ${100 - (count / listsLength) * 100}%`, ); } i++; } } - const menuParent = document.querySelector('#action-buttons')?.parentElement; + const menuParent = + document.querySelector('#action-buttons')?.parentElement; if (menuParent && !document.querySelector('.like-menu')) { const menu = document.createElement('div'); menu.id = 'ytmd-album-action-buttons'; - menu.className = 'action-buttons style-scope ytmusic-responsive-header-renderer'; + menu.className = + 'action-buttons style-scope ytmusic-responsive-header-renderer'; - menuParent.insertBefore(menu, menuParent.children[menuParent.children.length - 1]); + menuParent.insertBefore( + menu, + menuParent.children[menuParent.children.length - 1], + ); for (const button of buttons) { menu.appendChild(button); button.addEventListener('click', this.loadFullList); diff --git a/src/plugins/album-color-theme/index.ts b/src/plugins/album-color-theme/index.ts index ce02f5f743..b48117fbf1 100644 --- a/src/plugins/album-color-theme/index.ts +++ b/src/plugins/album-color-theme/index.ts @@ -25,7 +25,12 @@ export default createPlugin< sidebarSmall: HTMLElement | null; ytmusicAppLayout: HTMLElement | null; - getMixedColor(color: string, key: string, alpha?: number, ratioMultiply?: number): string; + getMixedColor( + color: string, + key: string, + alpha?: number, + ratioMultiply?: number, + ): string; updateColor(): void; }, { @@ -91,7 +96,10 @@ export default createPlugin< this.ytmusicAppLayout = document.querySelector('#layout'); const config = await getConfig(); - document.documentElement.style.setProperty(RATIO_KEY, `${~~(config.ratio * 100)}%`); + document.documentElement.style.setProperty( + RATIO_KEY, + `${~~(config.ratio * 100)}%`, + ); }, onPlayerApiReady(playerApi) { const fastAverageColor = new FastAverageColor(); @@ -100,10 +108,12 @@ export default createPlugin< if (event.detail.name !== 'dataloaded') return; const playerResponse = playerApi.getPlayerResponse(); - const thumbnail = playerResponse?.videoDetails?.thumbnail?.thumbnails?.at(0); + const thumbnail = + playerResponse?.videoDetails?.thumbnail?.thumbnails?.at(0); if (!thumbnail) return; - const albumColor = await fastAverageColor.getColorAsync(thumbnail.url) + const albumColor = await fastAverageColor + .getColorAsync(thumbnail.url) .catch((err) => { console.error(err); return null; @@ -120,8 +130,14 @@ export default createPlugin< this.darkColor = this.darkColor?.darken(0.05); } - document.documentElement.style.setProperty(COLOR_KEY, `${~~this.color.red()}, ${~~this.color.green()}, ${~~this.color.blue()}`); - document.documentElement.style.setProperty(DARK_COLOR_KEY, `${~~this.darkColor.red()}, ${~~this.darkColor.green()}, ${~~this.darkColor.blue()}`); + document.documentElement.style.setProperty( + COLOR_KEY, + `${~~this.color.red()}, ${~~this.color.green()}, ${~~this.color.blue()}`, + ); + document.documentElement.style.setProperty( + DARK_COLOR_KEY, + `${~~this.darkColor.red()}, ${~~this.darkColor.green()}, ${~~this.darkColor.blue()}`, + ); } else { document.documentElement.style.setProperty(COLOR_KEY, '0, 0, 0'); document.documentElement.style.setProperty(DARK_COLOR_KEY, '0, 0, 0'); @@ -131,7 +147,10 @@ export default createPlugin< }); }, onConfigChange(config) { - document.documentElement.style.setProperty(RATIO_KEY, `${~~(config.ratio * 100)}%`); + document.documentElement.style.setProperty( + RATIO_KEY, + `${~~(config.ratio * 100)}%`, + ); }, getMixedColor(color: string, key: string, alpha = 1, ratioMultiply) { const keyColor = `rgba(var(${key}), ${alpha})`; @@ -181,11 +200,23 @@ export default createPlugin< '--yt-spec-black-1-alpha-95': 'rgba(40,40,40,0.95)', }; Object.entries(variableMap).map(([variable, color]) => { - document.documentElement.style.setProperty(variable, this.getMixedColor(color, COLOR_KEY), 'important'); + document.documentElement.style.setProperty( + variable, + this.getMixedColor(color, COLOR_KEY), + 'important', + ); }); - document.body.style.setProperty('background', this.getMixedColor('#030303', COLOR_KEY), 'important'); - document.documentElement.style.setProperty('--ytmusic-background', this.getMixedColor('#030303', DARK_COLOR_KEY), 'important'); + document.body.style.setProperty( + 'background', + this.getMixedColor('#030303', COLOR_KEY), + 'important', + ); + document.documentElement.style.setProperty( + '--ytmusic-background', + this.getMixedColor('#030303', DARK_COLOR_KEY), + 'important', + ); }, }, }); diff --git a/src/plugins/ambient-mode/index.ts b/src/plugins/ambient-mode/index.ts index 5dfd20235c..a36feb5f7b 100644 --- a/src/plugins/ambient-mode/index.ts +++ b/src/plugins/ambient-mode/index.ts @@ -53,10 +53,16 @@ export default createPlugin({ const songImage = document.querySelector('#song-image'); const songVideo = document.querySelector('#song-video'); - const image = songImage?.querySelector('yt-img-shadow > img'); - const video = await waitForElement('.html5-video-container > video'); + const image = songImage?.querySelector( + 'yt-img-shadow > img', + ); + const video = await waitForElement( + '.html5-video-container > video', + ); - const videoWrapper = document.querySelector('#song-video > .player-wrapper'); + const videoWrapper = document.querySelector( + '#song-video > .player-wrapper', + ); const injectBlurImage = () => { if (!songImage || !image) return null; @@ -95,7 +101,9 @@ export default createPlugin({ const blurCanvas = document.createElement('canvas'); blurCanvas.classList.add('html5-blur-canvas'); - const context = blurCanvas.getContext('2d', { willReadFrequently: true }); + const context = blurCanvas.getContext('2d', { + willReadFrequently: true, + }); /* effect */ let lastEffectWorkId: number | null = null; @@ -109,14 +117,18 @@ export default createPlugin({ if (!context) return; const width = this.qualityRatio; - let height = Math.max(Math.floor((blurCanvas.height / blurCanvas.width) * width), 1,); + let height = Math.max( + Math.floor((blurCanvas.height / blurCanvas.width) * width), + 1, + ); if (!Number.isFinite(height)) height = width; if (!height) return; context.globalAlpha = 1; if (lastImageData) { - const frameOffset = (1 / this.buffer) * (1000 / this.interpolationTime); - context.globalAlpha = 1 - (frameOffset * 2); // because of alpha value must be < 1 + const frameOffset = + (1 / this.buffer) * (1000 / this.interpolationTime); + context.globalAlpha = 1 - frameOffset * 2; // because of alpha value must be < 1 context.putImageData(lastImageData, 0, 0); context.globalAlpha = frameOffset; } @@ -137,7 +149,9 @@ export default createPlugin({ if (newWidth === 0 || newHeight === 0) return; blurCanvas.width = this.qualityRatio; - blurCanvas.height = Math.floor((newHeight / newWidth) * this.qualityRatio); + blurCanvas.height = Math.floor( + (newHeight / newWidth) * this.qualityRatio, + ); if (this.isFullscreen) blurCanvas.classList.add('fullscreen'); else blurCanvas.classList.remove('fullscreen'); @@ -151,7 +165,10 @@ export default createPlugin({ /* hooking */ let canvasInterval: NodeJS.Timeout | null = null; - canvasInterval = setInterval(onSync, Math.max(1, Math.ceil(1000 / this.buffer))); + canvasInterval = setInterval( + onSync, + Math.max(1, Math.ceil(1000 / this.buffer)), + ); const onPause = () => { if (canvasInterval) clearInterval(canvasInterval); @@ -159,7 +176,10 @@ export default createPlugin({ }; const onPlay = () => { if (canvasInterval) clearInterval(canvasInterval); - canvasInterval = setInterval(onSync, Math.max(1, Math.ceil(1000 / this.buffer))); + canvasInterval = setInterval( + onSync, + Math.max(1, Math.ceil(1000 / this.buffer)), + ); }; songVideo.addEventListener('pause', onPause); songVideo.addEventListener('play', onPlay); @@ -198,11 +218,20 @@ export default createPlugin({ if (isPageOpen) { const isVideo = isVideoMode(); if (!force) { - if (this.lastMediaType === 'video' && this.lastVideoSource === video?.src) return false; - if (this.lastMediaType === 'image' && this.lastImageSource === image?.src) return false; + if ( + this.lastMediaType === 'video' && + this.lastVideoSource === video?.src + ) + return false; + if ( + this.lastMediaType === 'image' && + this.lastImageSource === image?.src + ) + return false; } this.unregister?.(); - this.unregister = (isVideo ? injectBlurVideo() : injectBlurImage()) ?? null; + this.unregister = + (isVideo ? injectBlurVideo() : injectBlurImage()) ?? null; } else { this.unregister?.(); this.unregister = null; diff --git a/src/plugins/ambient-mode/menu.ts b/src/plugins/ambient-mode/menu.ts index 14fcf4fa99..3c2ae97e29 100644 --- a/src/plugins/ambient-mode/menu.ts +++ b/src/plugins/ambient-mode/menu.ts @@ -1,14 +1,24 @@ -import { t } from "@/i18n"; -import { MenuContext } from "@/types/contexts"; -import { MenuItemConstructorOptions } from "electron"; -import { AmbientModePluginConfig } from "./types"; +import { MenuItemConstructorOptions } from 'electron'; + +import { t } from '@/i18n'; +import { MenuContext } from '@/types/contexts'; +import { AmbientModePluginConfig } from './types'; export interface menuParameters { getConfig: () => AmbientModePluginConfig | Promise; - setConfig: (conf: Partial>) => void | Promise; + setConfig: ( + conf: Partial>, + ) => void | Promise; } -export const menu: (ctx: MenuContext) => MenuItemConstructorOptions[] | Promise = async ({ getConfig, setConfig }: menuParameters) => { +export const menu: ( + ctx: MenuContext, +) => + | MenuItemConstructorOptions[] + | Promise = async ({ + getConfig, + setConfig, +}: menuParameters) => { const interpolationTimeList = [0, 500, 1000, 1500, 2000, 3000, 4000, 5000]; const qualityList = [10, 25, 50, 100, 200, 500, 1000]; const sizeList = [100, 110, 125, 150, 175, 200, 300]; @@ -107,4 +117,4 @@ export const menu: (ctx: MenuContext) => MenuItemConstr }, }, ]; -} \ No newline at end of file +}; diff --git a/src/plugins/ambient-mode/types.ts b/src/plugins/ambient-mode/types.ts index 6bb3b37cf2..befca0d3aa 100644 --- a/src/plugins/ambient-mode/types.ts +++ b/src/plugins/ambient-mode/types.ts @@ -7,4 +7,4 @@ export type AmbientModePluginConfig = { size: number; opacity: number; fullscreen: boolean; -}; \ No newline at end of file +}; diff --git a/src/plugins/api-server/backend/main.ts b/src/plugins/api-server/backend/main.ts index 83c6376725..409f8d7aa6 100644 --- a/src/plugins/api-server/backend/main.ts +++ b/src/plugins/api-server/backend/main.ts @@ -28,7 +28,10 @@ export const backend = createBackend({ this.end(); }, onConfigChange(config) { - if (this.oldConfig?.hostname === config.hostname && this.oldConfig?.port === config.port) { + if ( + this.oldConfig?.hostname === config.hostname && + this.oldConfig?.port === config.port + ) { this.oldConfig = config; return; } @@ -55,7 +58,8 @@ export const backend = createBackend({ this.app.use('/api/*', async (ctx, next) => { const result = await JWTPayloadSchema.spa(await ctx.get('jwtPayload')); - const isAuthorized = result.success && config.authorizedClients.includes(result.data.id); + const isAuthorized = + result.success && config.authorizedClients.includes(result.data.id); if (!isAuthorized) { ctx.status(401); return ctx.body('Unauthorized'); diff --git a/src/plugins/api-server/backend/routes/auth.ts b/src/plugins/api-server/backend/routes/auth.ts index b3a3e64b45..54e034ff0d 100644 --- a/src/plugins/api-server/backend/routes/auth.ts +++ b/src/plugins/api-server/backend/routes/auth.ts @@ -2,9 +2,10 @@ import { createRoute, z } from '@hono/zod-openapi'; import { dialog } from 'electron'; import { sign } from 'hono/jwt'; -import { t } from '@/i18n'; import { getConnInfo } from '@hono/node-server/conninfo'; +import { t } from '@/i18n'; + import { APIServerConfig } from '../../config'; import { JWTPayload } from '../scheme'; @@ -20,7 +21,7 @@ const routes = { request: { params: z.object({ id: z.string(), - }) + }), }, responses: { 200: { @@ -40,7 +41,10 @@ const routes = { }), }; -export const register = (app: HonoApp, { getConfig, setConfig }: BackendContext) => { +export const register = ( + app: HonoApp, + { getConfig, setConfig }: BackendContext, +) => { app.openapi(routes.request, async (ctx) => { const config = await getConfig(); const { id } = ctx.req.param(); @@ -54,7 +58,10 @@ export const register = (app: HonoApp, { getConfig, setConfig }: BackendContext< origin: getConnInfo(ctx).remote.address, id, }), - buttons: [t('plugins.api-server.dialog.request.buttons.allow'), t('plugins.api-server.dialog.request.deny')], + buttons: [ + t('plugins.api-server.dialog.request.buttons.allow'), + t('plugins.api-server.dialog.request.deny'), + ], defaultId: 1, cancelId: 1, }); @@ -68,10 +75,7 @@ export const register = (app: HonoApp, { getConfig, setConfig }: BackendContext< } setConfig({ - authorizedClients: [ - ...config.authorizedClients, - id, - ], + authorizedClients: [...config.authorizedClients, id], }); const token = await sign( diff --git a/src/plugins/api-server/backend/routes/control.ts b/src/plugins/api-server/backend/routes/control.ts index f8231e292f..45e6b24e1a 100644 --- a/src/plugins/api-server/backend/routes/control.ts +++ b/src/plugins/api-server/backend/routes/control.ts @@ -84,7 +84,8 @@ const routes = { method: 'post', path: `/api/${API_VERSION}/toggle-play`, summary: 'Toggle play/pause', - description: 'Change the state of the player to play if paused, or pause if playing', + description: + 'Change the state of the player to play if paused, or pause if playing', request: { headers: AuthHeadersSchema, }, @@ -280,7 +281,7 @@ const routes = { schema: z.object({ state: z.boolean(), }), - } + }, }, }, }, @@ -299,7 +300,7 @@ const routes = { content: { 'application/json': { schema: z.object({}), - } + }, }, }, 204: { @@ -321,7 +322,7 @@ const routes = { content: { 'application/json': { schema: SongInfoSchema, - } + }, }, }, 204: { @@ -331,7 +332,11 @@ const routes = { }), }; -export const register = (app: HonoApp, { window }: BackendContext, songInfoGetter: () => SongInfo | undefined) => { +export const register = ( + app: HonoApp, + { window }: BackendContext, + songInfoGetter: () => SongInfo | undefined, +) => { const controller = getSongControls(window); app.openapi(routes.previous, (ctx) => { @@ -426,9 +431,12 @@ export const register = (app: HonoApp, { window }: BackendContext { const stateResponsePromise = new Promise((resolve) => { - ipcMain.once('ytmd:set-fullscreen', (_, isFullscreen: boolean | undefined) => { - return resolve(!!isFullscreen); - }); + ipcMain.once( + 'ytmd:set-fullscreen', + (_, isFullscreen: boolean | undefined) => { + return resolve(!!isFullscreen); + }, + ); controller.requestFullscreenInformation(); }); diff --git a/src/plugins/api-server/backend/scheme/index.ts b/src/plugins/api-server/backend/scheme/index.ts index 305f55af24..1cbb91e873 100644 --- a/src/plugins/api-server/backend/scheme/index.ts +++ b/src/plugins/api-server/backend/scheme/index.ts @@ -5,4 +5,3 @@ export * from './go-forward'; export * from './switch-repeat'; export * from './set-volume'; export * from './set-fullscreen'; - diff --git a/src/plugins/api-server/menu.ts b/src/plugins/api-server/menu.ts index 4273877f2c..24a68d7a68 100644 --- a/src/plugins/api-server/menu.ts +++ b/src/plugins/api-server/menu.ts @@ -22,17 +22,20 @@ export const onMenu = async ({ async click() { const config = await getConfig(); - const newHostname = await prompt( - { - title: t('plugins.api-server.prompt.hostname.title'), - label: t('plugins.api-server.prompt.hostname.label'), - value: config.hostname, - type: 'input', - width: 380, - ...promptOptions(), - }, - window, - ) ?? (config.hostname ?? defaultAPIServerConfig.hostname); + const newHostname = + (await prompt( + { + title: t('plugins.api-server.prompt.hostname.title'), + label: t('plugins.api-server.prompt.hostname.label'), + value: config.hostname, + type: 'input', + width: 380, + ...promptOptions(), + }, + window, + )) ?? + config.hostname ?? + defaultAPIServerConfig.hostname; setConfig({ ...config, hostname: newHostname }); }, @@ -43,18 +46,21 @@ export const onMenu = async ({ async click() { const config = await getConfig(); - const newPort = await prompt( - { - title: t('plugins.api-server.prompt.port.title'), - label: t('plugins.api-server.prompt.port.label'), - value: config.port, - type: 'counter', - counterOptions: { minimum: 0, maximum: 65565, }, - width: 380, - ...promptOptions(), - }, - window, - ) ?? (config.port ?? defaultAPIServerConfig.port); + const newPort = + (await prompt( + { + title: t('plugins.api-server.prompt.port.title'), + label: t('plugins.api-server.prompt.port.label'), + value: config.port, + type: 'counter', + counterOptions: { minimum: 0, maximum: 65565 }, + width: 380, + ...promptOptions(), + }, + window, + )) ?? + config.port ?? + defaultAPIServerConfig.port; setConfig({ ...config, port: newPort }); }, @@ -64,7 +70,9 @@ export const onMenu = async ({ type: 'submenu', submenu: [ { - label: t('plugins.api-server.menu.auth-strategy.submenu.auth-at-first.label'), + label: t( + 'plugins.api-server.menu.auth-strategy.submenu.auth-at-first.label', + ), type: 'radio', checked: config.authStrategy === 'AUTH_AT_FIRST', click() { diff --git a/src/plugins/blur-nav-bar/index.ts b/src/plugins/blur-nav-bar/index.ts index 7c21c219e8..9a8db6a456 100644 --- a/src/plugins/blur-nav-bar/index.ts +++ b/src/plugins/blur-nav-bar/index.ts @@ -15,7 +15,10 @@ export default createPlugin({ this.styleSheet = new CSSStyleSheet(); await this.styleSheet.replace(style); - document.adoptedStyleSheets = [...document.adoptedStyleSheets, this.styleSheet]; + document.adoptedStyleSheets = [ + ...document.adoptedStyleSheets, + this.styleSheet, + ]; }, async stop() { await this.styleSheet?.replace(''); diff --git a/src/plugins/captions-selector/index.ts b/src/plugins/captions-selector/index.ts index b7ef9c5880..7ef9b22e84 100644 --- a/src/plugins/captions-selector/index.ts +++ b/src/plugins/captions-selector/index.ts @@ -34,7 +34,7 @@ export default createPlugin< { label: t('plugins.captions-selector.menu.autoload'), type: 'checkbox', - checked: config.autoload as boolean, + checked: config.autoload, click(item) { setConfig({ autoload: item.checked }); }, @@ -42,7 +42,7 @@ export default createPlugin< { label: t('plugins.captions-selector.menu.disable-captions'), type: 'checkbox', - checked: config.disableCaptions as boolean, + checked: config.disableCaptions, click(item) { setConfig({ disableCaptions: item.checked }); }, diff --git a/src/plugins/crossfade/fader.ts b/src/plugins/crossfade/fader.ts index 5e8630d16f..f4e30a4b43 100644 --- a/src/plugins/crossfade/fader.ts +++ b/src/plugins/crossfade/fader.ts @@ -64,7 +64,7 @@ interface VolumeFade { // Main class export class VolumeFader { private readonly media: HTMLMediaElement; - private readonly logger: VolumeLogger | false; + private readonly logger: VolumeLogger | null; private scale: { internalToVolume: (level: number) => number; volumeToInternal: (level: number) => number; @@ -100,7 +100,7 @@ export class VolumeFader { this.logger = options.logger; } else { // Set log function explicitly to false - this.logger = false; + this.logger = null; } // Linear volume fading? @@ -112,7 +112,7 @@ export class VolumeFader { }; // Log setting - this.logger && this.logger('Using linear fading.'); + this.logger?.('Using linear fading.'); } // No linear, but logarithmic fading… else { @@ -152,9 +152,8 @@ export class VolumeFader { }; // Log setting if not default - options.fadeScaling && - this.logger && - this.logger( + if (options.fadeScaling) + this.logger?.( 'Using logarithmic fading with ' + String(10 * dynamicRange) + ' dB dynamic range.', @@ -170,8 +169,7 @@ export class VolumeFader { this.media.volume = options.initialVolume; // Log setting - this.logger && - this.logger('Set initial volume to ' + String(this.media.volume) + '.'); + this.logger?.('Set initial volume to ' + String(this.media.volume) + '.'); } // Fade duration given? @@ -187,7 +185,7 @@ export class VolumeFader { this.active = false; // Initialization done - this.logger && this.logger('Initialized for', this.media); + this.logger?.('Initialized for', this.media); } /** @@ -236,8 +234,7 @@ export class VolumeFader { this.fadeDuration = fadeDuration; // Log setting - this.logger && - this.logger('Set fade duration to ' + String(fadeDuration) + ' ms.'); + this.logger?.('Set fade duration to ' + String(fadeDuration) + ' ms.'); } else { // Abort and throw an exception throw new TypeError('Positive number expected as fade duration!'); @@ -279,7 +276,7 @@ export class VolumeFader { this.start(); // Log new fade - this.logger && this.logger('New fade started:', this.fade); + this.logger?.('New fade started:', this.fade); // Return instance for chaining return this; @@ -313,7 +310,7 @@ export class VolumeFader { // Compute current level on internal scale const level = - (progress * (this.fade.volume.end - this.fade.volume.start)) + + progress * (this.fade.volume.end - this.fade.volume.start) + this.fade.volume.start; // Map fade level to volume level and apply it to media element @@ -323,8 +320,7 @@ export class VolumeFader { window.requestAnimationFrame(this.updateVolume.bind(this)); } else { // Log end of fade - this.logger && - this.logger('Fade to ' + String(this.fade.volume.end) + ' complete.'); + this.logger?.('Fade to ' + String(this.fade.volume.end) + ' complete.'); // Time is up, jump to target volume this.media.volume = this.scale.internalToVolume(this.fade.volume.end); @@ -333,7 +329,7 @@ export class VolumeFader { this.active = false; // Done, call back (if callable) - typeof this.fade.callback === 'function' && this.fade.callback(); + if (typeof this.fade.callback === 'function') this.fade.callback(); // Clear fade this.fade = undefined; @@ -382,7 +378,7 @@ export class VolumeFader { input = Math.log10(input); // Scale minus something × 10 dB to 0…1 (clipping at 0) - return Math.max(1 + (input / dynamicRange), 0); + return Math.max(1 + input / dynamicRange, 0); } } diff --git a/src/plugins/crossfade/index.ts b/src/plugins/crossfade/index.ts index 79af8b0fa7..b663c9e968 100644 --- a/src/plugins/crossfade/index.ts +++ b/src/plugins/crossfade/index.ts @@ -191,7 +191,7 @@ export default createPlugin< let waitForTransition: Promise; const getStreamURL = async (videoID: string): Promise => - this.ipc?.invoke('audio-url', videoID); + this.ipc?.invoke('audio-url', videoID) as Promise; const getVideoIDFromURL = (url: string) => new URLSearchParams(url.split('?')?.at(-1)).get('v'); diff --git a/src/plugins/discord/main.ts b/src/plugins/discord/main.ts index 8bca907a10..5b62353c7f 100644 --- a/src/plugins/discord/main.ts +++ b/src/plugins/discord/main.ts @@ -202,9 +202,9 @@ export const backend = createBackend< } } else if (!config.hideDurationLeft) { // Add the start and end time of the song - const songStartTime = Date.now() - ((songInfo.elapsedSeconds ?? 0) * 1000); + const songStartTime = Date.now() - (songInfo.elapsedSeconds ?? 0) * 1000; activityInfo.startTimestamp = songStartTime; - activityInfo.endTimestamp = songStartTime + (songInfo.songDuration * 1000); + activityInfo.endTimestamp = songStartTime + songInfo.songDuration * 1000; } info.rpc.user?.setActivity(activityInfo).catch(console.error); diff --git a/src/plugins/downloader/main/index.ts b/src/plugins/downloader/main/index.ts index d4b6672903..1d30fe75cc 100644 --- a/src/plugins/downloader/main/index.ts +++ b/src/plugins/downloader/main/index.ts @@ -183,12 +183,18 @@ function downloadSongOnFinishSetup({ config.downloadOnFinish.mode === 'seconds' && duration - time <= config.downloadOnFinish.seconds ) { - downloadSong(currentUrl, config.downloadOnFinish.folder ?? config.downloadFolder); + downloadSong( + currentUrl, + config.downloadOnFinish.folder ?? config.downloadFolder, + ); } else if ( config.downloadOnFinish.mode === 'percent' && time >= duration * (config.downloadOnFinish.percent / 100) ) { - downloadSong(currentUrl, config.downloadOnFinish.folder ?? config.downloadFolder); + downloadSong( + currentUrl, + config.downloadOnFinish.folder ?? config.downloadFolder, + ); } } @@ -438,7 +444,7 @@ async function iterableStreamToProcessedUint8Array( }), ratio, ); - increasePlaylistProgress(0.15 + (ratio * 0.85)); + increasePlaylistProgress(0.15 + ratio * 0.85); }); const safeVideoNameWithExtension = `${safeVideoName}.${extension}`; @@ -566,7 +572,13 @@ export async function downloadPlaylist(givenUrl?: string | URL) { return; } - if (!playlist || !playlist.items || playlist.items.length === 0 || !playlist.header || !('title' in playlist.header)) { + if ( + !playlist || + !playlist.items || + playlist.items.length === 0 || + !playlist.header || + !('title' in playlist.header) + ) { sendError( new Error(t('plugins.downloader.backend.feedback.playlist-is-empty')), ); @@ -660,7 +672,7 @@ export async function downloadPlaylist(givenUrl?: string | URL) { const increaseProgress = (itemPercentage: number) => { const currentProgress = (counter - 1) / (items.length ?? 1); - const newProgress = currentProgress + (progressStep * itemPercentage); + const newProgress = currentProgress + progressStep * itemPercentage; win.setProgressBar(newProgress); }; diff --git a/src/plugins/downloader/menu.ts b/src/plugins/downloader/menu.ts index e075fb0e9c..d4320abbe1 100644 --- a/src/plugins/downloader/menu.ts +++ b/src/plugins/downloader/menu.ts @@ -35,7 +35,10 @@ export const onMenu = async ({ click(item) { setConfig({ downloadOnFinish: { - ...deepmerge(defaultConfig.downloadOnFinish, config.downloadOnFinish)!, + ...deepmerge( + defaultConfig.downloadOnFinish, + config.downloadOnFinish, + )!, enabled: item.checked, }, }); @@ -49,14 +52,19 @@ export const onMenu = async ({ click() { const result = dialog.showOpenDialogSync({ properties: ['openDirectory', 'createDirectory'], - defaultPath: getFolder(config.downloadOnFinish?.folder ?? config.downloadFolder), + defaultPath: getFolder( + config.downloadOnFinish?.folder ?? config.downloadFolder, + ), }); if (result) { setConfig({ downloadOnFinish: { - ...deepmerge(defaultConfig.downloadOnFinish, config.downloadOnFinish)!, + ...deepmerge( + defaultConfig.downloadOnFinish, + config.downloadOnFinish, + )!, folder: result[0], - } + }, }); } }, @@ -76,7 +84,10 @@ export const onMenu = async ({ click() { setConfig({ downloadOnFinish: { - ...deepmerge(defaultConfig.downloadOnFinish, config.downloadOnFinish)!, + ...deepmerge( + defaultConfig.downloadOnFinish, + config.downloadOnFinish, + )!, mode: 'seconds', }, }); @@ -91,7 +102,10 @@ export const onMenu = async ({ click() { setConfig({ downloadOnFinish: { - ...deepmerge(defaultConfig.downloadOnFinish, config.downloadOnFinish)!, + ...deepmerge( + defaultConfig.downloadOnFinish, + config.downloadOnFinish, + )!, mode: 'percent', }, }); @@ -120,7 +134,9 @@ export const onMenu = async ({ min: '0', step: '1', }, - value: config.downloadOnFinish?.seconds ?? defaultConfig.downloadOnFinish!.seconds, + value: + config.downloadOnFinish?.seconds ?? + defaultConfig.downloadOnFinish!.seconds, }, { label: t( @@ -133,7 +149,9 @@ export const onMenu = async ({ max: '100', step: '1', }, - value: config.downloadOnFinish?.percent ?? defaultConfig.downloadOnFinish!.percent, + value: + config.downloadOnFinish?.percent ?? + defaultConfig.downloadOnFinish!.percent, }, ], ...promptOptions(), @@ -147,7 +165,10 @@ export const onMenu = async ({ setConfig({ downloadOnFinish: { - ...deepmerge(defaultConfig.downloadOnFinish, config.downloadOnFinish)!, + ...deepmerge( + defaultConfig.downloadOnFinish, + config.downloadOnFinish, + )!, seconds: Number(res[0]), percent: Number(res[1]), }, diff --git a/src/plugins/downloader/renderer.ts b/src/plugins/downloader/renderer.ts index 99e2dde504..dc63b3ba49 100644 --- a/src/plugins/downloader/renderer.ts +++ b/src/plugins/downloader/renderer.ts @@ -39,7 +39,9 @@ const menuObserver = new MutationObserver(() => { if (!menuUrl?.includes('watch?')) { menuUrl = undefined; // check for podcast - for (const it of document.querySelectorAll('tp-yt-paper-listbox [tabindex="-1"] #navigation-endpoint')) { + for (const it of document.querySelectorAll( + 'tp-yt-paper-listbox [tabindex="-1"] #navigation-endpoint', + )) { if (it.getAttribute('href')?.includes('podcast/')) { menuUrl = it.getAttribute('href')!; break; @@ -72,7 +74,9 @@ export const onRendererLoad = ({ ?.getAttribute('href'); if (!videoUrl && songMenu) { - for (const it of songMenu.querySelectorAll('ytmusic-menu-navigation-item-renderer[tabindex="-1"] #navigation-endpoint')) { + for (const it of songMenu.querySelectorAll( + 'ytmusic-menu-navigation-item-renderer[tabindex="-1"] #navigation-endpoint', + )) { if (it.getAttribute('href')?.includes('podcast/')) { videoUrl = it.getAttribute('href'); break; @@ -86,7 +90,8 @@ export const onRendererLoad = ({ } if (videoUrl.startsWith('podcast/')) { - videoUrl = defaultConfig.url + '/watch?' + videoUrl.replace('podcast/', 'v='); + videoUrl = + defaultConfig.url + '/watch?' + videoUrl.replace('podcast/', 'v='); } if (videoUrl.includes('?playlist=')) { diff --git a/src/plugins/in-app-menu/constants.ts b/src/plugins/in-app-menu/constants.ts index 631dc0b949..ad159c5b62 100644 --- a/src/plugins/in-app-menu/constants.ts +++ b/src/plugins/in-app-menu/constants.ts @@ -4,24 +4,12 @@ export interface InAppMenuConfig { } export const defaultInAppMenuConfig: InAppMenuConfig = { enabled: - ( - ( - typeof window !== 'undefined' && - !window.navigator?.userAgent?.toLowerCase().includes('mac') - ) || - ( - typeof global !== 'undefined' && - global.process?.platform !== 'darwin' - ) - ) && ( - ( - typeof window !== 'undefined' && - !window.navigator?.userAgent?.toLowerCase().includes('linux') - ) || - ( - typeof global !== 'undefined' && - global.process?.platform !== 'linux' - ) - ), + ((typeof window !== 'undefined' && + !window.navigator?.userAgent?.toLowerCase().includes('mac')) || + (typeof global !== 'undefined' && + global.process?.platform !== 'darwin')) && + ((typeof window !== 'undefined' && + !window.navigator?.userAgent?.toLowerCase().includes('linux')) || + (typeof global !== 'undefined' && global.process?.platform !== 'linux')), hideDOMWindowControls: false, }; diff --git a/src/plugins/in-app-menu/main.ts b/src/plugins/in-app-menu/main.ts index 400558eabd..71479fab7b 100644 --- a/src/plugins/in-app-menu/main.ts +++ b/src/plugins/in-app-menu/main.ts @@ -1,6 +1,13 @@ import { register } from 'electron-localshortcut'; -import { BrowserWindow, Menu, MenuItem, ipcMain, nativeImage } from 'electron'; +import { + BrowserWindow, + Menu, + MenuItem, + ipcMain, + nativeImage, + WebContents, +} from 'electron'; import type { BackendContext } from '@/types/contexts'; import type { InAppMenuConfig } from './constants'; @@ -50,11 +57,13 @@ export const onMainLoad = ({ ipcMain.handle('ytmd:menu-event', (event, commandId: number) => { const target = getMenuItemById(commandId); if (target) - target.click( - undefined, - BrowserWindow.fromWebContents(event.sender), - event.sender, - ); + ( + target.click as ( + args0: unknown, + args1: BrowserWindow | null, + args3: WebContents, + ) => void + )(undefined, BrowserWindow.fromWebContents(event.sender), event.sender); }); handle('get-menu-by-id', (commandId: number) => { diff --git a/src/plugins/in-app-menu/renderer.tsx b/src/plugins/in-app-menu/renderer.tsx index 3fdb928af0..522d0efe39 100644 --- a/src/plugins/in-app-menu/renderer.tsx +++ b/src/plugins/in-app-menu/renderer.tsx @@ -16,8 +16,9 @@ const isMacOS = navigator.userAgent.includes('Macintosh'); const isNotWindowsOrMacOS = !navigator.userAgent.includes('Windows') && !isMacOS; - -const [config, setConfig] = createSignal(defaultInAppMenuConfig); +const [config, setConfig] = createSignal( + defaultInAppMenuConfig, +); export const onRendererLoad = async ({ getConfig, ipc, @@ -29,14 +30,19 @@ export const onRendererLoad = async ({ stylesheet.replaceSync(scrollStyle); document.adoptedStyleSheets = [...document.adoptedStyleSheets, stylesheet]; - render(() => ( - - ), document.body); + render( + () => ( + + ), + document.body, + ); }; export const onPlayerApiReady = () => { diff --git a/src/plugins/in-app-menu/renderer/IconButton.tsx b/src/plugins/in-app-menu/renderer/IconButton.tsx index b3301b814c..4b705fad0a 100644 --- a/src/plugins/in-app-menu/renderer/IconButton.tsx +++ b/src/plugins/in-app-menu/renderer/IconButton.tsx @@ -3,36 +3,38 @@ import { css } from 'solid-styled-components'; import { cacheNoArgs } from '@/providers/decorators'; -const iconButton = cacheNoArgs(() => css` - -webkit-app-region: none; +const iconButton = cacheNoArgs( + () => css` + -webkit-app-region: none; - background: transparent; + background: transparent; - width: 24px; - height: 24px; + width: 24px; + height: 24px; - padding: 2px; - border-radius: 2px; + padding: 2px; + border-radius: 2px; - display: flex; - justify-content: center; - align-items: center; + display: flex; + justify-content: center; + align-items: center; - color: white; + color: white; - outline: none; - border: none; + outline: none; + border: none; - transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); + transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); - &:hover { - background: rgba(255, 255, 255, 0.1); - } + &:hover { + background: rgba(255, 255, 255, 0.1); + } - &:active { - scale: 0.9; - } -`); + &:active { + scale: 0.9; + } + `, +); type CollapseIconButtonProps = JSX.HTMLAttributes; export const IconButton = (props: CollapseIconButtonProps) => { diff --git a/src/plugins/in-app-menu/renderer/MenuButton.tsx b/src/plugins/in-app-menu/renderer/MenuButton.tsx index c208b3320a..7d9f6a1da2 100644 --- a/src/plugins/in-app-menu/renderer/MenuButton.tsx +++ b/src/plugins/in-app-menu/renderer/MenuButton.tsx @@ -3,31 +3,33 @@ import { css } from 'solid-styled-components'; import { cacheNoArgs } from '@/providers/decorators'; -const menuStyle = cacheNoArgs(() => css` - -webkit-app-region: none; - - display: flex; - justify-content: center; - align-items: center; - align-self: stretch; - - padding: 2px 8px; - border-radius: 4px; - - cursor: pointer; - transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); - - &:hover { - background-color: rgba(255, 255, 255, 0.1); - } - &:active { - scale: 0.9; - } - - &[data-selected="true"] { - background-color: rgba(255, 255, 255, 0.2); - } -`); +const menuStyle = cacheNoArgs( + () => css` + -webkit-app-region: none; + + display: flex; + justify-content: center; + align-items: center; + align-self: stretch; + + padding: 2px 8px; + border-radius: 4px; + + cursor: pointer; + transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); + + &:hover { + background-color: rgba(255, 255, 255, 0.1); + } + &:active { + scale: 0.9; + } + + &[data-selected='true'] { + background-color: rgba(255, 255, 255, 0.2); + } + `, +); export type MenuButtonProps = JSX.HTMLAttributes & { text?: string; diff --git a/src/plugins/in-app-menu/renderer/Panel.tsx b/src/plugins/in-app-menu/renderer/Panel.tsx index f1f4f26cb3..b5cba59083 100644 --- a/src/plugins/in-app-menu/renderer/Panel.tsx +++ b/src/plugins/in-app-menu/renderer/Panel.tsx @@ -2,39 +2,48 @@ import { createSignal, JSX, Show, splitProps } from 'solid-js'; import { mergeProps, Portal } from 'solid-js/web'; import { css } from 'solid-styled-components'; import { Transition } from 'solid-transition-group'; -import { autoUpdate, flip, offset, OffsetOptions, size } from '@floating-ui/dom'; +import { + autoUpdate, + flip, + offset, + OffsetOptions, + size, +} from '@floating-ui/dom'; import { useFloating } from 'solid-floating-ui'; import { cacheNoArgs } from '@/providers/decorators'; -const panelStyle = cacheNoArgs(() => css` - position: fixed; - top: var(--offset-y, 0); - left: var(--offset-x, 0); +const panelStyle = cacheNoArgs( + () => css` + position: fixed; + top: var(--offset-y, 0); + left: var(--offset-x, 0); - max-width: var(--max-width, 100%); - max-height: var(--max-height, 100%); + max-width: var(--max-width, 100%); + max-height: var(--max-height, 100%); - z-index: 10000; - width: fit-content; - height: fit-content; + z-index: 10000; + width: fit-content; + height: fit-content; - padding: 4px; - box-sizing: border-box; - border-radius: 8px; - overflow: auto; + padding: 4px; + box-sizing: border-box; + border-radius: 8px; + overflow: auto; - background-color: color-mix( - in srgb, - var(--titlebar-background-color, #030303) 50%, - rgba(0, 0, 0, 0.1) - ); - backdrop-filter: blur(8px); - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), - 0 2px 8px rgba(0, 0, 0, 0.2); + background-color: color-mix( + in srgb, + var(--titlebar-background-color, #030303) 50%, + rgba(0, 0, 0, 0.1) + ); + backdrop-filter: blur(8px); + box-shadow: + 0 0 0 1px rgba(0, 0, 0, 0.05), + 0 2px 8px rgba(0, 0, 0, 0.2); - transform-origin: var(--origin-x, 50%) var(--origin-y, 50%); -`); + transform-origin: var(--origin-x, 50%) var(--origin-y, 50%); + `, +); const animationStyle = cacheNoArgs(() => ({ enter: css` @@ -42,19 +51,23 @@ const animationStyle = cacheNoArgs(() => ({ transform: scale(0.9); `, enterActive: css` - transition: opacity 0.225s cubic-bezier(0.33, 1, 0.68, 1), transform 0.225s cubic-bezier(0.33, 1, 0.68, 1); + transition: + opacity 0.225s cubic-bezier(0.33, 1, 0.68, 1), + transform 0.225s cubic-bezier(0.33, 1, 0.68, 1); `, exitTo: css` opacity: 0; transform: scale(0.9); `, exitActive: css` - transition: opacity 0.225s cubic-bezier(0.32, 0, 0.67, 0), transform 0.225s cubic-bezier(0.32, 0, 0.67, 0); + transition: + opacity 0.225s cubic-bezier(0.32, 0, 0.67, 0), + transform 0.225s cubic-bezier(0.32, 0, 0.67, 0); `, })); export type Placement = - 'top' + | 'top' | 'bottom' | 'left' | 'right' @@ -92,9 +105,15 @@ export const Panel = (props: PanelProps) => { size({ padding: 8, apply({ elements, availableWidth, availableHeight }) { - elements.floating.style.setProperty('--max-width', `${Math.max(200, availableWidth)}px`); - elements.floating.style.setProperty('--max-height', `${Math.max(200, availableHeight)}px`); - } + elements.floating.style.setProperty( + '--max-width', + `${Math.max(200, availableWidth)}px`, + ); + elements.floating.style.setProperty( + '--max-height', + `${Math.max(200, availableHeight)}px`, + ); + }, }), flip({ fallbackStrategy: 'initialPlacement' }), ], @@ -103,7 +122,10 @@ export const Panel = (props: PanelProps) => { const originX = () => { if (position.placement.includes('left')) return '100%'; if (position.placement.includes('right')) return '0'; - if (position.placement.includes('top') || position.placement.includes('bottom')) { + if ( + position.placement.includes('top') || + position.placement.includes('bottom') + ) { if (position.placement.includes('start')) return '0'; if (position.placement.includes('end')) return '100%'; } @@ -113,7 +135,10 @@ export const Panel = (props: PanelProps) => { const originY = () => { if (position.placement.includes('top')) return '100%'; if (position.placement.includes('bottom')) return '0'; - if (position.placement.includes('left') || position.placement.includes('right')) { + if ( + position.placement.includes('left') || + position.placement.includes('right') + ) { if (position.placement.includes('start')) return '0'; if (position.placement.includes('end')) return '100%'; } diff --git a/src/plugins/in-app-menu/renderer/PanelItem.tsx b/src/plugins/in-app-menu/renderer/PanelItem.tsx index c54a0ae4f0..583b5f95d4 100644 --- a/src/plugins/in-app-menu/renderer/PanelItem.tsx +++ b/src/plugins/in-app-menu/renderer/PanelItem.tsx @@ -10,100 +10,111 @@ import { autoUpdate, offset, size } from '@floating-ui/dom'; import { Panel } from './Panel'; import { cacheNoArgs } from '@/providers/decorators'; -const itemStyle = cacheNoArgs(() => css` - position: relative; +const itemStyle = cacheNoArgs( + () => css` + position: relative; - -webkit-app-region: none; - min-height: 32px; - height: 32px; + -webkit-app-region: none; + min-height: 32px; + height: 32px; - display: grid; - grid-template-columns: 32px 1fr auto minmax(32px, auto); - justify-content: flex-start; - align-items: center; + display: grid; + grid-template-columns: 32px 1fr auto minmax(32px, auto); + justify-content: flex-start; + align-items: center; - border-radius: 4px; - cursor: pointer; - box-sizing: border-box; - user-select: none; - -webkit-user-drag: none; + border-radius: 4px; + cursor: pointer; + box-sizing: border-box; + user-select: none; + -webkit-user-drag: none; - transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); + transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); - &:hover { - background-color: rgba(255, 255, 255, 0.1); - } + &:hover { + background-color: rgba(255, 255, 255, 0.1); + } - &:active { - background-color: rgba(255, 255, 255, 0.2); - } + &:active { + background-color: rgba(255, 255, 255, 0.2); + } + + &[data-selected='true'] { + background-color: rgba(255, 255, 255, 0.2); + } + + & * { + box-sizing: border-box; + } + `, +); + +const itemIconStyle = cacheNoArgs( + () => css` + height: 32px; + padding: 4px; + color: white; + `, +); + +const itemLabelStyle = cacheNoArgs( + () => css` + font-size: 12px; + color: white; + `, +); + +const itemChipStyle = cacheNoArgs( + () => css` + display: flex; + justify-content: center; + align-items: center; + + min-width: 16px; + height: 16px; + padding: 0 4px; + margin-left: 8px; - &[data-selected="true"] { + border-radius: 4px; background-color: rgba(255, 255, 255, 0.2); - } + color: #f1f1f1; + font-size: 10px; + font-weight: 500; + line-height: 1; + `, +); - & * { - box-sizing: border-box; - } -`); - -const itemIconStyle = cacheNoArgs(() => css` - height: 32px; - padding: 4px; - color: white; -`); - -const itemLabelStyle = cacheNoArgs(() => css` - font-size: 12px; - color: white; -`); - -const itemChipStyle = cacheNoArgs(() => css` - display: flex; - justify-content: center; - align-items: center; - - min-width: 16px; - height: 16px; - padding: 0 4px; - margin-left: 8px; - - border-radius: 4px; - background-color: rgba(255, 255, 255, 0.2); - color: #f1f1f1; - font-size: 10px; - font-weight: 500; - line-height: 1; -`); - -const toolTipStyle = cacheNoArgs(() => css` - min-width: 32px; - width: 100%; - height: 100%; - - padding: 4px; - - max-width: calc(var(--max-width, 100%) - 8px); - max-height: calc(var(--max-height, 100%) - 8px); - - border-radius: 4px; - background-color: rgba(25, 25, 25, 0.8); - color: #f1f1f1; - font-size: 10px; -`); - -const popupStyle = cacheNoArgs(() => css` - position: fixed; - top: var(--offset-y, 0); - left: var(--offset-x, 0); - - max-width: var(--max-width, 100%); - max-height: var(--max-height, 100%); - - z-index: 100000000; - pointer-events: none; - -`); +const toolTipStyle = cacheNoArgs( + () => css` + min-width: 32px; + width: 100%; + height: 100%; + + padding: 4px; + + max-width: calc(var(--max-width, 100%) - 8px); + max-height: calc(var(--max-height, 100%) - 8px); + + border-radius: 4px; + background-color: rgba(25, 25, 25, 0.8); + color: #f1f1f1; + font-size: 10px; + `, +); + +const popupStyle = cacheNoArgs( + () => css` + position: fixed; + top: var(--offset-y, 0); + left: var(--offset-x, 0); + + max-width: var(--max-width, 100%); + max-height: var(--max-height, 100%); + + z-index: 100000000; + pointer-events: none; + `, +); const animationStyle = cacheNoArgs(() => ({ enter: css` @@ -111,14 +122,18 @@ const animationStyle = cacheNoArgs(() => ({ transform: scale(0.9); `, enterActive: css` - transition: opacity 0.225s cubic-bezier(0.33, 1, 0.68, 1), transform 0.225s cubic-bezier(0.33, 1, 0.68, 1); + transition: + opacity 0.225s cubic-bezier(0.33, 1, 0.68, 1), + transform 0.225s cubic-bezier(0.33, 1, 0.68, 1); `, exitTo: css` opacity: 0; transform: scale(0.9); `, exitActive: css` - transition: opacity 0.225s cubic-bezier(0.32, 0, 0.67, 0), transform 0.225s cubic-bezier(0.32, 0, 0.67, 0); + transition: + opacity 0.225s cubic-bezier(0.32, 0, 0.67, 0), + transform 0.225s cubic-bezier(0.32, 0, 0.67, 0); `, })); @@ -160,7 +175,11 @@ type CheckboxPanelItemProps = BasePanelItemProps & { checked: boolean; onChange?: (checked: boolean) => void; }; -export type PanelItemProps = NormalPanelItemProps | SubmenuItemProps | RadioPanelItemProps | CheckboxPanelItemProps; +export type PanelItemProps = + | NormalPanelItemProps + | SubmenuItemProps + | RadioPanelItemProps + | CheckboxPanelItemProps; export const PanelItem = (props: PanelItemProps) => { const [open, setOpen] = createSignal(false); const [toolTipOpen, setToolTipOpen] = createSignal(false); @@ -176,17 +195,24 @@ export const PanelItem = (props: PanelItemProps) => { offset({ mainAxis: 8 }), size({ apply({ rects, elements }) { - elements.floating.style.setProperty('--max-width', `${rects.reference.width}px`); - } + elements.floating.style.setProperty( + '--max-width', + `${rects.reference.width}px`, + ); + }, }), ], }); const handleHover = (event: MouseEvent) => { setToolTipOpen(true); - event.target?.addEventListener('mouseleave', () => { - setToolTipOpen(false); - }, { once: true }); + event.target?.addEventListener( + 'mouseleave', + () => { + setToolTipOpen(false); + }, + { once: true }, + ); if (props.type === 'submenu') { const timer = setTimeout(() => { @@ -200,36 +226,54 @@ export const PanelItem = (props: PanelItemProps) => { }; document.addEventListener('mousemove', onMouseMove); - event.target?.addEventListener('mouseleave', () => { - setTimeout(() => { - document.removeEventListener('mousemove', onMouseMove); - const parents = getParents(document.elementFromPoint(mouseX, mouseY)); - - if (!parents.includes(child())) { - setOpen(false); - } else { - const onOtherHover = (event: MouseEvent) => { - const parents = getParents(event.target as HTMLElement); - const closestLevel = parents.find((it) => it?.dataset?.level)?.dataset.level ?? ''; - const path = event.composedPath(); - - const isOtherItem = path.some((it) => it instanceof HTMLElement && it.classList.contains(itemStyle())); - const isChild = closestLevel.startsWith(props.level.join('/')); - - if (isOtherItem && !isChild) { - setOpen(false); - document.removeEventListener('mousemove', onOtherHover); - } - }; - document.addEventListener('mousemove', onOtherHover); - } - }, 225); - }, { once: true }); + event.target?.addEventListener( + 'mouseleave', + () => { + setTimeout(() => { + document.removeEventListener('mousemove', onMouseMove); + const parents = getParents( + document.elementFromPoint(mouseX, mouseY), + ); + + if (!parents.includes(child())) { + setOpen(false); + } else { + const onOtherHover = (event: MouseEvent) => { + const parents = getParents(event.target as HTMLElement); + const closestLevel = + parents.find((it) => it?.dataset?.level)?.dataset.level ?? + ''; + const path = event.composedPath(); + + const isOtherItem = path.some( + (it) => + it instanceof HTMLElement && + it.classList.contains(itemStyle()), + ); + const isChild = closestLevel.startsWith( + props.level.join('/'), + ); + + if (isOtherItem && !isChild) { + setOpen(false); + document.removeEventListener('mousemove', onOtherHover); + } + }; + document.addEventListener('mousemove', onOtherHover); + } + }, 225); + }, + { once: true }, + ); }, 225); - event.target?.addEventListener('mouseleave', () => { - clearTimeout(timer); - }, { once: true }); + event.target?.addEventListener( + 'mouseleave', + () => { + clearTimeout(timer); + }, + { once: true }, + ); } }; @@ -244,7 +288,6 @@ export const PanelItem = (props: PanelItemProps) => { } }; - return (
  • { onClick={handleClick} data-selected={open()} > - }> + }> - - - + + + - - + + - - + + - - {props.name} - - }> - - {props.chip} - + {props.name} + }> + {props.chip} - - - + + + { exitActiveClass={animationStyle().exitActive} > -
    - {props.toolTip} -
    +
    {props.toolTip}
    diff --git a/src/plugins/in-app-menu/renderer/TitleBar.tsx b/src/plugins/in-app-menu/renderer/TitleBar.tsx index f92089224f..61f9f17f5e 100644 --- a/src/plugins/in-app-menu/renderer/TitleBar.tsx +++ b/src/plugins/in-app-menu/renderer/TitleBar.tsx @@ -1,5 +1,15 @@ import { Menu, MenuItem } from 'electron'; -import { createEffect, createResource, createSignal, Index, Match, onCleanup, onMount, Show, Switch } from 'solid-js'; +import { + createEffect, + createResource, + createSignal, + Index, + Match, + onCleanup, + onMount, + Show, + Switch, +} from 'solid-js'; import { css } from 'solid-styled-components'; import { TransitionGroup } from 'solid-transition-group'; @@ -14,49 +24,55 @@ import { cacheNoArgs } from '@/providers/decorators'; import type { RendererContext } from '@/types/contexts'; import type { InAppMenuConfig } from '../constants'; -const titleStyle = cacheNoArgs(() => css` - -webkit-app-region: drag; - box-sizing: border-box; - - position: fixed; - top: 0; - z-index: 10000000; - - width: 100%; - height: var(--menu-bar-height, 32px); - - display: flex; - flex-flow: row; - justify-content: flex-start; - align-items: center; - gap: 4px; - - color: #f1f1f1; - font-size: 12px; - padding: 4px 4px 4px var(--offset-left, 4px); - background-color: var(--titlebar-background-color, #030303); - user-select: none; - - transition: opacity 200ms ease 0s, - transform 300ms cubic-bezier(0.2, 0, 0.6, 1) 0s, - background-color 300ms cubic-bezier(0.2, 0, 0.6, 1) 0s; - - &[data-macos="true"] { - padding: 4px 4px 4px 74px; - } +const titleStyle = cacheNoArgs( + () => css` + -webkit-app-region: drag; + box-sizing: border-box; + + position: fixed; + top: 0; + z-index: 10000000; + + width: 100%; + height: var(--menu-bar-height, 32px); + + display: flex; + flex-flow: row; + justify-content: flex-start; + align-items: center; + gap: 4px; + + color: #f1f1f1; + font-size: 12px; + padding: 4px 4px 4px var(--offset-left, 4px); + background-color: var(--titlebar-background-color, #030303); + user-select: none; + + transition: + opacity 200ms ease 0s, + transform 300ms cubic-bezier(0.2, 0, 0.6, 1) 0s, + background-color 300ms cubic-bezier(0.2, 0, 0.6, 1) 0s; + + &[data-macos='true'] { + padding: 4px 4px 4px 74px; + } - ytmusic-app:has(ytmusic-player[player-ui-state=FULLSCREEN]) ~ &:not([data-show="true"]) { - transform: translateY(calc(-1 * var(--menu-bar-height, 32px))); - } -`); + ytmusic-app:has(ytmusic-player[player-ui-state='FULLSCREEN']) + ~ &:not([data-show='true']) { + transform: translateY(calc(-1 * var(--menu-bar-height, 32px))); + } + `, +); -const separatorStyle = cacheNoArgs(() => css` - min-height: 1px; - height: 1px; - margin: 4px 0; +const separatorStyle = cacheNoArgs( + () => css` + min-height: 1px; + height: 1px; + margin: 4px 0; - background-color: rgba(255, 255, 255, 0.2); -`); + background-color: rgba(255, 255, 255, 0.2); + `, +); const animationStyle = cacheNoArgs(() => ({ enter: css` @@ -64,14 +80,18 @@ const animationStyle = cacheNoArgs(() => ({ transform: translateX(-50%) scale(0.8); `, enterActive: css` - transition: opacity 0.1s cubic-bezier(0.33, 1, 0.68, 1), transform 0.1s cubic-bezier(0.33, 1, 0.68, 1); + transition: + opacity 0.1s cubic-bezier(0.33, 1, 0.68, 1), + transform 0.1s cubic-bezier(0.33, 1, 0.68, 1); `, exitTo: css` opacity: 0; transform: translateX(-50%) scale(0.8); `, exitActive: css` - transition: opacity 0.1s cubic-bezier(0.32, 0, 0.67, 0), transform 0.1s cubic-bezier(0.32, 0, 0.67, 0); + transition: + opacity 0.1s cubic-bezier(0.32, 0, 0.67, 0), + transform 0.1s cubic-bezier(0.32, 0, 0.67, 0); `, move: css` transition: all 0.1s cubic-bezier(0.65, 0, 0.35, 1); @@ -89,7 +109,7 @@ export type PanelRendererProps = { items: Electron.Menu['items']; level?: number[]; onClick?: (commandId: number, radioGroup?: MenuItem[]) => void; -} +}; const PanelRenderer = (props: PanelRendererProps) => { const radioGroup = () => props.items.filter((it) => it.type === 'radio'); @@ -114,12 +134,12 @@ const PanelRenderer = (props: PanelRendererProps) => { name={subItem().label} chip={subItem().sublabel} toolTip={subItem().toolTip} - level={[...props.level ?? [], subItem().commandId]} + level={[...(props.level ?? []), subItem().commandId]} commandId={subItem().commandId} > @@ -143,11 +163,13 @@ const PanelRenderer = (props: PanelRendererProps) => { chip={subItem().sublabel} toolTip={subItem().toolTip} commandId={subItem().commandId} - onChange={() => props.onClick?.(subItem().commandId, radioGroup())} + onChange={() => + props.onClick?.(subItem().commandId, radioGroup()) + } /> -
    +
    @@ -169,8 +191,13 @@ export const TitleBar = (props: TitleBarProps) => { const [menu, setMenu] = createSignal(null); const [mouseY, setMouseY] = createSignal(0); - const [data, { refetch }] = createResource(async () => await props.ipc.invoke('get-menu') as Promise); - const [isMaximized, { refetch: refetchMaximize }] = createResource(async () => await props.ipc.invoke('window-is-maximized') as Promise); + const [data, { refetch }] = createResource( + async () => (await props.ipc.invoke('get-menu')) as Promise, + ); + const [isMaximized, { refetch: refetchMaximize }] = createResource( + async () => + (await props.ipc.invoke('window-is-maximized')) as Promise, + ); const handleToggleMaximize = async () => { if (isMaximized()) { @@ -194,10 +221,12 @@ export const TitleBar = (props: TitleBarProps) => { )) as MenuItem | null; const newMenu = structuredClone(originalMenu); - const stack = [...newMenu?.items ?? []]; + const stack = [...(newMenu?.items ?? [])]; let now: MenuItem | undefined = stack.pop(); while (now) { - const index = now?.submenu?.items?.findIndex((it) => it.commandId === commandId) ?? -1; + const index = + now?.submenu?.items?.findIndex((it) => it.commandId === commandId) ?? + -1; if (index >= 0) { if (menuItem) now?.submenu?.items?.splice(index, 1, menuItem); @@ -213,13 +242,16 @@ export const TitleBar = (props: TitleBarProps) => { return newMenu; }; - const handleItemClick = async (commandId: number, radioGroup?: MenuItem[]) => { + const handleItemClick = async ( + commandId: number, + radioGroup?: MenuItem[], + ) => { const menuData = menu(); if (!menuData) return; if (Array.isArray(radioGroup)) { let newMenu = menuData; - for await (const item of radioGroup) { + for (const item of radioGroup) { newMenu = await refreshMenuItem(newMenu, item.commandId); } @@ -272,18 +304,15 @@ export const TitleBar = (props: TitleBarProps) => { window.addEventListener('mousemove', listener); const ytmusicAppLayout = document.querySelector('#layout'); ytmusicAppLayout?.addEventListener('scroll', () => { - const scrollValue = ytmusicAppLayout.scrollTop; - if (scrollValue > 20){ - ytmusicAppLayout.classList.add('content-scrolled'); - } - else{ - ytmusicAppLayout.classList.remove('content-scrolled'); - } + const scrollValue = ytmusicAppLayout.scrollTop; + if (scrollValue > 20) { + ytmusicAppLayout.classList.add('content-scrolled'); + } else { + ytmusicAppLayout.classList.remove('content-scrolled'); + } }); }); - - createEffect(() => { if (!menu() && data()) { setMenu(data() ?? null); @@ -295,7 +324,12 @@ export const TitleBar = (props: TitleBarProps) => { }); return ( -