From 237ca84397e07570e395e5bcebc8b7d60564489a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 01:50:28 +0000 Subject: [PATCH 01/83] build(deps-dev): bump @types/chrome from 0.0.273 to 0.0.277 Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.273 to 0.0.277. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) --- updated-dependencies: - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index f91af17c..b1af96fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^0.8.1", @@ -35,7 +35,7 @@ "@thedutchcoder/postcss-rem-to-px": "^0.0.2", "@total-typescript/ts-reset": "^0.6.0", "@types/archiver": "^6.0.1", - "@types/chrome": "^0.0.273", + "@types/chrome": "^0.0.277", "@types/eslint__js": "^8.42.3", "@types/node": "^22.1.0", "@types/react": "^18.2.37", @@ -2214,9 +2214,9 @@ } }, "node_modules/@types/chrome": { - "version": "0.0.273", - "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.273.tgz", - "integrity": "sha512-6Wp4GO07GLvti13Rf/RpYG+0COSJDOLE4iq3g1+whn1SNGUVnv6vbXqSa/WFbuVpvN1lcBLiZ40+gSeWmKb+eA==", + "version": "0.0.277", + "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.277.tgz", + "integrity": "sha512-qoTgBcDWblSsX+jvFnpUlLUE3LAuOhZfBh9MyMWMQHDsQiYVgBvdZWu9COrdB9+aNnInEyXcFgfc2HE16sdSYQ==", "dev": true, "dependencies": { "@types/filesystem": "*", diff --git a/package.json b/package.json index 3071bcf8..02f842bc 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@thedutchcoder/postcss-rem-to-px": "^0.0.2", "@total-typescript/ts-reset": "^0.6.0", "@types/archiver": "^6.0.1", - "@types/chrome": "^0.0.273", + "@types/chrome": "^0.0.277", "@types/eslint__js": "^8.42.3", "@types/node": "^22.1.0", "@types/react": "^18.2.37", From 3c47205c635ceaa07bcbf221469ddd8146909fac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 01:50:38 +0000 Subject: [PATCH 02/83] build(deps): bump @tanstack/react-query from 5.51.23 to 5.59.13 Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.51.23 to 5.59.13. - [Release notes](https://github.com/TanStack/query/releases) - [Commits](https://github.com/TanStack/query/commits/v5.59.13/packages/react-query) --- updated-dependencies: - dependency-name: "@tanstack/react-query" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index f91af17c..e145f5e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^0.8.1", @@ -2139,27 +2139,27 @@ } }, "node_modules/@tanstack/query-core": { - "version": "5.51.21", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.51.21.tgz", - "integrity": "sha512-POQxm42IUp6n89kKWF4IZi18v3fxQWFRolvBA6phNVmA8psdfB1MvDnGacCJdS+EOX12w/CyHM62z//rHmYmvw==", + "version": "5.59.13", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.59.13.tgz", + "integrity": "sha512-Oou0bBu/P8+oYjXsJQ11j+gcpLAMpqW42UlokQYEz4dE7+hOtVO9rVuolJKgEccqzvyFzqX4/zZWY+R/v1wVsQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, "node_modules/@tanstack/react-query": { - "version": "5.51.23", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.51.23.tgz", - "integrity": "sha512-CfJCfX45nnVIZjQBRYYtvVMIsGgWLKLYC4xcUiYEey671n1alvTZoCBaU9B85O8mF/tx9LPyrI04A6Bs2THv4A==", + "version": "5.59.13", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.59.13.tgz", + "integrity": "sha512-GB2ELtiH8tL0rcFiM4sWvnXhazt1xRXX/LolMEV12kfEKu58aNA4lQoieslP61PO4vZO9JJMwm+6lqyS0E1HOA==", "dependencies": { - "@tanstack/query-core": "5.51.21" + "@tanstack/query-core": "5.59.13" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "react": "^18.0.0" + "react": "^18 || ^19" } }, "node_modules/@thedutchcoder/postcss-rem-to-px": { From 766790ff85de696caf8d6ba970ed8a5dbfe98666 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 01:50:45 +0000 Subject: [PATCH 03/83] build(deps-dev): bump @types/node from 22.5.4 to 22.7.5 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.4 to 22.7.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f91af17c..117c4768 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^0.8.1", @@ -2282,9 +2282,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "devOptional": true, "dependencies": { "undici-types": "~6.19.2" From 23c9b2d1b4caf9f19f8c3101711252a044af5ae4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 01:50:52 +0000 Subject: [PATCH 04/83] build(deps-dev): bump @types/react from 18.3.5 to 18.3.11 Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.5 to 18.3.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f91af17c..def1d8c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^0.8.1", @@ -2303,9 +2303,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", - "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", + "version": "18.3.11", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.11.tgz", + "integrity": "sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==", "dev": true, "dependencies": { "@types/prop-types": "*", From cbd87ae140d8b484346739be05e141effcb79b4b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 01:51:01 +0000 Subject: [PATCH 05/83] build(deps-dev): bump @types/react-dom from 18.3.0 to 18.3.1 Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.0 to 18.3.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) --- updated-dependencies: - dependency-name: "@types/react-dom" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f91af17c..444123b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "youtube-enhancer", - "version": "1.26.0", + "version": "1.27.0", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^0.8.1", @@ -2313,9 +2313,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.3.0", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", - "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==", "dev": true, "dependencies": { "@types/react": "*" From 834ff73a43404a9e0d3b4eb0d03a0fb08e3e39ae Mon Sep 17 00:00:00 2001 From: ShawkMusic Date: Tue, 15 Oct 2024 07:46:41 -0400 Subject: [PATCH 06/83] Fix git clone link in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16fa12e9..8b317a55 100755 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ Before you begin, ensure you have the following software installed on your syste Next, open your terminal (command prompt or shell) and navigate to the directory where you want to store the YouTube Enhancer extension project. Run the following command to clone the repository: ```bash -git clone https://github.com/VampireChicken12/youtube-enhancer.git +git clone https://github.com/YouTube-Enhancer/extension ``` ### 3. Navigate to the Project Directory From ee8ff9ad2fe4977bff72a6e4abbc0dc01192ed6c Mon Sep 17 00:00:00 2001 From: ShawkMusic Date: Tue, 15 Oct 2024 07:51:08 -0400 Subject: [PATCH 07/83] Add .git to end of link on README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b317a55..18a5c360 100755 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ Before you begin, ensure you have the following software installed on your syste Next, open your terminal (command prompt or shell) and navigate to the directory where you want to store the YouTube Enhancer extension project. Run the following command to clone the repository: ```bash -git clone https://github.com/YouTube-Enhancer/extension +git clone https://github.com/YouTube-Enhancer/extension.git ``` ### 3. Navigate to the Project Directory From 83b96e4a49e4eacefa8c850f52f7ed5ebf78122d Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Sat, 19 Oct 2024 01:14:02 -0400 Subject: [PATCH 08/83] chore: add missing await --- src/features/scrollWheelSpeedControl/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/scrollWheelSpeedControl/utils.ts b/src/features/scrollWheelSpeedControl/utils.ts index ba51d0cb..24a338c2 100644 --- a/src/features/scrollWheelSpeedControl/utils.ts +++ b/src/features/scrollWheelSpeedControl/utils.ts @@ -21,7 +21,7 @@ export function adjustSpeed(scrollDelta: number, speedStep: number): Promise<{ n const adjustmentAmount = speedStep * scrollDelta; if (currentPlaybackSpeed + adjustmentAmount > 16 || currentPlaybackSpeed + adjustmentAmount < youtubePlayerMinSpeed) return; const speed = round(currentPlaybackSpeed + adjustmentAmount, 2); - setPlayerSpeed(speed); + await setPlayerSpeed(speed); resolve({ newSpeed: speed, oldSpeed: currentPlaybackSpeed }); })(); }); From e6d151112b7074becfc656ec99a5b56c0ecaf6da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:56:28 +0000 Subject: [PATCH 09/83] build(deps-dev): bump @typescript-eslint/parser from 8.8.1 to 8.10.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.8.1 to 8.10.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.10.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 118 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 110 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..56aa8ae1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2383,16 +2383,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", - "integrity": "sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.10.0.tgz", + "integrity": "sha512-E24l90SxuJhytWJ0pTQydFT46Nk0Z+bsLKo/L8rtQSL93rQ6byd1V/QbDpHUTdLPOMsBCcYXZweADNCfOCmOAg==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/typescript-estree": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", + "@typescript-eslint/scope-manager": "8.10.0", + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/typescript-estree": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0", "debug": "^4.3.4" }, "engines": { @@ -2411,6 +2410,81 @@ } } }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", + "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", + "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", + "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", + "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.8.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", @@ -12786,6 +12860,34 @@ } } }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", + "integrity": "sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", From ae79636cb6dee810302a0d125f84d0b2ce6d915b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:56:36 +0000 Subject: [PATCH 10/83] build(deps-dev): bump eslint-plugin-perfectionist from 3.8.0 to 3.9.1 Bumps [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist) from 3.8.0 to 3.9.1. - [Release notes](https://github.com/azat-io/eslint-plugin-perfectionist/releases) - [Changelog](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/changelog.md) - [Commits](https://github.com/azat-io/eslint-plugin-perfectionist/compare/v3.8.0...v3.9.1) --- updated-dependencies: - dependency-name: eslint-plugin-perfectionist dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 108 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 102 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..75719f7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4734,14 +4734,13 @@ } }, "node_modules/eslint-plugin-perfectionist": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-3.8.0.tgz", - "integrity": "sha512-BYJWbQVOjvIGK9V1xUfn790HuvkePjxti8epOi1H6sdzo0N4RehBmQ8coHPbgA/f12BUG1NIoDtQhI9mUm+o2A==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-3.9.1.tgz", + "integrity": "sha512-9WRzf6XaAxF4Oi5t/3TqKP5zUjERhasHmLFHin2Yw6ZAp/EP/EVA2dr3BhQrrHWCm5SzTMZf0FcjDnBkO2xFkA==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "^8.8.0", - "@typescript-eslint/utils": "^8.8.0", + "@typescript-eslint/types": "^8.9.0", + "@typescript-eslint/utils": "^8.9.0", "minimatch": "^9.0.5", "natural-compare-lite": "^1.4.0" }, @@ -4770,6 +4769,103 @@ } } }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/scope-manager": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", + "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/types": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", + "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", + "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/utils": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.10.0.tgz", + "integrity": "sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.10.0", + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/typescript-estree": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", + "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/eslint-plugin-prettier": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", From e495ee49b845ec22374ec89e7de55ff4e8dda0e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:56:46 +0000 Subject: [PATCH 11/83] build(deps-dev): bump tailwindcss from 3.4.13 to 3.4.14 Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.13 to 3.4.14. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.14/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14) --- updated-dependencies: - dependency-name: tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..92c9ec2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12245,9 +12245,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.13", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.13.tgz", - "integrity": "sha512-KqjHOJKogOUt5Bs752ykCeiwvi0fKVkr5oqsFNt/8px/tA8scFPIlkygsf6jXrfCqGHz7VflA6+yytWuM+XhFw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.14.tgz", + "integrity": "sha512-IcSvOcTRcUtQQ7ILQL5quRDg7Xs93PdJEk1ZLbhhvJc7uj/OAhYOnruEiwnGgBvUtaUAJ8/mhSw1o8L2jCiENA==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", From b3f698382e0e8c94b7f7eb8c6cabbbfbbe5b7a2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:56:54 +0000 Subject: [PATCH 12/83] build(deps-dev): bump eslint from 9.12.0 to 9.13.0 Bumps [eslint](https://github.com/eslint/eslint) from 9.12.0 to 9.13.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.12.0...v9.13.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..96648698 100644 --- a/package-lock.json +++ b/package-lock.json @@ -683,11 +683,10 @@ } }, "node_modules/@eslint/core": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.6.0.tgz", - "integrity": "sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.7.0.tgz", + "integrity": "sha512-xp5Jirz5DyPYlPiKat8jaq0EmYvDXKKpzTbxXMpT9eqlRJkRKIz9AGMdlvYjih+im+QlhWrpvVjl8IPC/lHlUw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -751,11 +750,10 @@ } }, "node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz", + "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==", "dev": true, - "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -4464,18 +4462,17 @@ } }, "node_modules/eslint": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.12.0.tgz", - "integrity": "sha512-UVIOlTEWxwIopRL1wgSQYdnVDcEvs2wyaO6DGo5mXqe3r16IoCNWkR29iHhyaP4cICWjbgbmFUGAhh0GJRuGZw==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.13.0.tgz", + "integrity": "sha512-EYZK6SX6zjFHST/HRytOdA/zE72Cq/bfw45LSyuwrdvcclb/gqV8RRQxywOBEWO2+WDpva6UZa4CcDeJKzUCFA==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", "@eslint/config-array": "^0.18.0", - "@eslint/core": "^0.6.0", + "@eslint/core": "^0.7.0", "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "9.12.0", + "@eslint/js": "9.13.0", "@eslint/plugin-kit": "^0.2.0", "@humanfs/node": "^0.16.5", "@humanwhocodes/module-importer": "^1.0.1", From b48aee4f134f18f627129775096328c6ce544625 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:57:01 +0000 Subject: [PATCH 13/83] build(deps-dev): bump eslint-plugin-tailwindcss from 3.17.4 to 3.17.5 Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.17.4 to 3.17.5. - [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases) - [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.4...v3.17.5) --- updated-dependencies: - dependency-name: eslint-plugin-tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..de26fa41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4923,9 +4923,9 @@ } }, "node_modules/eslint-plugin-tailwindcss": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.17.4.tgz", - "integrity": "sha512-gJAEHmCq2XFfUP/+vwEfEJ9igrPeZFg+skeMtsxquSQdxba9XRk5bn0Bp9jxG1VV9/wwPKi1g3ZjItu6MIjhNg==", + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.17.5.tgz", + "integrity": "sha512-8Mi7p7dm+mO1dHgRHHFdPu4RDTBk69Cn4P0B40vRQR+MrguUpwmKwhZy1kqYe3Km8/4nb+cyrCF+5SodOEmaow==", "dev": true, "dependencies": { "fast-glob": "^3.2.5", From 5292bbd0298e2368f7e573ed1d70a0bf0c048e22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:57:36 +0000 Subject: [PATCH 14/83] build(deps-dev): bump @eslint/compat from 1.2.0 to 1.2.1 Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/eslint/rewrite/releases) - [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json) - [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.0...compat-v1.2.1) --- updated-dependencies: - dependency-name: "@eslint/compat" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..cdf15b16 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,11 +629,10 @@ } }, "node_modules/@eslint/compat": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.0.tgz", - "integrity": "sha512-CkPWddN7J9JPrQedEr2X7AjK9y1jaMJtxZ4A/+jTMFA2+n5BWhcKHW/EbJyARqg2zzQfgtWUtVmG3hrG6+nGpg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.1.tgz", + "integrity": "sha512-JbHG2TWuCeNzh87fXo+/46Z1LEo9DBA9T188d0fZgGxAD+cNyS6sx9fdiyxjGPBMyQVRlCutTByZ6a5+YMkF7g==", "dev": true, - "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, From 0a2b1d6e1bcf78411a2478b38cf5ed26fafd57dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:57:56 +0000 Subject: [PATCH 15/83] build(deps-dev): bump typescript from 5.5.4 to 5.6.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 9 ++++----- package.json | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..c28fb26f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,7 +70,7 @@ "tailwindcss": "^3.3.6", "ts-json-as-const": "^1.0.7", "ts-node": "^10.9.1", - "typescript": "5.5", + "typescript": "5.6", "typescript-eslint": "^8.8.1", "vite": "^5.4.8", "zod": "^3.22.4", @@ -12749,11 +12749,10 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, - "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 02f842bc..31fbccca 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "tailwindcss": "^3.3.6", "ts-json-as-const": "^1.0.7", "ts-node": "^10.9.1", - "typescript": "5.5", + "typescript": "5.6", "typescript-eslint": "^8.8.1", "vite": "^5.4.8", "zod": "^3.22.4", From 24323951e8f0a40a3811c484867dc3ee946dfcef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:58:03 +0000 Subject: [PATCH 16/83] build(deps): bump monaco-editor from 0.51.0 to 0.52.0 Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.51.0 to 0.52.0. - [Release notes](https://github.com/microsoft/monaco-editor/releases) - [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/monaco-editor/compare/v0.51.0...v0.52.0) --- updated-dependencies: - dependency-name: monaco-editor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..8850ad5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "dotenv": "^16.3.1", "globals": "^15.11.0", "i18next": "^23.7.3", - "monaco-editor": "^0.51.0", + "monaco-editor": "^0.52.0", "react": "^18.2.0", "react-colorful": "^5.6.1", "react-dom": "^18.2.0", @@ -6949,9 +6949,9 @@ } }, "node_modules/monaco-editor": { - "version": "0.51.0", - "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.51.0.tgz", - "integrity": "sha512-xaGwVV1fq343cM7aOYB6lVE4Ugf0UyimdD/x5PWcWBMKENwectaEu77FAN7c5sFiyumqeJdX1RPTh1ocioyDjw==" + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.52.0.tgz", + "integrity": "sha512-OeWhNpABLCeTqubfqLMXGsqf6OmPU6pHM85kF3dhy6kq5hnhuVS1p3VrEW/XhWHc71P2tHyS5JFySD8mgs1crw==" }, "node_modules/ms": { "version": "2.1.2", diff --git a/package.json b/package.json index 02f842bc..3f7e0451 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "dotenv": "^16.3.1", "globals": "^15.11.0", "i18next": "^23.7.3", - "monaco-editor": "^0.51.0", + "monaco-editor": "^0.52.0", "react": "^18.2.0", "react-colorful": "^5.6.1", "react-dom": "^18.2.0", From 5e84a7c3057fa09c20eaf0aae1479e7f773bdf64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:58:16 +0000 Subject: [PATCH 17/83] build(deps-dev): bump @eslint/js from 9.12.0 to 9.13.0 Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.12.0 to 9.13.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.13.0/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26ccfa8d..19c4a40a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -751,11 +751,10 @@ } }, "node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz", + "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==", "dev": true, - "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -4967,6 +4966,15 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/@eslint/js": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", + "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", From e004b099b51d8303deb57a4ff8c7348e0af08b1f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:59:52 +0000 Subject: [PATCH 18/83] build(deps-dev): bump vite from 5.4.8 to 5.4.9 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.8 to 5.4.9. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.9/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.9/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24264999..7767422d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13149,9 +13149,9 @@ } }, "node_modules/vite": { - "version": "5.4.8", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz", - "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", + "version": "5.4.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.9.tgz", + "integrity": "sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==", "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", From 373fb248704346243043387a62cab278b1677db4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 02:00:10 +0000 Subject: [PATCH 19/83] build(deps): bump i18next from 23.15.1 to 23.16.2 Bumps [i18next](https://github.com/i18next/i18next) from 23.15.1 to 23.16.2. - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next/compare/v23.15.1...v23.16.2) --- updated-dependencies: - dependency-name: i18next dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24264999..27c69dd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5971,9 +5971,9 @@ } }, "node_modules/i18next": { - "version": "23.15.1", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.15.1.tgz", - "integrity": "sha512-wB4abZ3uK7EWodYisHl/asf8UYEhrI/vj/8aoSsrj/ZDxj4/UXPOa1KvFt1Fq5hkUHquNqwFlDprmjZ8iySgYA==", + "version": "23.16.2", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.2.tgz", + "integrity": "sha512-dFyxwLXxEQK32f6tITBMaRht25mZPJhQ0WbC0p3bO2mWBal9lABTMqSka5k+GLSRWLzeJBKDpH7BeIA9TZI7Jg==", "funding": [ { "type": "individual", From e777813737040af1add4e6634e650fa8ffb11439 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 02:00:21 +0000 Subject: [PATCH 20/83] build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.8.1 to 8.10.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.10.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 277 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 263 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24264999..a731f0a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2346,17 +2346,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.1.tgz", - "integrity": "sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.10.0.tgz", + "integrity": "sha512-phuB3hoP7FFKbRXxjl+DRlQDuJqhpOnm5MmtROXyWi3uS/Xg2ZXqiQfcG2BJHiN4QKyzdOJi3NEn/qTnjUlkmQ==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/type-utils": "8.8.1", - "@typescript-eslint/utils": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", + "@typescript-eslint/scope-manager": "8.10.0", + "@typescript-eslint/type-utils": "8.10.0", + "@typescript-eslint/utils": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2379,6 +2378,103 @@ } } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", + "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", + "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", + "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.10.0.tgz", + "integrity": "sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.10.0", + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/typescript-estree": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", + "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/parser": { "version": "8.10.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.10.0.tgz", @@ -2501,15 +2597,72 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.1.tgz", - "integrity": "sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.10.0.tgz", + "integrity": "sha512-PCpUOpyQSpxBn230yIcK+LeCQaXuxrgCm2Zk1S+PTIRJsEfU6nJ0TtwyH8pIwPK/vJoA+7TZtzyAJSGBz+s/dg==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.8.1", - "@typescript-eslint/utils": "8.8.1", + "@typescript-eslint/typescript-estree": "8.10.0", + "@typescript-eslint/utils": "8.10.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", + "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", + "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", + "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/visitor-keys": "8.10.0", "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", "ts-api-utils": "^1.3.0" }, "engines": { @@ -2525,6 +2678,45 @@ } } }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.10.0.tgz", + "integrity": "sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.10.0", + "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/typescript-estree": "8.10.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", + "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.10.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/types": { "version": "8.8.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", @@ -12951,6 +13143,39 @@ } } }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.1.tgz", + "integrity": "sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/type-utils": "8.8.1", + "@typescript-eslint/utils": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { "version": "8.8.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", @@ -12979,6 +13204,30 @@ } } }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/type-utils": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.1.tgz", + "integrity": "sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "8.8.1", + "@typescript-eslint/utils": "8.8.1", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", From f0bb94c42905700306d8b4bf713c2175a53c5e99 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Wed, 23 Oct 2024 18:36:00 -0400 Subject: [PATCH 21/83] chore: update deep dark theme #662 --- src/deepDarkMaterialCSS.ts | 155 ++++++++++++++++++++++++++----------- 1 file changed, 111 insertions(+), 44 deletions(-) diff --git a/src/deepDarkMaterialCSS.ts b/src/deepDarkMaterialCSS.ts index 52c0352a..0ed0a165 100644 --- a/src/deepDarkMaterialCSS.ts +++ b/src/deepDarkMaterialCSS.ts @@ -1,5 +1,5 @@ /** - * Version 4.2.6 + * Version 4.3.4 * Author: https://github.com/RaitaroH * Co-authors: https://github.com/MechaLynx * Repository: https://github.com/RaitaroH/YouTube-DeepDark @@ -840,11 +840,12 @@ h3.ytd-playlist-renderer, #video-title, #unplayableText, #length, -#details { +#details, +.ShortsLockupViewModelHostOutsideMetadataEndpoint { color: var(--main-text) !important; } -#items.yt-horizontal-list-renderer > .yt-horizontal-list-renderer:hover a.ytd-grid-video-renderer, +#items.yt-horizontal-list-renderer>.yt-horizontal-list-renderer:hover a.ytd-grid-video-renderer, ytd-compact-video-renderer:hover #video-title.ytd-compact-video-renderer, ytd-video-renderer:hover #video-title.ytd-video-renderer, ytd-playlist-renderer:hover h3.ytd-playlist-renderer, @@ -870,10 +871,16 @@ yt-formatted-string[ellipsis-truncate] a.yt-formatted-string:last-child, #metadata-line.ytd-video-meta-block span.ytd-video-meta-block, #metadata.ytd-channel-renderer, #description.ytd-channel-renderer, -#thumbnail-attribution.ytd-grid-channel-renderer { +#thumbnail-attribution.ytd-grid-channel-renderer, +.ShortsLockupViewModelHostOutsideMetadataSubhead { color: var(--dimmer-text) !important; } +/*Continue watching*/ +ytd-watch-next-secondary-results-renderer #items ytd-compact-video-renderer.previously-watched-video ytd-thumbnail::before { + color: var(--main-text) !important; +} + /*2022 Nov like button*/ /*not liked yet*/ yt-animated-icon[animated-icon-type="LIKE"] @@ -935,7 +942,9 @@ yt-animated-icon[animated-icon-type="LIKE"] } /*on shorts - so here is filled by default, thus above I am using main-color instead to keep it consistent*/ -.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled .style-scope.yt-icon { +.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled .style-scope.yt-icon, +/*2024-08-03*/ +.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled>.yt-spec-button-shape-next__icon { color: var(--main-color) !important; } @@ -1349,36 +1358,25 @@ yt-notification-action-renderer background-color: var(--main-background) !important; } -if join-color - -/*overwriting the above*/ { - .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--tonal[aria-label="Join this channel"], - yt-button-shape:nth-child(1) > .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--outline { - background-color: var(--main-color) !important; - border-color: var(--main-color) !important; - } +ytd-button-renderer.style-primary[is-paper-button] { + background-color: transparent !important; } -if subscribe-color - -/*overwriting the above*/ { - .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled, - .yt-spec-button-shape-next--overlay.yt-spec-button-shape-next--filled, - .yt-spec-button-shape-next--overlay.yt-spec-button-shape-next--filled:hover, - /*on shorts*/ - .ytp-sb-subscribe, - a.ytp-sb-subscribe +/*2024-07 subscribe dropdown*/ +.yt-contextual-sheet-layout-wiz { + background-color: var(--second-background) !important; +} - /*in cards*/ { - background-color: var(--main-color) !important; - border-color: var(--main-color) !important; - } +.yt-list-item-view-model-wiz__title { + color: var(--main-text) !important; } -ytd-button-renderer.style-primary[is-paper-button] { - background-color: transparent !important; +.yt-list-item-view-model-wiz__accessory { + color: var(--main-text) !important; } +/*checkmark left unthemed, is a png for now*/ + /*Sponsor button*/ ytd-modal-with-title-and-button-renderer { background: var(--second-background) !important; @@ -1642,6 +1640,22 @@ iron-list:not([grid]) #items.iron-list > *:hover img.yt-img-shadow { text-shadow: none !important; } +/*shorts metadata - on title click*/ +.YtwFactoidRendererValue { + color: var(--main-text) !important; +} + +.YtwFactoidRendererLabel { + color: var(--dimmer-text) !important; +} + +/*2024-08-30*/ +/*youtube shorts scrubber, progress bar*/ +.YtProgressBarLineProgressBarPlayed, +.YtProgressBarPlayheadProgressBarPlayheadDot { + background-color: var(--main-color) !important; +} + /* Code takken from https://userstyles.org/styles/95280 */ /* scrubber button */ .html5-scrubber-button:hover, @@ -1871,7 +1885,20 @@ ytd-topbar-logo-renderer.style-scope>a>div>ytd-logo>yt-icon>yt-icon-shape>icon-s svg.ytd-consent-bump-v2-lightbox>g:nth-child(1)>g:nth-child(1)>path:nth-child(1), /*2024-06-15*/ #yt-logo-updated_yt3>g:nth-child(1)>path:nth-child(1), -#yt-logo-updated_yt4>g:nth-child(1)>path:nth-child(1) { +#yt-logo-updated_yt4>g:nth-child(1)>path:nth-child(1), +/*2024-08-02*/ +#logo-icon>span>div>svg>svg>g:nth-child(1)>path:nth-child(1), +/*2024-10-23*/ +#yt-ringo2-svg_yt1>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt2>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt3>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt4>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt5>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt6>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt7>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt8>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt9>g:nth-child(1)>path:nth-child(1), +#yt-ringo2-svg_yt10>g:nth-child(1)>path:nth-child(1) { fill: var(--main-color) !important; } @@ -1880,7 +1907,9 @@ ytd-topbar-logo-renderer.style-scope>a>div>ytd-logo>yt-icon>yt-icon-shape>icon-s /*cookie version*/ g.ytd-consent-bump-v2-lightbox:nth-child(2)>g:nth-child(1)>*, /*2024-06-15*/ -ytd-topbar-logo-renderer.style-scope>a:nth-child(1)>div:nth-child(1)>ytd-logo:nth-child(1)>yt-icon:nth-child(1)>span:nth-child(1)>div:nth-child(1) { +ytd-topbar-logo-renderer.style-scope>a:nth-child(1)>div:nth-child(1)>ytd-logo:nth-child(1)>yt-icon:nth-child(1)>span:nth-child(1)>div:nth-child(1), +/*204-08-03*/ +#logo-icon>span>div>svg>svg>g:nth-child(2) { fill: var(--main-text) !important; } @@ -1902,8 +1931,14 @@ ytd-topbar-logo-renderer.style-scope a svg > g > g:nth-child(2) > g, /*Shorts logo*/ /*on home page*/ ytd-rich-section-renderer.style-scope>div>ytd-rich-shelf-renderer yt-icon-shape>icon-shape>div>svg>g>path:nth-child(1), +#rich-shelf-header.ytd-rich-shelf-renderer h2.ytd-rich-shelf-renderer>yt-icon>span>div>svg>g>path:nth-child(1) + /*on video page*/ -yt-icon.ytd-reel-shelf-renderer>yt-icon-shape>icon-shape>div>svg>g>path:nth-child(1) { +yt-icon.ytd-reel-shelf-renderer>yt-icon-shape>icon-shape>div>svg>g>path:nth-child(1), +/*2024-08-03*/ +yt-icon#icon.style-scope.ytd-reel-shelf-renderer span.yt-icon-shape.yt-spec-icon-shape div svg g path, +/*2024-10-23*/ +ytd-reel-shelf-renderer.style-scope:nth-child(3)>div:nth-child(1)>h2:nth-child(1)>yt-icon:nth-child(1)>span:nth-child(1)>div:nth-child(1)>svg:nth-child(1)>path:nth-child(1) { fill: var(--main-color) !important; } @@ -2177,7 +2212,9 @@ ytd-searchbox[mode="legacy-centered"] #container.ytd-searchbox, #container.ytd-searchbox, #masthead-search-terms -/*account settings page*/ { +/*account settings page*/ +, +.YtSearchboxComponentInputBox { background: var(--main-background) !important; border-color: var(--main-background) !important; box-shadow: none !important; @@ -2209,12 +2246,19 @@ ytd-searchbox input, #masthead-search .search-btn-component, #masthead-search .search-btn-component .start -/*account*/ { +/*account*/ +, +.YtSearchboxComponentSearchButton { background: var(--hover-background) !important; border-color: var(--hover-background) !important; } -#search-icon-legacy.ytd-searchbox:hover yt-icon.ytd-searchbox { +.YtSearchboxComponentSearchButton .yt-spec-icon-shape { + color: var(--main-text) !important; +} + +#search-icon-legacy.ytd-searchbox:hover yt-icon.ytd-searchbox, +.YtSearchboxComponentSearchButton:hover .yt-spec-icon-shape { color: var(--main-color) !important; } @@ -2225,7 +2269,8 @@ ytd-searchbox input, } /*left 🔎 icon - shown on focus*/ -#search-icon.ytd-searchbox { +#search-icon.ytd-searchbox, +.YtSearchboxComponentInnerSearchIcon { color: var(--main-text) !important; } @@ -2239,21 +2284,29 @@ ytd-searchbox input, filter: invert(1); } +.YtSuggestionComponentIcon { + color: var(--main-text) !important; +} + /*Results backgrounds*/ .sbsb_a, -.sbdd_b { +.sbdd_b, +.YtSearchboxComponentSuggestionsContainer { background: var(--second-background) !important; border: none !important; } /*Text color*/ -.gsfs { +.gsfs, +.YtSuggestionComponentLeftContainer, +.YtSearchboxComponentReportButton { color: var(--dimmer-text) !important; } /*Hover and keyboard select background*/ .sbsb_c.gsfs:hover, -.sbsb_d { +.sbsb_d, +.YtSuggestionComponentSuggestion:hover { background-color: var(--hover-background) !important; } @@ -2930,8 +2983,10 @@ yt-formatted-string.yt-emoji-picker-category-renderer { background-color: var(--dimmer-text) !important; } -#progress-bar-fill.ytd-donation-shelf-renderer { - background-color: var(--main-color) !important; +#progress-bar-fill.ytd-donation-shelf-renderer, +/*2024-10-23 video progress*/ +ytd-thumbnail-overlay-resume-playback-renderer[enable-refresh-signature-moments-web] #progress.ytd-thumbnail-overlay-resume-playback-renderer { + background: var(--main-color) !important; } /*donate button*/ @@ -3107,7 +3162,9 @@ span.prefix.style-scope.paper-input-container > div.ytd-donation-amount-picker-r /*bell icon itself*/ button.yt-icon-button:hover .yt-spec-icon-badge-shape--type-notification .yt-spec-icon-badge-shape__badge, /*2024-06-01 - why do they use a mask now*/ -div.yt-spec-icon-badge-shape.yt-spec-icon-badge-shape--type-notification div.yt-spec-icon-badge-shape__icon yt-icon yt-icon-shape.style-scope.yt-icon icon-shape.yt-spec-icon-shape div { +div.yt-spec-icon-badge-shape.yt-spec-icon-badge-shape--type-notification div.yt-spec-icon-badge-shape__icon yt-icon yt-icon-shape.style-scope.yt-icon icon-shape.yt-spec-icon-shape div, +/*2024-08-01*/ +div.yt-spec-icon-badge-shape--type-notification>.yt-spec-icon-badge-shape__icon>yt-icon>span:nth-child(1)>div:nth-child(1) { color: var(--main-text) !important; } @@ -3662,12 +3719,20 @@ yt-subscription-product-header-renderer.ytd-item-section-renderer { } /*Reporting*/ -.introduction-header { +.introduction-header, +.ytWebReportFormReasonSelectPageViewModelHeader, +.yt-report-form-confirmation-page-view-model__header, +.yt-report-form-confirmation-page-view-model__expect-header { color: var(--main-text) !important; } .introduction-body, -.introduction-bullet-items { +.introduction-bullet-items, +.ytWebReportFormReasonSelectPageViewModelBody, +.yt-report-form-confirmation-page-view-model__body, +.yt-report-form-confirmation-page-view-model__law-enforcement-text, +.yt-report-form-confirmation-page-view-model__next-step-text, +.radio-shape-wiz__label { color: var(--dimmer-text) !important; } @@ -3675,7 +3740,9 @@ yt-report-form-modal-renderer[dialog][dialog][dialog] { background: var(--main-background) !important; } -yt-options-renderer[increased-tooltip-target] yt-icon.yt-options-renderer { +yt-options-renderer[increased-tooltip-target] yt-icon.yt-options-renderer, +.radio-shape-wiz__radio--radio-default-style, +.yt-report-form-confirmation-page-view-model__icon { color: var(--main-text) !important; } From e0773bd7c5e5df9de3f6c7ca7eee45d489fb8a23 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Wed, 23 Oct 2024 22:35:51 -0400 Subject: [PATCH 22/83] fix: page progress bar color not right #662 --- src/deepDarkMaterialCSS.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/deepDarkMaterialCSS.ts b/src/deepDarkMaterialCSS.ts index 0ed0a165..c098f4aa 100644 --- a/src/deepDarkMaterialCSS.ts +++ b/src/deepDarkMaterialCSS.ts @@ -1229,7 +1229,9 @@ yt-pdg-buy-flow-header-renderer { #title-background.ytd-pdg-comment-preview-renderer { background-color: var(--hover-background) !important; } - +#progress.yt-page-navigation-progress { +background: var(--main-color) !important; +} /*Progress bar*/ #progress { background-color: var(--main-color) !important; From 451434f86af86b8e1f30f0f5d63d6213ba94d9e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:20:23 +0000 Subject: [PATCH 23/83] build(deps-dev): bump @types/archiver from 6.0.2 to 6.0.3 Bumps [@types/archiver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/archiver) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/archiver) --- updated-dependencies: - dependency-name: "@types/archiver" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index b805f002..8ddbfeec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2202,9 +2202,9 @@ "dev": true }, "node_modules/@types/archiver": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-6.0.2.tgz", - "integrity": "sha512-KmROQqbQzKGuaAbmK+ZcytkJ51+YqDa7NmbXjmtC5YBLSyQYo21YaUnQ3HbaPFKL1ooo6RQ6OPYPIDyxfpDDXw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-6.0.3.tgz", + "integrity": "sha512-a6wUll6k3zX6qs5KlxIggs1P1JcYJaTCx2gnlr+f0S1yd2DoaEwoIK10HmBaLnZwWneBz+JBm0dwcZu0zECBcQ==", "dev": true, "dependencies": { "@types/readdir-glob": "*" @@ -5325,15 +5325,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", From 868166d8c6bc590a96584416019d016234d85eab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:20:34 +0000 Subject: [PATCH 24/83] build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.10.0 to 8.11.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.11.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 125 +++++++++++++++++++++------------------------- 1 file changed, 58 insertions(+), 67 deletions(-) diff --git a/package-lock.json b/package-lock.json index b805f002..b6a5ab12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2346,16 +2346,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.10.0.tgz", - "integrity": "sha512-phuB3hoP7FFKbRXxjl+DRlQDuJqhpOnm5MmtROXyWi3uS/Xg2ZXqiQfcG2BJHiN4QKyzdOJi3NEn/qTnjUlkmQ==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.11.0.tgz", + "integrity": "sha512-KhGn2LjW1PJT2A/GfDpiyOfS4a8xHQv2myUagTM5+zsormOmBlYsnQ6pobJ8XxJmh6hnHwa2Mbe3fPrDJoDhbA==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.10.0", - "@typescript-eslint/type-utils": "8.10.0", - "@typescript-eslint/utils": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0", + "@typescript-eslint/scope-manager": "8.11.0", + "@typescript-eslint/type-utils": "8.11.0", + "@typescript-eslint/utils": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2379,13 +2379,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", - "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz", + "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0" + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2396,9 +2396,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", - "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz", + "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2409,13 +2409,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", - "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz", + "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0", + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2437,15 +2437,15 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.10.0.tgz", - "integrity": "sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.11.0.tgz", + "integrity": "sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.10.0", - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/typescript-estree": "8.10.0" + "@typescript-eslint/scope-manager": "8.11.0", + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/typescript-estree": "8.11.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2459,12 +2459,12 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", - "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz", + "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/types": "8.11.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -2597,13 +2597,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.10.0.tgz", - "integrity": "sha512-PCpUOpyQSpxBn230yIcK+LeCQaXuxrgCm2Zk1S+PTIRJsEfU6nJ0TtwyH8pIwPK/vJoA+7TZtzyAJSGBz+s/dg==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.11.0.tgz", + "integrity": "sha512-ItiMfJS6pQU0NIKAaybBKkuVzo6IdnAhPFZA/2Mba/uBjuPQPet/8+zh5GtLHwmuFRShZx+8lhIs7/QeDHflOg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.10.0", - "@typescript-eslint/utils": "8.10.0", + "@typescript-eslint/typescript-estree": "8.11.0", + "@typescript-eslint/utils": "8.11.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -2621,13 +2621,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", - "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz", + "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0" + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2638,9 +2638,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", - "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz", + "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2651,13 +2651,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", - "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz", + "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0", + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2679,15 +2679,15 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.10.0.tgz", - "integrity": "sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.11.0.tgz", + "integrity": "sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.10.0", - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/typescript-estree": "8.10.0" + "@typescript-eslint/scope-manager": "8.11.0", + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/typescript-estree": "8.11.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2701,12 +2701,12 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", - "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz", + "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/types": "8.11.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -5325,15 +5325,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", From 67b0afa14bded8c43835dca3e8083ae6ec7bd648 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:20:40 +0000 Subject: [PATCH 25/83] build(deps-dev): bump tailwind-merge from 2.5.3 to 2.5.4 Bumps [tailwind-merge](https://github.com/dcastil/tailwind-merge) from 2.5.3 to 2.5.4. - [Release notes](https://github.com/dcastil/tailwind-merge/releases) - [Commits](https://github.com/dcastil/tailwind-merge/compare/v2.5.3...v2.5.4) --- updated-dependencies: - dependency-name: tailwind-merge dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index b805f002..c410059c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5325,15 +5325,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -12602,9 +12593,9 @@ } }, "node_modules/tailwind-merge": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.5.3.tgz", - "integrity": "sha512-d9ZolCAIzom1nf/5p4LdD5zvjmgSxY0BGgdSvmXIoMYAiPdAW/dSpP7joCDYFY7r/HkEa2qmPtkgsu0xjQeQtw==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.5.4.tgz", + "integrity": "sha512-0q8cfZHMu9nuYP/b5Shb7Y7Sh1B7Nnl5GqNr1U+n2p6+mybvRtayrQ+0042Z5byvTA8ihjlP8Odo8/VnHbZu4Q==", "dev": true, "funding": { "type": "github", From 1c89381f9826318dfecfb164187aa05655440202 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:20:48 +0000 Subject: [PATCH 26/83] build(deps-dev): bump @typescript-eslint/parser from 8.10.0 to 8.11.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.10.0 to 8.11.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.11.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 57 ++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index b805f002..53a1940f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2476,15 +2476,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.10.0.tgz", - "integrity": "sha512-E24l90SxuJhytWJ0pTQydFT46Nk0Z+bsLKo/L8rtQSL93rQ6byd1V/QbDpHUTdLPOMsBCcYXZweADNCfOCmOAg==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.11.0.tgz", + "integrity": "sha512-lmt73NeHdy1Q/2ul295Qy3uninSqi6wQI18XwSpm8w0ZbQXUpjCAWP1Vlv/obudoBiIjJVjlztjQ+d/Md98Yxg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.10.0", - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/typescript-estree": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0", + "@typescript-eslint/scope-manager": "8.11.0", + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/typescript-estree": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0", "debug": "^4.3.4" }, "engines": { @@ -2504,13 +2504,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", - "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz", + "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0" + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2521,9 +2521,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", - "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz", + "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2534,13 +2534,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", - "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz", + "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0", + "@typescript-eslint/types": "8.11.0", + "@typescript-eslint/visitor-keys": "8.11.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2562,12 +2562,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", - "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz", + "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.10.0", + "@typescript-eslint/types": "8.11.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -5325,15 +5325,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", From eee12548c48c2c49f19aeaa198d35657d6d65bc1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:20:55 +0000 Subject: [PATCH 27/83] build(deps-dev): bump semantic-release from 24.1.0 to 24.2.0 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 24.1.0 to 24.2.0. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v24.1.0...v24.2.0) --- updated-dependencies: - dependency-name: semantic-release dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 191 +++++++++++++++++++++++----------------------- 1 file changed, 97 insertions(+), 94 deletions(-) diff --git a/package-lock.json b/package-lock.json index b805f002..af2299e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1052,18 +1052,18 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "22.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.1.0.tgz", - "integrity": "sha512-pGUdSP+eEPfZiQHNkZI0U01HLipxncisdJQB4G//OAmfeO8sqTQ9KRa0KF03TUPCziNsoXUrTg4B2Q1EX++T0Q==", + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==", "dev": true }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.2.0.tgz", - "integrity": "sha512-Nd3hCJbr5GUwTgV6j2dMONIigoqNwJRm+yvA5BYb1dnGBTmVUrGYGNwYsGl2hN+xtDAYpqxDiz8vysh/NqEN+A==", + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.3.5.tgz", + "integrity": "sha512-cgwIRtKrpwhLoBi0CUNuY83DPGRMaWVjqVI/bGKsLJ4PzyWZNaEmhHroI2xlrVXkk6nFv0IsZpOp+ZWSWUS2AQ==", "dev": true, "dependencies": { - "@octokit/types": "^13.4.1" + "@octokit/types": "^13.6.0" }, "engines": { "node": ">= 18" @@ -1073,9 +1073,9 @@ } }, "node_modules/@octokit/plugin-retry": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.1.tgz", - "integrity": "sha512-G9Ue+x2odcb8E1XIPhaFBnTTIrrUDfXN05iFXiqhR+SeeeDMMILcAnysOsxUpEWcQp2e5Ft397FCXTcPkiPkLw==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.2.tgz", + "integrity": "sha512-XOWnPpH2kJ5VTwozsxGurw+svB2e61aWlmk5EVIYZPwFK5F9h4cyPyj9CIKRyMXMHSwpIsI3mPOdpMmrRhe7UQ==", "dev": true, "dependencies": { "@octokit/request-error": "^6.0.0", @@ -1090,9 +1090,9 @@ } }, "node_modules/@octokit/plugin-throttling": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.2.1.tgz", - "integrity": "sha512-n6EK4/1Npva54sAFDdpUxAbO14FbzudJ/k7DZPjQuLYOvNTWj4DGeH//J9ZCVoLkAlvRWV5sWKLaICsmGvqg2g==", + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.2.tgz", + "integrity": "sha512-FqpvcTpIWFpMMwIeSoypoJXysSAQ3R+ALJhXXSG1HTP3YZOIeLmcNcimKaXxTcws+Sh6yoRl13SJ5r8sXc1Fhw==", "dev": true, "dependencies": { "@octokit/types": "^13.0.0", @@ -1106,9 +1106,9 @@ } }, "node_modules/@octokit/request": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.1.tgz", - "integrity": "sha512-pyAguc0p+f+GbQho0uNetNQMmLG1e80WjkIaqqgUkihqUp0boRU6nKItXO4VWnr+nbZiLGEyy4TeKRwqaLvYgw==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.3.tgz", + "integrity": "sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==", "dev": true, "dependencies": { "@octokit/endpoint": "^10.0.0", @@ -1121,9 +1121,9 @@ } }, "node_modules/@octokit/request-error": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.1.tgz", - "integrity": "sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==", + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.5.tgz", + "integrity": "sha512-IlBTfGX8Yn/oFPMwSfvugfncK2EwRLjzbrpifNaMY8o/HTEAFqCA1FZxjD9cWvSKBHgrIhc4CSBIzMxiLsbzFQ==", "dev": true, "dependencies": { "@octokit/types": "^13.0.0" @@ -1133,12 +1133,12 @@ } }, "node_modules/@octokit/types": { - "version": "13.4.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.1.tgz", - "integrity": "sha512-Y73oOAzRBAUzR/iRAbGULzpNkX8vaxKCqEtg6K74Ff3w9f5apFnWtE/2nade7dMWWW3bS5Kkd6DJS4HF04xreg==", + "version": "13.6.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.1.tgz", + "integrity": "sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^22.1.0" + "@octokit/openapi-types": "^22.2.0" } }, "node_modules/@pkgjs/parseargs": { @@ -1500,9 +1500,9 @@ } }, "node_modules/@semantic-release/github": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.0.3.tgz", - "integrity": "sha512-nSJQboKrG4xBn7hHpRMrK8lt5DgqJg50ZMz9UbrsfTxuRk55XVoQEadbGZ2L9M0xZAC6hkuwkDhQJKqfPU35Fw==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-11.0.0.tgz", + "integrity": "sha512-Uon6G6gJD8U1JNvPm7X0j46yxNRJ8Ui6SgK4Zw5Ktu8RgjEft3BGn+l/RX1TTzhhO3/uUcKuqM+/9/ETFxWS/Q==", "dev": true, "dependencies": { "@octokit/core": "^6.0.0", @@ -1526,7 +1526,7 @@ "node": ">=20.8.1" }, "peerDependencies": { - "semantic-release": ">=20.1.0" + "semantic-release": ">=24.1.0" } }, "node_modules/@semantic-release/github/node_modules/@semantic-release/error": { @@ -1581,26 +1581,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/github/node_modules/globby": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.1.tgz", - "integrity": "sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==", - "dev": true, - "dependencies": { - "@sindresorhus/merge-streams": "^2.1.0", - "fast-glob": "^3.3.2", - "ignore": "^5.2.4", - "path-type": "^5.0.0", - "slash": "^5.1.0", - "unicorn-magic": "^0.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/github/node_modules/indent-string": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", @@ -1613,30 +1593,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/github/node_modules/path-type": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", - "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/github/node_modules/slash": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", - "dev": true, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/npm": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.0.tgz", @@ -5325,15 +5281,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/js": { - "version": "9.12.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", - "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -5977,6 +5924,38 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/globby": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "dev": true, + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -6150,9 +6129,9 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "dev": true, "dependencies": { "agent-base": "^7.0.2", @@ -6804,9 +6783,9 @@ "dev": true }, "node_modules/issue-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.0.tgz", - "integrity": "sha512-jgAw78HO3gs9UrKqJNQvfDj9Ouy8Mhu40fbEJ8yXff4MW8+/Fcn9iFjyWUQ6SKbX8ipPk3X5A3AyfYHRu6uVLw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", + "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", "dev": true, "dependencies": { "lodash.capitalize": "^4.2.1", @@ -7259,9 +7238,9 @@ } }, "node_modules/mime": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.3.tgz", - "integrity": "sha512-KgUb15Oorc0NEKPbvfa0wRU+PItIEZmiv+pyAO2i0oTIVTJhlzMclU7w4RXWQrSOVH5ax/p/CkIO7KI4OyFJTQ==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz", + "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==", "dev": true, "funding": [ "https://github.com/sponsors/broofa" @@ -11583,14 +11562,14 @@ } }, "node_modules/semantic-release": { - "version": "24.1.0", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.1.0.tgz", - "integrity": "sha512-FwaE2hKDHQn9G6GA7xmqsc9WnsjaFD/ppLM5PUg56Do9oKSCf+vH6cPeb3hEBV/m06n8Sh9vbVqPjHu/1onzQw==", + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.0.tgz", + "integrity": "sha512-fQfn6e/aYToRtVJYKqneFM1Rg3KP2gh3wSWtpYsLlz6uaPKlISrTzvYAFn+mYWo07F0X1Cz5ucU89AVE8X1mbg==", "dev": true, "dependencies": { "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", - "@semantic-release/github": "^10.0.0", + "@semantic-release/github": "^11.0.0", "@semantic-release/npm": "^12.0.0", "@semantic-release/release-notes-generator": "^14.0.0-beta.1", "aggregate-error": "^5.0.0", @@ -11603,7 +11582,7 @@ "get-stream": "^6.0.0", "git-log-parser": "^1.2.0", "hook-std": "^3.0.0", - "hosted-git-info": "^7.0.0", + "hosted-git-info": "^8.0.0", "import-from-esm": "^1.3.1", "lodash-es": "^4.17.21", "marked": "^12.0.0", @@ -11731,6 +11710,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/semantic-release/node_modules/hosted-git-info": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.0.0.tgz", + "integrity": "sha512-4nw3vOVR+vHUOT8+U4giwe2tcGv+R3pwwRidUe67DoMBTjhrfr6rZYJVVwdkBE+Um050SG+X9tf0Jo4fOpn01w==", + "dev": true, + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, "node_modules/semantic-release/node_modules/human-signals": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-7.0.0.tgz", @@ -12097,6 +12088,18 @@ "node": ">=8" } }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", From db1f0d6019de76a46a664cd50a38638dabe4b59e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 01:59:42 +0000 Subject: [PATCH 28/83] build(deps-dev): bump vite from 5.4.9 to 5.4.10 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.9 to 5.4.10. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.10/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.10/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff8a1d66..9385bf18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13410,9 +13410,9 @@ } }, "node_modules/vite": { - "version": "5.4.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.9.tgz", - "integrity": "sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==", + "version": "5.4.10", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz", + "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==", "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", From 3902c43ae7227523cd3300b5679f64dd0f936379 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 02:00:00 +0000 Subject: [PATCH 29/83] build(deps-dev): bump typescript-eslint from 8.8.1 to 8.12.2 Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.8.1 to 8.12.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 553 ++++------------------------------------------ 1 file changed, 48 insertions(+), 505 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff8a1d66..bec9d3ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2302,16 +2302,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.11.0.tgz", - "integrity": "sha512-KhGn2LjW1PJT2A/GfDpiyOfS4a8xHQv2myUagTM5+zsormOmBlYsnQ6pobJ8XxJmh6hnHwa2Mbe3fPrDJoDhbA==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.2.tgz", + "integrity": "sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.11.0", - "@typescript-eslint/type-utils": "8.11.0", - "@typescript-eslint/utils": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0", + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/type-utils": "8.12.2", + "@typescript-eslint/utils": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2334,113 +2334,16 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz", - "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz", - "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz", - "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.11.0.tgz", - "integrity": "sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.11.0", - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/typescript-estree": "8.11.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz", - "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/parser": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.11.0.tgz", - "integrity": "sha512-lmt73NeHdy1Q/2ul295Qy3uninSqi6wQI18XwSpm8w0ZbQXUpjCAWP1Vlv/obudoBiIjJVjlztjQ+d/Md98Yxg==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", + "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.11.0", - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/typescript-estree": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0", + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/typescript-estree": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", "debug": "^4.3.4" }, "engines": { @@ -2459,90 +2362,14 @@ } } }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz", - "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz", - "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz", - "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz", - "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", - "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz", + "integrity": "sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1" + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2553,13 +2380,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.11.0.tgz", - "integrity": "sha512-ItiMfJS6pQU0NIKAaybBKkuVzo6IdnAhPFZA/2Mba/uBjuPQPet/8+zh5GtLHwmuFRShZx+8lhIs7/QeDHflOg==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.2.tgz", + "integrity": "sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.11.0", - "@typescript-eslint/utils": "8.11.0", + "@typescript-eslint/typescript-estree": "8.12.2", + "@typescript-eslint/utils": "8.12.2", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -2576,109 +2403,11 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.11.0.tgz", - "integrity": "sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.11.0.tgz", - "integrity": "sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.11.0.tgz", - "integrity": "sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/visitor-keys": "8.11.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.11.0.tgz", - "integrity": "sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.11.0", - "@typescript-eslint/types": "8.11.0", - "@typescript-eslint/typescript-estree": "8.11.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.11.0.tgz", - "integrity": "sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.11.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/types": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", - "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.2.tgz", + "integrity": "sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==", "dev": true, - "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -2688,14 +2417,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", - "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.2.tgz", + "integrity": "sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2717,16 +2445,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.1.tgz", - "integrity": "sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.2.tgz", + "integrity": "sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/typescript-estree": "8.8.1" + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/typescript-estree": "8.12.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2740,13 +2467,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", - "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.2.tgz", + "integrity": "sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/types": "8.12.2", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -4987,103 +4713,6 @@ } } }, - "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/scope-manager": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz", - "integrity": "sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/types": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.10.0.tgz", - "integrity": "sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz", - "integrity": "sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/visitor-keys": "8.10.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/utils": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.10.0.tgz", - "integrity": "sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.10.0", - "@typescript-eslint/types": "8.10.0", - "@typescript-eslint/typescript-estree": "8.10.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - } - }, - "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz", - "integrity": "sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.10.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/eslint-plugin-prettier": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", @@ -13132,100 +12761,14 @@ } }, "node_modules/typescript-eslint": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.8.1.tgz", - "integrity": "sha512-R0dsXFt6t4SAFjUSKFjMh4pXDtq04SsFKCVGDP3ZOzNP7itF0jBcZYU4fMsZr4y7O7V7Nc751dDeESbe4PbQMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/eslint-plugin": "8.8.1", - "@typescript-eslint/parser": "8.8.1", - "@typescript-eslint/utils": "8.8.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.1.tgz", - "integrity": "sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/type-utils": "8.8.1", - "@typescript-eslint/utils": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", - "integrity": "sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.12.2.tgz", + "integrity": "sha512-UbuVUWSrHVR03q9CWx+JDHeO6B/Hr9p4U5lRH++5tq/EbFq1faYZe50ZSBePptgfIKLEti0aPQ3hFgnPVcd8ZQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/typescript-estree": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", - "debug": "^4.3.4" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/type-utils": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.1.tgz", - "integrity": "sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==", - "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "8.8.1", - "@typescript-eslint/utils": "8.8.1", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "@typescript-eslint/eslint-plugin": "8.12.2", + "@typescript-eslint/parser": "8.12.2", + "@typescript-eslint/utils": "8.12.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From 91418a6d27e414a5778cee601726a418216da3e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 02:00:09 +0000 Subject: [PATCH 30/83] build(deps-dev): bump @types/chrome from 0.0.277 to 0.0.280 Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.277 to 0.0.280. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) --- updated-dependencies: - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff8a1d66..f98409a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "@thedutchcoder/postcss-rem-to-px": "^0.0.2", "@total-typescript/ts-reset": "^0.6.0", "@types/archiver": "^6.0.1", - "@types/chrome": "^0.0.277", + "@types/chrome": "^0.0.280", "@types/eslint__js": "^8.42.3", "@types/node": "^22.1.0", "@types/react": "^18.2.37", @@ -2167,9 +2167,9 @@ } }, "node_modules/@types/chrome": { - "version": "0.0.277", - "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.277.tgz", - "integrity": "sha512-qoTgBcDWblSsX+jvFnpUlLUE3LAuOhZfBh9MyMWMQHDsQiYVgBvdZWu9COrdB9+aNnInEyXcFgfc2HE16sdSYQ==", + "version": "0.0.280", + "resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.280.tgz", + "integrity": "sha512-AotSmZrL9bcZDDmSI1D9dE7PGbhOur5L0cKxXd7IqbVizQWCY4gcvupPUVsQ4FfDj3V2tt/iOpomT9EY0s+w1g==", "dev": true, "dependencies": { "@types/filesystem": "*", diff --git a/package.json b/package.json index 7548a1cc..afbec063 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@thedutchcoder/postcss-rem-to-px": "^0.0.2", "@total-typescript/ts-reset": "^0.6.0", "@types/archiver": "^6.0.1", - "@types/chrome": "^0.0.277", + "@types/chrome": "^0.0.280", "@types/eslint__js": "^8.42.3", "@types/node": "^22.1.0", "@types/react": "^18.2.37", From ecbbb8da3e73d0f960dc8798685af6fe1ac82a9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 02:00:17 +0000 Subject: [PATCH 31/83] build(deps-dev): bump @eslint/js from 9.13.0 to 9.14.0 Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.13.0 to 9.14.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.14.0/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff8a1d66..fc90d6a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -749,9 +749,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.13.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz", - "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.14.0.tgz", + "integrity": "sha512-pFoEtFWCPyDOl+C6Ift+wC7Ro89otjigCf5vcuWqWgqNSQbRrpjSvdeE6ofLz4dHmyxD5f7gIdGT4+p36L6Twg==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5281,6 +5281,15 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/@eslint/js": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz", + "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", From 227a9d1dc90dd1f296864ce4a6d5a57135440190 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 02:27:12 +0000 Subject: [PATCH 32/83] build(deps-dev): bump @typescript-eslint/parser from 8.12.2 to 8.13.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.12.2 to 8.13.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 117 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 110 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 598ed7cc..51057e9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2335,15 +2335,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", - "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", + "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4" }, "engines": { @@ -2362,6 +2362,81 @@ } } }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", + "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", + "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", + "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", + "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.13.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.12.2", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz", @@ -12792,6 +12867,34 @@ } } }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", + "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/typescript-estree": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", From 9b1c84455e78608590c62fd30ab3cc8250e26fc3 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Thu, 7 Nov 2024 22:23:32 -0500 Subject: [PATCH 33/83] chore: fix eslint stuff --- eslint.config.mjs | 85 ++++++++++--------- public/locales/en-US.json.d.ts | 8 +- src/components/Inputs/CSSEditor/CSSEditor.tsx | 4 +- .../Inputs/CSSEditor/EditorProblems/index.tsx | 6 +- .../Inputs/CSSEditor/editorOptions.ts | 4 +- src/components/Inputs/Select/Select.tsx | 2 +- src/components/Inputs/index.tsx | 4 +- src/components/Settings/Settings.tsx | 19 ++--- .../Settings/components/Setting.tsx | 4 +- .../index.ts | 1 + src/features/buttonPlacement/index.ts | 2 +- src/features/featureMenu/index.ts | 2 +- .../index.ts | 6 +- src/features/playbackSpeedButtons/index.ts | 5 +- src/features/playlistLength/index.ts | 4 +- src/features/rememberVolume/utils.ts | 2 +- src/features/screenshotButton/index.ts | 2 +- src/features/scrollWheelSpeedControl/utils.ts | 3 +- src/features/timestampPeek/index.ts | 18 ++++ src/features/timestampPeek/utils.ts | 61 +++++++++++++ src/global.d.ts | 6 +- src/hooks/useClickOutside.ts | 4 +- src/hooks/useSettingsFilter/context.ts | 2 +- src/i18n/constants.ts | 58 ++++++------- src/i18n/index.ts | 2 +- src/pages/content/index.ts | 24 +++--- src/pages/embedded/index.ts | 10 +-- src/pages/options/index.tsx | 2 +- src/pages/popup/index.tsx | 2 +- src/types/index.ts | 28 +++--- src/utils/EventManager.ts | 1 + src/utils/OnScreenDisplayManager.ts | 12 +-- src/utils/checkLocalesForMissingKeys.ts | 2 +- src/utils/constants.ts | 16 ++-- src/utils/monaco.ts | 2 +- src/utils/plugins/utils.ts | 2 +- src/utils/updateAvailableLocales.ts | 2 +- src/utils/utilities.ts | 27 +++--- 38 files changed, 265 insertions(+), 179 deletions(-) create mode 100644 src/features/timestampPeek/index.ts create mode 100644 src/features/timestampPeek/utils.ts diff --git a/eslint.config.mjs b/eslint.config.mjs index fd064ae0..7a4219ac 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,16 +1,16 @@ -import eslintPluginReact from "eslint-plugin-react"; -import eslintPluginNoSecrets from "eslint-plugin-no-secrets"; +import { fixupPluginRules } from "@eslint/compat"; +import eslintJavascript from "@eslint/js"; +import eslintTypeScriptParser from "@typescript-eslint/parser"; import eslintPluginImport from "eslint-plugin-import"; -import eslintPluginTailwindCSS from "eslint-plugin-tailwindcss"; -import eslintPluginPromise from "eslint-plugin-promise"; +import eslintPluginNoSecrets from "eslint-plugin-no-secrets"; import eslintPluginPerfectionist from "eslint-plugin-perfectionist"; -import eslintPluginReactHooks from "eslint-plugin-react-hooks"; import eslintPluginPrettier from "eslint-plugin-prettier/recommended"; -import eslintTypeScriptParser from "@typescript-eslint/parser"; -import eslintJavascript from "@eslint/js"; -import typescriptEslint from "typescript-eslint"; -import { fixupPluginRules } from "@eslint/compat"; +import eslintPluginPromise from "eslint-plugin-promise"; +import eslintPluginReact from "eslint-plugin-react"; +import eslintPluginReactHooks from "eslint-plugin-react-hooks"; +import eslintPluginTailwindCSS from "eslint-plugin-tailwindcss"; import globals from "globals"; +import typescriptEslint from "typescript-eslint"; export default [ { ignores: ["**/watch.js", "dist/**/*", "releases/**/*"] @@ -22,16 +22,10 @@ export default [ eslintPluginImport.flatConfigs.typescript, eslintPluginPromise.configs["flat/recommended"], eslintPluginPrettier, + eslintPluginPerfectionist.configs["recommended-natural"], { - plugins: { - react: eslintPluginReact, - "no-secrets": eslintPluginNoSecrets, - perfectionist: eslintPluginPerfectionist, - "react-hooks": fixupPluginRules(eslintPluginReactHooks) - }, languageOptions: { ecmaVersion: "latest", - sourceType: "module", globals: { ...globals.browser, ...globals.node, @@ -44,43 +38,54 @@ export default [ }, project: "./tsconfig.json", tsconfigRootDir: "." - } - }, - settings: { - tailwindcss: { - callees: ["cn"], - config: "./tailwind.config.ts" }, - react: { - version: "detect" - } + sourceType: "module" + }, + plugins: { + "no-secrets": eslintPluginNoSecrets, + react: eslintPluginReact, + "react-hooks": fixupPluginRules(eslintPluginReactHooks) }, rules: { - "react/react-in-jsx-scope": "off", + "@typescript-eslint/explicit-module-boundary-types": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-unused-vars": [ "error", { - varsIgnorePattern: "^_", - argsIgnorePattern: "^_" + args: "all", + argsIgnorePattern: "^_", + caughtErrors: "all", + caughtErrorsIgnorePattern: "^_", + destructuredArrayIgnorePattern: "^_", + ignoreRestSiblings: true, + varsIgnorePattern: "^_" } ], - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/restrict-template-expressions": "off", - quotes: ["error", "double", { avoidEscape: true, allowTemplateLiterals: true }], - semi: ["error", "always"], - "prefer-const": ["error", { destructuring: "any", ignoreReadBeforeAssign: false }], - "prefer-destructuring": ["error", { array: true, object: true }, { enforceForRenamedProperties: true }], - "no-useless-escape": "off", + "import/first": ["error"], + "import/no-named-as-default-member": "off", + "import/no-unresolved": "off", "no-empty": ["error", { allowEmptyCatch: true }], "no-mixed-spaces-and-tabs": ["error", "smart-tabs"], - "import/first": ["error"], "no-secrets/no-secrets": ["error", { tolerance: 5.0 }], - "import/no-unresolved": "off", - "tailwindcss/no-custom-classname": "off", + "no-useless-escape": "off", + "prefer-const": ["error", { destructuring: "any", ignoreReadBeforeAssign: false }], + "prefer-destructuring": ["error", { array: true, object: true }, { enforceForRenamedProperties: true }], + quotes: ["error", "double", { allowTemplateLiterals: true, avoidEscape: true }], + "react/react-in-jsx-scope": "off", + semi: ["error", "always"], "tailwindcss/classnames-order": "error", - "@typescript-eslint/no-floating-promises": "error", - "import/no-named-as-default-member": "off" + "tailwindcss/no-custom-classname": "off" + }, + settings: { + react: { + version: "detect" + }, + tailwindcss: { + callees: ["cn"], + config: "./tailwind.config.ts" + } } }, { diff --git a/public/locales/en-US.json.d.ts b/public/locales/en-US.json.d.ts index 27e9c06f..5652a69f 100644 --- a/public/locales/en-US.json.d.ts +++ b/public/locales/en-US.json.d.ts @@ -179,14 +179,14 @@ interface EnUS { }; miscellaneous: { features: { - automaticTheaterMode: { - label: "Automatic theater mode"; - title: "Automatically enables theater mode when you load a video"; - }; automaticallyDisableClosedCaptions: { label: "Automatically disable closed captions"; title: "Automatically disables closed captions when you load a video"; }; + automaticTheaterMode: { + label: "Automatic theater mode"; + title: "Automatically enables theater mode when you load a video"; + }; copyTimestampUrlButton: { label: "Copy video URL with timestamp button"; title: "Copies video URL with timestamp (?t=123)"; diff --git a/src/components/Inputs/CSSEditor/CSSEditor.tsx b/src/components/Inputs/CSSEditor/CSSEditor.tsx index b9b44971..2cd78f77 100644 --- a/src/components/Inputs/CSSEditor/CSSEditor.tsx +++ b/src/components/Inputs/CSSEditor/CSSEditor.tsx @@ -4,10 +4,10 @@ import { cn, debounce } from "@/src/utils/utilities"; import { Editor, type Monaco } from "@monaco-editor/react"; import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react"; -import EditorProblems from "./EditorProblems"; -import ExpandButton from "./ExpandButton"; import { editorOptions } from "./editorOptions"; +import EditorProblems from "./EditorProblems"; import "./editorWorkerConfig"; +import ExpandButton from "./ExpandButton"; export type CSSEditorProps = { className?: string; diff --git a/src/components/Inputs/CSSEditor/EditorProblems/index.tsx b/src/components/Inputs/CSSEditor/EditorProblems/index.tsx index abafb7dd..582ae631 100644 --- a/src/components/Inputs/CSSEditor/EditorProblems/index.tsx +++ b/src/components/Inputs/CSSEditor/EditorProblems/index.tsx @@ -1,6 +1,6 @@ import { useSettings } from "@/src/components/Settings/Settings"; import { type Nullable } from "@/src/types"; -import { MarkerSeverity, type editor } from "@/src/utils/monaco"; +import { type editor, MarkerSeverity } from "@/src/utils/monaco"; import { cn } from "@/src/utils/utilities"; import React, { forwardRef } from "react"; @@ -16,14 +16,14 @@ const EditorProblems = forwardRef(({ classN } = useSettings(); const getIcon = (severity: MarkerSeverity) => { switch (severity) { + case MarkerSeverity.Error: + return "error"; case MarkerSeverity.Hint: return "hint"; case MarkerSeverity.Info: return "info"; case MarkerSeverity.Warning: return "warning"; - case MarkerSeverity.Error: - return "error"; default: return ""; } diff --git a/src/components/Inputs/CSSEditor/editorOptions.ts b/src/components/Inputs/CSSEditor/editorOptions.ts index c81f3dd4..249aa55f 100644 --- a/src/components/Inputs/CSSEditor/editorOptions.ts +++ b/src/components/Inputs/CSSEditor/editorOptions.ts @@ -4,8 +4,8 @@ export const editorOptions: editor.IStandaloneEditorConstructionOptions = { acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", autoIndent: "full", - autoSurround: "languageDefined", automaticLayout: true, + autoSurround: "languageDefined", bracketPairColorization: { enabled: true, independentColorPoolPerBracketType: true @@ -59,9 +59,9 @@ export const editorOptions: editor.IStandaloneEditorConstructionOptions = { rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: false, - selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, + selectOnLineNumbers: true, "semanticHighlighting.enabled": true, showFoldingControls: "always", smoothScrolling: true, diff --git a/src/components/Inputs/Select/Select.tsx b/src/components/Inputs/Select/Select.tsx index 4d1a4799..3eb98bc0 100644 --- a/src/components/Inputs/Select/Select.tsx +++ b/src/components/Inputs/Select/Select.tsx @@ -1,4 +1,4 @@ -import type { PathValue, configuration, configurationId } from "@/src/types"; +import type { configuration, configurationId, PathValue } from "@/src/types"; import type { ClassValue } from "clsx"; import type { ChangeEvent } from "react"; diff --git a/src/components/Inputs/index.tsx b/src/components/Inputs/index.tsx index 0a9090ab..4d89c940 100644 --- a/src/components/Inputs/index.tsx +++ b/src/components/Inputs/index.tsx @@ -1,10 +1,10 @@ import type { SelectOption } from "./Select/Select"; -import { CSSEditor } from "./CSSEditor"; import { Checkbox } from "./CheckBox"; import { ColorPicker } from "./ColorPicker"; +import { CSSEditor } from "./CSSEditor"; import { NumberInput } from "./Number"; import { Select } from "./Select"; import { Slider } from "./Slider"; import { TextInput } from "./TextInput"; -export { CSSEditor, Checkbox, ColorPicker, NumberInput, Select, type SelectOption, Slider, TextInput }; +export { Checkbox, ColorPicker, CSSEditor, NumberInput, Select, type SelectOption, Slider, TextInput }; diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index ec1b69c2..03a5f098 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -1,6 +1,5 @@ -/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable tailwindcss/enforces-shorthand */ -import type { AllButtonNames, Nullable, Path, configuration, configurationKeys } from "@/src/types"; +import type { AllButtonNames, configuration, configurationKeys, Nullable, Path } from "@/src/types"; import type { ClassValue } from "clsx"; import type EnUS from "public/locales/en-US.json"; import type { ChangeEvent, ChangeEventHandler } from "react"; @@ -18,7 +17,7 @@ import { configurationImportSchema, defaultConfiguration as defaultSettings } fr import { updateStoredSettings } from "@/src/utils/updateStoredSettings"; import { cn, deepMerge, formatDateForFileName, getPathValue, isButtonSelectDisabled, parseStoredValue } from "@/src/utils/utilities"; import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; -import { Suspense, createContext, useContext, useEffect, useRef, useState } from "react"; +import { createContext, Suspense, useContext, useEffect, useRef, useState } from "react"; import { MdOutlineOpenInNew } from "react-icons/md"; import { generateErrorMessage } from "zod-error"; @@ -751,20 +750,20 @@ export default function Settings() { type="checkbox" /> @@ -1010,25 +1009,25 @@ export default function Settings() { disabled={settings.enable_forced_playback_speed?.toString() !== "true"} id="player_speed" label={t("settings.sections.playbackSpeed.select.label")} - onChange={setValueOption("player_speed")} - title={t("settings.sections.playbackSpeed.select.title")} - value={settings.player_speed} max={youtubePlayerMaxSpeed} min={youtubePlayerSpeedStep} + onChange={setValueOption("player_speed")} step={youtubePlayerSpeedStep} + title={t("settings.sections.playbackSpeed.select.title")} type="number" + value={settings.player_speed} /> diff --git a/src/components/Settings/components/Setting.tsx b/src/components/Settings/components/Setting.tsx index 9cb25503..9e601951 100644 --- a/src/components/Settings/components/Setting.tsx +++ b/src/components/Settings/components/Setting.tsx @@ -3,15 +3,15 @@ import type { configurationId } from "@/src/types"; import useSectionTitle from "@/src/hooks/useSectionTitle"; import useSettingsFilter from "@/src/hooks/useSettingsFilter"; -import type { CSSEditorProps } from "../../Inputs/CSSEditor/CSSEditor"; import type { CheckboxProps } from "../../Inputs/CheckBox/CheckBox"; import type { ColorPickerProps } from "../../Inputs/ColorPicker/ColorPicker"; +import type { CSSEditorProps } from "../../Inputs/CSSEditor/CSSEditor"; import type { NumberInputProps } from "../../Inputs/Number/Number"; import type { SelectProps } from "../../Inputs/Select/Select"; import type { SliderProps } from "../../Inputs/Slider/Slider"; import type { TextInputProps } from "../../Inputs/TextInput/TextInput"; -import { CSSEditor, Checkbox, ColorPicker, NumberInput, Select, Slider, TextInput } from "../../Inputs"; +import { Checkbox, ColorPicker, CSSEditor, NumberInput, Select, Slider, TextInput } from "../../Inputs"; type SettingInputProps = { id: ID; diff --git a/src/features/automaticallyDisableClosedCaptions/index.ts b/src/features/automaticallyDisableClosedCaptions/index.ts index 0559ae94..0438c13e 100644 --- a/src/features/automaticallyDisableClosedCaptions/index.ts +++ b/src/features/automaticallyDisableClosedCaptions/index.ts @@ -1,4 +1,5 @@ import type { YouTubePlayerDiv } from "@/src/types"; + import { isLivePage, isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; let captionsWhereEnabled = false; export async function enableAutomaticallyDisableClosedCaptions() { diff --git a/src/features/buttonPlacement/index.ts b/src/features/buttonPlacement/index.ts index 6b845b65..b4310278 100644 --- a/src/features/buttonPlacement/index.ts +++ b/src/features/buttonPlacement/index.ts @@ -4,7 +4,7 @@ import type { AllButtonNames, ButtonPlacement, MultiButtonNames, SingleButtonFea import { addFeatureItemToMenu, removeFeatureItemFromMenu } from "@/src/features/featureMenu/utils"; import { findKeyByValue, removeTooltip, waitForSpecificMessage } from "@/src/utils/utilities"; -import { type ListenerType, getFeatureButtonId, makeFeatureButton, placeButton } from "./utils"; +import { getFeatureButtonId, type ListenerType, makeFeatureButton, placeButton } from "./utils"; export const featuresInControls = new Set(); export async function addFeatureButton( diff --git a/src/features/featureMenu/index.ts b/src/features/featureMenu/index.ts index 054bac3e..4e3f0038 100644 --- a/src/features/featureMenu/index.ts +++ b/src/features/featureMenu/index.ts @@ -1,7 +1,7 @@ import type { FeatureMenuOpenType } from "@/src/types"; import eventManager from "@/src/utils/EventManager"; -import { createSVGElement, createStyledElement, createTooltip, isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; +import { createStyledElement, createSVGElement, createTooltip, isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; import { isNewYouTubeVideoLayout } from "../../utils/utilities"; diff --git a/src/features/hideOfficialArtistVideosFromHomePage/index.ts b/src/features/hideOfficialArtistVideosFromHomePage/index.ts index 5aa2973a..f7b5162d 100644 --- a/src/features/hideOfficialArtistVideosFromHomePage/index.ts +++ b/src/features/hideOfficialArtistVideosFromHomePage/index.ts @@ -1,11 +1,13 @@ import type { Nullable } from "@/src/types"; -import "./index.css"; -import { waitForSpecificMessage } from "@/src/utils/utilities"; + import { hideOfficialArtistVideosFromHomePage, observeOfficialArtistVideosFromHomePage, showOfficialArtistVideosFromHomePage } from "@/src/features/hideOfficialArtistVideosFromHomePage/utils"; +import { waitForSpecificMessage } from "@/src/utils/utilities"; + +import "./index.css"; let officialArtistVideosObserver: Nullable = null; export async function enableHideOfficialArtistVideosFromHomePage() { // Wait for the "options" message from the content script diff --git a/src/features/playbackSpeedButtons/index.ts b/src/features/playbackSpeedButtons/index.ts index a5c3a217..617621ec 100644 --- a/src/features/playbackSpeedButtons/index.ts +++ b/src/features/playbackSpeedButtons/index.ts @@ -1,12 +1,11 @@ -import { youtubePlayerMinSpeed, type YouTubePlayerDiv } from "@/src/types"; - import { addFeatureButton, removeFeatureButton } from "@/src/features/buttonPlacement"; import { checkIfFeatureButtonExists, getFeatureButton } from "@/src/features/buttonPlacement/utils"; import { setPlayerSpeed } from "@/src/features/playerSpeed"; import { getFeatureIcon } from "@/src/icons"; +import { type YouTubePlayerDiv, youtubePlayerMinSpeed } from "@/src/types"; import eventManager from "@/src/utils/EventManager"; import OnScreenDisplayManager from "@/src/utils/OnScreenDisplayManager"; -import { createTooltip, isWatchPage, waitForSpecificMessage, round } from "@/src/utils/utilities"; +import { createTooltip, isWatchPage, round, waitForSpecificMessage } from "@/src/utils/utilities"; import type { AddButtonFunction, RemoveButtonFunction } from "../index"; let currentPlaybackSpeed = 1; diff --git a/src/features/playlistLength/index.ts b/src/features/playlistLength/index.ts index f36f8303..8a805e37 100644 --- a/src/features/playlistLength/index.ts +++ b/src/features/playlistLength/index.ts @@ -1,7 +1,7 @@ import type { Nullable } from "@/src/types"; -import eventManager from "@/src/utils/EventManager"; import { YouTube_Enhancer_Public_Youtube_Data_API_V3_Key } from "@/src/utils/constants"; +import eventManager from "@/src/utils/EventManager"; import { isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; import { headerSelector, initializePlaylistLength, playlistItemsSelector } from "./utils"; @@ -31,7 +31,7 @@ export async function enablePlaylistLength() { playlistLengthGetMethod, playlistWatchTimeGetMethod }); - } catch (error) { + } catch (_error) { documentObserver?.disconnect(); documentObserver = null; documentObserver = await initializePlaylistLength({ diff --git a/src/features/rememberVolume/utils.ts b/src/features/rememberVolume/utils.ts index 37ae7b30..177e8f4d 100644 --- a/src/features/rememberVolume/utils.ts +++ b/src/features/rememberVolume/utils.ts @@ -1,4 +1,4 @@ -import type { YouTubePlayerDiv, configuration } from "@/src/types"; +import type { configuration, YouTubePlayerDiv } from "@/src/types"; import eventManager from "@/src/utils/EventManager"; import { browserColorLog, isLivePage, isShortsPage, isWatchPage, sendContentOnlyMessage, waitForSpecificMessage } from "@/src/utils/utilities"; diff --git a/src/features/screenshotButton/index.ts b/src/features/screenshotButton/index.ts index 4328c15c..44845352 100644 --- a/src/features/screenshotButton/index.ts +++ b/src/features/screenshotButton/index.ts @@ -55,7 +55,7 @@ async function takeScreenshot(videoElement: HTMLVideoElement) { break; } } - } catch (error) {} + } catch (_error) {} } export const addScreenshotButton: AddButtonFunction = async () => { diff --git a/src/features/scrollWheelSpeedControl/utils.ts b/src/features/scrollWheelSpeedControl/utils.ts index 24a338c2..299362ea 100644 --- a/src/features/scrollWheelSpeedControl/utils.ts +++ b/src/features/scrollWheelSpeedControl/utils.ts @@ -1,6 +1,5 @@ import { setPlayerSpeed } from "@/src/features/playerSpeed"; -import { youtubePlayerMinSpeed, type Selector } from "@/src/types"; - +import { type Selector, youtubePlayerMinSpeed } from "@/src/types"; import eventManager from "@/src/utils/EventManager"; import { browserColorLog, round } from "@/src/utils/utilities"; diff --git a/src/features/timestampPeek/index.ts b/src/features/timestampPeek/index.ts new file mode 100644 index 00000000..d341959c --- /dev/null +++ b/src/features/timestampPeek/index.ts @@ -0,0 +1,18 @@ +import { isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; + +export async function enableTimestampPeek() { + const { + data: { + options: { enable_timestamp_peek } + } + } = await waitForSpecificMessage("options", "request_data", "content"); + if (!enable_timestamp_peek) return; + if (!isWatchPage()) return; + await waitForAllElements(["div#player", "div#player-wide-container", "div#video-container", "div#player-container"]); + // Get the player element + const playerContainer = document.querySelector("div#movie_player"); + // If player element is not available, return + if (!playerContainer) return; + // TODO: observe comments for more timestamps to handle preview for + // TODO: handle timestamps in comments +} diff --git a/src/features/timestampPeek/utils.ts b/src/features/timestampPeek/utils.ts new file mode 100644 index 00000000..9cbe832c --- /dev/null +++ b/src/features/timestampPeek/utils.ts @@ -0,0 +1,61 @@ +import eventManager from "@/src/utils/EventManager"; + +export function getTimestampLinkHref() { + const { + location: { pathname, search } + } = window; + return `${pathname}${search}`; +} +export function getTimestampFromString(str: string) { + const timestampParam = new URLSearchParams(str).get("t") ?? "0"; + return parseInt(timestampParam, 10); +} +function getTimestampTexts() { + const timestampLinkHref = getTimestampLinkHref(); + return Array.from(document.querySelectorAll(`.yt-core-attributed-string__link[href^='${timestampLinkHref}'`)); +} +export function getTimestamps(): [HTMLElement, number][] { + return getTimestampTexts() + .map((timestampText) => [timestampText, getTimestampFromString(new URLSearchParams(timestampText.getAttribute("href") ?? "0").get("t") ?? "0")]) + .filter(([, timestamp]) => timestamp !== 0) as [HTMLElement, number][]; +} +async function previewTimestamp(element: HTMLElement, timestamp: number) { + const playerContainer = document.querySelector("#movie_player"); + if (!playerContainer) return; + playerContainer.style.position = "absolute"; + playerContainer.style.top = `${element.getBoundingClientRect().top + window.scrollY}px`; + playerContainer.style.width = "200px"; + playerContainer.style.maxWidth = "unset"; + playerContainer.style.transform = "translateX(-50%)"; + playerContainer.style.left = "50%"; + const player = playerContainer.querySelector(".video-stream.html5-main-video") as HTMLVideoElement; + player.currentTime = timestamp; + await player.play(); +} +export function handleTimestampHover(element: HTMLElement, timestamp: number) { + const videoElement = document.querySelector("video"); + if (!videoElement) return; + const { currentTime } = videoElement; + const isPlaying = !videoElement.paused; + eventManager.addEventListener( + element, + "mouseenter", + () => { + void (async () => { + await previewTimestamp(element, timestamp); + })(); + }, + "timestampPeek" + ); + eventManager.addEventListener( + element, + "mouseleave", + () => { + void (async () => { + videoElement.currentTime = currentTime; + if (isPlaying) await videoElement.play(); + })(); + }, + "timestampPeek" + ); +} diff --git a/src/global.d.ts b/src/global.d.ts index 3e76a27d..ad3715d5 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -1,7 +1,7 @@ import type { i18nInstanceType } from "./i18n"; declare module "*.svg" { - import React = require("react"); + import React from "react"; export const ReactComponent: React.SFC>; const src: string; export default src; @@ -55,12 +55,12 @@ declare module "node_modules/@types/youtube-player/dist/types" { viewerLivestreamJoinMediaTime: number; } interface YouTubePlayer { - unloadModule(moduleName: string): void; - loadModule(moduleName: string): void; getProgressState(): ProgressState; getVideoBytesLoaded(): Promise; getVideoData(): Promise; + loadModule(moduleName: string): void; setPlaybackQualityRange(suggestedQuality: string): Promise; + unloadModule(moduleName: string): void; } } declare global { diff --git a/src/hooks/useClickOutside.ts b/src/hooks/useClickOutside.ts index cc924bdb..148b4bdd 100644 --- a/src/hooks/useClickOutside.ts +++ b/src/hooks/useClickOutside.ts @@ -9,8 +9,8 @@ const useClickOutside = void ) => { useEffect(() => { - let startedInside: Nullable | boolean> = false; - let startedWhenMounted: Nullable["current"] | boolean> = false; + let startedInside: Nullable> = false; + let startedWhenMounted: Nullable["current"]> = false; const listener = (event: FocusEvent | MouseEvent | TouchEvent) => { // Do nothing if `mousedown` or `touchstart` started inside ref element if (startedInside || !startedWhenMounted) return; diff --git a/src/hooks/useSettingsFilter/context.ts b/src/hooks/useSettingsFilter/context.ts index 658d173f..ad0fb4f9 100644 --- a/src/hooks/useSettingsFilter/context.ts +++ b/src/hooks/useSettingsFilter/context.ts @@ -1,4 +1,4 @@ -import { type Dispatch, type SetStateAction, createContext } from "react"; +import { createContext, type Dispatch, type SetStateAction } from "react"; export type SettingsFilterContextProps = { filter: string; diff --git a/src/i18n/constants.ts b/src/i18n/constants.ts index b86a717d..c04199bb 100644 --- a/src/i18n/constants.ts +++ b/src/i18n/constants.ts @@ -1,50 +1,50 @@ export const availableLocales = [ - "ca-ES", - "cs-CZ", - "de-DE", - "en-GB", - "en-US", - "es-ES", - "fa-IR", - "fr-FR", - "he-IL", - "hi-IN", - "it-IT", - "ja-JP", - "ko-KR", - "pl-PL", - "pt-BR", - "ru-RU", - "sv-SE", - "tr-TR", - "uk-UA", - "vi-VN", - "zh-CN", - "zh-TW" + "ca-ES", + "cs-CZ", + "de-DE", + "en-GB", + "en-US", + "es-ES", + "fa-IR", + "fr-FR", + "he-IL", + "hi-IN", + "it-IT", + "ja-JP", + "ko-KR", + "pl-PL", + "pt-BR", + "ru-RU", + "sv-SE", + "tr-TR", + "uk-UA", + "vi-VN", + "zh-CN", + "zh-TW" ] as const; export const localePercentages: Record = { - "en-US": 100, "ca-ES": 0, "cs-CZ": 0, "de-DE": 27, "en-GB": 1, + "en-US": 100, "es-ES": 48, "fa-IR": 0, "fr-FR": 50, "he-IL": 0, "hi-IN": 0, - "it-IT": 89, + "it-IT": 100, "ja-JP": 89, "ko-KR": 89, "pl-PL": 0, "pt-BR": 55, - "ru-RU": 89, - "sv-SE": 89, - "tr-TR": 62, + "ru-RU": 100, + "sv-SE": 100, + "tr-TR": 69, "uk-UA": 18, "vi-VN": 0, - "zh-CN": 89, - "zh-TW": 86 + "zh-CN": 100, + "zh-TW": 97 }; export const localeDirection: Record = { "ca-ES": "ltr", diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 5aefaa4f..f32df36f 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -1,5 +1,5 @@ import { type AvailableLocales, availableLocales } from "@/src/i18n/constants"; -import { type Resource, createInstance } from "i18next"; +import { createInstance, type Resource } from "i18next"; import { waitForSpecificMessage } from "../utils/utilities"; export type i18nInstanceType = ReturnType; diff --git a/src/pages/content/index.ts b/src/pages/content/index.ts index 17be107c..ebb4b414 100644 --- a/src/pages/content/index.ts +++ b/src/pages/content/index.ts @@ -3,15 +3,15 @@ import type { AvailableLocales } from "@/src/i18n/constants"; import { getVideoHistory, setVideoHistory } from "@/src/features/videoHistory/utils"; import { type AllButtonNames, + buttonNames, type ButtonPlacement, + type configuration, + type configurationKeys, type ContentSendOnlyMessageMappings, type ContentToBackgroundSendOnlyMessageMappings, type Messages, type RememberedVolumes, - type StorageChanges, - buttonNames, - type configuration, - type configurationKeys + type StorageChanges } from "@/src/types"; import { defaultConfiguration } from "@/src/utils/constants"; import { parseStoredValue, sendExtensionMessage, sendExtensionOnlyMessage } from "@/src/utils/utilities"; @@ -271,6 +271,11 @@ const storageChangeHandler = async (changes: StorageChanges, areaName: string) = automaticTheaterModeEnabled: newValue }); }, + enable_automatically_disable_closed_captions: (__oldValue, newValue) => { + sendExtensionOnlyMessage("automaticallyDisableClosedCaptionsChange", { + automaticallyDisableClosedCaptionsEnabled: newValue + }); + }, enable_copy_timestamp_url_button: (__oldValue, newValue) => { sendExtensionOnlyMessage("copyTimestampUrlButtonChange", { copyTimestampUrlButtonEnabled: newValue @@ -313,6 +318,9 @@ const storageChangeHandler = async (changes: StorageChanges, areaName: string) = hideLiveStreamChatEnabled: newValue }); }, + enable_hide_official_artist_videos_from_home_page: (__oldValue, newValue) => { + sendExtensionOnlyMessage("hideOfficialArtistVideosFromHomePageChange", { hideOfficialArtistVideosFromHomePageEnabled: newValue }); + }, enable_hide_paid_promotion_banner: (__oldValue, newValue) => { sendExtensionOnlyMessage("hidePaidPromotionBannerChange", { hidePaidPromotionBannerEnabled: newValue @@ -343,9 +351,6 @@ const storageChangeHandler = async (changes: StorageChanges, areaName: string) = maximizePlayerButtonEnabled: newValue }); }, - enable_hide_official_artist_videos_from_home_page: (__oldValue, newValue) => { - sendExtensionOnlyMessage("hideOfficialArtistVideosFromHomePageChange", { hideOfficialArtistVideosFromHomePageEnabled: newValue }); - }, enable_open_transcript_button: (__oldValue, newValue) => { sendExtensionOnlyMessage("openTranscriptButtonChange", { openTranscriptButtonEnabled: newValue @@ -397,11 +402,6 @@ const storageChangeHandler = async (changes: StorageChanges, areaName: string) = scrollWheelSpeedControlEnabled: newValue }); }, - enable_automatically_disable_closed_captions: (__oldValue, newValue) => { - sendExtensionOnlyMessage("automaticallyDisableClosedCaptionsChange", { - automaticallyDisableClosedCaptionsEnabled: newValue - }); - }, enable_scroll_wheel_volume_control: (__oldValue, newValue) => { sendExtensionOnlyMessage("scrollWheelVolumeControlChange", { scrollWheelVolumeControlEnabled: newValue diff --git a/src/pages/embedded/index.ts b/src/pages/embedded/index.ts index ec28decd..e03fdf42 100644 --- a/src/pages/embedded/index.ts +++ b/src/pages/embedded/index.ts @@ -1,6 +1,5 @@ -/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ import { deepDarkPresets } from "@/src/deepDarkPresets"; -import { type FeatureFuncRecord, featureButtonFunctions } from "@/src/features"; +import { featureButtonFunctions, type FeatureFuncRecord } from "@/src/features"; import { disableAutomaticallyDisableClosedCaptions, enableAutomaticallyDisableClosedCaptions @@ -69,20 +68,20 @@ import volumeBoost, { removeVolumeBoostButton } from "@/src/features/volumeBoost"; import { i18nService } from "@/src/i18n"; -import { type ToggleFeatures, type ToggleIcon, getFeatureIcon, toggleFeatures } from "@/src/icons"; +import { getFeatureIcon, type ToggleFeatures, toggleFeatures, type ToggleIcon } from "@/src/icons"; import { type AllButtonNames, type ButtonPlacement, type ExtensionSendOnlyMessageMappings, type FeatureToMultiButtonMap, + featureToMultiButtonsMap, type KeysOfUnion, type Messages, type MultiButtonFeatureNames, type MultiButtonNames, type SingleButtonFeatureNames, type SingleButtonNames, - type YouTubePlayerDiv, - featureToMultiButtonsMap + type YouTubePlayerDiv } from "@/src/types"; import eventManager from "@/utils/EventManager"; import { @@ -982,7 +981,6 @@ window.onbeforeunload = function () { window.addEventListener("error", (event) => { event.preventDefault(); const { - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment error: { stack: errorLine } } = event; browserColorLog(formatError(event.error) + "\nAt: " + errorLine, "FgRed"); diff --git a/src/pages/options/index.tsx b/src/pages/options/index.tsx index 1772e8f1..489e7b50 100644 --- a/src/pages/options/index.tsx +++ b/src/pages/options/index.tsx @@ -1,5 +1,5 @@ -import Options from "@/pages/options/Options"; import "@/pages/options/index.css"; +import Options from "@/pages/options/Options"; import React from "react"; import { createRoot } from "react-dom/client"; diff --git a/src/pages/popup/index.tsx b/src/pages/popup/index.tsx index e4e2ef7c..b7b563bf 100644 --- a/src/pages/popup/index.tsx +++ b/src/pages/popup/index.tsx @@ -1,6 +1,6 @@ import "@/assets/styles/tailwind.css"; -import Popup from "@/pages/popup/Popup"; import "@/pages/popup/index.css"; +import Popup from "@/pages/popup/Popup"; import React from "react"; import { createRoot } from "react-dom/client"; diff --git a/src/types/index.ts b/src/types/index.ts index 3fed8918..905050da 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -7,7 +7,7 @@ import z, { ZodType } from "zod"; import type { DeepDarkPreset } from "../deepDarkPresets"; import type { AvailableLocales } from "../i18n/constants"; // #region Utility types -export type Nullable = T | null; +export type Nullable = null | T; export type NonNullable = T extends Nullable ? Exclude : T; export type NonNullableObject = { [K in keyof T]: NonNullable }; export type AnyFunction = (...args: any[]) => void; @@ -61,7 +61,7 @@ type PathImpl = : `${Key}.${PathImpl}` | Key : Key : never; -export type Path = PathImpl | keyof T; +export type Path = keyof T | PathImpl; export type PathValue> = P extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? @@ -181,7 +181,7 @@ const featureToMultiButtonMapEntries: FeatureToMultiButtonMap = { export const featureToMultiButtonsMap = new Map( Object.keys(featureToMultiButtonMapEntries).map((key) => [ key, - // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion + Object.keys(featureToMultiButtonMapEntries[key]) as KeysOfUnion[] ]) ); @@ -353,6 +353,10 @@ export type ContentToBackgroundSendOnlyMessageMappings = { pauseBackgroundPlayers: ActionMessage<"pauseBackgroundPlayers">; }; export type ExtensionSendOnlyMessageMappings = { + automaticallyDisableClosedCaptionsChange: DataResponseMessage< + "automaticallyDisableClosedCaptionsChange", + { automaticallyDisableClosedCaptionsEnabled: boolean } + >; automaticTheaterModeChange: DataResponseMessage<"automaticTheaterModeChange", { automaticTheaterModeEnabled: boolean }>; buttonPlacementChange: DataResponseMessage<"buttonPlacementChange", ButtonPlacementChange>; copyTimestampUrlButtonChange: DataResponseMessage<"copyTimestampUrlButtonChange", { copyTimestampUrlButtonEnabled: boolean }>; @@ -369,14 +373,14 @@ export type ExtensionSendOnlyMessageMappings = { { hideEndScreenCardsButtonPlacement: ButtonPlacement; hideEndScreenCardsEnabled: boolean } >; hideLiveStreamChatChange: DataResponseMessage<"hideLiveStreamChatChange", { hideLiveStreamChatEnabled: boolean }>; - hidePaidPromotionBannerChange: DataResponseMessage<"hidePaidPromotionBannerChange", { hidePaidPromotionBannerEnabled: boolean }>; - hideScrollBarChange: DataResponseMessage<"hideScrollBarChange", { hideScrollBarEnabled: boolean }>; - hideShortsChange: DataResponseMessage<"hideShortsChange", { hideShortsEnabled: boolean }>; - hideTranslateCommentChange: DataResponseMessage<"hideTranslateCommentChange", { hideTranslateCommentEnabled: boolean }>; hideOfficialArtistVideosFromHomePageChange: DataResponseMessage< "hideOfficialArtistVideosFromHomePageChange", { hideOfficialArtistVideosFromHomePageEnabled: boolean } >; + hidePaidPromotionBannerChange: DataResponseMessage<"hidePaidPromotionBannerChange", { hidePaidPromotionBannerEnabled: boolean }>; + hideScrollBarChange: DataResponseMessage<"hideScrollBarChange", { hideScrollBarEnabled: boolean }>; + hideShortsChange: DataResponseMessage<"hideShortsChange", { hideShortsEnabled: boolean }>; + hideTranslateCommentChange: DataResponseMessage<"hideTranslateCommentChange", { hideTranslateCommentEnabled: boolean }>; languageChange: DataResponseMessage<"languageChange", { language: AvailableLocales }>; loopButtonChange: DataResponseMessage<"loopButtonChange", { loopButtonEnabled: boolean }>; maximizeButtonChange: DataResponseMessage<"maximizeButtonChange", { maximizePlayerButtonEnabled: boolean }>; @@ -410,16 +414,13 @@ export type ExtensionSendOnlyMessageMappings = { } >; skipContinueWatchingChange: DataResponseMessage<"skipContinueWatchingChange", { skipContinueWatchingEnabled: boolean }>; + timestampPeekChange: DataResponseMessage<"timestampPeekChange", { timestampPeekEnabled: boolean }>; videoHistoryChange: DataResponseMessage<"videoHistoryChange", { videoHistoryEnabled: boolean }>; volumeBoostAmountChange: DataResponseMessage< "volumeBoostAmountChange", { volumeBoostAmount: number; volumeBoostEnabled: boolean; volumeBoostMode: VolumeBoostMode } >; volumeBoostChange: DataResponseMessage<"volumeBoostChange", { volumeBoostEnabled: boolean; volumeBoostMode: VolumeBoostMode }>; - automaticallyDisableClosedCaptionsChange: DataResponseMessage< - "automaticallyDisableClosedCaptionsChange", - { automaticallyDisableClosedCaptionsEnabled: boolean } - >; }; export type FilterMessagesBySource = { [K in keyof T]: Extract; @@ -457,17 +458,17 @@ export type configuration = { deep_dark_custom_theme_colors: DeepDarkCustomThemeColors; deep_dark_preset: DeepDarkPreset; enable_automatic_theater_mode: boolean; + enable_automatically_disable_closed_captions: boolean; enable_automatically_set_quality: boolean; enable_copy_timestamp_url_button: boolean; - enable_automatically_disable_closed_captions: boolean; enable_custom_css: boolean; enable_deep_dark_theme: boolean; enable_forced_playback_speed: boolean; enable_forward_rewind_buttons: boolean; enable_hide_end_screen_cards: boolean; - enable_hide_official_artist_videos_from_home_page: boolean; enable_hide_end_screen_cards_button: boolean; enable_hide_live_stream_chat: boolean; + enable_hide_official_artist_videos_from_home_page: boolean; enable_hide_paid_promotion_banner: boolean; enable_hide_scrollbar: boolean; enable_hide_shorts: boolean; @@ -490,6 +491,7 @@ export type configuration = { enable_share_shortener: boolean; enable_shorts_auto_scroll: boolean; enable_skip_continue_watching: boolean; + enable_timestamp_peek: boolean; enable_video_history: boolean; enable_volume_boost: boolean; feature_menu_open_type: FeatureMenuOpenType; diff --git a/src/utils/EventManager.ts b/src/utils/EventManager.ts index 2091d255..7554b1a1 100644 --- a/src/utils/EventManager.ts +++ b/src/utils/EventManager.ts @@ -22,6 +22,7 @@ export type FeatureName = | "scrollWheelVolumeControl" | "shareShortener" | "shortsAutoScroll" + | "timestampPeek" | "videoHistory" | "volumeBoostButton"; type EventCallback = (event: HTMLElementEventMap[K]) => void; diff --git a/src/utils/OnScreenDisplayManager.ts b/src/utils/OnScreenDisplayManager.ts index 70bf700d..ca605fea 100644 --- a/src/utils/OnScreenDisplayManager.ts +++ b/src/utils/OnScreenDisplayManager.ts @@ -32,6 +32,12 @@ export const ensurePlayerContainerExists = (playerContainer: Nullable { + // Canvas element for the display. + protected canvas: HTMLCanvasElement; + + // Context for the canvas element. + protected context: Nullable = null; + // Default font size for the display. private readonly defaultFontSize = 48; @@ -40,12 +46,6 @@ export default class OnScreenDisplayManager { // Current value for the display. private value?: Value; - - // Canvas element for the display. - protected canvas: HTMLCanvasElement; - - // Context for the canvas element. - protected context: Nullable = null; constructor( // Options for the display. protected options: DisplayOptions, diff --git a/src/utils/checkLocalesForMissingKeys.ts b/src/utils/checkLocalesForMissingKeys.ts index a8d0aea8..c5d9f582 100644 --- a/src/utils/checkLocalesForMissingKeys.ts +++ b/src/utils/checkLocalesForMissingKeys.ts @@ -1,7 +1,7 @@ import type EnUS from "public/locales/en-US.json"; import { availableLocales } from "../i18n/constants"; -import { type LocaleFile, flattenLocaleValues, getLocaleFile } from "./plugins/utils"; +import { flattenLocaleValues, getLocaleFile, type LocaleFile } from "./plugins/utils"; function checkForMissingKeys(englishFile: LocaleFile, localeFile: LocaleFile) { const { keys: englishKeys } = flattenLocaleValues(englishFile); const { keys: localeKeys } = flattenLocaleValues(localeFile); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 1eadabc9..c37448a7 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -1,11 +1,10 @@ import { z, ZodEnum, ZodObject } from "zod"; -import type { AllButtonNames, ButtonPlacement, TypeToPartialZodSchema, configuration } from "../types"; +import type { AllButtonNames, ButtonPlacement, configuration, TypeToPartialZodSchema } from "../types"; import { deepDarkPreset } from "../deepDarkPresets"; import { availableLocales } from "../i18n/constants"; import { - PlayerQualityFallbackStrategy, buttonNames, buttonPlacements, featureMenuOpenTypes, @@ -13,6 +12,7 @@ import { onScreenDisplayColors, onScreenDisplayPositions, onScreenDisplayTypes, + PlayerQualityFallbackStrategy, playlistLengthGetMethod, playlistWatchTimeGetMethod, screenshotFormats, @@ -51,16 +51,17 @@ export const defaultConfiguration = { }, deep_dark_preset: "Deep-Dark", enable_automatic_theater_mode: false, + enable_automatically_disable_closed_captions: false, enable_automatically_set_quality: false, enable_copy_timestamp_url_button: false, enable_custom_css: false, enable_deep_dark_theme: false, - enable_hide_official_artist_videos_from_home_page: false, enable_forced_playback_speed: false, enable_forward_rewind_buttons: false, enable_hide_end_screen_cards: false, enable_hide_end_screen_cards_button: false, enable_hide_live_stream_chat: false, + enable_hide_official_artist_videos_from_home_page: false, enable_hide_paid_promotion_banner: false, enable_hide_scrollbar: false, enable_hide_shorts: false, @@ -83,6 +84,7 @@ export const defaultConfiguration = { enable_share_shortener: false, enable_shorts_auto_scroll: false, enable_skip_continue_watching: false, + enable_timestamp_peek: false, enable_video_history: false, enable_volume_boost: false, feature_menu_open_type: "hover", @@ -113,8 +115,7 @@ export const defaultConfiguration = { volume_adjustment_steps: 5, volume_boost_amount: 5, volume_boost_mode: "global", - youtube_data_api_v3_key: "", - enable_automatically_disable_closed_captions: false + youtube_data_api_v3_key: "" } satisfies configuration; export const configurationImportSchema: TypeToPartialZodSchema< configuration, @@ -146,6 +147,7 @@ export const configurationImportSchema: TypeToPartialZodSchema< .optional(), deep_dark_preset: z.enum(deepDarkPreset).optional(), enable_automatic_theater_mode: z.boolean().optional(), + enable_automatically_disable_closed_captions: z.boolean().optional(), enable_automatically_set_quality: z.boolean().optional(), enable_copy_timestamp_url_button: z.boolean().optional(), enable_custom_css: z.boolean().optional(), @@ -178,6 +180,7 @@ export const configurationImportSchema: TypeToPartialZodSchema< enable_share_shortener: z.boolean().optional(), enable_shorts_auto_scroll: z.boolean().optional(), enable_skip_continue_watching: z.boolean().optional(), + enable_timestamp_peek: z.boolean().optional(), enable_video_history: z.boolean().optional(), enable_volume_boost: z.boolean().optional(), feature_menu_open_type: z.enum(featureMenuOpenTypes).optional(), @@ -210,8 +213,7 @@ export const configurationImportSchema: TypeToPartialZodSchema< volume_adjustment_steps: z.number().min(1).max(100).optional(), volume_boost_amount: z.number().optional(), volume_boost_mode: z.enum(volumeBoostModes).optional(), - youtube_data_api_v3_key: z.string().optional(), - enable_automatically_disable_closed_captions: z.boolean().optional() + youtube_data_api_v3_key: z.string().optional() }); export const DEV_MODE = process.env.__DEV__ === "true"; export const ENABLE_SOURCE_MAP = DEV_MODE === true ? "inline" : false; diff --git a/src/utils/monaco.ts b/src/utils/monaco.ts index 640d77c7..0cb21eb3 100644 --- a/src/utils/monaco.ts +++ b/src/utils/monaco.ts @@ -8,4 +8,4 @@ import { MarkerSeverity } from "monaco-editor/esm/vs/editor/editor.api"; import * as monaco from "monaco-editor/esm/vs/editor/editor.api"; import "monaco-editor/esm/vs/language/css/cssMode"; import "monaco-editor/esm/vs/language/css/monaco.contribution"; -export { MarkerSeverity, type editor, monaco }; +export { type editor, MarkerSeverity, monaco }; diff --git a/src/utils/plugins/utils.ts b/src/utils/plugins/utils.ts index 9cde3483..a727c728 100644 --- a/src/utils/plugins/utils.ts +++ b/src/utils/plugins/utils.ts @@ -1,6 +1,6 @@ import type { AvailableLocales } from "@/src/i18n/constants"; -import { copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync } from "fs"; +import { copyFileSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync } from "fs"; import { GetInstalledBrowsers } from "get-installed-browsers"; import { join, resolve } from "path"; diff --git a/src/utils/updateAvailableLocales.ts b/src/utils/updateAvailableLocales.ts index 90a055ae..832fdbb0 100644 --- a/src/utils/updateAvailableLocales.ts +++ b/src/utils/updateAvailableLocales.ts @@ -1,4 +1,4 @@ -import { readFileSync, readdirSync, writeFileSync } from "fs"; +import { readdirSync, readFileSync, writeFileSync } from "fs"; import { i18nDir, publicDir } from "./plugins/utils"; function updateAvailableLocalesArray(code: string, updatedArray: string[]) { diff --git a/src/utils/utilities.ts b/src/utils/utilities.ts index 545a28e1..00a94647 100644 --- a/src/utils/utilities.ts +++ b/src/utils/utilities.ts @@ -6,14 +6,15 @@ import type { AllButtonNames, AnyFunction, ButtonPlacementChange, + configuration, ContentSendOnlyMessageMappings, ContentToBackgroundSendOnlyMessageMappings, DeepPartial, ExtensionSendOnlyMessageMappings, FeatureToMultiButtonMap, MessageMappings, - MessageSource, Messages, + MessageSource, MultiButtonChange, Nullable, OnScreenDisplayPosition, @@ -25,13 +26,12 @@ import type { SingleButtonChange, SingleButtonFeatureNames, SingleButtonNames, - YoutubePlayerQualityLevel, - configuration + YoutubePlayerQualityLevel } from "../types"; import type { SVGElementAttributes } from "./SVGElementAttributes"; import { buttonNameToSettingName, featureToMultiButtonsMap, youtubePlayerQualityLevels } from "../types"; -import { type FeatureName, eventManager } from "./EventManager"; +import { eventManager, type FeatureName } from "./EventManager"; export const isStrictEqual = (value1: unknown) => (value2: unknown) => value1 === value2; export const isNotStrictEqual = (value1: unknown) => (value2: unknown) => value1 !== value2; @@ -483,7 +483,7 @@ export function parseStoredValue(value: string) { if (typeof parsedValue === "boolean" || typeof parsedValue === "number" || typeof parsedValue === "object") { return parsedValue; // Return the parsed value } - } catch (error) { + } catch (_) { // If parsing or type checking fails, return the original value as a string } // If parsing or type checking fails, return the original value as a string @@ -610,7 +610,7 @@ export function createStyledElement( tagName: K, @@ -640,12 +640,6 @@ export function calculateCanvasPosition(displayPosition: OnScreenDisplayPosition let styles: Partial = {}; switch (displayPosition) { - case "top_left": - styles = { left: `${displayPadding}px`, top: `${displayPadding + paddingTop}px` }; - break; - case "top_right": - styles = { right: `${displayPadding}px`, top: `${displayPadding + paddingTop}px` }; - break; case "bottom_left": styles = { bottom: `${displayPadding + paddingBottom}px`, left: `${displayPadding}px` }; break; @@ -655,6 +649,12 @@ export function calculateCanvasPosition(displayPosition: OnScreenDisplayPosition case "center": styles = { left: "50%", top: "50%", transform: "translate(-50%, -50%)" }; break; + case "top_left": + styles = { left: `${displayPadding}px`, top: `${displayPadding + paddingTop}px` }; + break; + case "top_right": + styles = { right: `${displayPadding}px`, top: `${displayPadding + paddingTop}px` }; + break; default: console.error("Invalid display position"); break; @@ -677,7 +677,6 @@ export function getPathValue>(obj: T, path: P): PathValue); if (multiButtonFeatureNames === undefined) return; From 11bb639bf4ce6e092ed507402e8f583732536f67 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 01:11:09 +0000 Subject: [PATCH 34/83] build(deps-dev): bump typescript-eslint from 8.12.2 to 8.13.0 Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.12.2 to 8.13.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 177 ++++++++++------------------------------------ 1 file changed, 37 insertions(+), 140 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51057e9e..06ecc539 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2302,16 +2302,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.2.tgz", - "integrity": "sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", + "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/type-utils": "8.12.2", - "@typescript-eslint/utils": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/type-utils": "8.13.0", + "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2362,7 +2362,7 @@ } } }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { + "node_modules/@typescript-eslint/scope-manager": { "version": "8.13.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", @@ -2379,89 +2379,14 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.13.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz", - "integrity": "sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.2.tgz", - "integrity": "sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", + "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/utils": "8.12.2", + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/utils": "8.13.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -2479,9 +2404,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.2.tgz", - "integrity": "sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", + "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2492,13 +2417,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.2.tgz", - "integrity": "sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", + "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2520,15 +2445,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.2.tgz", - "integrity": "sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", + "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2" + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2542,12 +2467,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.2.tgz", - "integrity": "sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", + "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/types": "8.13.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -12845,39 +12770,14 @@ } }, "node_modules/typescript-eslint": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.12.2.tgz", - "integrity": "sha512-UbuVUWSrHVR03q9CWx+JDHeO6B/Hr9p4U5lRH++5tq/EbFq1faYZe50ZSBePptgfIKLEti0aPQ3hFgnPVcd8ZQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/eslint-plugin": "8.12.2", - "@typescript-eslint/parser": "8.12.2", - "@typescript-eslint/utils": "8.12.2" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", - "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.13.0.tgz", + "integrity": "sha512-vIMpDRJrQd70au2G8w34mPps0ezFSPMEX4pXkTzUkrNbRX+36ais2ksGWN0esZL+ZMaFJEneOBHzCgSqle7DHw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", - "debug": "^4.3.4" + "@typescript-eslint/eslint-plugin": "8.13.0", + "@typescript-eslint/parser": "8.13.0", + "@typescript-eslint/utils": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -12886,9 +12786,6 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true From ff0a9951f60bb3eb08e0c1afb1d41c772003ef9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 01:11:19 +0000 Subject: [PATCH 35/83] build(deps-dev): bump @types/react from 18.3.11 to 18.3.12 Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.11 to 18.3.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51057e9e..a3c9fc15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2256,9 +2256,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.3.11", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.11.tgz", - "integrity": "sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==", + "version": "18.3.12", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", + "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", "dev": true, "dependencies": { "@types/prop-types": "*", From 2c7ee82142e341a54bec5be24eb94a7ff2807772 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 01:11:26 +0000 Subject: [PATCH 36/83] build(deps-dev): bump eslint-plugin-jsx-a11y from 6.10.0 to 6.10.2 Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.10.0 to 6.10.2. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.10.0...v6.10.2) --- updated-dependencies: - dependency-name: eslint-plugin-jsx-a11y dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 131 +++++++--------------------------------------- 1 file changed, 19 insertions(+), 112 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51057e9e..9432445e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2769,12 +2769,12 @@ "dev": true }, "node_modules/aria-query": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", - "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", + "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==", "dev": true, - "dependencies": { - "deep-equal": "^2.0.5" + "engines": { + "node": ">= 0.4" } }, "node_modules/array-buffer-byte-length": { @@ -3876,38 +3876,6 @@ } } }, - "node_modules/deep-equal": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz", - "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==", - "dev": true, - "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "call-bind": "^1.0.5", - "es-get-iterator": "^1.1.3", - "get-intrinsic": "^1.2.2", - "is-arguments": "^1.1.1", - "is-array-buffer": "^3.0.2", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", @@ -4328,26 +4296,6 @@ "node": ">= 0.4" } }, - "node_modules/es-get-iterator": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", - "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "is-arguments": "^1.1.1", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.7", - "isarray": "^2.0.5", - "stop-iteration-iterator": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/es-iterator-helpers": { "version": "1.0.19", "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", @@ -4688,12 +4636,12 @@ } }, "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.0.tgz", - "integrity": "sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz", + "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==", "dev": true, "dependencies": { - "aria-query": "~5.1.3", + "aria-query": "^5.3.2", "array-includes": "^3.1.8", "array.prototype.flatmap": "^1.3.2", "ast-types-flow": "^0.0.8", @@ -4701,14 +4649,13 @@ "axobject-query": "^4.1.0", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", - "es-iterator-helpers": "^1.0.19", "hasown": "^2.0.2", "jsx-ast-utils": "^3.3.5", "language-tags": "^1.0.9", "minimatch": "^3.1.2", "object.fromentries": "^2.0.8", "safe-regex-test": "^1.0.3", - "string.prototype.includes": "^2.0.0" + "string.prototype.includes": "^2.0.1" }, "engines": { "node": ">=4.0" @@ -6031,22 +5978,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", @@ -10062,22 +9993,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz", - "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", @@ -11890,18 +11805,6 @@ "resolved": "https://registry.npmjs.org/state-local/-/state-local-1.0.7.tgz", "integrity": "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==" }, - "node_modules/stop-iteration-iterator": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", - "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", - "dev": true, - "dependencies": { - "internal-slot": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/stream-combiner2": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", @@ -12036,13 +11939,17 @@ } }, "node_modules/string.prototype.includes": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz", - "integrity": "sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", + "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", "dev": true, "dependencies": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/string.prototype.matchall": { From 130fbc9f5aa22e43bed478106edb58108e2de43f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 01:11:45 +0000 Subject: [PATCH 37/83] build(deps): bump globals from 15.11.0 to 15.12.0 Bumps [globals](https://github.com/sindresorhus/globals) from 15.11.0 to 15.12.0. - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v15.11.0...v15.12.0) --- updated-dependencies: - dependency-name: globals dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51057e9e..53165feb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5611,10 +5611,9 @@ } }, "node_modules/globals": { - "version": "15.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.11.0.tgz", - "integrity": "sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw==", - "license": "MIT", + "version": "15.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.12.0.tgz", + "integrity": "sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==", "engines": { "node": ">=18" }, From 718ea393cc2cb1f5a34f81115028f462b852af8f Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Mon, 11 Nov 2024 18:55:53 -0500 Subject: [PATCH 38/83] fix(remaining time): not appearing properly --- src/features/remainingTime/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/remainingTime/index.ts b/src/features/remainingTime/index.ts index d1b2c442..b6a9c0a0 100644 --- a/src/features/remainingTime/index.ts +++ b/src/features/remainingTime/index.ts @@ -34,7 +34,7 @@ export async function setupRemainingTime() { } = await waitForSpecificMessage("options", "request_data", "content"); // If remaining time option is disabled, return if (!enable_remaining_time) return; - const timeDisplay = document.querySelector(".ytp-time-display > span:nth-of-type(2)"); + const timeDisplay = document.querySelector(".ytp-time-display > span.ytp-time-wrapper"); if (!timeDisplay) return; // Get the player element const playerContainer = From b3a300d4bc805b349f2d91c0849c487026c6a2c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 07:51:37 +0000 Subject: [PATCH 39/83] build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.13.0 to 8.14.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.14.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 275 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 263 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index fef2be76..ad538866 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2302,16 +2302,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", - "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.14.0.tgz", + "integrity": "sha512-tqp8H7UWFaZj0yNO6bycd5YjMwxa6wIHOLZvWPkidwbgLCsBMetQoGj7DPuAlWa2yGO3H48xmPwjhsSPPCGU5w==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/type-utils": "8.13.0", - "@typescript-eslint/utils": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/type-utils": "8.14.0", + "@typescript-eslint/utils": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2334,6 +2334,103 @@ } } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", + "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.14.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/parser": { "version": "8.13.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", @@ -2380,13 +2477,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", - "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.14.0.tgz", + "integrity": "sha512-Xcz9qOtZuGusVOH5Uk07NGs39wrKkf3AxlkK79RBK6aJC1l03CobXjJbwBPSidetAOV+5rEVuiT1VSBUOAsanQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/utils": "8.14.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -2403,6 +2500,103 @@ } } }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", + "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.14.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/types": { "version": "8.13.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", @@ -12698,6 +12892,63 @@ } } }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", + "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/type-utils": "8.13.0", + "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/type-utils": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", + "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/utils": "8.13.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", From c63fdda388d27894d7ffcc6fd5b7dea9b4577ecd Mon Sep 17 00:00:00 2001 From: livingflore <63370734+livingflore@users.noreply.github.com> Date: Fri, 15 Nov 2024 23:05:46 +0500 Subject: [PATCH 40/83] chore: Update translation context screenshots --- .../Automatically_Disable_Closed_Captions.png | Bin 0 -> 2857 bytes .../Hide_Official_Artist_Videos.png | Bin 0 -> 2114 bytes .../Playlist_Length_Title.png | Bin 0 -> 12810 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 assets/translation context screenshots/Miscellaneous Settings/Automatically_Disable_Closed_Captions.png create mode 100644 assets/translation context screenshots/Miscellaneous Settings/Hide_Official_Artist_Videos.png create mode 100644 assets/translation context screenshots/Playlist Length Settings/Playlist_Length_Title.png diff --git a/assets/translation context screenshots/Miscellaneous Settings/Automatically_Disable_Closed_Captions.png b/assets/translation context screenshots/Miscellaneous Settings/Automatically_Disable_Closed_Captions.png new file mode 100644 index 0000000000000000000000000000000000000000..8c62d3ce6cd7f27dce33ba8876e0b1116460cf1e GIT binary patch literal 2857 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 Date: Fri, 15 Nov 2024 23:11:03 +0500 Subject: [PATCH 41/83] chore: move playlist length feature --- src/components/Settings/Settings.tsx | 96 ++++++++++++++-------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index 03a5f098..9c8c2a84 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -1113,6 +1113,54 @@ export default function Settings() { value={settings.forward_rewind_buttons_time} /> + + + + + + + + + +
+ + {t("settings.sections.youtubeDataApiV3Key.getApiKeyLinkText")} + +
+
@@ -1228,54 +1276,6 @@ export default function Settings() { value={settings.custom_css_code} /> - - - - - - - - - -
- - {t("settings.sections.youtubeDataApiV3Key.getApiKeyLinkText")} - -
-
Date: Mon, 18 Nov 2024 01:57:32 +0000 Subject: [PATCH 42/83] build(deps-dev): bump typescript-eslint from 8.13.0 to 8.14.0 Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.13.0 to 8.14.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.14.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 291 ++++------------------------------------------ 1 file changed, 20 insertions(+), 271 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad538866..79775343 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2334,113 +2334,16 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", - "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", - "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", - "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { + "node_modules/@typescript-eslint/parser": { "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", - "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.14.0", "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/typescript-estree": "8.14.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", - "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.14.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2460,13 +2363,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2500,24 +2403,7 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", - "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { + "node_modules/@typescript-eslint/types": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", @@ -2530,7 +2416,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { + "node_modules/@typescript-eslint/typescript-estree": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", @@ -2558,7 +2444,7 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { + "node_modules/@typescript-eslint/utils": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", @@ -2580,7 +2466,7 @@ "eslint": "^8.57.0 || ^9.0.0" } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { + "node_modules/@typescript-eslint/visitor-keys": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", @@ -2597,86 +2483,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", - "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.13.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@vitejs/plugin-react-swc": { "version": "3.7.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.1.tgz", @@ -12870,71 +12676,14 @@ } }, "node_modules/typescript-eslint": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.13.0.tgz", - "integrity": "sha512-vIMpDRJrQd70au2G8w34mPps0ezFSPMEX4pXkTzUkrNbRX+36ais2ksGWN0esZL+ZMaFJEneOBHzCgSqle7DHw==", - "dev": true, - "dependencies": { - "@typescript-eslint/eslint-plugin": "8.13.0", - "@typescript-eslint/parser": "8.13.0", - "@typescript-eslint/utils": "8.13.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", - "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/type-utils": "8.13.0", - "@typescript-eslint/utils": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/type-utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", - "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.14.0.tgz", + "integrity": "sha512-K8fBJHxVL3kxMmwByvz8hNdBJ8a0YqKzKDX6jRlrjMuNXyd5T2V02HIq37+OiWXvUUOXgOOGiSSOh26Mh8pC3w==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/utils": "8.13.0", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "@typescript-eslint/eslint-plugin": "8.14.0", + "@typescript-eslint/parser": "8.14.0", + "@typescript-eslint/utils": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From 3642b6a7ff88ea3ee49553d3267dbe3b016cb193 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 01:57:40 +0000 Subject: [PATCH 43/83] build(deps): bump i18next from 23.16.2 to 23.16.5 Bumps [i18next](https://github.com/i18next/i18next) from 23.16.2 to 23.16.5. - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next/compare/v23.16.2...v23.16.5) --- updated-dependencies: - dependency-name: i18next dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad538866..6dfbd4ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5929,9 +5929,9 @@ } }, "node_modules/i18next": { - "version": "23.16.2", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.2.tgz", - "integrity": "sha512-dFyxwLXxEQK32f6tITBMaRht25mZPJhQ0WbC0p3bO2mWBal9lABTMqSka5k+GLSRWLzeJBKDpH7BeIA9TZI7Jg==", + "version": "23.16.5", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.5.tgz", + "integrity": "sha512-KTlhE3EP9x6pPTAW7dy0WKIhoCpfOGhRQlO+jttQLgzVaoOjWwBWramu7Pp0i+8wDNduuzXfe3kkVbzrKyrbTA==", "funding": [ { "type": "individual", From 7534ea38daf7581e8060eac2da9d12e57bca7946 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 01:57:48 +0000 Subject: [PATCH 44/83] build(deps-dev): bump eslint-plugin-react from 7.37.1 to 7.37.2 Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.37.1 to 7.37.2. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 51 ++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad538866..4b1e0432 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4416,9 +4416,9 @@ } }, "node_modules/es-iterator-helpers": { - "version": "1.0.19", - "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", - "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.0.tgz", + "integrity": "sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==", "dev": true, "dependencies": { "call-bind": "^1.0.7", @@ -4428,12 +4428,13 @@ "es-set-tostringtag": "^2.0.3", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", + "globalthis": "^1.0.4", + "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.3", "has-symbols": "^1.0.3", "internal-slot": "^1.0.7", - "iterator.prototype": "^1.1.2", + "iterator.prototype": "^1.1.3", "safe-array-concat": "^1.1.2" }, "engines": { @@ -4902,9 +4903,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.37.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.1.tgz", - "integrity": "sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg==", + "version": "7.37.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.2.tgz", + "integrity": "sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==", "dev": true, "dependencies": { "array-includes": "^3.1.8", @@ -4912,7 +4913,7 @@ "array.prototype.flatmap": "^1.3.2", "array.prototype.tosorted": "^1.1.4", "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.19", + "es-iterator-helpers": "^1.1.0", "estraverse": "^5.3.0", "hasown": "^2.0.2", "jsx-ast-utils": "^2.4.1 || ^3.0.0", @@ -5688,12 +5689,13 @@ } }, "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", "dev": true, "dependencies": { - "define-properties": "^1.1.3" + "define-properties": "^1.2.1", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -6561,9 +6563,9 @@ } }, "node_modules/iterator.prototype": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", - "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.3.tgz", + "integrity": "sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ==", "dev": true, "dependencies": { "define-properties": "^1.2.1", @@ -6571,6 +6573,9 @@ "has-symbols": "^1.0.3", "reflect.getprototypeof": "^1.0.4", "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/jackspeak": { @@ -13221,13 +13226,13 @@ } }, "node_modules/which-builtin-type": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz", - "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.4.tgz", + "integrity": "sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w==", "dev": true, "dependencies": { - "function.prototype.name": "^1.1.5", - "has-tostringtag": "^1.0.0", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", "is-async-function": "^2.0.0", "is-date-object": "^1.0.5", "is-finalizationregistry": "^1.0.2", @@ -13236,8 +13241,8 @@ "is-weakref": "^1.0.2", "isarray": "^2.0.5", "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.15" }, "engines": { "node": ">= 0.4" From 889349685899aabfe0568030b99b418c66a6351e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 01:57:56 +0000 Subject: [PATCH 45/83] build(deps-dev): bump eslint-plugin-no-secrets from 1.0.2 to 1.1.2 Bumps [eslint-plugin-no-secrets](https://github.com/nickdeis/eslint-plugin-no-secrets) from 1.0.2 to 1.1.2. - [Changelog](https://github.com/nickdeis/eslint-plugin-no-secrets/blob/master/CHANGELOG.md) - [Commits](https://github.com/nickdeis/eslint-plugin-no-secrets/commits) --- updated-dependencies: - dependency-name: eslint-plugin-no-secrets dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad538866..3c8788c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4806,9 +4806,9 @@ } }, "node_modules/eslint-plugin-no-secrets": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-no-secrets/-/eslint-plugin-no-secrets-1.0.2.tgz", - "integrity": "sha512-lXjGcPS6ZMxAouYWsuX5NGsLlOWQ5c+YFHHZFECzRCZIssYQgWVPINgZqAU7caquB32MoEAL+dXRQNDBX0fgwQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-secrets/-/eslint-plugin-no-secrets-1.1.2.tgz", + "integrity": "sha512-FjgyBaEkQK6hrdKf0V1TnKbY3dxXmw8S7tjfHs/BMIgFGNYhzFccxbZSJtDCPHTQTSiBtdLwRlOmSF81toII4w==", "dev": true, "engines": { "node": ">=10.0.0", From 7a931f79e041a7bd1ad91e061737122dbd7e8336 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 01:58:08 +0000 Subject: [PATCH 46/83] build(deps-dev): bump vite from 5.4.10 to 5.4.11 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.10 to 5.4.11. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.11/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.11/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad538866..2ef40ed9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13119,9 +13119,9 @@ } }, "node_modules/vite": { - "version": "5.4.10", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz", - "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", + "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", From 48dc23fdd42e9874aadb876734b73fb786ec8e37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 01:53:34 +0000 Subject: [PATCH 47/83] build(deps-dev): bump eslint from 9.13.0 to 9.15.0 Bumps [eslint](https://github.com/eslint/eslint) from 9.13.0 to 9.15.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.13.0...v9.15.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 167 +++++++++++++++++++++------------------------- 1 file changed, 77 insertions(+), 90 deletions(-) diff --git a/package-lock.json b/package-lock.json index c047f9c1..1e6dce9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -620,9 +620,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -646,9 +646,9 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", - "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.0.tgz", + "integrity": "sha512-zdHg2FPIFNKPdcHWtiNT+jEFCHYVplAXRDlQDyqy0zGx/q2parwh7brGJSiTxRk/TSMkbM//zt/f5CHgyTyaSQ==", "dev": true, "dependencies": { "@eslint/object-schema": "^2.1.4", @@ -682,18 +682,18 @@ } }, "node_modules/@eslint/core": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.7.0.tgz", - "integrity": "sha512-xp5Jirz5DyPYlPiKat8jaq0EmYvDXKKpzTbxXMpT9eqlRJkRKIz9AGMdlvYjih+im+QlhWrpvVjl8IPC/lHlUw==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.9.0.tgz", + "integrity": "sha512-7ATR9F0e4W85D/0w7cU0SNj7qkAexMG+bAHEZOjo9akvGuhHE2m7umzWzfnpa0XAg5Kxc1BWmtPMV67jJ+9VUg==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@eslint/eslintrc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", - "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -728,7 +728,6 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=18" }, @@ -749,9 +748,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.14.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.14.0.tgz", - "integrity": "sha512-pFoEtFWCPyDOl+C6Ift+wC7Ro89otjigCf5vcuWqWgqNSQbRrpjSvdeE6ofLz4dHmyxD5f7gIdGT4+p36L6Twg==", + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.15.0.tgz", + "integrity": "sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -767,11 +766,10 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz", - "integrity": "sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.3.tgz", + "integrity": "sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==", "dev": true, - "license": "Apache-2.0", "dependencies": { "levn": "^0.4.1" }, @@ -785,29 +783,40 @@ "integrity": "sha512-SwPWfeRa5veb1hOIBMdzI+73te5puUBHmqqaF1Bu7FjvxlYSz/kJcZKSa9Cg60zL0uRNeJL2SbRxV6Jp6Q1nFQ==" }, "node_modules/@humanfs/core": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.0.tgz", - "integrity": "sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==", + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", "dev": true, - "license": "Apache-2.0", "engines": { "node": ">=18.18.0" } }, "node_modules/@humanfs/node": { - "version": "0.16.5", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.5.tgz", - "integrity": "sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg==", + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", "dev": true, - "license": "Apache-2.0", "dependencies": { - "@humanfs/core": "^0.19.0", + "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.3.0" }, "engines": { "node": ">=18.18.0" } }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", @@ -822,11 +831,10 @@ } }, "node_modules/@humanwhocodes/retry": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", - "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", "dev": true, - "license": "Apache-2.0", "engines": { "node": ">=18.18" }, @@ -2514,9 +2522,9 @@ } }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "devOptional": true, "bin": { "acorn": "bin/acorn" @@ -3653,9 +3661,9 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -4358,31 +4366,31 @@ } }, "node_modules/eslint": { - "version": "9.13.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.13.0.tgz", - "integrity": "sha512-EYZK6SX6zjFHST/HRytOdA/zE72Cq/bfw45LSyuwrdvcclb/gqV8RRQxywOBEWO2+WDpva6UZa4CcDeJKzUCFA==", + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.15.0.tgz", + "integrity": "sha512-7CrWySmIibCgT1Os28lUU6upBshZ+GxybLOrmRzi08kS8MBuO8QA7pXEgYgY5W8vK3e74xv0lpjo9DbaGU9Rkw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.11.0", - "@eslint/config-array": "^0.18.0", - "@eslint/core": "^0.7.0", - "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "9.13.0", - "@eslint/plugin-kit": "^0.2.0", - "@humanfs/node": "^0.16.5", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.9.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.15.0", + "@eslint/plugin-kit": "^0.2.3", + "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@humanwhocodes/retry": "^0.3.1", + "@humanwhocodes/retry": "^0.4.1", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "cross-spawn": "^7.0.5", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^8.1.0", - "eslint-visitor-keys": "^4.1.0", - "espree": "^10.2.0", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -4396,8 +4404,7 @@ "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "text-table": "^0.2.0" + "optionator": "^0.9.3" }, "bin": { "eslint": "bin/eslint.js" @@ -4830,11 +4837,10 @@ } }, "node_modules/eslint-scope": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.1.0.tgz", - "integrity": "sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -4858,15 +4864,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/js": { - "version": "9.13.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz", - "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -4878,11 +4875,10 @@ } }, "node_modules/eslint/node_modules/eslint-visitor-keys": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz", - "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -4903,15 +4899,14 @@ } }, "node_modules/espree": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-10.2.0.tgz", - "integrity": "sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.12.0", + "acorn": "^8.14.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.1.0" + "eslint-visitor-keys": "^4.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4921,11 +4916,10 @@ } }, "node_modules/espree/node_modules/eslint-visitor-keys": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz", - "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -4950,7 +4944,6 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -12309,12 +12302,6 @@ "optional": true, "peer": true }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, "node_modules/thenify": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", From 9d6efc500aa064b5f14e586f8dc4d009c37f173d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 01:53:43 +0000 Subject: [PATCH 48/83] build(deps-dev): bump typescript from 5.6.3 to 5.7.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.3 to 5.7.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c047f9c1..68c80187 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,7 +70,7 @@ "tailwindcss": "^3.3.6", "ts-json-as-const": "^1.0.7", "ts-node": "^10.9.1", - "typescript": "5.6", + "typescript": "5.7", "typescript-eslint": "^8.8.1", "vite": "^5.4.8", "zod": "^3.22.4", @@ -12668,9 +12668,9 @@ } }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index afbec063..c1ada364 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "tailwindcss": "^3.3.6", "ts-json-as-const": "^1.0.7", "ts-node": "^10.9.1", - "typescript": "5.6", + "typescript": "5.7", "typescript-eslint": "^8.8.1", "vite": "^5.4.8", "zod": "^3.22.4", From 189424624e322cb8feba3fe3b5479ec74997fd9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 01:53:52 +0000 Subject: [PATCH 49/83] build(deps-dev): bump @eslint/js from 9.14.0 to 9.15.0 Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.14.0 to 9.15.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.15.0/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c047f9c1..963a6576 100644 --- a/package-lock.json +++ b/package-lock.json @@ -749,9 +749,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.14.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.14.0.tgz", - "integrity": "sha512-pFoEtFWCPyDOl+C6Ift+wC7Ro89otjigCf5vcuWqWgqNSQbRrpjSvdeE6ofLz4dHmyxD5f7gIdGT4+p36L6Twg==", + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.15.0.tgz", + "integrity": "sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From 3490404b8a41b0dc37e3765e3cdf67ae4be4b448 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:36:21 +0000 Subject: [PATCH 50/83] build(deps): bump i18next from 23.16.5 to 24.0.2 Bumps [i18next](https://github.com/i18next/i18next) from 23.16.5 to 24.0.2. - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next/compare/v23.16.5...v24.0.2) --- updated-dependencies: - dependency-name: i18next dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 19 ++++++++++++++----- package.json | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c09b4a6..754ddd31 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", - "i18next": "^23.7.3", + "i18next": "^24.0.2", "monaco-editor": "^0.52.0", "react": "^18.2.0", "react-colorful": "^5.6.1", @@ -5730,9 +5730,9 @@ } }, "node_modules/i18next": { - "version": "23.16.5", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.5.tgz", - "integrity": "sha512-KTlhE3EP9x6pPTAW7dy0WKIhoCpfOGhRQlO+jttQLgzVaoOjWwBWramu7Pp0i+8wDNduuzXfe3kkVbzrKyrbTA==", + "version": "24.0.2", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-24.0.2.tgz", + "integrity": "sha512-D88xyIGcWAKwBTAs4RSqASi8NXR/NhCVSTM4LDbdoU8qb/5dcEZjNCLDhtQBB7Epw/Cp1w2vH/3ujoTbqLSs5g==", "funding": [ { "type": "individual", @@ -5747,8 +5747,17 @@ "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" } ], + "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.2" + }, + "peerDependencies": { + "typescript": "^5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/ieee754": { @@ -12658,7 +12667,7 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", - "dev": true, + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index c1ada364..256c3590 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", - "i18next": "^23.7.3", + "i18next": "^24.0.2", "monaco-editor": "^0.52.0", "react": "^18.2.0", "react-colorful": "^5.6.1", From 8c77abadf73fea0d928dd3846642cbb55dd7535b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:36:28 +0000 Subject: [PATCH 51/83] build(deps-dev): bump typescript-eslint from 8.14.0 to 8.16.0 Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.14.0 to 8.16.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.16.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 131 +++++++++++++++++++++++++++++----------------- 1 file changed, 82 insertions(+), 49 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c09b4a6..9834cc51 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2310,16 +2310,17 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.14.0.tgz", - "integrity": "sha512-tqp8H7UWFaZj0yNO6bycd5YjMwxa6wIHOLZvWPkidwbgLCsBMetQoGj7DPuAlWa2yGO3H48xmPwjhsSPPCGU5w==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.16.0.tgz", + "integrity": "sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.14.0", - "@typescript-eslint/type-utils": "8.14.0", - "@typescript-eslint/utils": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/type-utils": "8.16.0", + "@typescript-eslint/utils": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2343,15 +2344,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", - "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.16.0.tgz", + "integrity": "sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.14.0", - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/typescript-estree": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4" }, "engines": { @@ -2371,13 +2373,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", - "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.16.0.tgz", + "integrity": "sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0" + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2388,13 +2391,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.14.0.tgz", - "integrity": "sha512-Xcz9qOtZuGusVOH5Uk07NGs39wrKkf3AxlkK79RBK6aJC1l03CobXjJbwBPSidetAOV+5rEVuiT1VSBUOAsanQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.16.0.tgz", + "integrity": "sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.14.0", - "@typescript-eslint/utils": "8.14.0", + "@typescript-eslint/typescript-estree": "8.16.0", + "@typescript-eslint/utils": "8.16.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -2405,6 +2409,9 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -2412,10 +2419,11 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", - "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.16.0.tgz", + "integrity": "sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -2425,13 +2433,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", - "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.16.0.tgz", + "integrity": "sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/visitor-keys": "8.14.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/visitor-keys": "8.16.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2453,15 +2462,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", - "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.16.0.tgz", + "integrity": "sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.14.0", - "@typescript-eslint/types": "8.14.0", - "@typescript-eslint/typescript-estree": "8.14.0" + "@typescript-eslint/scope-manager": "8.16.0", + "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/typescript-estree": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2472,16 +2482,22 @@ }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", - "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.16.0.tgz", + "integrity": "sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.14.0", - "eslint-visitor-keys": "^3.4.3" + "@typescript-eslint/types": "8.16.0", + "eslint-visitor-keys": "^4.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2491,6 +2507,19 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@vitejs/plugin-react-swc": { "version": "3.7.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.1.tgz", @@ -12668,14 +12697,15 @@ } }, "node_modules/typescript-eslint": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.14.0.tgz", - "integrity": "sha512-K8fBJHxVL3kxMmwByvz8hNdBJ8a0YqKzKDX6jRlrjMuNXyd5T2V02HIq37+OiWXvUUOXgOOGiSSOh26Mh8pC3w==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.16.0.tgz", + "integrity": "sha512-wDkVmlY6O2do4V+lZd0GtRfbtXbeD0q9WygwXXSJnC1xorE8eqyC2L1tJimqpSeFrOzRlYtWnUp/uzgHQOgfBQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.14.0", - "@typescript-eslint/parser": "8.14.0", - "@typescript-eslint/utils": "8.14.0" + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "@typescript-eslint/utils": "8.16.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -12684,6 +12714,9 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, "peerDependenciesMeta": { "typescript": { "optional": true From 36c1dd9ed1797f6e7328818b6bdf1768e9f33af5 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Thu, 28 Nov 2024 01:03:47 -0500 Subject: [PATCH 52/83] chore: fix linting --- .../Settings/components/Setting.tsx | 16 +- src/features/buttonPlacement/index.ts | 16 +- src/features/buttonPlacement/utils.ts | 10 +- src/features/loopButton/index.ts | 12 +- src/pages/content/index.ts | 60 +- src/pages/embedded/index.ts | 784 +++++++++--------- src/utils/OnScreenDisplayManager.ts | 86 +- 7 files changed, 492 insertions(+), 492 deletions(-) diff --git a/src/components/Settings/components/Setting.tsx b/src/components/Settings/components/Setting.tsx index 9e601951..f5b61911 100644 --- a/src/components/Settings/components/Setting.tsx +++ b/src/components/Settings/components/Setting.tsx @@ -33,6 +33,14 @@ function SettingInput(settingProps: SettingInputProp const { checked, className, id, label, onChange, title } = settingProps; return ; } + case "color-picker": { + const { className, disabled, id, label, onChange, title, value } = settingProps; + return ; + } + case "css-editor": { + const { className, id, onChange, value } = settingProps; + return ; + } case "number": { const { className, disabled, id, label, max, min, onChange, step, value } = settingProps; return ( @@ -69,14 +77,6 @@ function SettingInput(settingProps: SettingInputProp const { initialValue, max, min, onChange, step } = settingProps; return ; } - case "css-editor": { - const { className, id, onChange, value } = settingProps; - return ; - } - case "color-picker": { - const { className, disabled, id, label, onChange, title, value } = settingProps; - return ; - } case "text-input": { const { className, id, input_type, label, onChange, title, value } = settingProps; return ; diff --git a/src/features/buttonPlacement/index.ts b/src/features/buttonPlacement/index.ts index b4310278..84ee6ac6 100644 --- a/src/features/buttonPlacement/index.ts +++ b/src/features/buttonPlacement/index.ts @@ -17,10 +17,6 @@ export async function addFeatureButton(buttonName: Name, placement?: ButtonPlacement) { @@ -45,10 +45,6 @@ export async function removeFeatureButton(buttonNam } = await waitForSpecificMessage("options", "request_data", "content")); } switch (placement) { - case "feature_menu": { - removeFeatureItemFromMenu(buttonName); - break; - } case "below_player": case "player_controls_left": case "player_controls_right": { @@ -60,5 +56,9 @@ export async function removeFeatureButton(buttonNam removeTooltip(`yte-feature-${featureName}-tooltip`); break; } + case "feature_menu": { + removeFeatureItemFromMenu(buttonName); + break; + } } } diff --git a/src/features/buttonPlacement/utils.ts b/src/features/buttonPlacement/utils.ts index eb54f89d..ab452987 100644 --- a/src/features/buttonPlacement/utils.ts +++ b/src/features/buttonPlacement/utils.ts @@ -149,6 +149,11 @@ export function checkIfFeatureButtonExists(buttonName: AllButtonNames, placement if (!buttonContainer) return false; return buttonContainer.querySelector(`#${getFeatureButtonId(buttonName)}`) !== null; } + case "feature_menu": { + const featureMenu = document.querySelector("#yte-feature-menu"); + if (!featureMenu) return false; + return featureMenu.querySelector(`#${getFeatureIds(buttonName).featureMenuItemId}`) !== null; + } case "player_controls_left": { const leftControls = document.querySelector(".ytp-left-controls"); if (!leftControls) return false; @@ -159,11 +164,6 @@ export function checkIfFeatureButtonExists(buttonName: AllButtonNames, placement if (!rightControls) return false; return rightControls.querySelector(`#${getFeatureButtonId(buttonName)}`) !== null; } - case "feature_menu": { - const featureMenu = document.querySelector("#yte-feature-menu"); - if (!featureMenu) return false; - return featureMenu.querySelector(`#${getFeatureIds(buttonName).featureMenuItemId}`) !== null; - } } } export function getFeatureButtonId(buttonName: AllButtonNames) { diff --git a/src/features/loopButton/index.ts b/src/features/loopButton/index.ts index 9a03efe3..f44ea1b2 100644 --- a/src/features/loopButton/index.ts +++ b/src/features/loopButton/index.ts @@ -60,12 +60,6 @@ export const addLoopButton: AddButtonFunction = async () => { const button = document.querySelector(`#${getFeatureButtonId(featureName)}`); if (!button) return; switch (loopButtonPlacement) { - case "feature_menu": { - if (loopSVG instanceof SVGSVGElement) { - button.firstChild?.replaceWith(loopSVG); - } - break; - } case "below_player": case "player_controls_left": case "player_controls_right": { @@ -74,6 +68,12 @@ export const addLoopButton: AddButtonFunction = async () => { } break; } + case "feature_menu": { + if (loopSVG instanceof SVGSVGElement) { + button.firstChild?.replaceWith(loopSVG); + } + break; + } } } } diff --git a/src/pages/content/index.ts b/src/pages/content/index.ts index ebb4b414..f99a730e 100644 --- a/src/pages/content/index.ts +++ b/src/pages/content/index.ts @@ -80,6 +80,23 @@ document.addEventListener("yte-message-from-youtube", () => { } case "request_data": { switch (message.type) { + case "extensionURL": { + void sendExtensionMessage("extensionURL", "data_response", { + extensionURL: chrome.runtime.getURL("") + }); + break; + } + case "language": { + const language = await new Promise((resolve) => { + chrome.storage.local.get("language", (o) => { + resolve(o.language as AvailableLocales); + }); + }); + void sendExtensionMessage("language", "data_response", { + language + }); + break; + } case "options": { /** * Retrieves the options from the local storage and sends them back to the youtube page. @@ -99,16 +116,6 @@ document.addEventListener("yte-message-from-youtube", () => { void sendExtensionMessage("options", "data_response", { options }); break; } - case "videoHistoryOne": { - const { data } = message; - if (!data) return; - const { id } = data; - const videoHistory = getVideoHistory(); - void sendExtensionMessage("videoHistoryOne", "data_response", { - video_history_entry: videoHistory[id] - }); - break; - } case "videoHistoryAll": { const videoHistory = getVideoHistory(); void sendExtensionMessage("videoHistoryAll", "data_response", { @@ -116,20 +123,13 @@ document.addEventListener("yte-message-from-youtube", () => { }); break; } - case "extensionURL": { - void sendExtensionMessage("extensionURL", "data_response", { - extensionURL: chrome.runtime.getURL("") - }); - break; - } - case "language": { - const language = await new Promise((resolve) => { - chrome.storage.local.get("language", (o) => { - resolve(o.language as AvailableLocales); - }); - }); - void sendExtensionMessage("language", "data_response", { - language + case "videoHistoryOne": { + const { data } = message; + if (!data) return; + const { id } = data; + const videoHistory = getVideoHistory(); + void sendExtensionMessage("videoHistoryOne", "data_response", { + video_history_entry: videoHistory[id] }); break; } @@ -138,12 +138,6 @@ document.addEventListener("yte-message-from-youtube", () => { } case "send_data": { switch (message.type) { - case "setRememberedVolume": { - const { remembered_volumes: existingRememberedVolumeStringified } = await chrome.storage.local.get("remembered_volumes"); - const existingRememberedVolumes = parseStoredValue(existingRememberedVolumeStringified as string) as RememberedVolumes; - void chrome.storage.local.set({ remembered_volumes: JSON.stringify({ ...existingRememberedVolumes, ...message.data }) }); - break; - } case "pageLoaded": { chrome.storage.onChanged.addListener(storageListeners); window.onunload = () => { @@ -151,6 +145,12 @@ document.addEventListener("yte-message-from-youtube", () => { }; break; } + case "setRememberedVolume": { + const { remembered_volumes: existingRememberedVolumeStringified } = await chrome.storage.local.get("remembered_volumes"); + const existingRememberedVolumes = parseStoredValue(existingRememberedVolumeStringified as string) as RememberedVolumes; + void chrome.storage.local.set({ remembered_volumes: JSON.stringify({ ...existingRememberedVolumes, ...message.data }) }); + break; + } case "videoHistoryOne": { const { data } = message; if (!data) return; diff --git a/src/pages/embedded/index.ts b/src/pages/embedded/index.ts index e03fdf42..28a599ab 100644 --- a/src/pages/embedded/index.ts +++ b/src/pages/embedded/index.ts @@ -199,33 +199,33 @@ const enableFeatures = () => { const buttonName = featureToMultiButtonsMap.get(multiButtonFeatureName)?.at(-1); if (!buttonName) continue; switch (multiButtonFeatureName) { - case "playbackSpeedButtons": { + case "forwardRewindButtons": { switch (button_placements[buttonName]) { case "below_player": - case "player_controls_left": - case "feature_menu": { - await addDecreasePlaybackSpeedButton().then(addIncreasePlaybackSpeedButton); + case "feature_menu": + case "player_controls_left": { + await addRewindButton().then(addForwardButton); break; } // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order case "player_controls_right": { - await addIncreasePlaybackSpeedButton().then(addDecreasePlaybackSpeedButton); + await addForwardButton().then(addRewindButton); break; } } break; } - case "forwardRewindButtons": { + case "playbackSpeedButtons": { switch (button_placements[buttonName]) { case "below_player": - case "player_controls_left": - case "feature_menu": { - await addRewindButton().then(addForwardButton); + case "feature_menu": + case "player_controls_left": { + await addDecreasePlaybackSpeedButton().then(addIncreasePlaybackSpeedButton); break; } // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order case "player_controls_right": { - await addForwardButton().then(addRewindButton); + await addIncreasePlaybackSpeedButton().then(addDecreasePlaybackSpeedButton); break; } } @@ -299,117 +299,194 @@ window.addEventListener("DOMContentLoaded", function () { } if (!message) return; switch (message.type) { - case "hideOfficialArtistVideosFromHomePageChange": { + case "automaticallyDisableClosedCaptionsChange": { const { - data: { hideOfficialArtistVideosFromHomePageEnabled } + data: { automaticallyDisableClosedCaptionsEnabled } } = message; - if (hideOfficialArtistVideosFromHomePageEnabled) { - await enableHideOfficialArtistVideosFromHomePage(); + if (automaticallyDisableClosedCaptionsEnabled) { + await enableAutomaticallyDisableClosedCaptions(); } else { - disableHideOfficialArtistVideosFromHomePage(); + await disableAutomaticallyDisableClosedCaptions(); } break; } - case "playlistLengthChange": { + case "automaticTheaterModeChange": { + // Get the player element + const playerContainer = + isWatchPage() ? + document.querySelector( + isNewYouTubeVideoLayout() ? "div#player-container.ytd-watch-grid" : "div#player-container.ytd-watch-flexy" + ) + : isShortsPage() ? document.querySelector("div#shorts-player") + : null; + // If player element is not available, return + if (!playerContainer) return; + // Get the size button + const sizeButton = document.querySelector("button.ytp-size-button"); + // If the size button is not available return + if (!sizeButton) return; + sizeButton.click(); + break; + } + case "buttonPlacementChange": { + const { data } = message; + const { multiButtonChanges, singleButtonChanges } = groupButtonChanges(data); + for (const [featureName, changes] of Object.entries(multiButtonChanges)) { + switch (featureName) { + case "forwardRewindButtons": { + for (const [buttonName, { new: newPlacement, old: oldPlacement }] of Object.entries(changes)) { + if (oldPlacement === newPlacement) continue; + const rewindButtonFuncs = getFeatureFunctions("rewindButton", oldPlacement); + const forwardButtonFuncs = getFeatureFunctions("forwardButton", oldPlacement); + switch (buttonName) { + case "forwardButton": + case "rewindButton": { + await forwardButtonFuncs.remove(); + await rewindButtonFuncs.remove(); + switch (newPlacement) { + case "below_player": + case "feature_menu": + case "player_controls_left": { + await rewindButtonFuncs.add().then(forwardButtonFuncs.add); + break; + } + // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order + case "player_controls_right": { + await forwardButtonFuncs.add().then(rewindButtonFuncs.add); + break; + } + } + } + } + } + break; + } + case "playbackSpeedButtons": { + for (const [buttonName, { new: newPlacement, old: oldPlacement }] of Object.entries(changes)) { + if (oldPlacement === newPlacement) continue; + const increasePlaybackSpeedButtonFuncs = getFeatureFunctions("increasePlaybackSpeedButton", oldPlacement); + const decreasePlaybackSpeedButtonFuncs = getFeatureFunctions("decreasePlaybackSpeedButton", oldPlacement); + await decreasePlaybackSpeedButtonFuncs.remove(); + await increasePlaybackSpeedButtonFuncs.remove(); + switch (buttonName) { + case "decreasePlaybackSpeedButton": + case "increasePlaybackSpeedButton": { + switch (newPlacement) { + case "below_player": + case "feature_menu": + case "player_controls_left": { + await decreasePlaybackSpeedButtonFuncs.add().then(increasePlaybackSpeedButtonFuncs.add); + break; + } + // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order + case "player_controls_right": { + await increasePlaybackSpeedButtonFuncs.add().then(decreasePlaybackSpeedButtonFuncs.add); + break; + } + } + } + } + } + } + } + } + for (const [featureName, { new: newPlacement, old: oldPlacement }] of Object.entries(singleButtonChanges)) { + if (oldPlacement === newPlacement) continue; + const featureFuncs = getFeatureFunctions(featureName, oldPlacement); + await featureFuncs.remove(); + await featureFuncs.add(); + } + break; + } + case "copyTimestampUrlButtonChange": { const { - data: { playlistLengthEnabled } + data: { copyTimestampUrlButtonEnabled } } = message; - if (playlistLengthEnabled) { - await enablePlaylistLength(); + if (copyTimestampUrlButtonEnabled) { + await addCopyTimestampUrlButton(); } else { - disablePlaylistLength(); + await removeCopyTimestampUrlButton(); } break; } - case "playlistLengthGetMethodChange": - case "playlistWatchTimeGetMethodChange": { - disablePlaylistLength(); - await enablePlaylistLength(); - break; - } - case "volumeBoostChange": { + case "customCSSChange": { const { - data: { volumeBoostEnabled, volumeBoostMode } + data: { customCSSCode, customCSSEnabled } } = message; - if (volumeBoostEnabled) { - if (volumeBoostMode === "global") { - await removeVolumeBoostButton(); - await enableVolumeBoost(); + if (customCSSEnabled) { + if (customCSSExists()) { + updateCustomCSS({ custom_css_code: customCSSCode }); } else { - disableVolumeBoost(); - await addVolumeBoostButton(); + await enableCustomCSS(); } } else { - disableVolumeBoost(); - if (volumeBoostMode === "per_video") { - await removeVolumeBoostButton(); - } + disableCustomCSS(); } break; } - case "volumeBoostAmountChange": { + case "deepDarkThemeChange": { const { - data: { volumeBoostAmount, volumeBoostEnabled, volumeBoostMode } + data: { deepDarkCustomThemeColors, deepDarkPreset, deepDarkThemeEnabled } } = message; - switch (volumeBoostMode) { - case "global": { - if (!volumeBoostEnabled) return; - applyVolumeBoost(volumeBoostAmount); - break; - } - case "per_video": { - const volumeBoostButton = getFeatureMenuItem("volumeBoostButton") ?? getFeatureButton("volumeBoostButton"); - if (!volumeBoostButton) return; - const volumeBoostForVideoEnabled = volumeBoostButton.ariaChecked === "true"; - if (volumeBoostForVideoEnabled) applyVolumeBoost(volumeBoostAmount); + if (deepDarkThemeEnabled) { + if (deepDarkCSSExists()) { + updateDeepDarkCSS( + deepDarkPreset === "Custom" ? getDeepDarkCustomThemeStyle(deepDarkCustomThemeColors) : deepDarkPresets[deepDarkPreset] + ); + } else { + await enableDeepDarkCSS(); } + } else { + disableDeepDarkCSS(); } break; } - case "playerSpeedChange": { + case "featureMenuOpenTypeChange": { const { - data: { enableForcedPlaybackSpeed, playerSpeed } + data: { featureMenuOpenType } + } = message; + setupFeatureMenuEventListeners(featureMenuOpenType); + break; + } + case "forwardRewindButtonsChange": { + const { + data: { forwardRewindButtonsEnabled } } = message; const { data: { - options: { playback_buttons_speed: playbackSpeedPerClick } + options: { + button_placements: { forwardButton: forwardButtonPlacement } + } } } = await waitForSpecificMessage("options", "request_data", "content"); - if (enableForcedPlaybackSpeed && playerSpeed) { - await updatePlaybackSpeedButtonTooltip( - "increasePlaybackSpeedButton", - calculatePlaybackButtonSpeed(playerSpeed, playbackSpeedPerClick, "increase") - ); - await updatePlaybackSpeedButtonTooltip( - "decreasePlaybackSpeedButton", - calculatePlaybackButtonSpeed(playerSpeed, playbackSpeedPerClick, "decrease") - ); - await setPlayerSpeed(Number(playerSpeed)); - } else if (!enableForcedPlaybackSpeed) { - restorePlayerSpeed(); - const videoElement = document.querySelector("video"); - if (!videoElement) return; - const { playbackRate: currentSpeed } = videoElement; - await updatePlaybackSpeedButtonTooltip( - "increasePlaybackSpeedButton", - calculatePlaybackButtonSpeed(currentSpeed, playbackSpeedPerClick, "increase") - ); - await updatePlaybackSpeedButtonTooltip( - "decreasePlaybackSpeedButton", - calculatePlaybackButtonSpeed(currentSpeed, playbackSpeedPerClick, "decrease") - ); + await removeForwardButton(); + await removeRewindButton(); + if (forwardRewindButtonsEnabled) { + switch (forwardButtonPlacement) { + case "below_player": + case "feature_menu": + case "player_controls_left": { + await addRewindButton().then(addForwardButton); + break; + } + // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order + case "player_controls_right": { + await addForwardButton().then(addRewindButton); + break; + } + } + } else { + await removeRewindButton(); + await removeForwardButton(); } break; } - case "screenshotButtonChange": { + case "hideEndScreenCardsButtonChange": { const { - data: { screenshotButtonEnabled } + data: { hideEndScreenCardsButtonEnabled } } = message; - if (screenshotButtonEnabled) { - await addScreenshotButton(); - } else { - await removeScreenshotButton(); - } + if (hideEndScreenCardsButtonEnabled) await addHideEndScreenCardsButton(); + else await removeHideEndScreenCardsButton(); break; } case "hideEndScreenCardsChange": { @@ -444,179 +521,39 @@ window.addEventListener("DOMContentLoaded", function () { } break; } - case "maximizeButtonChange": { + case "hideLiveStreamChatChange": { const { - data: { maximizePlayerButtonEnabled } + data: { hideLiveStreamChatEnabled } } = message; - if (maximizePlayerButtonEnabled) { - await addMaximizePlayerButton(); + if (hideLiveStreamChatEnabled) { + await enableHideLiveStreamChat(); } else { - await removeMaximizePlayerButton(); - const maximizePlayerButton = document.querySelector("video.html5-main-video"); - if (!maximizePlayerButton) return; - // Get the video element - const videoElement = document.querySelector("video.html5-main-video"); - // If video element is not available, return - if (!videoElement) return; - const videoContainer = document.querySelector("video.html5-main-video"); - if (!videoContainer) return; - if (videoContainer.classList.contains("maximized_video_container") && videoElement.classList.contains("maximized_video")) { - maximizePlayer(); - } + await disableHideLiveStreamChat(); } break; } - case "videoHistoryChange": { + case "hideOfficialArtistVideosFromHomePageChange": { const { - data: { videoHistoryEnabled } + data: { hideOfficialArtistVideosFromHomePageEnabled } } = message; - if (videoHistoryEnabled) { - await setupVideoHistory(); - } else { - eventManager.removeEventListeners("videoHistory"); - } - break; - } - case "remainingTimeChange": { - const { - data: { remainingTimeEnabled } - } = message; - if (remainingTimeEnabled) { - await enableRemainingTime(); - } else { - removeRemainingTimeDisplay(); - } - break; - } - case "loopButtonChange": { - const { - data: { loopButtonEnabled } - } = message; - if (loopButtonEnabled) { - await addLoopButton(); - } else { - await removeLoopButton(); - } - break; - } - case "copyTimestampUrlButtonChange": { - const { - data: { copyTimestampUrlButtonEnabled } - } = message; - if (copyTimestampUrlButtonEnabled) { - await addCopyTimestampUrlButton(); - } else { - await removeCopyTimestampUrlButton(); - } - break; - } - case "forwardRewindButtonsChange": { - const { - data: { forwardRewindButtonsEnabled } - } = message; - const { - data: { - options: { - button_placements: { forwardButton: forwardButtonPlacement } - } - } - } = await waitForSpecificMessage("options", "request_data", "content"); - await removeForwardButton(); - await removeRewindButton(); - if (forwardRewindButtonsEnabled) { - switch (forwardButtonPlacement) { - case "below_player": - case "player_controls_left": - case "feature_menu": { - await addRewindButton().then(addForwardButton); - break; - } - // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order - case "player_controls_right": { - await addForwardButton().then(addRewindButton); - break; - } - } - } else { - await removeRewindButton(); - await removeForwardButton(); - } - break; - } - case "playbackSpeedButtonsChange": { - const { - data: { playbackSpeedButtonsEnabled } - } = message; - const { - data: { - options: { - button_placements: { decreasePlaybackSpeedButton: decreasePlaybackSpeedButtonPlacement } - } - } - } = await waitForSpecificMessage("options", "request_data", "content"); - if (playbackSpeedButtonsEnabled) { - await removeDecreasePlaybackSpeedButton(); - await removeIncreasePlaybackSpeedButton(); - switch (decreasePlaybackSpeedButtonPlacement) { - case "below_player": - case "player_controls_left": - case "feature_menu": { - await addDecreasePlaybackSpeedButton().then(addIncreasePlaybackSpeedButton); - break; - } - // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order - case "player_controls_right": { - await addIncreasePlaybackSpeedButton().then(addDecreasePlaybackSpeedButton); - break; - } - } - } else { - await removeDecreasePlaybackSpeedButton(); - await removeIncreasePlaybackSpeedButton(); - } - break; - } - case "scrollWheelVolumeControlChange": { - const { - data: { scrollWheelVolumeControlEnabled } - } = message; - if (scrollWheelVolumeControlEnabled) { - await adjustVolumeOnScrollWheel(); - } else { - eventManager.removeEventListeners("scrollWheelVolumeControl"); - } - break; - } - case "scrollWheelSpeedControlChange": { - const { - data: { scrollWheelSpeedControlEnabled } - } = message; - if (scrollWheelSpeedControlEnabled) { - await adjustSpeedOnScrollWheel(); + if (hideOfficialArtistVideosFromHomePageEnabled) { + await enableHideOfficialArtistVideosFromHomePage(); } else { - eventManager.removeEventListeners("scrollWheelSpeedControl"); + disableHideOfficialArtistVideosFromHomePage(); } break; } - case "rememberVolumeChange": { + case "hidePaidPromotionBannerChange": { const { - data: { rememberVolumeEnabled } + data: { hidePaidPromotionBannerEnabled } } = message; - if (rememberVolumeEnabled) { - await enableRememberVolume(); + if (hidePaidPromotionBannerEnabled) { + await enableHidePaidPromotionBanner(); } else { - eventManager.removeEventListeners("rememberVolume"); + disableHidePaidPromotionBanner(); } break; } - case "hideTranslateCommentChange": { - const { - data: { hideTranslateCommentEnabled } - } = message; - if (hideTranslateCommentEnabled) await enableHideTranslateComment(); - else await disableHideTranslateComment(); - break; - } case "hideScrollBarChange": { const scrollBarHidden = document.getElementById("yte-hide-scroll-bar") !== null; const { @@ -644,34 +581,12 @@ window.addEventListener("DOMContentLoaded", function () { } break; } - case "hideEndScreenCardsButtonChange": { - const { - data: { hideEndScreenCardsButtonEnabled } - } = message; - if (hideEndScreenCardsButtonEnabled) await addHideEndScreenCardsButton(); - else await removeHideEndScreenCardsButton(); - break; - } - case "automaticallyDisableClosedCaptionsChange": { - const { - data: { automaticallyDisableClosedCaptionsEnabled } - } = message; - if (automaticallyDisableClosedCaptionsEnabled) { - await enableAutomaticallyDisableClosedCaptions(); - } else { - await disableAutomaticallyDisableClosedCaptions(); - } - break; - } - case "hideLiveStreamChatChange": { + case "hideTranslateCommentChange": { const { - data: { hideLiveStreamChatEnabled } + data: { hideTranslateCommentEnabled } } = message; - if (hideLiveStreamChatEnabled) { - await enableHideLiveStreamChat(); - } else { - await disableHideLiveStreamChat(); - } + if (hideTranslateCommentEnabled) await enableHideTranslateComment(); + else await disableHideTranslateComment(); break; } case "languageChange": { @@ -752,29 +667,37 @@ window.addEventListener("DOMContentLoaded", function () { } break; } - case "automaticTheaterModeChange": { - // Get the player element - const playerContainer = - isWatchPage() ? - document.querySelector( - isNewYouTubeVideoLayout() ? "div#player-container.ytd-watch-grid" : "div#player-container.ytd-watch-flexy" - ) - : isShortsPage() ? document.querySelector("div#shorts-player") - : null; - // If player element is not available, return - if (!playerContainer) return; - // Get the size button - const sizeButton = document.querySelector("button.ytp-size-button"); - // If the size button is not available return - if (!sizeButton) return; - sizeButton.click(); + case "loopButtonChange": { + const { + data: { loopButtonEnabled } + } = message; + if (loopButtonEnabled) { + await addLoopButton(); + } else { + await removeLoopButton(); + } break; } - case "featureMenuOpenTypeChange": { + case "maximizeButtonChange": { const { - data: { featureMenuOpenType } + data: { maximizePlayerButtonEnabled } } = message; - setupFeatureMenuEventListeners(featureMenuOpenType); + if (maximizePlayerButtonEnabled) { + await addMaximizePlayerButton(); + } else { + await removeMaximizePlayerButton(); + const maximizePlayerButton = document.querySelector("video.html5-main-video"); + if (!maximizePlayerButton) return; + // Get the video element + const videoElement = document.querySelector("video.html5-main-video"); + // If video element is not available, return + if (!videoElement) return; + const videoContainer = document.querySelector("video.html5-main-video"); + if (!videoContainer) return; + if (videoContainer.classList.contains("maximized_video_container") && videoElement.classList.contains("maximized_video")) { + maximizePlayer(); + } + } break; } case "openTranscriptButtonChange": { @@ -799,6 +722,124 @@ window.addEventListener("DOMContentLoaded", function () { } break; } + case "pauseBackgroundPlayersChange": { + const { + data: { pauseBackgroundPlayersEnabled } + } = message; + if (pauseBackgroundPlayersEnabled) { + await enablePauseBackgroundPlayers(); + } else { + disablePauseBackgroundPlayers(); + } + break; + } + case "playbackSpeedButtonsChange": { + const { + data: { playbackSpeedButtonsEnabled } + } = message; + const { + data: { + options: { + button_placements: { decreasePlaybackSpeedButton: decreasePlaybackSpeedButtonPlacement } + } + } + } = await waitForSpecificMessage("options", "request_data", "content"); + if (playbackSpeedButtonsEnabled) { + await removeDecreasePlaybackSpeedButton(); + await removeIncreasePlaybackSpeedButton(); + switch (decreasePlaybackSpeedButtonPlacement) { + case "below_player": + case "feature_menu": + case "player_controls_left": { + await addDecreasePlaybackSpeedButton().then(addIncreasePlaybackSpeedButton); + break; + } + // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order + case "player_controls_right": { + await addIncreasePlaybackSpeedButton().then(addDecreasePlaybackSpeedButton); + break; + } + } + } else { + await removeDecreasePlaybackSpeedButton(); + await removeIncreasePlaybackSpeedButton(); + } + break; + } + case "playerSpeedChange": { + const { + data: { enableForcedPlaybackSpeed, playerSpeed } + } = message; + const { + data: { + options: { playback_buttons_speed: playbackSpeedPerClick } + } + } = await waitForSpecificMessage("options", "request_data", "content"); + if (enableForcedPlaybackSpeed && playerSpeed) { + await updatePlaybackSpeedButtonTooltip( + "increasePlaybackSpeedButton", + calculatePlaybackButtonSpeed(playerSpeed, playbackSpeedPerClick, "increase") + ); + await updatePlaybackSpeedButtonTooltip( + "decreasePlaybackSpeedButton", + calculatePlaybackButtonSpeed(playerSpeed, playbackSpeedPerClick, "decrease") + ); + await setPlayerSpeed(Number(playerSpeed)); + } else if (!enableForcedPlaybackSpeed) { + restorePlayerSpeed(); + const videoElement = document.querySelector("video"); + if (!videoElement) return; + const { playbackRate: currentSpeed } = videoElement; + await updatePlaybackSpeedButtonTooltip( + "increasePlaybackSpeedButton", + calculatePlaybackButtonSpeed(currentSpeed, playbackSpeedPerClick, "increase") + ); + await updatePlaybackSpeedButtonTooltip( + "decreasePlaybackSpeedButton", + calculatePlaybackButtonSpeed(currentSpeed, playbackSpeedPerClick, "decrease") + ); + } + break; + } + case "playlistLengthChange": { + const { + data: { playlistLengthEnabled } + } = message; + if (playlistLengthEnabled) { + await enablePlaylistLength(); + } else { + disablePlaylistLength(); + } + break; + } + case "playlistLengthGetMethodChange": + case "playlistWatchTimeGetMethodChange": { + disablePlaylistLength(); + await enablePlaylistLength(); + break; + } + case "remainingTimeChange": { + const { + data: { remainingTimeEnabled } + } = message; + if (remainingTimeEnabled) { + await enableRemainingTime(); + } else { + removeRemainingTimeDisplay(); + } + break; + } + case "rememberVolumeChange": { + const { + data: { rememberVolumeEnabled } + } = message; + if (rememberVolumeEnabled) { + await enableRememberVolume(); + } else { + eventManager.removeEventListeners("rememberVolume"); + } + break; + } case "removeRedirectChange": { const { data: { removeRedirectEnabled } @@ -808,14 +849,36 @@ window.addEventListener("DOMContentLoaded", function () { } break; } - case "pauseBackgroundPlayersChange": { + case "screenshotButtonChange": { const { - data: { pauseBackgroundPlayersEnabled } + data: { screenshotButtonEnabled } } = message; - if (pauseBackgroundPlayersEnabled) { - await enablePauseBackgroundPlayers(); + if (screenshotButtonEnabled) { + await addScreenshotButton(); } else { - disablePauseBackgroundPlayers(); + await removeScreenshotButton(); + } + break; + } + case "scrollWheelSpeedControlChange": { + const { + data: { scrollWheelSpeedControlEnabled } + } = message; + if (scrollWheelSpeedControlEnabled) { + await adjustSpeedOnScrollWheel(); + } else { + eventManager.removeEventListeners("scrollWheelSpeedControl"); + } + break; + } + case "scrollWheelVolumeControlChange": { + const { + data: { scrollWheelVolumeControlEnabled } + } = message; + if (scrollWheelVolumeControlEnabled) { + await adjustVolumeOnScrollWheel(); + } else { + eventManager.removeEventListeners("scrollWheelVolumeControl"); } break; } @@ -830,6 +893,17 @@ window.addEventListener("DOMContentLoaded", function () { } break; } + case "shortsAutoScrollChange": { + const { + data: { shortsAutoScrollEnabled } + } = message; + if (shortsAutoScrollEnabled) { + await enableShortsAutoScroll(); + } else { + disableShortsAutoScroll(); + } + break; + } case "skipContinueWatchingChange": { const { data: { skipContinueWatchingEnabled } @@ -839,128 +913,54 @@ window.addEventListener("DOMContentLoaded", function () { } break; } - case "hidePaidPromotionBannerChange": { + case "videoHistoryChange": { const { - data: { hidePaidPromotionBannerEnabled } + data: { videoHistoryEnabled } } = message; - if (hidePaidPromotionBannerEnabled) { - await enableHidePaidPromotionBanner(); + if (videoHistoryEnabled) { + await setupVideoHistory(); } else { - disableHidePaidPromotionBanner(); + eventManager.removeEventListeners("videoHistory"); } break; } - case "deepDarkThemeChange": { + case "volumeBoostAmountChange": { const { - data: { deepDarkCustomThemeColors, deepDarkPreset, deepDarkThemeEnabled } + data: { volumeBoostAmount, volumeBoostEnabled, volumeBoostMode } } = message; - if (deepDarkThemeEnabled) { - if (deepDarkCSSExists()) { - updateDeepDarkCSS( - deepDarkPreset === "Custom" ? getDeepDarkCustomThemeStyle(deepDarkCustomThemeColors) : deepDarkPresets[deepDarkPreset] - ); - } else { - await enableDeepDarkCSS(); + switch (volumeBoostMode) { + case "global": { + if (!volumeBoostEnabled) return; + applyVolumeBoost(volumeBoostAmount); + break; + } + case "per_video": { + const volumeBoostButton = getFeatureMenuItem("volumeBoostButton") ?? getFeatureButton("volumeBoostButton"); + if (!volumeBoostButton) return; + const volumeBoostForVideoEnabled = volumeBoostButton.ariaChecked === "true"; + if (volumeBoostForVideoEnabled) applyVolumeBoost(volumeBoostAmount); } - } else { - disableDeepDarkCSS(); } break; } - case "customCSSChange": { + case "volumeBoostChange": { const { - data: { customCSSCode, customCSSEnabled } + data: { volumeBoostEnabled, volumeBoostMode } } = message; - if (customCSSEnabled) { - if (customCSSExists()) { - updateCustomCSS({ custom_css_code: customCSSCode }); + if (volumeBoostEnabled) { + if (volumeBoostMode === "global") { + await removeVolumeBoostButton(); + await enableVolumeBoost(); } else { - await enableCustomCSS(); + disableVolumeBoost(); + await addVolumeBoostButton(); } } else { - disableCustomCSS(); - } - break; - } - case "buttonPlacementChange": { - const { data } = message; - const { multiButtonChanges, singleButtonChanges } = groupButtonChanges(data); - for (const [featureName, changes] of Object.entries(multiButtonChanges)) { - switch (featureName) { - case "playbackSpeedButtons": { - for (const [buttonName, { new: newPlacement, old: oldPlacement }] of Object.entries(changes)) { - if (oldPlacement === newPlacement) continue; - const increasePlaybackSpeedButtonFuncs = getFeatureFunctions("increasePlaybackSpeedButton", oldPlacement); - const decreasePlaybackSpeedButtonFuncs = getFeatureFunctions("decreasePlaybackSpeedButton", oldPlacement); - await decreasePlaybackSpeedButtonFuncs.remove(); - await increasePlaybackSpeedButtonFuncs.remove(); - switch (buttonName) { - case "increasePlaybackSpeedButton": - case "decreasePlaybackSpeedButton": { - switch (newPlacement) { - case "below_player": - case "player_controls_left": - case "feature_menu": { - await decreasePlaybackSpeedButtonFuncs.add().then(increasePlaybackSpeedButtonFuncs.add); - break; - } - // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order - case "player_controls_right": { - await increasePlaybackSpeedButtonFuncs.add().then(decreasePlaybackSpeedButtonFuncs.add); - break; - } - } - } - } - } - break; - } - case "forwardRewindButtons": { - for (const [buttonName, { new: newPlacement, old: oldPlacement }] of Object.entries(changes)) { - if (oldPlacement === newPlacement) continue; - const rewindButtonFuncs = getFeatureFunctions("rewindButton", oldPlacement); - const forwardButtonFuncs = getFeatureFunctions("forwardButton", oldPlacement); - switch (buttonName) { - case "forwardButton": - case "rewindButton": { - await forwardButtonFuncs.remove(); - await rewindButtonFuncs.remove(); - switch (newPlacement) { - case "below_player": - case "player_controls_left": - case "feature_menu": { - await rewindButtonFuncs.add().then(forwardButtonFuncs.add); - break; - } - // Because of how the right controls are placed in the DOM, we need to add the buttons in reverse order - case "player_controls_right": { - await forwardButtonFuncs.add().then(rewindButtonFuncs.add); - break; - } - } - } - } - } - } + disableVolumeBoost(); + if (volumeBoostMode === "per_video") { + await removeVolumeBoostButton(); } } - for (const [featureName, { new: newPlacement, old: oldPlacement }] of Object.entries(singleButtonChanges)) { - if (oldPlacement === newPlacement) continue; - const featureFuncs = getFeatureFunctions(featureName, oldPlacement); - await featureFuncs.remove(); - await featureFuncs.add(); - } - break; - } - case "shortsAutoScrollChange": { - const { - data: { shortsAutoScrollEnabled } - } = message; - if (shortsAutoScrollEnabled) { - await enableShortsAutoScroll(); - } else { - disableShortsAutoScroll(); - } break; } default: { diff --git a/src/utils/OnScreenDisplayManager.ts b/src/utils/OnScreenDisplayManager.ts index ca605fea..f8591700 100644 --- a/src/utils/OnScreenDisplayManager.ts +++ b/src/utils/OnScreenDisplayManager.ts @@ -126,33 +126,29 @@ export default class OnScreenDisplayManager { } = this; switch (displayType) { - case "text": { - // Draw text on the canvas. - let text: string = ""; - switch (type) { - case "speed": { - text = `${value.toFixed(2)}x`; - break; - } - case "volume": { - text = `${value}%`; - break; - } - } - this.setFont(); - const { width } = this.context.measureText(text); - this.canvas.width = width; - this.canvas.height = fontSize; + case "circle": { + // Draw a circle shape on the canvas. + const lineWidth = 5; + const radius = 75 / 2 - lineWidth; + const circleWidth = radius * 2 + lineWidth * 2; + this.canvas.width = circleWidth; + this.canvas.height = circleWidth; this.clearCanvas(); - // Add a shadow effect around the text. + const centerX = this.canvas.width / 2; + const centerY = this.canvas.height / 2; + const startAngle = Math.PI + Math.PI * round(value / max, 2); + const endAngle = Math.PI - Math.PI * round(value / max, 2); + // Add a shadow effect around the circle. this.context.shadowColor = "black"; this.context.shadowBlur = 10; this.context.shadowOffsetX = 0; this.context.shadowOffsetY = 0; - this.context.globalAlpha = displayOpacity / 100; - this.context.fillStyle = displayColor; - this.setFont(); - this.context.fillText(text, this.canvas.width / 2, this.canvas.height / 2); + this.context.strokeStyle = displayColor; + this.context.lineWidth = lineWidth; + this.context.lineCap = "butt"; + this.context.beginPath(); + this.context.arc(centerX, centerY, radius, startAngle, endAngle, true); + this.context.stroke(); break; } case "line": { @@ -174,34 +170,38 @@ export default class OnScreenDisplayManager { this.context.fillRect(lineX, lineY, lineWidth, lineHeight); break; } - case "circle": { - // Draw a circle shape on the canvas. - const lineWidth = 5; - const radius = 75 / 2 - lineWidth; - const circleWidth = radius * 2 + lineWidth * 2; - this.canvas.width = circleWidth; - this.canvas.height = circleWidth; + case "no_display": + // Do nothing for no_display type. + break; + case "text": { + // Draw text on the canvas. + let text: string = ""; + switch (type) { + case "speed": { + text = `${value.toFixed(2)}x`; + break; + } + case "volume": { + text = `${value}%`; + break; + } + } + this.setFont(); + const { width } = this.context.measureText(text); + this.canvas.width = width; + this.canvas.height = fontSize; this.clearCanvas(); - const centerX = this.canvas.width / 2; - const centerY = this.canvas.height / 2; - const startAngle = Math.PI + Math.PI * round(value / max, 2); - const endAngle = Math.PI - Math.PI * round(value / max, 2); - // Add a shadow effect around the circle. + // Add a shadow effect around the text. this.context.shadowColor = "black"; this.context.shadowBlur = 10; this.context.shadowOffsetX = 0; this.context.shadowOffsetY = 0; - this.context.strokeStyle = displayColor; - this.context.lineWidth = lineWidth; - this.context.lineCap = "butt"; - this.context.beginPath(); - this.context.arc(centerX, centerY, radius, startAngle, endAngle, true); - this.context.stroke(); + this.context.globalAlpha = displayOpacity / 100; + this.context.fillStyle = displayColor; + this.setFont(); + this.context.fillText(text, this.canvas.width / 2, this.canvas.height / 2); break; } - case "no_display": - // Do nothing for no_display type. - break; default: this.handleError("Invalid display type"); } From 4d2f2a772ab4fde3ba137381dfcbbb113c5bedd0 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Fri, 29 Nov 2024 17:03:40 -0500 Subject: [PATCH 53/83] fix(playlist length): Not enabling on playlist page Add support for no padding and cinematic header --- src/features/playlistLength/index.ts | 24 ++++++++++++++++++++-- src/features/playlistLength/utils.ts | 30 +++++++++++++++++++++------- 2 files changed, 45 insertions(+), 9 deletions(-) diff --git a/src/features/playlistLength/index.ts b/src/features/playlistLength/index.ts index 8a805e37..12421ef1 100644 --- a/src/features/playlistLength/index.ts +++ b/src/features/playlistLength/index.ts @@ -4,7 +4,7 @@ import { YouTube_Enhancer_Public_Youtube_Data_API_V3_Key } from "@/src/utils/con import eventManager from "@/src/utils/EventManager"; import { isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; -import { headerSelector, initializePlaylistLength, playlistItemsSelector } from "./utils"; +import { getHeaderSelectors, initializePlaylistLength, playlistItemsSelector } from "./utils"; let documentObserver: Nullable = null; export async function enablePlaylistLength() { const IsWatchPage = isWatchPage(); @@ -21,7 +21,8 @@ export async function enablePlaylistLength() { if (!enable_playlist_length) return; const urlContainsListParameter = window.location.href.includes("list="); if (!urlContainsListParameter) return; - await waitForAllElements([headerSelector(), playlistItemsSelector()]); + const { playlist, watch } = getHeaderSelectors(); + await waitForAllElements([isWatchPage() ? watch : playlist(), playlistItemsSelector()]); const apiKey = youtube_data_api_v3_key === "" ? YouTube_Enhancer_Public_Youtube_Data_API_V3_Key : youtube_data_api_v3_key; const pageType = IsWatchPage ? "watch" : "playlist"; try { @@ -41,6 +42,25 @@ export async function enablePlaylistLength() { playlistWatchTimeGetMethod }); } + window.addEventListener("resize", async () => { + try { + documentObserver = await initializePlaylistLength({ + apiKey, + pageType, + playlistLengthGetMethod, + playlistWatchTimeGetMethod + }); + } catch (_error) { + documentObserver?.disconnect(); + documentObserver = null; + documentObserver = await initializePlaylistLength({ + apiKey, + pageType, + playlistLengthGetMethod: "html", + playlistWatchTimeGetMethod + }); + } + }); } export function disablePlaylistLength() { eventManager.removeEventListeners("playlistLength"); diff --git a/src/features/playlistLength/utils.ts b/src/features/playlistLength/utils.ts index 530a352f..28f0a224 100644 --- a/src/features/playlistLength/utils.ts +++ b/src/features/playlistLength/utils.ts @@ -13,11 +13,25 @@ import { } from "@/src/utils/utilities"; import { z } from "zod"; -export const headerSelector = () => - isWatchPage() ? - isNewYouTubeVideoLayout() ? "#page-manager > ytd-watch-grid #playlist #header-contents" +export const getHeaderSelectors = (): { playlist: () => string; watch: string } => ({ + playlist: () => { + const noPaddingHeader = document.querySelector( + "yt-page-header-renderer yt-page-header-view-model.page-header-view-model-wiz.page-header-view-model-wiz--no-padding" + ); + const cinematicHeader = document.querySelector( + "yt-page-header-renderer yt-page-header-view-model.page-header-view-model-wiz.page-header-view-model-wiz--cinematic-container-overflow-boundary" + ); + if (noPaddingHeader && noPaddingHeader.clientWidth > 0) + return "yt-page-header-renderer yt-page-header-view-model.page-header-view-model-wiz.page-header-view-model-wiz--no-padding div.page-header-view-model-wiz__page-header-content"; + if (cinematicHeader && cinematicHeader.clientWidth > 0) + return "yt-page-header-renderer yt-page-header-view-model.page-header-view-model-wiz.page-header-view-model-wiz--cinematic-container-overflow-boundary div.page-header-view-model-wiz__page-header-content"; + return "yt-page-header-renderer yt-page-header-view-model.page-header-view-model-wiz.page-header-view-model-wiz--no-padding div.page-header-view-model-wiz__page-header-content"; + }, + watch: + isNewYouTubeVideoLayout() ? + "#page-manager > ytd-watch-grid #playlist #header-contents" : "#page-manager > ytd-watch-flexy #playlist #header-contents" - : "ytd-playlist-header-renderer div.immersive-header-container div.immersive-header-content"; +}); export const playlistItemsSelector = () => isWatchPage() ? "ytd-playlist-panel-renderer:not([hidden]) div#container div#items" : "ytd-playlist-video-list-renderer div#contents"; const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); @@ -254,8 +268,9 @@ export function createPlaylistLengthUIElement( }; } export async function appendPlaylistLengthUIElement(playlistLengthUIElement: HTMLDivElement) { - await waitForAllElements([headerSelector()]); - const headerContents = document.querySelector(headerSelector()); + const { playlist, watch } = getHeaderSelectors(); + await waitForAllElements([isWatchPage() ? watch : playlist()]); + const headerContents = document.querySelector(isWatchPage() ? watch : playlist()); if (!headerContents) return null; if (document.querySelector("#yte-playlist-length-ui") !== null) { document.querySelector("#yte-playlist-length-ui")?.remove(); @@ -339,7 +354,8 @@ export async function initializePlaylistLength({ playlistLengthGetMethod, playlistWatchTimeGetMethod }: PlaylistLengthParameters): Promise> { - const playlistHeader = document.querySelector(headerSelector()); + const { playlist, watch } = getHeaderSelectors(); + const playlistHeader = document.querySelector(isWatchPage() ? watch : playlist()); if (!playlistHeader) return null; let { totalTimeSeconds, watchedTimeSeconds } = await getDataForPlaylistLengthUIElement({ apiKey, From 4131f6709fa2082c1d63b9b21d61fc6186541cbc Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Fri, 29 Nov 2024 17:12:45 -0500 Subject: [PATCH 54/83] fix: saving on every stroke, not restoring cursor position on save --- src/components/Inputs/TextInput/TextInput.tsx | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/components/Inputs/TextInput/TextInput.tsx b/src/components/Inputs/TextInput/TextInput.tsx index 7e533a50..05aa0c00 100644 --- a/src/components/Inputs/TextInput/TextInput.tsx +++ b/src/components/Inputs/TextInput/TextInput.tsx @@ -1,8 +1,8 @@ import type { Nullable } from "@/src/types"; import type { ChangeEvent } from "react"; -import { cn, debounce } from "@/src/utils/utilities"; -import React, { useCallback, useRef, useState } from "react"; +import { cn } from "@/src/utils/utilities"; +import React, { useRef, useState } from "react"; import { IoMdEye, IoMdEyeOff } from "react-icons/io"; export type TextInputProps = { @@ -17,12 +17,21 @@ export type TextInputProps = { const TextInput: React.FC = ({ className, id, input_type, label, onChange, title, value }) => { const [showPassword, setShowPassword] = useState(false); - const debouncedOnChange = useCallback(debounce(onChange, 300), []); const inputRef = useRef>(null); + const handleInputChange = (event: ChangeEvent) => { + const { currentTarget: input } = event; + const { selectionStart: cursorPosition } = input; + onChange(event); + // Restore cursor position after re-render + requestAnimationFrame(() => { + if (inputRef.current && cursorPosition !== null) { + inputRef.current.setSelectionRange(cursorPosition, cursorPosition); + } + }); + }; const handleInputWrapperClick = () => { inputRef.current?.focus(); }; - // FIXME: cursor not being restored to position it was in when value is saved return (
@@ -44,9 +53,7 @@ const TextInput: React.FC = ({ className, id, input_type, label, { - debouncedOnChange({ currentTarget: { value } }); - }} + onChange={handleInputChange} ref={inputRef} type={showPassword && input_type === "password" ? "text" : input_type} value={value} From 359d739d00fb71a453bf0496404cdd2593ecf3c8 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 22:21:57 +0000 Subject: [PATCH 55/83] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 16fa12e9..5ad2e228 100755 --- a/README.md +++ b/README.md @@ -312,6 +312,7 @@ Contributions to the YouTube Enhancer Extension are welcome! If you'd like to co Mabra51
Mabra51

🤔 Eduardo Aznar
Eduardo Aznar

🌍 💻 pyrix
pyrix

🤔 🎨 + CaiCheng-Li
CaiCheng-Li

🐛 From f6136799d307a3c3c111757381864c0abf5e8286 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 22:21:58 +0000 Subject: [PATCH 56/83] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index a1167b73..7d16fe87 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -194,6 +194,15 @@ "ideas", "design" ] + }, + { + "login": "CaiCheng-Li", + "name": "CaiCheng-Li", + "avatar_url": "https://avatars.githubusercontent.com/u/150627108?v=4", + "profile": "https://github.com/CaiCheng-Li", + "contributions": [ + "bug" + ] } ] } From cd18786bae5526ae9a951eb9953ccda83e3e2fd4 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 22:29:58 +0000 Subject: [PATCH 57/83] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 16fa12e9..53513ef2 100755 --- a/README.md +++ b/README.md @@ -312,6 +312,7 @@ Contributions to the YouTube Enhancer Extension are welcome! If you'd like to co Mabra51
Mabra51

🤔 Eduardo Aznar
Eduardo Aznar

🌍 💻 pyrix
pyrix

🤔 🎨 + Lexiosity
Lexiosity

🐛 From b2529ae69e9f08f502aa7fafa4ae6645dab6ed25 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 22:29:59 +0000 Subject: [PATCH 58/83] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index a1167b73..1103f3fc 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -194,6 +194,15 @@ "ideas", "design" ] + }, + { + "login": "Lexiosity", + "name": "Lexiosity", + "avatar_url": "https://avatars.githubusercontent.com/u/121247693?v=4", + "profile": "https://sites.google.com/u/0/d/1OdIAWachs1svsjOS4lT9jqwlE632B6rP", + "contributions": [ + "bug" + ] } ] } From 0d3d133d25066ac510afe3ab6856e16a1773b2e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:41:07 +0000 Subject: [PATCH 59/83] build(deps-dev): bump postcss from 8.4.47 to 8.4.49 Bumps [postcss](https://github.com/postcss/postcss) from 8.4.47 to 8.4.49. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.47...8.4.49) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index f703c002..93c19e20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10284,9 +10284,10 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", @@ -10399,9 +10400,9 @@ } }, "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "funding": [ { "type": "opencollective", @@ -10416,9 +10417,10 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, "engines": { From f1f0bd2b9e20acd8a56bc8a7b2eb31878ab8dc63 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:41:18 +0000 Subject: [PATCH 60/83] build(deps-dev): bump @vitejs/plugin-react-swc from 3.7.1 to 3.7.2 Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.7.1 to 3.7.2. - [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.7.1...v3.7.2) --- updated-dependencies: - dependency-name: "@vitejs/plugin-react-swc" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f703c002..8a2351c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2521,15 +2521,16 @@ } }, "node_modules/@vitejs/plugin-react-swc": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.1.tgz", - "integrity": "sha512-vgWOY0i1EROUK0Ctg1hwhtC3SdcDjZcdit4Ups4aPkDcB1jYhmo+RMYWY87cmXMhvtD5uf8lV89j2w16vkdSVg==", + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.2.tgz", + "integrity": "sha512-y0byko2b2tSVVf5Gpng1eEhX1OvPC7x8yns1Fx8jDzlJp4LS6CMkCPfLw47cjyoMrshQDoQw4qcgjsU9VvlCew==", "dev": true, + "license": "MIT", "dependencies": { "@swc/core": "^1.7.26" }, "peerDependencies": { - "vite": "^4 || ^5" + "vite": "^4 || ^5 || ^6" } }, "node_modules/abbrev": { From 74e2ac95507ca349f6c170e04b1b8aa6330119da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:41:26 +0000 Subject: [PATCH 61/83] build(deps): bump @rollup/rollup-linux-x64-gnu from 4.24.0 to 4.28.0 Bumps [@rollup/rollup-linux-x64-gnu](https://github.com/rollup/rollup) from 4.24.0 to 4.28.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v4.24.0...v4.28.0) --- updated-dependencies: - dependency-name: "@rollup/rollup-linux-x64-gnu" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f703c002..349bdbab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@formkit/auto-animate": "^0.8.1", "@monaco-editor/react": "^4.6.0", + "@rollup/rollup-linux-x64-gnu": "^4.14.3", "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", @@ -1345,12 +1346,13 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", - "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", + "version": "4.28.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.0.tgz", + "integrity": "sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -11049,6 +11051,19 @@ "fsevents": "~2.3.2" } }, + "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", From 753cc17b9004121f8f8287f5065a695890c2e9a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:41:33 +0000 Subject: [PATCH 62/83] build(deps): bump globals from 15.12.0 to 15.13.0 Bumps [globals](https://github.com/sindresorhus/globals) from 15.12.0 to 15.13.0. - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v15.12.0...v15.13.0) --- updated-dependencies: - dependency-name: globals dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f703c002..f15d0c60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5506,9 +5506,10 @@ } }, "node_modules/globals": { - "version": "15.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.12.0.tgz", - "integrity": "sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==", + "version": "15.13.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.13.0.tgz", + "integrity": "sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g==", + "license": "MIT", "engines": { "node": ">=18" }, From 146469f2c4ad4782ba8fa43ace63d854950c4d50 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:41:43 +0000 Subject: [PATCH 63/83] build(deps-dev): bump eslint-plugin-perfectionist from 3.9.1 to 4.1.2 Bumps [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist) from 3.9.1 to 4.1.2. - [Release notes](https://github.com/azat-io/eslint-plugin-perfectionist/releases) - [Changelog](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/changelog.md) - [Commits](https://github.com/azat-io/eslint-plugin-perfectionist/compare/v3.9.1...v4.1.2) --- updated-dependencies: - dependency-name: eslint-plugin-perfectionist dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 50 +++++++++++++++++------------------------------ package.json | 2 +- 2 files changed, 19 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index f703c002..f631f0f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-no-secrets": "^1.0.2", - "eslint-plugin-perfectionist": "^3.8.0", + "eslint-plugin-perfectionist": "^4.1.2", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-react": "^7.33.2", @@ -4662,39 +4662,21 @@ } }, "node_modules/eslint-plugin-perfectionist": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-3.9.1.tgz", - "integrity": "sha512-9WRzf6XaAxF4Oi5t/3TqKP5zUjERhasHmLFHin2Yw6ZAp/EP/EVA2dr3BhQrrHWCm5SzTMZf0FcjDnBkO2xFkA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-4.1.2.tgz", + "integrity": "sha512-YjXPWB/rKe/gPUsyuxw75wTUrzN5MuJnRV0PH9NoonFvgcdVIXk551mkBKPr59nRZCbu7S3dFHwfo4gA42DB2w==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "^8.9.0", - "@typescript-eslint/utils": "^8.9.0", - "minimatch": "^9.0.5", - "natural-compare-lite": "^1.4.0" + "@typescript-eslint/types": "^8.16.0", + "@typescript-eslint/utils": "^8.16.0", + "natural-orderby": "^5.0.0" }, "engines": { "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { - "astro-eslint-parser": "^1.0.2", - "eslint": ">=8.0.0", - "svelte": ">=3.0.0", - "svelte-eslint-parser": "^0.41.1", - "vue-eslint-parser": ">=9.0.0" - }, - "peerDependenciesMeta": { - "astro-eslint-parser": { - "optional": true - }, - "svelte": { - "optional": true - }, - "svelte-eslint-parser": { - "optional": true - }, - "vue-eslint-parser": { - "optional": true - } + "eslint": ">=8.0.0" } }, "node_modules/eslint-plugin-prettier": { @@ -6943,11 +6925,15 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true + "node_modules/natural-orderby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/natural-orderby/-/natural-orderby-5.0.0.tgz", + "integrity": "sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } }, "node_modules/neo-async": { "version": "2.6.2", diff --git a/package.json b/package.json index 256c3590..dd8fca8d 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-no-secrets": "^1.0.2", - "eslint-plugin-perfectionist": "^3.8.0", + "eslint-plugin-perfectionist": "^4.1.2", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-react": "^7.33.2", From 33ff22c863da57866c97a38405fb5f23c45c14af Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Thu, 5 Dec 2024 01:46:03 -0500 Subject: [PATCH 64/83] feat: automatically disable ambient mode #708 --- .../Automatically_Disable_Ambient_Mode.png | Bin 0 -> 3211 bytes public/locales/en-US.json | 4 + public/locales/en-US.json.d.ts | 4 + src/components/Settings/Settings.tsx | 8 ++ .../automaticallyDisableAmbientMode/index.ts | 76 ++++++++++++++++++ src/pages/content/index.ts | 5 ++ src/pages/embedded/index.ts | 15 +++- src/types/index.ts | 5 ++ src/utils/constants.ts | 2 + 9 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 assets/translation context screenshots/Miscellaneous Settings/Automatically_Disable_Ambient_Mode.png create mode 100644 src/features/automaticallyDisableAmbientMode/index.ts diff --git a/assets/translation context screenshots/Miscellaneous Settings/Automatically_Disable_Ambient_Mode.png b/assets/translation context screenshots/Miscellaneous Settings/Automatically_Disable_Ambient_Mode.png new file mode 100644 index 0000000000000000000000000000000000000000..2f7f1b2a15bfec74efe6950f4219bf1254ecafb2 GIT binary patch literal 3211 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 am^$Rw))_ + diff --git a/src/features/automaticallyDisableAmbientMode/index.ts b/src/features/automaticallyDisableAmbientMode/index.ts new file mode 100644 index 00000000..2d8c3b11 --- /dev/null +++ b/src/features/automaticallyDisableAmbientMode/index.ts @@ -0,0 +1,76 @@ +import { isWatchPage, waitForAllElements, waitForSpecificMessage } from "@/src/utils/utilities"; +let ambientModeWasEnabled = false; + +export async function enableAutomaticallyDisableAmbientMode() { + const { + data: { + options: { enable_automatically_disable_ambient_mode } + } + } = await waitForSpecificMessage("options", "request_data", "content"); + if (!enable_automatically_disable_ambient_mode) return; + if (!isWatchPage()) return; + await waitForAllElements([ + "div#player", + "div#player-wide-container", + "div#video-container", + "div#player-container", + "div.ytp-settings-menu:not(#yte-feature-menu)" + ]); + const settingsButton = document.querySelector("button.ytp-settings-button"); + const settingsMenu = document.querySelector("div.ytp-settings-menu:not(#yte-feature-menu)"); + const settingsPanelMenu = settingsMenu?.querySelector("div.ytp-panel-menu"); + if (!settingsButton || !settingsMenu || !settingsPanelMenu) return; + // If the settings panel menu is empty, emulate a click on the settings button to hydrate the settings menu with the necessary elements + if (!settingsPanelMenu.hasChildNodes()) { + // Hide the settings menu temporarily + settingsMenu.classList.add("hidden"); + // Click on the settings button to open the settings menu + settingsButton.click(); + // Click on the settings button again to close the settings menu + settingsButton.click(); + } + // Get the ambient mode menu item element + const ambientModeMenuItem = settingsPanelMenu.querySelector( + ".ytp-menuitem:has(.ytp-menuitem-icon svg path[d='M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z'])" + ); + // If ambient mode menu item is not available, return + if (!ambientModeMenuItem) return settingsMenu.classList.remove("hidden"); + const ambientModeEnabled = ambientModeMenuItem.getAttribute("aria-checked") === "true"; + // If ambient mode was not enabled, return + if (!ambientModeEnabled) return settingsMenu.classList.remove("hidden"); + ambientModeWasEnabled = ambientModeEnabled; + // Disable ambient mode + ambientModeMenuItem.click(); + settingsMenu.classList.remove("hidden"); +} + +export async function disableAutomaticallyDisableAmbientMode() { + // If ambient mode wasn't enabled, return + if (!ambientModeWasEnabled) return; + await waitForAllElements([ + "div#player", + "div#player-wide-container", + "div#video-container", + "div#player-container", + "div.ytp-settings-menu:not(#yte-feature-menu)" + ]); + const settingsButton = document.querySelector("button.ytp-settings-button"); + const settingsMenu = document.querySelector("div.ytp-settings-menu:not(#yte-feature-menu)"); + const settingsPanelMenu = settingsMenu?.querySelector("div.ytp-panel-menu"); + if (!settingsButton || !settingsMenu || !settingsPanelMenu) return; + // If the settings panel menu is empty, emulate a click on the settings button to hydrate the settings menu with the necessary elements + if (!settingsPanelMenu.hasChildNodes()) { + settingsMenu.classList.add("hidden"); + // Click on the settings button to open the settings menu in a hidden state + settingsButton.click(); + // Click on the settings button again to close the settings menu + settingsButton.click(); + } + const ambientModeMenuItem = settingsPanelMenu.querySelector( + ".ytp-menuitem:has(.ytp-menuitem-icon svg path[d='M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z'])" + ); + // If ambient mode menu item is not available, return + if (!ambientModeMenuItem) return settingsMenu.classList.remove("hidden"); + // Enable ambient mode + ambientModeMenuItem.click(); +} diff --git a/src/pages/content/index.ts b/src/pages/content/index.ts index f99a730e..8efba42a 100644 --- a/src/pages/content/index.ts +++ b/src/pages/content/index.ts @@ -271,6 +271,11 @@ const storageChangeHandler = async (changes: StorageChanges, areaName: string) = automaticTheaterModeEnabled: newValue }); }, + enable_automatically_disable_ambient_mode: (__oldValue, newValue) => { + sendExtensionOnlyMessage("automaticallyDisableAmbientModeChange", { + automaticallyDisableAmbientModeEnabled: newValue + }); + }, enable_automatically_disable_closed_captions: (__oldValue, newValue) => { sendExtensionOnlyMessage("automaticallyDisableClosedCaptionsChange", { automaticallyDisableClosedCaptionsEnabled: newValue diff --git a/src/pages/embedded/index.ts b/src/pages/embedded/index.ts index 28a599ab..0d1603e5 100644 --- a/src/pages/embedded/index.ts +++ b/src/pages/embedded/index.ts @@ -1,5 +1,6 @@ import { deepDarkPresets } from "@/src/deepDarkPresets"; import { featureButtonFunctions, type FeatureFuncRecord } from "@/src/features"; +import { disableAutomaticallyDisableAmbientMode, enableAutomaticallyDisableAmbientMode } from "@/src/features/automaticallyDisableAmbientMode"; import { disableAutomaticallyDisableClosedCaptions, enableAutomaticallyDisableClosedCaptions @@ -191,7 +192,8 @@ const enableFeatures = () => { enableHideTranslateComment(), enableHideEndScreenCards(), enablePlaylistLength(), - enableAutomaticallyDisableClosedCaptions() + enableAutomaticallyDisableClosedCaptions(), + enableAutomaticallyDisableAmbientMode() ]); // Enable feature menu before calling button functions await enableFeatureMenu(); @@ -299,6 +301,17 @@ window.addEventListener("DOMContentLoaded", function () { } if (!message) return; switch (message.type) { + case "automaticallyDisableAmbientModeChange": { + const { + data: { automaticallyDisableAmbientModeEnabled } + } = message; + if (automaticallyDisableAmbientModeEnabled) { + await enableAutomaticallyDisableAmbientMode(); + } else { + await disableAutomaticallyDisableAmbientMode(); + } + break; + } case "automaticallyDisableClosedCaptionsChange": { const { data: { automaticallyDisableClosedCaptionsEnabled } diff --git a/src/types/index.ts b/src/types/index.ts index 905050da..a61f03ec 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -353,6 +353,10 @@ export type ContentToBackgroundSendOnlyMessageMappings = { pauseBackgroundPlayers: ActionMessage<"pauseBackgroundPlayers">; }; export type ExtensionSendOnlyMessageMappings = { + automaticallyDisableAmbientModeChange: DataResponseMessage< + "automaticallyDisableAmbientModeChange", + { automaticallyDisableAmbientModeEnabled: boolean } + >; automaticallyDisableClosedCaptionsChange: DataResponseMessage< "automaticallyDisableClosedCaptionsChange", { automaticallyDisableClosedCaptionsEnabled: boolean } @@ -458,6 +462,7 @@ export type configuration = { deep_dark_custom_theme_colors: DeepDarkCustomThemeColors; deep_dark_preset: DeepDarkPreset; enable_automatic_theater_mode: boolean; + enable_automatically_disable_ambient_mode: boolean; enable_automatically_disable_closed_captions: boolean; enable_automatically_set_quality: boolean; enable_copy_timestamp_url_button: boolean; diff --git a/src/utils/constants.ts b/src/utils/constants.ts index c37448a7..8dfb365b 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -51,6 +51,7 @@ export const defaultConfiguration = { }, deep_dark_preset: "Deep-Dark", enable_automatic_theater_mode: false, + enable_automatically_disable_ambient_mode: false, enable_automatically_disable_closed_captions: false, enable_automatically_set_quality: false, enable_copy_timestamp_url_button: false, @@ -147,6 +148,7 @@ export const configurationImportSchema: TypeToPartialZodSchema< .optional(), deep_dark_preset: z.enum(deepDarkPreset).optional(), enable_automatic_theater_mode: z.boolean().optional(), + enable_automatically_disable_ambient_mode: z.boolean().optional(), enable_automatically_disable_closed_captions: z.boolean().optional(), enable_automatically_set_quality: z.boolean().optional(), enable_copy_timestamp_url_button: z.boolean().optional(), From ec6e82ccb0f15c7b6f336d4fed7ae624e3863bdd Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Thu, 5 Dec 2024 04:26:13 -0500 Subject: [PATCH 65/83] fix(playerSpeed): playback speed change listener was broken --- src/features/playerSpeed/index.ts | 38 ++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/src/features/playerSpeed/index.ts b/src/features/playerSpeed/index.ts index 4cfe7748..aba7b824 100644 --- a/src/features/playerSpeed/index.ts +++ b/src/features/playerSpeed/index.ts @@ -80,6 +80,7 @@ export function restorePlayerSpeed() { // Set the video playback speed video.playbackRate = Number(playerSpeed); } +const speedValueRegex = /(?("div.ytp-settings-menu:not(#yte-feature-menu)"); const speedMenuItemClickListener = (event: Event) => { @@ -88,7 +89,6 @@ export function setupPlaybackSpeedChangeListener() { const { textContent: speedValue } = speedMenuItem; // If the playback speed is not available, return if (!speedValue) return; - const speedValueRegex = /(?("div.ytp-panel > div.ytp-panel-header"); const panelMenu = targetElement.querySelector("div.ytp-panel > div.ytp-panel-menu"); const menuItems = panelMenu?.querySelectorAll("div.ytp-menuitem"); - if (panelHeader && panelMenu && menuItems && menuItems.length === 8) { - menuItems.forEach((menuItem) => { - eventManager.addEventListener(menuItem, "click", speedMenuItemClickListener, "playerSpeed"); - }); + if (panelHeader && panelMenu && menuItems && menuItems.length === 9) { + const [customSpeedMenuItem] = menuItems; + const customSpeedActive = customSpeedMenuItem.getAttribute("aria-checked") === "true"; + if (customSpeedActive) { + const customSpeedLabel = customSpeedMenuItem.querySelector("div.ytp-menuitem-label"); + if (!customSpeedLabel) return; + const { textContent: customSpeedLabelValue } = customSpeedLabel; + if (!customSpeedLabelValue) return; + if (speedValueRegex.test(customSpeedLabelValue)) { + const speedValueMatch = customSpeedLabelValue.match(speedValueRegex); + if (speedValueMatch) { + const playerSpeed = Number(speedValueMatch[1]); + window.localStorage.setItem("playerSpeed", String(playerSpeed)); + } + } + } else { + menuItems.forEach((menuItem) => { + eventManager.addEventListener(menuItem, "click", speedMenuItemClickListener, "playerSpeed"); + }); + } } }); }); const customSpeedSliderObserver = new MutationObserver((mutationsList: MutationRecord[]) => { mutationsList.forEach((mutation) => { const { target: targetElement } = mutation as { target: HTMLDivElement } & MutationRecord; - const speedValue = targetElement.getAttribute("aria-valuenow"); + if (!targetElement.matches(".ytp-speedslider-text")) return; + const { textContent: speedValue } = targetElement; // If the playback speed is not available, return if (!speedValue) return; const playerSpeed = parseFloat(speedValue); @@ -132,13 +149,8 @@ export function setupPlaybackSpeedChangeListener() { childList: true, subtree: true }); - const menuItems = [ - ...document.querySelectorAll('div.ytp-settings-menu:not(#yte-feature-menu) > .ytp-panel > .ytp-panel-menu [role="menuitem"]') - ]; - const speedMenuItem = menuItems.find( - (el) => - el.children[0].innerHTML === - `` + const speedMenuItem = document.querySelector( + ".ytp-menuitem:has(.ytp-menuitem-icon svg path[d='M10,8v8l6-4L10,8L10,8z M6.3,5L5.7,4.2C7.2,3,9,2.2,11,2l0.1,1C9.3,3.2,7.7,3.9,6.3,5z M5,6.3L4.2,5.7C3,7.2,2.2,9,2,11 l1,.1C3.2,9.3,3.9,7.7,5,6.3z M5,17.7c-1.1-1.4-1.8-3.1-2-4.8L2,13c0.2,2,1,3.8,2.2,5.4L5,17.7z M11.1,21c-1.8-0.2-3.4-0.9-4.8-2 l-0.6,.8C7.2,21,9,21.8,11,22L11.1,21z M22,12c0-5.2-3.9-9.4-9-10l-0.1,1c4.6,.5,8.1,4.3,8.1,9s-3.5,8.5-8.1,9l0.1,1 C18.2,21.5,22,17.2,22,12z'])" ); if (!speedMenuItem) return; const { From 0d3e3fc2cb5f721b8a4544332b1054f85a5c7d24 Mon Sep 17 00:00:00 2001 From: livingflore <63370734+livingflore@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:38:23 +0500 Subject: [PATCH 66/83] fix: expand OSD canvas for shadow --- src/utils/OnScreenDisplayManager.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/utils/OnScreenDisplayManager.ts b/src/utils/OnScreenDisplayManager.ts index f8591700..6dceeec2 100644 --- a/src/utils/OnScreenDisplayManager.ts +++ b/src/utils/OnScreenDisplayManager.ts @@ -131,8 +131,8 @@ export default class OnScreenDisplayManager { const lineWidth = 5; const radius = 75 / 2 - lineWidth; const circleWidth = radius * 2 + lineWidth * 2; - this.canvas.width = circleWidth; - this.canvas.height = circleWidth; + this.canvas.width = circleWidth + 20; + this.canvas.height = circleWidth + 20; this.clearCanvas(); const centerX = this.canvas.width / 2; const centerY = this.canvas.height / 2; @@ -155,8 +155,8 @@ export default class OnScreenDisplayManager { // Draw a line on the canvas. const lineWidth = Math.round(round(value / max, 2) * max); const lineHeight = 5; - this.canvas.width = lineWidth; - this.canvas.height = lineHeight; + this.canvas.width = lineWidth + 25; + this.canvas.height = lineHeight + 25; this.context.globalAlpha = displayOpacity / 100; this.context.fillStyle = displayColor; const lineX = (this.canvas.width - lineWidth) / 2; @@ -188,8 +188,8 @@ export default class OnScreenDisplayManager { } this.setFont(); const { width } = this.context.measureText(text); - this.canvas.width = width; - this.canvas.height = fontSize; + this.canvas.width = width + 15; + this.canvas.height = fontSize + 15; this.clearCanvas(); // Add a shadow effect around the text. this.context.shadowColor = "black"; From f30f1d26e09e18dc6b4f5254d48dcba8c97327e0 Mon Sep 17 00:00:00 2001 From: livingflore <63370734+livingflore@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:40:11 +0500 Subject: [PATCH 67/83] fix: playbackSpeedButtons - decreaseLimit title fixed - dynamic minSpeed depending on playbackSpeedPerClick - maxSpeed as a separate variable at the top --- src/features/playbackSpeedButtons/index.ts | 70 +++++++++++++++------- 1 file changed, 49 insertions(+), 21 deletions(-) diff --git a/src/features/playbackSpeedButtons/index.ts b/src/features/playbackSpeedButtons/index.ts index 617621ec..7c47803b 100644 --- a/src/features/playbackSpeedButtons/index.ts +++ b/src/features/playbackSpeedButtons/index.ts @@ -9,12 +9,30 @@ import { createTooltip, isWatchPage, round, waitForSpecificMessage } from "@/src import type { AddButtonFunction, RemoveButtonFunction } from "../index"; let currentPlaybackSpeed = 1; +const maxSpeed = 16; + +function getMinSpeed(playbackSpeedPerClick: number) { + return playbackSpeedPerClick == 0.25 + ? 0.25 + : playbackSpeedPerClick >= 0.01 && playbackSpeedPerClick <= 0.09 + ? 0.07 + : playbackSpeedPerClick == 0.1 + ? 0.01 + : playbackSpeedPerClick == 1 + ? 1 + : youtubePlayerMinSpeed; +} + export function calculatePlaybackButtonSpeed(speed: number, playbackSpeedPerClick: number, direction: "decrease" | "increase") { + const minSpeed = getMinSpeed(playbackSpeedPerClick); const calculatedSpeed = - speed == 16 && direction == "increase" ? 16 - : speed == youtubePlayerMinSpeed && direction == "decrease" ? youtubePlayerMinSpeed - : direction == "decrease" ? speed - playbackSpeedPerClick - : speed + playbackSpeedPerClick; + speed >= maxSpeed && direction == "increase" + ? maxSpeed + : (speed <= minSpeed || speed - playbackSpeedPerClick <= 0) && direction == "decrease" + ? minSpeed + : direction == "decrease" + ? speed - playbackSpeedPerClick + : speed + playbackSpeedPerClick; return round(calculatedSpeed, 2); } export async function updatePlaybackSpeedButtonTooltip( @@ -27,12 +45,14 @@ export async function updatePlaybackSpeedButtonTooltip("video"); if (!videoElement) return; + const minSpeed = getMinSpeed(playbackSpeedPerClick); ({ playbackRate: currentPlaybackSpeed } = videoElement); const featureName = "playbackSpeedButtons"; const button = getFeatureButton(buttonName); @@ -45,10 +65,11 @@ export async function updatePlaybackSpeedButtonTooltip void { +function playbackSpeedButtonClickListener(playbackSpeedPerClick: number, direction: "decrease" | "increase"): () => void { return () => { void (async () => { const videoElement = document.querySelector("video"); if (!videoElement) return; - const adjustmentAmount = direction === "increase" ? speedPerClick : -speedPerClick; + const minSpeed = getMinSpeed(playbackSpeedPerClick); + const adjustmentAmount = direction === "increase" ? playbackSpeedPerClick : -playbackSpeedPerClick; try { ({ playbackRate: currentPlaybackSpeed } = videoElement); - if (currentPlaybackSpeed + adjustmentAmount > 16 || currentPlaybackSpeed + adjustmentAmount < youtubePlayerMinSpeed) return; + if ( + currentPlaybackSpeed + adjustmentAmount > maxSpeed || + currentPlaybackSpeed + adjustmentAmount < minSpeed || + currentPlaybackSpeed + adjustmentAmount <= 0 + ) + return; const playerContainer = document.querySelector("div#movie_player"); if (!playerContainer) return; const { @@ -84,15 +111,15 @@ function playbackSpeedButtonClickListener(speedPerClick: number, direction: "dec }, "yte-osd", { - max: 16, + max: maxSpeed, type: "speed", value: round(currentPlaybackSpeed + adjustmentAmount, 2) } ); const speed = round(currentPlaybackSpeed + adjustmentAmount, 2); await setPlayerSpeed(speed); - await updatePlaybackSpeedButtonTooltip("increasePlaybackSpeedButton", calculatePlaybackButtonSpeed(speed, speedPerClick, "increase")); - await updatePlaybackSpeedButtonTooltip("decreasePlaybackSpeedButton", calculatePlaybackButtonSpeed(speed, speedPerClick, "decrease")); + await updatePlaybackSpeedButtonTooltip("increasePlaybackSpeedButton", calculatePlaybackButtonSpeed(speed, playbackSpeedPerClick, "increase")); + await updatePlaybackSpeedButtonTooltip("decreasePlaybackSpeedButton", calculatePlaybackButtonSpeed(speed, playbackSpeedPerClick, "decrease")); } catch (error) { console.error(error); } @@ -127,9 +154,9 @@ export const addIncreasePlaybackSpeedButton: AddButtonFunction = async () => { "increasePlaybackSpeedButton", increasePlaybackSpeedButtonPlacement, window.i18nextInstance.t( - currentPlaybackSpeed == 16 ? - `pages.content.features.playbackSpeedButtons.increaseLimit` - : "pages.content.features.playbackSpeedButtons.buttons.increasePlaybackSpeedButton.label", + currentPlaybackSpeed == maxSpeed + ? `pages.content.features.playbackSpeedButtons.increaseLimit` + : "pages.content.features.playbackSpeedButtons.buttons.increasePlaybackSpeedButton.label", { SPEED: calculatePlaybackButtonSpeed(currentPlaybackSpeed, playbackSpeedPerClick, "increase") } @@ -154,6 +181,7 @@ export const addDecreasePlaybackSpeedButton: AddButtonFunction = async () => { if (!isWatchPage()) return; const videoElement = document.querySelector("video"); if (!videoElement) return; + const minSpeed = getMinSpeed(playbackSpeedPerClick); ({ playbackRate: currentPlaybackSpeed } = videoElement); const playerContainer = document.querySelector("div#movie_player"); if (!playerContainer) return; @@ -167,9 +195,9 @@ export const addDecreasePlaybackSpeedButton: AddButtonFunction = async () => { "decreasePlaybackSpeedButton", decreasePlaybackSpeedButtonPlacement, window.i18nextInstance.t( - currentPlaybackSpeed == youtubePlayerMinSpeed ? - `pages.content.features.playbackSpeedButtons.decreaseLimit` - : "pages.content.features.playbackSpeedButtons.buttons.decreasePlaybackSpeedButton.label", + currentPlaybackSpeed == minSpeed + ? `pages.content.features.playbackSpeedButtons.decreaseLimit` + : "pages.content.features.playbackSpeedButtons.buttons.decreasePlaybackSpeedButton.label", { SPEED: calculatePlaybackButtonSpeed(currentPlaybackSpeed, playbackSpeedPerClick, "decrease") } From 81ced5c7fffe27cd0e8cba48915ce59f47038c54 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Fri, 6 Dec 2024 18:18:43 -0500 Subject: [PATCH 68/83] chore: fix formatting --- src/features/playbackSpeedButtons/index.ts | 47 +++++++++------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/src/features/playbackSpeedButtons/index.ts b/src/features/playbackSpeedButtons/index.ts index 7c47803b..a116ba28 100644 --- a/src/features/playbackSpeedButtons/index.ts +++ b/src/features/playbackSpeedButtons/index.ts @@ -12,27 +12,22 @@ let currentPlaybackSpeed = 1; const maxSpeed = 16; function getMinSpeed(playbackSpeedPerClick: number) { - return playbackSpeedPerClick == 0.25 - ? 0.25 - : playbackSpeedPerClick >= 0.01 && playbackSpeedPerClick <= 0.09 - ? 0.07 - : playbackSpeedPerClick == 0.1 - ? 0.01 - : playbackSpeedPerClick == 1 - ? 1 - : youtubePlayerMinSpeed; + return ( + playbackSpeedPerClick == 0.25 ? 0.25 + : playbackSpeedPerClick >= 0.01 && playbackSpeedPerClick <= 0.09 ? 0.07 + : playbackSpeedPerClick == 0.1 ? 0.01 + : playbackSpeedPerClick == 1 ? 1 + : youtubePlayerMinSpeed + ); } export function calculatePlaybackButtonSpeed(speed: number, playbackSpeedPerClick: number, direction: "decrease" | "increase") { const minSpeed = getMinSpeed(playbackSpeedPerClick); const calculatedSpeed = - speed >= maxSpeed && direction == "increase" - ? maxSpeed - : (speed <= minSpeed || speed - playbackSpeedPerClick <= 0) && direction == "decrease" - ? minSpeed - : direction == "decrease" - ? speed - playbackSpeedPerClick - : speed + playbackSpeedPerClick; + speed >= maxSpeed && direction == "increase" ? maxSpeed + : (speed <= minSpeed || speed - playbackSpeedPerClick <= 0) && direction == "decrease" ? minSpeed + : direction == "decrease" ? speed - playbackSpeedPerClick + : speed + playbackSpeedPerClick; return round(calculatedSpeed, 2); } export async function updatePlaybackSpeedButtonTooltip( @@ -65,11 +60,9 @@ export async function updatePlaybackSpeedButtonTooltip { "increasePlaybackSpeedButton", increasePlaybackSpeedButtonPlacement, window.i18nextInstance.t( - currentPlaybackSpeed == maxSpeed - ? `pages.content.features.playbackSpeedButtons.increaseLimit` - : "pages.content.features.playbackSpeedButtons.buttons.increasePlaybackSpeedButton.label", + currentPlaybackSpeed == maxSpeed ? + `pages.content.features.playbackSpeedButtons.increaseLimit` + : "pages.content.features.playbackSpeedButtons.buttons.increasePlaybackSpeedButton.label", { SPEED: calculatePlaybackButtonSpeed(currentPlaybackSpeed, playbackSpeedPerClick, "increase") } @@ -195,9 +188,9 @@ export const addDecreasePlaybackSpeedButton: AddButtonFunction = async () => { "decreasePlaybackSpeedButton", decreasePlaybackSpeedButtonPlacement, window.i18nextInstance.t( - currentPlaybackSpeed == minSpeed - ? `pages.content.features.playbackSpeedButtons.decreaseLimit` - : "pages.content.features.playbackSpeedButtons.buttons.decreasePlaybackSpeedButton.label", + currentPlaybackSpeed == minSpeed ? + `pages.content.features.playbackSpeedButtons.decreaseLimit` + : "pages.content.features.playbackSpeedButtons.buttons.decreasePlaybackSpeedButton.label", { SPEED: calculatePlaybackButtonSpeed(currentPlaybackSpeed, playbackSpeedPerClick, "decrease") } From 8c41fa3d05b2d2b28de78185795d2fa838ad1591 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 01:54:14 +0000 Subject: [PATCH 69/83] build(deps-dev): bump typescript-eslint from 8.16.0 to 8.17.0 Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.16.0 to 8.17.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.17.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 107 +++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 59 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5fdabaa1..c600643f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@formkit/auto-animate": "^0.8.1", "@monaco-editor/react": "^4.6.0", - "@rollup/rollup-linux-x64-gnu": "^4.14.3", "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", @@ -2312,17 +2311,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.16.0.tgz", - "integrity": "sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.17.0.tgz", + "integrity": "sha512-HU1KAdW3Tt8zQkdvNoIijfWDMvdSweFYm4hWh+KwhPstv+sCmWb89hCIP8msFm9N1R/ooh9honpSuvqKWlYy3w==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.16.0", - "@typescript-eslint/type-utils": "8.16.0", - "@typescript-eslint/utils": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0", + "@typescript-eslint/scope-manager": "8.17.0", + "@typescript-eslint/type-utils": "8.17.0", + "@typescript-eslint/utils": "8.17.0", + "@typescript-eslint/visitor-keys": "8.17.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -2346,16 +2344,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.16.0.tgz", - "integrity": "sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.17.0.tgz", + "integrity": "sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.16.0", - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/typescript-estree": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0", + "@typescript-eslint/scope-manager": "8.17.0", + "@typescript-eslint/types": "8.17.0", + "@typescript-eslint/typescript-estree": "8.17.0", + "@typescript-eslint/visitor-keys": "8.17.0", "debug": "^4.3.4" }, "engines": { @@ -2375,14 +2372,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.16.0.tgz", - "integrity": "sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz", + "integrity": "sha512-/ewp4XjvnxaREtqsZjF4Mfn078RD/9GmiEAtTeLQ7yFdKnqwTOgRMSvFz4et9U5RiJQ15WTGXPLj89zGusvxBg==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0" + "@typescript-eslint/types": "8.17.0", + "@typescript-eslint/visitor-keys": "8.17.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2393,14 +2389,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.16.0.tgz", - "integrity": "sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.17.0.tgz", + "integrity": "sha512-q38llWJYPd63rRnJ6wY/ZQqIzPrBCkPdpIsaCfkR3Q4t3p6sb422zougfad4TFW9+ElIFLVDzWGiGAfbb/v2qw==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.16.0", - "@typescript-eslint/utils": "8.16.0", + "@typescript-eslint/typescript-estree": "8.17.0", + "@typescript-eslint/utils": "8.17.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -2421,11 +2416,10 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.16.0.tgz", - "integrity": "sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz", + "integrity": "sha512-gY2TVzeve3z6crqh2Ic7Cr+CAv6pfb0Egee7J5UAVWCpVvDI/F71wNfolIim4FE6hT15EbpZFVUj9j5i38jYXA==", "dev": true, - "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -2435,14 +2429,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.16.0.tgz", - "integrity": "sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.17.0.tgz", + "integrity": "sha512-JqkOopc1nRKZpX+opvKqnM3XUlM7LpFMD0lYxTqOTKQfCWAmxw45e3qlOCsEqEB2yuacujivudOFpCnqkBDNMw==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0", + "@typescript-eslint/types": "8.17.0", + "@typescript-eslint/visitor-keys": "8.17.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2464,16 +2457,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.16.0.tgz", - "integrity": "sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.17.0.tgz", + "integrity": "sha512-bQC8BnEkxqG8HBGKwG9wXlZqg37RKSMY7v/X8VEWD8JG2JuTHuNK0VFvMPMUKQcbk6B+tf05k+4AShAEtCtJ/w==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.16.0", - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/typescript-estree": "8.16.0" + "@typescript-eslint/scope-manager": "8.17.0", + "@typescript-eslint/types": "8.17.0", + "@typescript-eslint/typescript-estree": "8.17.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2492,13 +2484,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.16.0.tgz", - "integrity": "sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.17.0.tgz", + "integrity": "sha512-1Hm7THLpO6ww5QU6H/Qp+AusUUl+z/CAm3cNZZ0jQvon9yicgO7Rwd+/WWRpMKLYV6p2UvdbR27c86rzCPpreg==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/types": "8.17.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -2514,7 +2505,6 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -12711,15 +12701,14 @@ } }, "node_modules/typescript-eslint": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.16.0.tgz", - "integrity": "sha512-wDkVmlY6O2do4V+lZd0GtRfbtXbeD0q9WygwXXSJnC1xorE8eqyC2L1tJimqpSeFrOzRlYtWnUp/uzgHQOgfBQ==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.17.0.tgz", + "integrity": "sha512-409VXvFd/f1br1DCbuKNFqQpXICoTB+V51afcwG1pn1a3Cp92MqAUges3YjwEdQ0cMUoCIodjVDAYzyD8h3SYA==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.16.0", - "@typescript-eslint/parser": "8.16.0", - "@typescript-eslint/utils": "8.16.0" + "@typescript-eslint/eslint-plugin": "8.17.0", + "@typescript-eslint/parser": "8.17.0", + "@typescript-eslint/utils": "8.17.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From 326bbf100add4c74937faa44291ac0ddc85518c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 01:54:31 +0000 Subject: [PATCH 70/83] build(deps): bump react, react-dom and @types/react Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react), [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `react-dom` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom) Updates `@types/react` from 18.3.12 to 19.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: react-dom dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 53 ++++++++++++++++++----------------------------- package.json | 6 +++--- 2 files changed, 23 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5fdabaa1..e24c7739 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,15 +11,14 @@ "dependencies": { "@formkit/auto-animate": "^0.8.1", "@monaco-editor/react": "^4.6.0", - "@rollup/rollup-linux-x64-gnu": "^4.14.3", "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", "i18next": "^24.0.2", "monaco-editor": "^0.52.0", - "react": "^18.2.0", + "react": "^19.0.0", "react-colorful": "^5.6.1", - "react-dom": "^18.2.0", + "react-dom": "^19.0.0", "react-icons": "^5.0.1", "safe-units": "^2.0.1", "tailwindcss-multi": "^0.4.0", @@ -39,7 +38,7 @@ "@types/chrome": "^0.0.280", "@types/eslint__js": "^8.42.3", "@types/node": "^22.1.0", - "@types/react": "^18.2.37", + "@types/react": "^19.0.1", "@types/react-dom": "^18.2.15", "@types/webextension-polyfill": "^0.12.1", "@types/youtube-player": "^5.5.10", @@ -2259,19 +2258,12 @@ "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", "dev": true }, - "node_modules/@types/prop-types": { - "version": "15.7.12", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", - "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", - "dev": true - }, "node_modules/@types/react": { - "version": "18.3.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", - "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.1.tgz", + "integrity": "sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==", "dev": true, "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, @@ -6440,7 +6432,8 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "node_modules/js-yaml": { "version": "4.1.0", @@ -6721,6 +6714,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -10687,12 +10681,9 @@ } }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", - "dependencies": { - "loose-envify": "^1.1.0" - }, + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", "engines": { "node": ">=0.10.0" } @@ -10707,15 +10698,14 @@ } }, "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.25.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } }, "node_modules/react-icons": { @@ -11147,12 +11137,9 @@ "integrity": "sha512-vwQl9r9J8O5Aj2RLW2H9qIMszs6MFHuNlD1S86E+AsOFjqZWlD76+sfwMcBT0DIpfTVtgm7Q1huM+iI3o20DYw==" }, "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "dependencies": { - "loose-envify": "^1.1.0" - } + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==" }, "node_modules/semantic-release": { "version": "24.2.0", diff --git a/package.json b/package.json index dd8fca8d..005b1bd6 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,9 @@ "globals": "^15.11.0", "i18next": "^24.0.2", "monaco-editor": "^0.52.0", - "react": "^18.2.0", + "react": "^19.0.0", "react-colorful": "^5.6.1", - "react-dom": "^18.2.0", + "react-dom": "^19.0.0", "react-icons": "^5.0.1", "safe-units": "^2.0.1", "tailwindcss-multi": "^0.4.0", @@ -53,7 +53,7 @@ "@types/chrome": "^0.0.280", "@types/eslint__js": "^8.42.3", "@types/node": "^22.1.0", - "@types/react": "^18.2.37", + "@types/react": "^19.0.1", "@types/react-dom": "^18.2.15", "@types/webextension-polyfill": "^0.12.1", "@types/youtube-player": "^5.5.10", From 7e63b8dec274e57bfc2ca25f04034fec590d9edb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 01:54:41 +0000 Subject: [PATCH 71/83] build(deps-dev): bump concurrently from 8.2.2 to 9.1.0 Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.2.2 to 9.1.0. - [Release notes](https://github.com/open-cli-tools/concurrently/releases) - [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.2.2...v9.1.0) --- updated-dependencies: - dependency-name: concurrently dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 35 +++++------------------------------ package.json | 2 +- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5fdabaa1..a848ec2f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@formkit/auto-animate": "^0.8.1", "@monaco-editor/react": "^4.6.0", - "@rollup/rollup-linux-x64-gnu": "^4.14.3", "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", @@ -49,7 +48,7 @@ "archiver": "^7.0.1", "autoprefixer": "^10.4.16", "clsx": "^2.0.0", - "concurrently": "^8.2.2", + "concurrently": "^9.1.0", "eslint": "^9.12.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.31.0", @@ -3526,17 +3525,15 @@ "dev": true }, "node_modules/concurrently": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-8.2.2.tgz", - "integrity": "sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.1.0.tgz", + "integrity": "sha512-VxkzwMAn4LP7WyMnJNbHN5mKV9L2IbyDjpzemKr99sXNR3GqRNMMHdm7prV1ws9wg7ETj6WUkNOigZVsptwbgg==", "dev": true, "dependencies": { "chalk": "^4.1.2", - "date-fns": "^2.30.0", "lodash": "^4.17.21", "rxjs": "^7.8.1", "shell-quote": "^1.8.1", - "spawn-command": "0.0.2", "supports-color": "^8.1.1", "tree-kill": "^1.2.2", "yargs": "^17.7.2" @@ -3546,7 +3543,7 @@ "concurrently": "dist/bin/concurrently.js" }, "engines": { - "node": "^14.13.0 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" @@ -3808,22 +3805,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.21.0" - }, - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -11721,12 +11702,6 @@ "source-map": "^0.6.0" } }, - "node_modules/spawn-command": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", - "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", - "dev": true - }, "node_modules/spawn-error-forwarder": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", diff --git a/package.json b/package.json index dd8fca8d..74dfb8b5 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "archiver": "^7.0.1", "autoprefixer": "^10.4.16", "clsx": "^2.0.0", - "concurrently": "^8.2.2", + "concurrently": "^9.1.0", "eslint": "^9.12.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.31.0", From 8ce429f10c4da24903c6a44e70314154fa439f03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 01:54:47 +0000 Subject: [PATCH 72/83] build(deps-dev): bump eslint-plugin-promise from 7.1.0 to 7.2.1 Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 7.1.0 to 7.2.1. - [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-promise/compare/v7.1.0...v7.2.1) --- updated-dependencies: - dependency-name: eslint-plugin-promise dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5fdabaa1..7355c149 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@formkit/auto-animate": "^0.8.1", "@monaco-editor/react": "^4.6.0", - "@rollup/rollup-linux-x64-gnu": "^4.14.3", "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", @@ -4714,11 +4713,13 @@ } }, "node_modules/eslint-plugin-promise": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-7.1.0.tgz", - "integrity": "sha512-8trNmPxdAy3W620WKDpaS65NlM5yAumod6XeC4LOb+jxlkG4IVcp68c6dXY2ev+uT4U1PtG57YDV6EGAXN0GbQ==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-7.2.1.tgz", + "integrity": "sha512-SWKjd+EuvWkYaS+uN2csvj0KoP43YTu7+phKQ5v+xw6+A0gutVX2yqCeCkC3uLCJFiPfR2dD8Es5L7yUsmvEaA==", "dev": true, - "license": "ISC", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0" + }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, From 9bac655f1c1494b8473499306930074cb0abcadd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:09:20 +0000 Subject: [PATCH 73/83] build(deps): bump @tanstack/react-query from 5.59.13 to 5.62.3 Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.59.13 to 5.62.3. - [Release notes](https://github.com/TanStack/query/releases) - [Commits](https://github.com/TanStack/query/commits/v5.62.3/packages/react-query) --- updated-dependencies: - dependency-name: "@tanstack/react-query" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ccd1963..0f5bc8ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2101,20 +2101,20 @@ } }, "node_modules/@tanstack/query-core": { - "version": "5.59.13", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.59.13.tgz", - "integrity": "sha512-Oou0bBu/P8+oYjXsJQ11j+gcpLAMpqW42UlokQYEz4dE7+hOtVO9rVuolJKgEccqzvyFzqX4/zZWY+R/v1wVsQ==", + "version": "5.62.3", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.62.3.tgz", + "integrity": "sha512-Jp/nYoz8cnO7kqhOlSv8ke/0MJRJVGuZ0P/JO9KQ+f45mpN90hrerzavyTKeSoT/pOzeoOUkv1Xd0wPsxAWXfg==", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, "node_modules/@tanstack/react-query": { - "version": "5.59.13", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.59.13.tgz", - "integrity": "sha512-GB2ELtiH8tL0rcFiM4sWvnXhazt1xRXX/LolMEV12kfEKu58aNA4lQoieslP61PO4vZO9JJMwm+6lqyS0E1HOA==", + "version": "5.62.3", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.62.3.tgz", + "integrity": "sha512-y2zDNKuhgiuMgsKkqd4AcsLIBiCfEO8U11AdrtAUihmLbRNztPrlcZqx2lH1GacZsx+y1qRRbCcJLYTtF1vKsw==", "dependencies": { - "@tanstack/query-core": "5.59.13" + "@tanstack/query-core": "5.62.3" }, "funding": { "type": "github", From 3c1304d36da28698fc8f645ac45277fa40d62b32 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 01:18:20 +0000 Subject: [PATCH 74/83] build(deps): bump dotenv from 16.4.5 to 16.4.7 Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.5 to 16.4.7. - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.7) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f245926..70edb6d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3901,9 +3901,9 @@ } }, "node_modules/dotenv": { - "version": "16.4.5", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", - "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", "engines": { "node": ">=12" }, From 1fe7bac0e6286f408320d0cfd42767126744b2d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 01:18:27 +0000 Subject: [PATCH 75/83] build(deps-dev): bump eslint-plugin-no-secrets from 1.1.2 to 2.1.1 Bumps [eslint-plugin-no-secrets](https://github.com/nickdeis/eslint-plugin-no-secrets) from 1.1.2 to 2.1.1. - [Changelog](https://github.com/nickdeis/eslint-plugin-no-secrets/blob/master/CHANGELOG.md) - [Commits](https://github.com/nickdeis/eslint-plugin-no-secrets/commits) --- updated-dependencies: - dependency-name: eslint-plugin-no-secrets dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f245926..19e5a642 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.8.0", - "eslint-plugin-no-secrets": "^1.0.2", + "eslint-plugin-no-secrets": "^2.1.1", "eslint-plugin-perfectionist": "^4.1.2", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", @@ -4617,16 +4617,16 @@ } }, "node_modules/eslint-plugin-no-secrets": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-no-secrets/-/eslint-plugin-no-secrets-1.1.2.tgz", - "integrity": "sha512-FjgyBaEkQK6hrdKf0V1TnKbY3dxXmw8S7tjfHs/BMIgFGNYhzFccxbZSJtDCPHTQTSiBtdLwRlOmSF81toII4w==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-secrets/-/eslint-plugin-no-secrets-2.1.1.tgz", + "integrity": "sha512-jcxk11tA3riniLoI5UqUtrW6/nmC60pNAG1NFpXrenzAu0Hmbjxq63e27YhvNIq+exT2yMZLvCqAQ+lC/+ZWZA==", "dev": true, "engines": { - "node": ">=10.0.0", - "npm": ">=6.9.0" + "node": ">=18", + "npm": ">=8" }, "peerDependencies": { - "eslint": ">=3.0.0" + "eslint": ">=5" } }, "node_modules/eslint-plugin-perfectionist": { diff --git a/package.json b/package.json index 921021eb..dd20ae32 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.8.0", - "eslint-plugin-no-secrets": "^1.0.2", + "eslint-plugin-no-secrets": "^2.1.1", "eslint-plugin-perfectionist": "^4.1.2", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", From c1babdd57755125fba3458ed4db034f5ac5d5aa9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 01:18:37 +0000 Subject: [PATCH 76/83] build(deps-dev): bump tailwindcss from 3.4.14 to 3.4.16 Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.14 to 3.4.16. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.16/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.16) --- updated-dependencies: - dependency-name: tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 95 +++++++++++++++++++++++------------------------ 1 file changed, 46 insertions(+), 49 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f245926..33816723 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6396,9 +6396,9 @@ } }, "node_modules/jiti": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", - "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "version": "1.21.6", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", "dev": true, "bin": { "jiti": "bin/jiti.js" @@ -6580,12 +6580,15 @@ } }, "node_modules/lilconfig": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" } }, "node_modules/lines-and-columns": { @@ -6784,12 +6787,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -10457,41 +10460,35 @@ } } }, - "node_modules/postcss-load-config/node_modules/lilconfig": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", - "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antonk52" - } - }, "node_modules/postcss-nested": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", - "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "dependencies": { - "postcss-selector-parser": "^6.0.11" + "postcss-selector-parser": "^6.1.1" }, "engines": { "node": ">=12.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, "peerDependencies": { "postcss": "^8.2.14" } }, "node_modules/postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -12156,33 +12153,33 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.14", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.14.tgz", - "integrity": "sha512-IcSvOcTRcUtQQ7ILQL5quRDg7Xs93PdJEk1ZLbhhvJc7uj/OAhYOnruEiwnGgBvUtaUAJ8/mhSw1o8L2jCiENA==", + "version": "3.4.16", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.16.tgz", + "integrity": "sha512-TI4Cyx7gDiZ6r44ewaJmt0o6BrMCT5aK5e0rmJ/G9Xq3w7CX/5VXl/zIPEJZFUK5VEqwByyhqNPycPlvcK4ZNw==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", - "chokidar": "^3.5.3", + "chokidar": "^3.6.0", "didyoumean": "^1.2.2", "dlv": "^1.1.3", - "fast-glob": "^3.3.0", + "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "jiti": "^1.21.0", - "lilconfig": "^2.1.0", - "micromatch": "^4.0.5", + "jiti": "^1.21.6", + "lilconfig": "^3.1.3", + "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.23", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", - "postcss-load-config": "^4.0.1", - "postcss-nested": "^6.0.1", - "postcss-selector-parser": "^6.0.11", - "resolve": "^1.22.2", - "sucrase": "^3.32.0" + "postcss-load-config": "^4.0.2", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", From d2b3874715fb3db181308a0a2bfbb7d591fe720f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 01:18:45 +0000 Subject: [PATCH 77/83] build(deps-dev): bump eslint-plugin-react-hooks from 5.0.0 to 5.1.0 Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 5.0.0 to 5.1.0. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks) --- updated-dependencies: - dependency-name: eslint-plugin-react-hooks dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f245926..4c582311 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4729,11 +4729,10 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz", - "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz", + "integrity": "sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==", "dev": true, - "license": "MIT", "engines": { "node": ">=10" }, From 5c4975375840c9864c71fbb45d151138c6837c0e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 01:18:54 +0000 Subject: [PATCH 78/83] build(deps-dev): bump @eslint/compat from 1.2.1 to 1.2.4 Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.1 to 1.2.4. - [Release notes](https://github.com/eslint/rewrite/releases) - [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json) - [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.1...compat-v1.2.4) --- updated-dependencies: - dependency-name: "@eslint/compat" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f245926..73a74e29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -629,9 +629,9 @@ } }, "node_modules/@eslint/compat": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.1.tgz", - "integrity": "sha512-JbHG2TWuCeNzh87fXo+/46Z1LEo9DBA9T188d0fZgGxAD+cNyS6sx9fdiyxjGPBMyQVRlCutTByZ6a5+YMkF7g==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.4.tgz", + "integrity": "sha512-S8ZdQj/N69YAtuqFt7653jwcvuUj131+6qGLUyDqfDg1OIoBQ66OCuXC473YQfO2AaxITTutiRQiDwoo7ZLYyg==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From d30d83a84520e6d26f59f7955d5821c56209076a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:18:37 +0000 Subject: [PATCH 79/83] build(deps-dev): bump nodemon from 3.1.7 to 3.1.9 Bumps [nodemon](https://github.com/remy/nodemon) from 3.1.7 to 3.1.9. - [Release notes](https://github.com/remy/nodemon/releases) - [Commits](https://github.com/remy/nodemon/compare/v3.1.7...v3.1.9) --- updated-dependencies: - dependency-name: nodemon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 25f04134..151b193f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6944,9 +6944,9 @@ "dev": true }, "node_modules/nodemon": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.7.tgz", - "integrity": "sha512-hLj7fuMow6f0lbB0cD14Lz2xNjwsyruH251Pk4t/yIitCFJbmY1myuLlHm/q06aST4jg6EgAh74PIBBrRqpVAQ==", + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.9.tgz", + "integrity": "sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==", "dev": true, "dependencies": { "chokidar": "^3.5.2", From 6e17287391ccaf414726aab9ed62f54ab83bb825 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:18:45 +0000 Subject: [PATCH 80/83] build(deps-dev): bump eslint from 9.15.0 to 9.17.0 Bumps [eslint](https://github.com/eslint/eslint) from 9.15.0 to 9.17.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.15.0...v9.17.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 25f04134..b787829f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -748,9 +748,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.15.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.15.0.tgz", - "integrity": "sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==", + "version": "9.17.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.17.0.tgz", + "integrity": "sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4363,9 +4363,9 @@ } }, "node_modules/eslint": { - "version": "9.15.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.15.0.tgz", - "integrity": "sha512-7CrWySmIibCgT1Os28lUU6upBshZ+GxybLOrmRzi08kS8MBuO8QA7pXEgYgY5W8vK3e74xv0lpjo9DbaGU9Rkw==", + "version": "9.17.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.17.0.tgz", + "integrity": "sha512-evtlNcpJg+cZLcnVKwsai8fExnqjGPicK7gnUtlNuzu+Fv9bI0aLpND5T44VLQtoMEnI57LoXO9XAkIXwohKrA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -4373,7 +4373,7 @@ "@eslint/config-array": "^0.19.0", "@eslint/core": "^0.9.0", "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "9.15.0", + "@eslint/js": "9.17.0", "@eslint/plugin-kit": "^0.2.3", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", @@ -4382,7 +4382,7 @@ "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", - "cross-spawn": "^7.0.5", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.2.0", From 8b387d47f3aee798c0f0f04a42778c9913d54a42 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:18:58 +0000 Subject: [PATCH 81/83] build(deps): bump @rollup/rollup-linux-x64-gnu from 4.28.0 to 4.29.1 Bumps [@rollup/rollup-linux-x64-gnu](https://github.com/rollup/rollup) from 4.28.0 to 4.29.1. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v4.28.0...v4.29.1) --- updated-dependencies: - dependency-name: "@rollup/rollup-linux-x64-gnu" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 25f04134..7f7555da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@formkit/auto-animate": "^0.8.1", "@monaco-editor/react": "^4.6.0", + "@rollup/rollup-linux-x64-gnu": "^4.14.3", "@tanstack/react-query": "^5.18.0", "dotenv": "^16.3.1", "globals": "^15.11.0", @@ -1345,13 +1346,12 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.0.tgz", - "integrity": "sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.29.1.tgz", + "integrity": "sha512-87xYCwb0cPGZFoGiErT1eDcssByaLX4fc0z2nRM6eMtV9njAfEE6OW3UniAoDhX4Iq5xQVpE6qO9aJbCFumKYQ==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "linux" From 035f6cdd350cbaad5a12961a3044445c759d3d35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:19:08 +0000 Subject: [PATCH 82/83] build(deps-dev): bump tailwindcss from 3.4.16 to 3.4.17 Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.16 to 3.4.17. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.17/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.16...v3.4.17) --- updated-dependencies: - dependency-name: tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 25f04134..de8fc13e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12152,9 +12152,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.16", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.16.tgz", - "integrity": "sha512-TI4Cyx7gDiZ6r44ewaJmt0o6BrMCT5aK5e0rmJ/G9Xq3w7CX/5VXl/zIPEJZFUK5VEqwByyhqNPycPlvcK4ZNw==", + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", From 60924bb799c9523365a7220e33ddfa0b05c09e50 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:19:17 +0000 Subject: [PATCH 83/83] build(deps-dev): bump prettier from 3.3.3 to 3.4.2 Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 25f04134..b66a31f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10513,9 +10513,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs"