From 8901799932ab60f066a5e83107e1f105502d1463 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:38:32 -0400 Subject: [PATCH 01/12] chore: bump vite from 5.4.9 to 5.4.10 (#215) 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index eee428b4..a3f93baa 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "ts-node": "^10.9.2", "typescript": "^5.6.2", "typescript-eslint": "^8.7.0", - "vite": "^5.4.9", + "vite": "^5.4.10", "vite-react-jsx": "^1.1.2", "webpack": "^5.90.3" } diff --git a/yarn.lock b/yarn.lock index 8f4b2adf..0e87949f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8661,10 +8661,10 @@ vite-react-jsx@^1.1.2: "@babel/plugin-transform-react-jsx" "^7.14.3" resolve "^1.20.0" -vite@^5.4.9: - version "5.4.9" - resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.9.tgz#215c80cbebfd09ccbb9ceb8c0621391c9abdc19c" - integrity sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg== +vite@^5.4.10: + version "5.4.10" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.10.tgz#d358a7bd8beda6cf0f3b7a450a8c7693a4f80c18" + integrity sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ== dependencies: esbuild "^0.21.3" postcss "^8.4.43" From cdaee8c811758a8b72d58e9f644fee0596cb1073 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:38:53 -0400 Subject: [PATCH 02/12] chore: bump @commitlint/config-conventional from 19.2.2 to 19.5.0 (#211) Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 19.2.2 to 19.5.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.5.0/@commitlint/config-conventional) --- updated-dependencies: - dependency-name: "@commitlint/config-conventional" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index a3f93baa..0569d55e 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@commitlint/cli": "^19.5.0", - "@commitlint/config-conventional": "^19.2.2", + "@commitlint/config-conventional": "^19.5.0", "@emoji-mart/data": "^1.2.1", "@floating-ui/react": "^0.26.9", "@radix-ui/react-accordion": "^1.2.1", diff --git a/yarn.lock b/yarn.lock index 0e87949f..ba14e498 100644 --- a/yarn.lock +++ b/yarn.lock @@ -283,12 +283,12 @@ tinyexec "^0.3.0" yargs "^17.0.0" -"@commitlint/config-conventional@^19.2.2": - version "19.2.2" - resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-19.2.2.tgz#1f4e6975d428985deacf2b3ff6547e02c9302054" - integrity sha512-mLXjsxUVLYEGgzbxbxicGPggDuyWNkf25Ht23owXIH+zV2pv1eJuzLK3t1gDY5Gp6pxdE60jZnWUY5cvgL3ufw== +"@commitlint/config-conventional@^19.5.0": + version "19.5.0" + resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-19.5.0.tgz#f838cdaed0e0e223cdc2e865f055d474a49fe18c" + integrity sha512-OBhdtJyHNPryZKg0fFpZNOBM1ZDbntMvqMuSmpfyP86XSfwzGw4CaoYRG4RutUPg0BTK07VMRIkNJT6wi2zthg== dependencies: - "@commitlint/types" "^19.0.3" + "@commitlint/types" "^19.5.0" conventional-changelog-conventionalcommits "^7.0.2" "@commitlint/config-validator@^18.6.1": @@ -498,7 +498,7 @@ dependencies: chalk "^4.1.0" -"@commitlint/types@^19.0.3", "@commitlint/types@^19.5.0": +"@commitlint/types@^19.5.0": version "19.5.0" resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-19.5.0.tgz#c5084d1231d4dd50e40bdb656ee7601f691400b3" integrity sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg== From c2c460c0e7bcb139afbe7d24d46b5065be959b40 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:39:15 -0400 Subject: [PATCH 03/12] chore: bump storybook from 8.3.5 to 8.3.6 (#207) Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) from 8.3.5 to 8.3.6. - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.3.6/code/lib/cli) --- updated-dependencies: - dependency-name: storybook dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 0569d55e..dc6db88f 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "prettier": "3.3.3", "prettier-plugin-tailwindcss": "^0.6.8", "prop-types": "^15.8.1", - "storybook": "^8.3.5", + "storybook": "^8.3.6", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typescript": "^5.6.2", diff --git a/yarn.lock b/yarn.lock index ba14e498..6cd137e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1758,10 +1758,10 @@ resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.3.2.tgz#b11099e485134f4adc49a65457f5e6e9f844761f" integrity sha512-yB/ETNTNVZi8xvVsTMWvtiI4APRj2zzAa3nHyQO0X+DC4jjysT9D1ruL6jZJ/2DHMp7A9U6v2if83dby/kszfg== -"@storybook/core@8.3.5": - version "8.3.5" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-8.3.5.tgz#d77c93bb67c2df12e3bf84ae7def4693891b225d" - integrity sha512-GOGfTvdioNa/n+Huwg4u/dsyYyBcM+gEcdxi3B7i5x4yJ3I912KoVshumQAOF2myKSRdI8h8aGWdx7nnjd0+5Q== +"@storybook/core@8.3.6": + version "8.3.6" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-8.3.6.tgz#fb439d4edc0722e3bf6fdaff0469bb21566edab1" + integrity sha512-frwfgf0EJ7QL29DWZ5bla/g0eOOWqJGd14t+VUBlpP920zB6sdDfo7+p9JoCjD9u08lGeFDqbPNKayUk+0qDag== dependencies: "@storybook/csf" "^0.1.11" "@types/express" "^4.17.21" @@ -7844,12 +7844,12 @@ stop-iteration-iterator@^1.0.0: dependencies: internal-slot "^1.0.4" -storybook@^8.3.5: - version "8.3.5" - resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.3.5.tgz#aef0542c08e245b7ac22742c1e1633a125063b8e" - integrity sha512-hYQVtP2l+3kO8oKDn4fjXXQYxgTRsj/LaV6lUMJH0zt+OhVmDXKJLxmdUP4ieTm0T8wEbSYosFavgPcQZlxRfw== +storybook@^8.3.6: + version "8.3.6" + resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.3.6.tgz#c5e733504fac26c1a31c527a645c04ec7da4222f" + integrity sha512-9GVbtej6ZzPRUM7KRQ7848506FfHrUiJGqPuIQdoSJd09EmuEoLjmLAgEOmrHBQKgGYMaM7Vh9GsTLim6vwZTQ== dependencies: - "@storybook/core" "8.3.5" + "@storybook/core" "8.3.6" "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" From 00b9e30e8dacb2a82e2cc3b282e4a54b4bc51220 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:40:14 -0400 Subject: [PATCH 04/12] chore: bump eslint-plugin-tailwindcss from 3.14.3 to 3.17.5 (#213) Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.14.3 to 3.17.5. - [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases) - [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.14.3...v3.17.5) --- updated-dependencies: - dependency-name: eslint-plugin-tailwindcss dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index dc6db88f..447f3d34 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "eslint-plugin-regexp": "^2.6.0", "eslint-plugin-sonarjs": "^0.24.0", "eslint-plugin-storybook": "^0.9.0", - "eslint-plugin-tailwindcss": "^3.14.3", + "eslint-plugin-tailwindcss": "^3.17.5", "eslint-plugin-unicorn": "^51.0.1", "eslint-plugin-write-good-comments": "^0.2.0", "husky": "^8.0.0", diff --git a/yarn.lock b/yarn.lock index 6cd137e3..281519ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4619,10 +4619,10 @@ eslint-plugin-storybook@^0.9.0: requireindex "^1.2.0" ts-dedent "^2.2.0" -eslint-plugin-tailwindcss@^3.14.3: - version "3.14.3" - resolved "https://registry.yarnpkg.com/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.14.3.tgz#7d845869da1485e7f74226ccbc2c05e278f2a48e" - integrity sha512-1MKT8CrVuqVJleHxb7ICHsF2QwO0G+VJ28athTtlcOkccp0qmwK7nCUa1C9paCZ+VVgQU4fonsjLz/wUxoMHJQ== +eslint-plugin-tailwindcss@^3.17.5: + version "3.17.5" + resolved "https://registry.yarnpkg.com/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.17.5.tgz#6bf9403e77a5f3f930fb3444a3e22b29cd0fee07" + integrity sha512-8Mi7p7dm+mO1dHgRHHFdPu4RDTBk69Cn4P0B40vRQR+MrguUpwmKwhZy1kqYe3Km8/4nb+cyrCF+5SodOEmaow== dependencies: fast-glob "^3.2.5" postcss "^8.4.4" From 57424996e74575587bdbad71b8bec9c4552207f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:40:52 -0400 Subject: [PATCH 05/12] chore: bump @storybook/react from 8.3.2 to 8.3.5 (#209) Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) from 8.3.2 to 8.3.5. - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.3.5/code/renderers/react) --- updated-dependencies: - dependency-name: "@storybook/react" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 72 +++++++++++++++++++++++++++++++++++----------------- 2 files changed, 50 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 447f3d34..f3b29cd8 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "@storybook/addon-links": "^8.3.5", "@storybook/addon-onboarding": "^8.3.2", "@storybook/blocks": "^8.3.2", - "@storybook/react": "^8.3.2", + "@storybook/react": "^8.3.5", "@storybook/react-vite": "^8.3.2", "@storybook/test": "^8.3.5", "@testing-library/dom": "^10.4.0", diff --git a/yarn.lock b/yarn.lock index 281519ed..91cf0745 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1753,10 +1753,10 @@ magic-string "^0.30.0" ts-dedent "^2.0.0" -"@storybook/components@^8.3.2": - version "8.3.2" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.3.2.tgz#b11099e485134f4adc49a65457f5e6e9f844761f" - integrity sha512-yB/ETNTNVZi8xvVsTMWvtiI4APRj2zzAa3nHyQO0X+DC4jjysT9D1ruL6jZJ/2DHMp7A9U6v2if83dby/kszfg== +"@storybook/components@^8.3.2", "@storybook/components@^8.3.5": + version "8.3.6" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.3.6.tgz#2f5e9a755a964c94f0bab3cd400cc7a71d0489d2" + integrity sha512-TXuoGZY7X3iixF45lXkYOFk8k2q9OHcqHyHyem1gATLLQXgyOvDgzm+VB7uKBNzssRQPEE+La70nfG8bq/viRw== "@storybook/core@8.3.6": version "8.3.6" @@ -1826,21 +1826,26 @@ "@vitest/utils" "^2.0.5" util "^0.12.4" -"@storybook/manager-api@^8.3.2": - version "8.3.2" - resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.3.2.tgz#c08e1743a0a5f2909310dd56ce753d5ea1f4c129" - integrity sha512-8FuwE3BGsLPF0H154+1X/4krSbvmH5xu5YmaVTVDV8DRPlBeRIlNV0HDiZfBvftF4EB7fRYolzghXQplHIX8Fg== +"@storybook/manager-api@^8.3.2", "@storybook/manager-api@^8.3.5": + version "8.3.6" + resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.3.6.tgz#6dfb268a5f1f8228d0bac69fd6e63f6bd2620c2d" + integrity sha512-Xt5VFZcL+G/9uzaHjzWFhxRNrP+4rPhSRKEvCZorAbC9+Hv+ZDs1JSZS5wMb4WKpXBZ0rwDVOLwngqbVtfRHuQ== -"@storybook/preview-api@^8.3.2": - version "8.3.2" - resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.3.2.tgz#b679d947f37384017ee0447de5b4fafbf86c42ca" - integrity sha512-bZvqahrS5oXkiVmqt9rPhlpo/xYLKT7QUWKKIDBRJDp+1mYbQhgsP5NhjUtUdaC+HSofAFzJmVFmixyquYsoGw== +"@storybook/preview-api@^8.3.2", "@storybook/preview-api@^8.3.5": + version "8.3.6" + resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.3.6.tgz#7891b0d9f86bfb49c98eb34487c432354710b468" + integrity sha512-/Wxvb7wbI2O2iH63arRQQyyojA630vibdshkFjuC/u1nYdptEV1jkxa0OYmbZbKCn4/ze6uH4hfsKOpDPV9SWg== "@storybook/react-dom-shim@8.3.2": version "8.3.2" resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.3.2.tgz#128aecae545f94f5243c454ef66efd0ce89bdd5d" integrity sha512-fYL7jh9yFkiKIqRJedqTcrmyoVzS/cMxZD/EFfDRaonMVlLlYJQKocuvR1li1iyeKLvd5lxZsHuQ80c98AkDMA== +"@storybook/react-dom-shim@8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.3.5.tgz#dda5356d3bf55623b9b1429fac7bf185e59c58fd" + integrity sha512-Hf0UitJ/K0C7ajooooUK/PxOR4ihUWqsC7iCV1Gqth8U37dTeLMbaEO4PBwu0VQ+Ufg0N8BJLWfg7o6G4hrODw== + "@storybook/react-vite@^8.3.2": version "8.3.2" resolved "https://registry.yarnpkg.com/@storybook/react-vite/-/react-vite-8.3.2.tgz#8f9f190324a02c9aa2f020010321b1183b8c10e7" @@ -1856,7 +1861,7 @@ resolve "^1.22.8" tsconfig-paths "^4.2.0" -"@storybook/react@8.3.2", "@storybook/react@^8.3.2": +"@storybook/react@8.3.2": version "8.3.2" resolved "https://registry.yarnpkg.com/@storybook/react/-/react-8.3.2.tgz#87b390ebdf204fa6661e711e2878ddd7c3d65614" integrity sha512-GvnqhxvaYC6s8WMiDWr184UlNp5jmRVNMBHasXlUsVDYvs6J1tStJeN+XBZbAJBW/0zkHLuf4REk8lLBi2eKRQ== @@ -1882,6 +1887,32 @@ type-fest "~2.19" util-deprecate "^1.0.2" +"@storybook/react@^8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-8.3.5.tgz#d4e333b09f275f06b38fb1367234ad1619fbe4fa" + integrity sha512-kuBPe/wBin10SWr4EWPKxiTRGQ4RD2etGEVWVQLqVpOuJp/J2hVvXQHtCfZXU4TZT5x4PBbPRswbr58+XlF+kQ== + dependencies: + "@storybook/components" "^8.3.5" + "@storybook/global" "^5.0.0" + "@storybook/manager-api" "^8.3.5" + "@storybook/preview-api" "^8.3.5" + "@storybook/react-dom-shim" "8.3.5" + "@storybook/theming" "^8.3.5" + "@types/escodegen" "^0.0.6" + "@types/estree" "^0.0.51" + "@types/node" "^22.0.0" + acorn "^7.4.1" + acorn-jsx "^5.3.1" + acorn-walk "^7.2.0" + escodegen "^2.1.0" + html-tags "^3.1.0" + prop-types "^15.7.2" + react-element-to-jsx-string "^15.0.0" + semver "^7.3.7" + ts-dedent "^2.0.0" + type-fest "~2.19" + util-deprecate "^1.0.2" + "@storybook/test@8.3.2": version "8.3.2" resolved "https://registry.yarnpkg.com/@storybook/test/-/test-8.3.2.tgz#ae879dd105a2574b8122b7e7c9887644cd6895f1" @@ -1912,10 +1943,10 @@ "@vitest/spy" "2.0.5" util "^0.12.4" -"@storybook/theming@^8.3.2": - version "8.3.2" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.3.2.tgz#f3bf95888fe43ec884aad5d5f97ad406561ab83b" - integrity sha512-JXAVc08Tlbu4GTTMGNmwUy69lShqSpJixAJc4bvWTnNAtPTRltiNJCg/KJ0GauEyRFk8ZR2Ha4KhN3DB1felNQ== +"@storybook/theming@^8.3.2", "@storybook/theming@^8.3.5": + version "8.3.6" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.3.6.tgz#57c5789903e50b84844aa8e7ce0e1f031e98a948" + integrity sha512-LQjUk6GXRW9ELkoBKuqzQKFUW+ajfGPfVELcfs3/VQX61VhthJ4olov4bGPc04wsmmFMgN/qODxT485IwOHfPQ== "@tanem/svg-injector@^10.1.68": version "10.1.68" @@ -2055,7 +2086,7 @@ resolved "https://registry.yarnpkg.com/@types/escodegen/-/escodegen-0.0.6.tgz#5230a9ce796e042cda6f086dbf19f22ea330659c" integrity sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig== -"@types/estree@1.0.6", "@types/estree@^1.0.0": +"@types/estree@1.0.6", "@types/estree@^1.0.0", "@types/estree@^1.0.5": version "1.0.6" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== @@ -2065,11 +2096,6 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== -"@types/estree@^1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" - integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== - "@types/events@^3.0.0": version "3.0.3" resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.3.tgz#a8ef894305af28d1fc6d2dfdfc98e899591ea529" From fb0af9ff38ecdfcaecd18da10f5a88efe3e85708 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:41:13 -0400 Subject: [PATCH 06/12] chore: bump @radix-ui/react-context-menu from 2.2.1 to 2.2.2 (#212) Bumps [@radix-ui/react-context-menu](https://github.com/radix-ui/primitives) from 2.2.1 to 2.2.2. - [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md) - [Commits](https://github.com/radix-ui/primitives/commits) --- updated-dependencies: - dependency-name: "@radix-ui/react-context-menu" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 54 +++++++--------------------------------------------- 2 files changed, 8 insertions(+), 48 deletions(-) diff --git a/package.json b/package.json index f3b29cd8..4638cd83 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@floating-ui/react": "^0.26.9", "@radix-ui/react-accordion": "^1.2.1", "@radix-ui/react-alert-dialog": "^1.1.2", - "@radix-ui/react-context-menu": "^2.2.1", + "@radix-ui/react-context-menu": "^2.2.2", "@radix-ui/react-dropdown-menu": "^2.1.2", "@radix-ui/react-hover-card": "^1.1.2", "@radix-ui/react-icons": "^1.3.0", diff --git a/yarn.lock b/yarn.lock index 91cf0745..352a52bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1109,14 +1109,14 @@ resolved "https://registry.yarnpkg.com/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz#656432461fc8283d7b591dcf0d79152fae9ecc74" integrity sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw== -"@radix-ui/react-context-menu@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@radix-ui/react-context-menu/-/react-context-menu-2.2.1.tgz#a2c7812336a40cd22900c888336ad6e1adc6a1bc" - integrity sha512-wvMKKIeb3eOrkJ96s722vcidZ+2ZNfcYZWBPRHIB1VWrF+fiF851Io6LX0kmK5wTDQFKdulCCKJk2c3SBaQHvA== +"@radix-ui/react-context-menu@^2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@radix-ui/react-context-menu/-/react-context-menu-2.2.2.tgz#efcddc559fc3011721b65148f062d04027f76c7a" + integrity sha512-99EatSTpW+hRYHt7m8wdDlLtkmTovEe8Z/hnxUPV+SKuuNL5HWNhQI4QSdjZqNSgXHay2z4M3Dym73j9p2Gx5Q== dependencies: "@radix-ui/primitive" "1.1.0" - "@radix-ui/react-context" "1.1.0" - "@radix-ui/react-menu" "2.1.1" + "@radix-ui/react-context" "1.1.1" + "@radix-ui/react-menu" "2.1.2" "@radix-ui/react-primitive" "2.0.0" "@radix-ui/react-use-callback-ref" "1.1.0" "@radix-ui/react-use-controllable-state" "1.1.0" @@ -1191,11 +1191,6 @@ "@radix-ui/react-primitive" "2.0.0" "@radix-ui/react-use-controllable-state" "1.1.0" -"@radix-ui/react-focus-guards@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.0.tgz#8e9abb472a9a394f59a1b45f3dd26cfe3fc6da13" - integrity sha512-w6XZNUPVv6xCpZUqb/yN9DL6auvpGX3C/ee6Hdi16v2UUy25HV2Q5bcflsiDyT/g5RwbPQ/GIT1vLkeRb+ITBw== - "@radix-ui/react-focus-guards@1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.1.tgz#8635edd346304f8b42cae86b05912b61aef27afe" @@ -1237,30 +1232,6 @@ dependencies: "@radix-ui/react-use-layout-effect" "1.1.0" -"@radix-ui/react-menu@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@radix-ui/react-menu/-/react-menu-2.1.1.tgz#bd623ace0e1ae1ac78023a505fec0541d59fb346" - integrity sha512-oa3mXRRVjHi6DZu/ghuzdylyjaMXLymx83irM7hTxutQbD+7IhPKdMdRHD26Rm+kHRrWcrUkkRPv5pd47a2xFQ== - dependencies: - "@radix-ui/primitive" "1.1.0" - "@radix-ui/react-collection" "1.1.0" - "@radix-ui/react-compose-refs" "1.1.0" - "@radix-ui/react-context" "1.1.0" - "@radix-ui/react-direction" "1.1.0" - "@radix-ui/react-dismissable-layer" "1.1.0" - "@radix-ui/react-focus-guards" "1.1.0" - "@radix-ui/react-focus-scope" "1.1.0" - "@radix-ui/react-id" "1.1.0" - "@radix-ui/react-popper" "1.2.0" - "@radix-ui/react-portal" "1.1.1" - "@radix-ui/react-presence" "1.1.0" - "@radix-ui/react-primitive" "2.0.0" - "@radix-ui/react-roving-focus" "1.1.0" - "@radix-ui/react-slot" "1.1.0" - "@radix-ui/react-use-callback-ref" "1.1.0" - aria-hidden "^1.1.1" - react-remove-scroll "2.5.7" - "@radix-ui/react-menu@2.1.2": version "2.1.2" resolved "https://registry.yarnpkg.com/@radix-ui/react-menu/-/react-menu-2.1.2.tgz#91f6815845a4298dde775563ed2d80b7ad667899" @@ -7222,7 +7193,7 @@ react-refresh@^0.14.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e" integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ== -react-remove-scroll-bar@^2.3.4, react-remove-scroll-bar@^2.3.6: +react-remove-scroll-bar@^2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.6.tgz#3e585e9d163be84a010180b18721e851ac81a29c" integrity sha512-DtSYaao4mBmX+HDo5YWYdBWQwYIQQshUV/dVxFxK+KM26Wjwp1gZ6rv6OC3oujI6Bfu6Xyg3TwK533AQutsn/g== @@ -7230,17 +7201,6 @@ react-remove-scroll-bar@^2.3.4, react-remove-scroll-bar@^2.3.6: react-style-singleton "^2.2.1" tslib "^2.0.0" -react-remove-scroll@2.5.7: - version "2.5.7" - resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.7.tgz#15a1fd038e8497f65a695bf26a4a57970cac1ccb" - integrity sha512-FnrTWO4L7/Bhhf3CYBNArEG/yROV0tKmTv7/3h9QCFvH6sndeFf1wPqOcbFVu5VAulS5dV1wGT3GZZ/1GawqiA== - dependencies: - react-remove-scroll-bar "^2.3.4" - react-style-singleton "^2.2.1" - tslib "^2.1.0" - use-callback-ref "^1.3.0" - use-sidecar "^1.1.2" - react-remove-scroll@2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.6.0.tgz#fb03a0845d7768a4f1519a99fdb84983b793dc07" From 49dc7787ed52239acfcb2f705f3656b7e0336338 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:41:40 -0400 Subject: [PATCH 07/12] chore: bump eslint-plugin-n from 15.7.0 to 16.6.2 (#216) Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 15.7.0 to 16.6.2. - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/15.7.0...16.6.2) --- updated-dependencies: - dependency-name: eslint-plugin-n dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 112 ++++++++++++++++++++++++--------------------------- 2 files changed, 54 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index 4638cd83..bc14b5b9 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "eslint-plugin-github": "^4.10.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.0", - "eslint-plugin-n": "^15.0.0", + "eslint-plugin-n": "^16.6.2", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.6.0", diff --git a/yarn.lock b/yarn.lock index 352a52bf..0a2dc11f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -753,18 +753,23 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz#81fd50d11e2c32b2d6241470e3185b70c7b30699" integrity sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg== -"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" - integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== +"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz#d1145bf2c20132d6400495d6df4bf59362fd9d56" + integrity sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA== dependencies: - eslint-visitor-keys "^3.3.0" + eslint-visitor-keys "^3.4.3" "@eslint-community/regexpp@^4.10.0", "@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1", "@eslint-community/regexpp@^4.8.0", "@eslint-community/regexpp@^4.9.1": version "4.11.1" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz#a547badfc719eb3e5f4b556325e542fbe9d7a18f" integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q== +"@eslint-community/regexpp@^4.11.0": + version "4.12.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0" + integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ== + "@eslint/eslintrc@^2.1.4": version "2.1.4" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" @@ -4355,6 +4360,13 @@ escodegen@^2.1.0: optionalDependencies: source-map "~0.6.1" +eslint-compat-utils@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/eslint-compat-utils/-/eslint-compat-utils-0.5.1.tgz#7fc92b776d185a70c4070d03fd26fde3d59652e4" + integrity sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q== + dependencies: + semver "^7.5.4" + eslint-config-love@^46.0.0: version "46.0.0" resolved "https://registry.yarnpkg.com/eslint-config-love/-/eslint-config-love-46.0.0.tgz#7300cf2fcf11596d90fb73946bbd69d378b7c962" @@ -4397,13 +4409,14 @@ eslint-plugin-deprecation@^3.0.0: ts-api-utils "^1.3.0" tslib "^2.3.1" -eslint-plugin-es@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9" - integrity sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ== +eslint-plugin-es-x@^7.5.0: + version "7.8.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.8.0.tgz#a207aa08da37a7923f2a9599e6d3eb73f3f92b74" + integrity sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ== dependencies: - eslint-utils "^2.0.0" - regexpp "^3.0.0" + "@eslint-community/eslint-utils" "^4.1.2" + "@eslint-community/regexpp" "^4.11.0" + eslint-compat-utils "^0.5.1" eslint-plugin-escompat@^3.3.3: version "3.4.0" @@ -4517,19 +4530,22 @@ eslint-plugin-jsx-a11y@^6.10.0, eslint-plugin-jsx-a11y@^6.7.1: safe-regex-test "^1.0.3" string.prototype.includes "^2.0.0" -eslint-plugin-n@^15.0.0: - version "15.7.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-15.7.0.tgz#e29221d8f5174f84d18f2eb94765f2eeea033b90" - integrity sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q== +eslint-plugin-n@^16.6.2: + version "16.6.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.6.2.tgz#6a60a1a376870064c906742272074d5d0b412b0b" + integrity sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ== dependencies: + "@eslint-community/eslint-utils" "^4.4.0" builtins "^5.0.1" - eslint-plugin-es "^4.1.0" - eslint-utils "^3.0.0" - ignore "^5.1.1" - is-core-module "^2.11.0" + eslint-plugin-es-x "^7.5.0" + get-tsconfig "^4.7.0" + globals "^13.24.0" + ignore "^5.2.4" + is-builtin-module "^3.2.1" + is-core-module "^2.12.1" minimatch "^3.1.2" - resolve "^1.22.1" - semver "^7.3.8" + resolve "^1.22.2" + semver "^7.5.3" eslint-plugin-no-only-tests@^3.0.0: version "3.1.0" @@ -4675,30 +4691,6 @@ eslint-scope@^7.2.2: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" - integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== - dependencies: - eslint-visitor-keys "^1.1.0" - -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== - dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== - -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: version "3.4.3" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" @@ -5202,6 +5194,13 @@ get-symbol-description@^1.0.2: es-errors "^1.3.0" get-intrinsic "^1.2.4" +get-tsconfig@^4.7.0: + version "4.8.1" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.8.1.tgz#8995eb391ae6e1638d251118c7b56de7eb425471" + integrity sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg== + dependencies: + resolve-pkg-maps "^1.0.0" + git-raw-commits@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-4.0.0.tgz#b212fd2bff9726d27c1283a1157e829490593285" @@ -5305,7 +5304,7 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.19.0: +globals@^13.19.0, globals@^13.24.0: version "13.24.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== @@ -5472,12 +5471,7 @@ ieee754@^1.1.13, ieee754@^1.2.1: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore@^5.0.5, ignore@^5.1.1, ignore@^5.2.0, ignore@^5.2.4: - version "5.3.1" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" - integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== - -ignore@^5.3.1: +ignore@^5.0.5, ignore@^5.2.0, ignore@^5.2.4, ignore@^5.3.1: version "5.3.2" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== @@ -5661,7 +5655,7 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-core-module@^2.11.0, is-core-module@^2.13.0, is-core-module@^2.15.1: +is-core-module@^2.12.1, is-core-module@^2.13.0, is-core-module@^2.15.1: version "2.15.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37" integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ== @@ -7362,11 +7356,6 @@ regexp.prototype.flags@^1.5.1, regexp.prototype.flags@^1.5.2: es-errors "^1.3.0" set-function-name "^2.0.1" -regexpp@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== - regjsparser@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.10.0.tgz#b1ed26051736b436f22fdec1c8f72635f9f44892" @@ -7447,6 +7436,11 @@ resolve-global@^1.0.0: dependencies: global-dirs "^0.1.1" +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve@^1.1.7, resolve@^1.10.0, resolve@^1.20.0, resolve@^1.22.1, resolve@^1.22.2, resolve@^1.22.4, resolve@^1.22.8: version "1.22.8" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" @@ -7628,7 +7622,7 @@ semver@^6.0.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.3.4, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4, semver@^7.6.0, semver@^7.6.2: +semver@^7.0.0, semver@^7.3.4, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.2: version "7.6.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== From 6c3970a9263acc8ac7042d49fd829f5a7a2628ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:07:02 -0400 Subject: [PATCH 08/12] chore: bump eslint-plugin-unicorn from 51.0.1 to 56.0.0 (#214) * chore: bump eslint-plugin-unicorn from 51.0.1 to 56.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 51.0.1 to 56.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v56.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * feat: Fix problems --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristian Carralero --- .eslintrc.cjs | 1 + package.json | 2 +- src/components/FileMessage.tsx | 2 +- src/components/Input.tsx | 14 ++++---- src/components/ui/typography.tsx | 2 +- src/hooks/util/useEmojiPicker.ts | 4 +-- src/utils/parser.ts | 7 ++-- yarn.lock | 58 ++++++++++++++++---------------- 8 files changed, 44 insertions(+), 46 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d4d84ee0..80bc59f3 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -58,6 +58,7 @@ module.exports = { "unicorn/number-literal-case": "off", "unicorn/prefer-spread": "off", "jsx-a11y/media-has-caption": [0], + "unicorn/prefer-global-this": "off", }, settings: { "react": { diff --git a/package.json b/package.json index bc14b5b9..3ef2af9d 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "eslint-plugin-sonarjs": "^0.24.0", "eslint-plugin-storybook": "^0.9.0", "eslint-plugin-tailwindcss": "^3.17.5", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^56.0.0", "eslint-plugin-write-good-comments": "^0.2.0", "husky": "^8.0.0", "husky-init": "8.0.0", diff --git a/src/components/FileMessage.tsx b/src/components/FileMessage.tsx index 12e87d78..ad7aa21d 100644 --- a/src/components/FileMessage.tsx +++ b/src/components/FileMessage.tsx @@ -157,7 +157,7 @@ export const fileSizeToString = (fileSize: number): string => { export const getFileExtension = (fileName: string): string => { const match = fileName.lastIndexOf(".") - return match === -1 ? "file" : fileName.slice(match + 1, fileName.length) + return match === -1 ? "file" : fileName.slice(match + 1) } export default FileMessage diff --git a/src/components/Input.tsx b/src/components/Input.tsx index e5bd51b4..c77c963f 100644 --- a/src/components/Input.tsx +++ b/src/components/Input.tsx @@ -35,19 +35,19 @@ export type InputProps = { const urlPattern = new RegExp( // Protocol. - "^(https?:\\/\\/)?" + + String.raw`^(https?:\/\/)?` + // Domain name and extension. - "([a-z\\d-]+\\.)+[a-z]{2,}|" + + String.raw`([a-z\d-]+\.)+[a-z]{2,}|` + // Or IP (v4) address. - "((\\d{1,3}\\.){3}\\d{1,3})" + + String.raw`((\d{1,3}\.){3}\d{1,3})` + // Port. - "(:\\d+)?" + + String.raw`(:\d+)?` + // Path. - "(\\/[-\\w%.~+]*)*" + + String.raw`(\/[-\w%.~+]*)*` + // Query string. - "(\\?[;&\\w%.~+=-]*)?" + + String.raw`(\?[;&\w%.~+=-]*)?` + // Fragment locator. - "(#[-\\w]*)?$", + String.raw`(#[-\w]*)?$`, "i" ) diff --git a/src/components/ui/typography.tsx b/src/components/ui/typography.tsx index abaa53d6..48429563 100644 --- a/src/components/ui/typography.tsx +++ b/src/components/ui/typography.tsx @@ -156,7 +156,7 @@ const headingClass: HeadingVariants = { }, } -const headingVariants = cva("font-bold leading-[160%]", { +const headingVariants = cva("font-bold leading-160", { variants: headingClass, defaultVariants: { level: "h3", diff --git a/src/hooks/util/useEmojiPicker.ts b/src/hooks/util/useEmojiPicker.ts index da319ca9..8ba42864 100644 --- a/src/hooks/util/useEmojiPicker.ts +++ b/src/hooks/util/useEmojiPicker.ts @@ -146,7 +146,7 @@ export function putEmojiInPosition( return prevText .slice(0, selectionStart) .concat(emoji) - .concat(prevText.slice(selectionEnd, prevText.length)) + .concat(prevText.slice(selectionEnd)) } catch (error) { console.error("Error updating text", error) } @@ -159,7 +159,7 @@ export function putEmojiInPosition( return prevText .slice(0, caretPosition) .concat(emoji) - .concat(prevText.slice(caretPosition, prevText.length)) + .concat(prevText.slice(caretPosition)) }) } diff --git a/src/utils/parser.ts b/src/utils/parser.ts index 60931057..da22c188 100644 --- a/src/utils/parser.ts +++ b/src/utils/parser.ts @@ -7,14 +7,11 @@ export type ReplyMessageBodyData = { export const parseReplyMessageFromBody = ( body: string ): ReplyMessageBodyData => { - const message = body.slice(body.indexOf("\n\n") + 2, body.length) + const message = body.slice(body.indexOf("\n\n") + 2) const match = body.split(/\n{2}/)[0] - const quotedMessage = match.slice( - match.indexOf(">", match.indexOf("<")) + 1, - match.length - ) + const quotedMessage = match.slice(match.indexOf(">", match.indexOf("<")) + 1) let quotedUser = match.slice( match.indexOf("<") + 1, diff --git a/yarn.lock b/yarn.lock index 0a2dc11f..241e869e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -130,15 +130,10 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz#d50e8d37b1176207b4fe9acedec386c565a44a54" integrity sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g== -"@babel/helper-validator-identifier@^7.22.20": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" - integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== - -"@babel/helper-validator-identifier@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz#77b7f60c40b15c97df735b38a66ba1d7c3e93da5" - integrity sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg== +"@babel/helper-validator-identifier@^7.24.7", "@babel/helper-validator-identifier@^7.25.7": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7" + integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== "@babel/helper-validator-option@^7.25.7": version "7.25.7" @@ -3285,7 +3280,7 @@ browser-assert@^1.2.1: resolved "https://registry.yarnpkg.com/browser-assert/-/browser-assert-1.2.1.tgz#9aaa5a2a8c74685c2ae05bfe46efd606f068c200" integrity sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ== -browserslist@^4.21.0, browserslist@^4.21.10, browserslist@^4.22.3, browserslist@^4.23.3: +browserslist@^4.21.0, browserslist@^4.21.10, browserslist@^4.23.3: version "4.23.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== @@ -3679,12 +3674,12 @@ cookie@0.6.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== -core-js-compat@^3.34.0: - version "3.36.0" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.36.0.tgz#087679119bc2fdbdefad0d45d8e5d307d45ba190" - integrity sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw== +core-js-compat@^3.38.1: + version "3.38.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.38.1.tgz#2bc7a298746ca5a7bcb9c164bcb120f2ebc09a09" + integrity sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw== dependencies: - browserslist "^4.22.3" + browserslist "^4.23.3" cosmiconfig-typescript-loader@^5.0.0: version "5.0.0" @@ -4640,18 +4635,18 @@ eslint-plugin-tailwindcss@^3.17.5: fast-glob "^3.2.5" postcss "^8.4.4" -eslint-plugin-unicorn@^51.0.1: - version "51.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-51.0.1.tgz#3641c5e110324c3739d6cb98fc1b99ada39f477b" - integrity sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw== +eslint-plugin-unicorn@^56.0.0: + version "56.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-56.0.0.tgz#9fd3ebe6f478571734541fa745026b743175b59e" + integrity sha512-aXpddVz/PQMmd69uxO98PA4iidiVNvA0xOtbpUoz1WhBd4RxOQQYqN618v68drY0hmy5uU2jy1bheKEVWBjlPw== dependencies: - "@babel/helper-validator-identifier" "^7.22.20" + "@babel/helper-validator-identifier" "^7.24.7" "@eslint-community/eslint-utils" "^4.4.0" - "@eslint/eslintrc" "^2.1.4" ci-info "^4.0.0" clean-regexp "^1.0.0" - core-js-compat "^3.34.0" - esquery "^1.5.0" + core-js-compat "^3.38.1" + esquery "^1.6.0" + globals "^15.9.0" indent-string "^4.0.0" is-builtin-module "^3.2.1" jsesc "^3.0.2" @@ -4659,7 +4654,7 @@ eslint-plugin-unicorn@^51.0.1: read-pkg-up "^7.0.1" regexp-tree "^0.1.27" regjsparser "^0.10.0" - semver "^7.5.4" + semver "^7.6.3" strip-indent "^3.0.0" eslint-plugin-write-good-comments@^0.2.0: @@ -4754,10 +4749,10 @@ esprima@^4.0.1, esprima@~4.0.0: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.4.2, esquery@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" - integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== +esquery@^1.4.2, esquery@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.6.0.tgz#91419234f804d852a82dceec3e16cdc22cf9dae7" + integrity sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg== dependencies: estraverse "^5.1.0" @@ -5311,6 +5306,11 @@ globals@^13.19.0, globals@^13.24.0: dependencies: type-fest "^0.20.2" +globals@^15.9.0: + version "15.11.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-15.11.0.tgz#b96ed4c6998540c6fb824b24b5499216d2438d6e" + integrity sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw== + globalthis@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" @@ -7622,7 +7622,7 @@ semver@^6.0.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.3.4, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.2: +semver@^7.0.0, semver@^7.3.4, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.2, semver@^7.6.3: version "7.6.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== From 5ff7d2393f724100d644f83f1ab82c0c2af6acc0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:07:58 -0400 Subject: [PATCH 09/12] chore: bump @floating-ui/react from 0.26.9 to 0.26.25 (#208) Bumps [@floating-ui/react](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/react) from 0.26.9 to 0.26.25. - [Release notes](https://github.com/floating-ui/floating-ui/releases) - [Changelog](https://github.com/floating-ui/floating-ui/blob/master/packages/react/CHANGELOG.md) - [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/react@0.26.25/packages/react) --- updated-dependencies: - dependency-name: "@floating-ui/react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 59 ++++++++++++++-------------------------------------- 2 files changed, 17 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index 3ef2af9d..51304117 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@emoji-mart/data": "^1.2.1", - "@floating-ui/react": "^0.26.9", + "@floating-ui/react": "^0.26.25", "@radix-ui/react-accordion": "^1.2.1", "@radix-ui/react-alert-dialog": "^1.1.2", "@radix-ui/react-context-menu": "^2.2.2", diff --git a/yarn.lock b/yarn.lock index 241e869e..1b5988bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -785,13 +785,6 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== -"@floating-ui/core@^1.0.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.0.tgz#fa41b87812a16bf123122bf945946bae3fdf7fc1" - integrity sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g== - dependencies: - "@floating-ui/utils" "^0.2.1" - "@floating-ui/core@^1.6.0": version "1.6.7" resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.7.tgz#7602367795a390ff0662efd1c7ae8ca74e75fb12" @@ -807,46 +800,26 @@ "@floating-ui/core" "^1.6.0" "@floating-ui/utils" "^0.2.7" -"@floating-ui/dom@^1.6.1": - version "1.6.3" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.3.tgz#954e46c1dd3ad48e49db9ada7218b0985cee75ef" - integrity sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw== - dependencies: - "@floating-ui/core" "^1.0.0" - "@floating-ui/utils" "^0.2.0" - -"@floating-ui/react-dom@^2.0.0": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.1.1.tgz#cca58b6b04fc92b4c39288252e285e0422291fb0" - integrity sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg== +"@floating-ui/react-dom@^2.0.0", "@floating-ui/react-dom@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.1.2.tgz#a1349bbf6a0e5cb5ded55d023766f20a4d439a31" + integrity sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A== dependencies: "@floating-ui/dom" "^1.0.0" -"@floating-ui/react-dom@^2.0.8": - version "2.0.8" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.8.tgz#afc24f9756d1b433e1fe0d047c24bd4d9cefaa5d" - integrity sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw== - dependencies: - "@floating-ui/dom" "^1.6.1" - -"@floating-ui/react@^0.26.9": - version "0.26.9" - resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.26.9.tgz#bbccbefa0e60c8b7f4c0387ba0fc0607bb65f2cc" - integrity sha512-p86wynZJVEkEq2BBjY/8p2g3biQ6TlgT4o/3KgFKyTWoJLU1GZ8wpctwRqtkEl2tseYA+kw7dBAIDFcednfI5w== +"@floating-ui/react@^0.26.25": + version "0.26.25" + resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.26.25.tgz#cf4c8a2b89fab1a71712d15e6551df3bfbd2ea1d" + integrity sha512-hZOmgN0NTOzOuZxI1oIrDu3Gcl8WViIkvPMpB4xdd4QD6xAMtwgwr3VPoiyH/bLtRcS1cDnhxLSD1NsMJmwh/A== dependencies: - "@floating-ui/react-dom" "^2.0.8" - "@floating-ui/utils" "^0.2.1" - tabbable "^6.0.1" - -"@floating-ui/utils@^0.2.0", "@floating-ui/utils@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.1.tgz#16308cea045f0fc777b6ff20a9f25474dd8293d2" - integrity sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q== + "@floating-ui/react-dom" "^2.1.2" + "@floating-ui/utils" "^0.2.8" + tabbable "^6.0.0" -"@floating-ui/utils@^0.2.7": - version "0.2.7" - resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.7.tgz#d0ece53ce99ab5a8e37ebdfe5e32452a2bfc073e" - integrity sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA== +"@floating-ui/utils@^0.2.7", "@floating-ui/utils@^0.2.8": + version "0.2.8" + resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.8.tgz#21a907684723bbbaa5f0974cf7730bd797eb8e62" + integrity sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig== "@github/browserslist-config@^1.0.0": version "1.0.0" @@ -8074,7 +8047,7 @@ synckit@^0.9.1: "@pkgr/core" "^0.1.0" tslib "^2.6.2" -tabbable@^6.0.1: +tabbable@^6.0.0: version "6.2.0" resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-6.2.0.tgz#732fb62bc0175cfcec257330be187dcfba1f3b97" integrity sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew== From 2a2db03180eedfd42cdd7afe44b4a54ad934dee7 Mon Sep 17 00:00:00 2001 From: Cristian Carralero Date: Fri, 1 Nov 2024 21:23:43 -0400 Subject: [PATCH 10/12] feat: Upgrade dependencies and optimize sources (#218) * feat: Upgrade dev dependencies * feat: Implement new versions of eslint and plugins * feat: Upgrade some dependencies * feat: Improve fonts accessibility * feat: Improve and remove unnecessary files * feat: Optimize svg * fix: Fix eslint problem * fix: Fix workflow problem * fix: Fix eslint problems * fix: Remove unnecessary eslint ignores * refactor: Remove husky --- .eslintignore | 10 - .eslintrc.cjs | 74 - .github/workflows/lint-and-formatting.yml | 2 +- .husky/commit-msg | 4 - .husky/pre-commit | 5 - .storybook/main.ts | 4 +- eslint.config.mjs | 148 + index.html | 47 +- package.json | 80 +- public/LoginPhoto.png | Bin 1227695 -> 0 bytes public/LoginPhoto.webp | Bin 0 -> 38906 bytes public/fonts/Satoshi-Black.woff2 | Bin 0 -> 23484 bytes public/fonts/Satoshi-Bold.woff2 | Bin 0 -> 25328 bytes public/fonts/Satoshi-Italic.woff2 | Bin 0 -> 26456 bytes public/fonts/Satoshi-Light.woff2 | Bin 0 -> 22800 bytes public/fonts/Satoshi-Medium.woff2 | Bin 0 -> 25596 bytes public/fonts/Satoshi-Regular.woff2 | Bin 0 -> 25516 bytes public/icons/clear-search-icon-dark.svg | 14 +- public/icons/clear-search-icon.svg | 14 +- public/icons/create-space.svg | 5 +- public/icons/dot-grid.svg | 124 +- public/logo-black.svg | 13 - public/logo-small.svg | 11 - public/logo-white.svg | 12 - public/logo.svg | 11 - public/new-logo.svg | 29 +- public/pink-glow.svg | 13 - public/space-home.png | Bin 8903 -> 0 bytes public/space-home.webp | Bin 0 -> 2282 bytes src/components/FileMessage.tsx | 1 - src/components/ImagePreview.tsx | 1 - src/components/VideoMessage.tsx | 3 +- src/components/ui/input.tsx | 20 +- src/components/ui/textarea.tsx | 3 +- .../NavigationSection/SidebarActions.tsx | 4 +- src/containers/NavigationSection/Spaces.tsx | 5 +- .../RoomContainer/ChatContainer.tsx | 2 +- src/containers/RoomContainer/ChatMessages.tsx | 6 +- .../RoomContainer/RoomContainer.tsx | 2 +- src/hooks/util/useEmojiSearch.ts | 2 +- src/stories/Chat/chatInput.stories.tsx | 12 +- src/stories/Chat/imageMessage.stories.tsx | 2 +- src/stories/Popups/dmTrayPopup.stories.tsx | 18 +- src/stories/inputArea.stories.tsx | 2 +- src/stories/notification.stories.tsx | 4 +- src/stories/roster.stories.tsx | 8 +- src/stories/serverDropdown.stories.tsx | 2 +- src/styles/tailwind.css | 2 +- src/utils/members.ts | 24 +- src/utils/rooms.ts | 3 +- src/utils/util.ts | 6 +- tailwind.config.ts | 34 +- tsconfig.json | 10 +- vite.config.ts | 4 +- yarn.lock | 3604 ++++++++++------- 55 files changed, 2426 insertions(+), 1978 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.cjs delete mode 100644 .husky/commit-msg delete mode 100644 .husky/pre-commit create mode 100644 eslint.config.mjs delete mode 100644 public/LoginPhoto.png create mode 100644 public/LoginPhoto.webp create mode 100644 public/fonts/Satoshi-Black.woff2 create mode 100644 public/fonts/Satoshi-Bold.woff2 create mode 100644 public/fonts/Satoshi-Italic.woff2 create mode 100644 public/fonts/Satoshi-Light.woff2 create mode 100644 public/fonts/Satoshi-Medium.woff2 create mode 100644 public/fonts/Satoshi-Regular.woff2 delete mode 100644 public/logo-black.svg delete mode 100644 public/logo-small.svg delete mode 100644 public/logo-white.svg delete mode 100644 public/logo.svg delete mode 100644 public/pink-glow.svg delete mode 100644 public/space-home.png create mode 100644 public/space-home.webp diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 549cba3c..00000000 --- a/.eslintignore +++ /dev/null @@ -1,10 +0,0 @@ -.github -.storybook -github -vite.config.ts -!.storybook¡ -commitlint.config.ts -tailwind.config.ts -node_modules -index.html -postcss.config.js diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 80bc59f3..00000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,74 +0,0 @@ -module.exports = { - root: true, - env: {browser: true, es2020: true}, - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:react-hooks/recommended", - "plugin:storybook/recommended", - "plugin:prettier/recommended", - "love", - "eslint-config-prettier", - "plugin:tailwindcss/recommended", - "plugin:sonarjs/recommended", - "plugin:github/react", - "plugin:unicorn/recommended", - "plugin:deprecation/recommended", - "plugin:jsx-a11y/recommended", - "plugin:functional/external-typescript-recommended", - "plugin:import/typescript", - "plugin:no-use-extend-native/recommended", - "plugin:promise/recommended", - "plugin:regexp/recommended", - ], - ignorePatterns: ["dist", ".eslintrc.cjs", "postcss.config.js"], - parser: "@typescript-eslint/parser", - plugins: ["prettier", "write-good-comments", "functional", "promise"], - rules: { - "prettier/prettier": "error", - "@typescript-eslint/explicit-function-return-type": "error", - "@typescript-eslint/quotes": "off", - "@typescript-eslint/no-unused-vars": "warn", - "@typescript-eslint/space-before-function-paren": "off", - "@typescript-eslint/strict-boolean-expressions": "off", - "@typescript-eslint/consistent-type-definitions": "off", - "operator-linebreak": "off", - "multiline-ternary": "off", - "react/no-children-prop": "off", - "prefer-regex-literals": "off", - "no-useless-escape": "off", - "@typescript-eslint/no-non-null-assertion": "warn", - "@typescript-eslint/no-floating-promises": "warn", - "no-new": "off", - "sonarjs/cognitive-complexity": ["error", 17], - "unicorn/filename-case": ["off"], - "unicorn/prevent-abbreviations": ["off"], - "unicorn/no-nested-ternary": "off", - "unicorn/no-null": ["off"], - "unicorn/prefer-code-point": "off", - "write-good-comments/write-good-comments": [ - "warn", - { - passive: false, - whitelist: ["read-only"], - }, - ], - "@typescript-eslint/no-throw-literal": "off", - "promise/always-return": "off", - "unicorn/number-literal-case": "off", - "unicorn/prefer-spread": "off", - "jsx-a11y/media-has-caption": [0], - "unicorn/prefer-global-this": "off", - }, - settings: { - "react": { - version: "detect", - }, - "import/extensions": [".ts", ".tsx"], - "import/resolver": { - node: { - extensions: [".ts", ".tsx"], - }, - }, - }, -} diff --git a/.github/workflows/lint-and-formatting.yml b/.github/workflows/lint-and-formatting.yml index fddb16b2..877bd448 100644 --- a/.github/workflows/lint-and-formatting.yml +++ b/.github/workflows/lint-and-formatting.yml @@ -21,4 +21,4 @@ jobs: run: npx prettier --check . - name: Run ESLint - run: npx eslint . --ext .js,.jsx,.ts,.tsx + run: npx eslint . diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index 4c49ae6a..00000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -yarn commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 1ec2014b..00000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -yarn lint -yarn prettier diff --git a/.storybook/main.ts b/.storybook/main.ts index 90c321e9..5698dc21 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -1,5 +1,5 @@ import type {StorybookConfig} from "@storybook/react-vite" -const path = require("path") +import path from "node:path" const config: StorybookConfig = { stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], @@ -17,7 +17,7 @@ const config: StorybookConfig = { config.resolve.alias = { ...config.resolve.alias, - "@": path.resolve(__dirname, "../src"), + "@": path.resolve(import.meta.dirname, "../src"), } return config diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 00000000..d11fa2c0 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,148 @@ +import {fixupConfigRules, fixupPluginRules} from "@eslint/compat" +import prettier from "eslint-plugin-prettier" +import writeGoodComments from "eslint-plugin-write-good-comments" +import functional from "eslint-plugin-functional" +import promise from "eslint-plugin-promise" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import {fileURLToPath} from "node:url" +import js from "@eslint/js" +import {FlatCompat} from "@eslint/eslintrc" +import sonarjs from "eslint-plugin-sonarjs" +import noUseExtendNative from "eslint-plugin-no-use-extend-native" +import love from "eslint-config-love" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + { + files: ["**/*.ts", "**/*.tsx"], + ignores: [ + "**/dist", + "**/.github", + "**/.storybook", + "src/stories/**", + "**/github", + "**/vite.config.ts", + "!**/.storybook¡", + "**/commitlint.config.ts", + "**/node_modules", + "**/index.html", + "**/postcss.config.js", + ], + }, + ...fixupConfigRules( + compat.extends( + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:react-hooks/recommended", + "plugin:storybook/recommended", + "plugin:prettier/recommended", + "eslint-config-prettier", + "plugin:tailwindcss/recommended", + "plugin:github/react", + "plugin:unicorn/recommended", + "plugin:deprecation/recommended", + "plugin:jsx-a11y/recommended", + "plugin:import/typescript", + "plugin:regexp/recommended" + ) + ), + { + plugins: { + "prettier": fixupPluginRules(prettier), + "write-good-comments": fixupPluginRules(writeGoodComments), + "functional": fixupPluginRules(functional), + "promise": fixupPluginRules(promise), + "sonarjs": fixupPluginRules(sonarjs), + "noUseExtendNative": fixupPluginRules(noUseExtendNative), + "love": fixupConfigRules(love), + }, + + languageOptions: { + parser: tsParser, + + parserOptions: { + ecmaFeatures: { + jsx: true, + }, + project: "./tsconfig.json", + }, + }, + + settings: { + "react": { + version: "detect", + }, + + "import/extensions": [".ts", ".tsx"], + + "import/resolver": { + node: { + extensions: [".ts", ".tsx"], + }, + }, + }, + + rules: { + "prettier/prettier": "error", + "@typescript-eslint/quotes": "off", + "@typescript-eslint/space-before-function-paren": "off", + "@typescript-eslint/strict-boolean-expressions": "off", + "@typescript-eslint/consistent-type-definitions": "off", + "operator-linebreak": "off", + "multiline-ternary": "off", + "react/no-children-prop": "off", + "prefer-regex-literals": "off", + "no-useless-escape": "off", + "@typescript-eslint/no-non-null-assertion": "warn", + "@typescript-eslint/no-floating-promises": "warn", + "no-new": "off", + "sonarjs/cognitive-complexity": ["error", 17], + "unicorn/filename-case": ["off"], + "unicorn/prevent-abbreviations": ["off"], + "unicorn/no-nested-ternary": "off", + "unicorn/no-null": ["off"], + "unicorn/prefer-code-point": "off", + + "write-good-comments/write-good-comments": [ + "warn", + { + passive: false, + whitelist: ["read-only"], + }, + ], + + "@typescript-eslint/no-throw-literal": "off", + "promise/always-return": "off", + "unicorn/number-literal-case": "off", + "unicorn/prefer-spread": "off", + "jsx-a11y/media-has-caption": [0], + "unicorn/prefer-global-this": "off", + "@typescript-eslint/explicit-function-return-type": [ + "error", + { + allowExpressions: true, + }, + ], + "@typescript-eslint/no-unused-vars": [ + "warn", + { + args: "all", + argsIgnorePattern: "^_", + caughtErrors: "all", + caughtErrorsIgnorePattern: "^_", + destructuredArrayIgnorePattern: "^_", + varsIgnorePattern: "^_", + ignoreRestSiblings: true, + }, + ], + }, + }, +] diff --git a/index.html b/index.html index 5d06ffe8..ccad878e 100644 --- a/index.html +++ b/index.html @@ -13,11 +13,6 @@ name="description" content="A simple, lightweight, and easy-to-use web client for the [Matrix] protocol." /> - - - Mirage — Matrix web client + +