diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e278a082..ddfb83e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,7 @@ jobs: with: cache: yarn node-version-file: .nvmrc + registry-url: https://registry.npmjs.org/ - name: Yarn Install run: yarn diff --git a/eslint.config.js b/eslint.config.js index 2d8cf8cf..8660f639 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -57,7 +57,7 @@ export default defineConfig([ pluginJsxA11y.flatConfigs.recommended, pluginReact.configs.flat.recommended, pluginReact.configs.flat['jsx-runtime'], - 'react-hooks/recommended-latest', + pluginReactHooks.configs.flat.recommended, ], languageOptions: { globals: globals.browser, @@ -66,9 +66,6 @@ export default defineConfig([ sourceType: 'module', }, }, - plugins: { - 'react-hooks': pluginReactHooks, - }, settings: { react: { version: 'detect', diff --git a/package.json b/package.json index 68134f58..b6edff8a 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@types/jest": "^30.0.0", "@types/jest-axe": "^3.5.9", "@types/lodash": "^4.17.20", - "@types/node": "^24.6.2", + "@types/node": "^24.7.2", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", "babel-jest": "^30.2.0", @@ -101,7 +101,7 @@ "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", - "eslint-plugin-react-hooks": "^6.1.0", + "eslint-plugin-react-hooks": "^7.0.0", "globals": "^16.4.0", "jest": "^30.2.0", "jest-axe": "^10.0.0", @@ -118,7 +118,7 @@ "storybook": "^9.1.10", "tslib": "^2.8.1", "typescript": "^5.9.3", - "typescript-eslint": "^8.45.0", + "typescript-eslint": "^8.46.1", "vite": "^7.1.9", "vite-tsconfig-paths": "^5.1.4" }, @@ -131,7 +131,6 @@ }, "packageManager": "yarn@4.10.3", "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" + "access": "public" } } diff --git a/yarn.lock b/yarn.lock index 45000538..0b3f43ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3448,12 +3448,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^24.6.2": - version: 24.6.2 - resolution: "@types/node@npm:24.6.2" +"@types/node@npm:^24.7.2": + version: 24.7.2 + resolution: "@types/node@npm:24.7.2" dependencies: - undici-types: "npm:~7.13.0" - checksum: 10c0/d029757711be85ec468686f66cd8eca78f5996d7e2b1a5b818436e0299b19925b0fb4f7509a6b62750abdc72d66f5750ce22fb8b55559baca86df89a9c44722e + undici-types: "npm:~7.14.0" + checksum: 10c0/03f662f10e4b89bc97016e067101cbabe55025b54c24afb581fb50992d5eeaaf417bdae34bbc668ae8759d3cdbbbadf35fc8b9b29d26f52ede2525d48e919e49 languageName: node linkType: hard @@ -3528,106 +3528,106 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.46.0" +"@typescript-eslint/eslint-plugin@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.46.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.46.0" - "@typescript-eslint/type-utils": "npm:8.46.0" - "@typescript-eslint/utils": "npm:8.46.0" - "@typescript-eslint/visitor-keys": "npm:8.46.0" + "@typescript-eslint/scope-manager": "npm:8.46.1" + "@typescript-eslint/type-utils": "npm:8.46.1" + "@typescript-eslint/utils": "npm:8.46.1" + "@typescript-eslint/visitor-keys": "npm:8.46.1" graphemer: "npm:^1.4.0" ignore: "npm:^7.0.0" natural-compare: "npm:^1.4.0" ts-api-utils: "npm:^2.1.0" peerDependencies: - "@typescript-eslint/parser": ^8.46.0 + "@typescript-eslint/parser": ^8.46.1 eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/9de2b2127b977b0d73733042602a744e5b69bfe906c6dac424123ff9726816dcc4bb3d4ba470bc1fc5c741421f53274a3a896c09fbb50e298352d4a72011b2c2 + checksum: 10c0/7a269f7dc3f6d900b9a7caefc0ab455406aae7fc0c0a198b1f18623c1c47bd54c6769777b0d8a2ef2e674a60124470d85394feb5fae4991c84c6a37875f75410 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/parser@npm:8.46.0" +"@typescript-eslint/parser@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/parser@npm:8.46.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.46.0" - "@typescript-eslint/types": "npm:8.46.0" - "@typescript-eslint/typescript-estree": "npm:8.46.0" - "@typescript-eslint/visitor-keys": "npm:8.46.0" + "@typescript-eslint/scope-manager": "npm:8.46.1" + "@typescript-eslint/types": "npm:8.46.1" + "@typescript-eslint/typescript-estree": "npm:8.46.1" + "@typescript-eslint/visitor-keys": "npm:8.46.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/2e8c75b72c7cf170aca554014dbe30e85478d96799a2eb782c4fb61423c0c9e4416e98d6e7903601b1738ea1d0936417dbf61ac0293a0500f56e0eaeefbb2ecd + checksum: 10c0/4d14e9dbd5b4ba6001d35ae8833b1b03588911d44b1e01a7e38b1883148c3b1d22e4d4de50e5c6a698a4697ef067e235524b521023d0f5a830767d54c8c5fff5 languageName: node linkType: hard -"@typescript-eslint/project-service@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/project-service@npm:8.46.0" +"@typescript-eslint/project-service@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/project-service@npm:8.46.1" dependencies: - "@typescript-eslint/tsconfig-utils": "npm:^8.46.0" - "@typescript-eslint/types": "npm:^8.46.0" + "@typescript-eslint/tsconfig-utils": "npm:^8.46.1" + "@typescript-eslint/types": "npm:^8.46.1" debug: "npm:^4.3.4" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/c3164c795570edfa141917f3099724eca70383b016be1b08f656a491b459d68cf8e2547ac416d75048d3511ca5feaea0586aabad339e3dfe2ae6fddb650d7bc8 + checksum: 10c0/7218bb343eb371e468596947ef66f0ad5024a76f2787550e093af0fc2b34e1bba3e86840bdec719afd26368e9f75c1ea4ab09bdc84610a746acd89b66910cf8b languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/scope-manager@npm:8.46.0" +"@typescript-eslint/scope-manager@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/scope-manager@npm:8.46.1" dependencies: - "@typescript-eslint/types": "npm:8.46.0" - "@typescript-eslint/visitor-keys": "npm:8.46.0" - checksum: 10c0/9c242d1edd51247559f99dd8986bdb571db0a2a583a2d02ee8f5f346d265e956f413b442c27e1b02d55ce3944609f6593050ec657be672d9b24b7ed0a359a6ad + "@typescript-eslint/types": "npm:8.46.1" + "@typescript-eslint/visitor-keys": "npm:8.46.1" + checksum: 10c0/5cff63677e90f3307fe924b739a3fe9f5239f74ec389fa06d6fa0a3fa51f592d8fb038c0c71088157b5b6fb426145bff1239aa3676c05c7d71d3b9be0f8c2cba languageName: node linkType: hard -"@typescript-eslint/tsconfig-utils@npm:8.46.0, @typescript-eslint/tsconfig-utils@npm:^8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/tsconfig-utils@npm:8.46.0" +"@typescript-eslint/tsconfig-utils@npm:8.46.1, @typescript-eslint/tsconfig-utils@npm:^8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.46.1" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/306b27c741709f2435dd1c7eabdf552775dff1b3ced01d791c5b9755394ceb3f37c9bcceec92adb6fe60c622523f9d47d9b0d9e515071f47d50527705a4706f7 + checksum: 10c0/c373bd4e2f43e03d8d4dc91cacbc0acdb217809f0e7b23fb4dd349fdab2503489dd79a3adb394491763ec967fa1312c5c9aebdbc5799ad3ed773b036a6eddb9d languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/type-utils@npm:8.46.0" +"@typescript-eslint/type-utils@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/type-utils@npm:8.46.1" dependencies: - "@typescript-eslint/types": "npm:8.46.0" - "@typescript-eslint/typescript-estree": "npm:8.46.0" - "@typescript-eslint/utils": "npm:8.46.0" + "@typescript-eslint/types": "npm:8.46.1" + "@typescript-eslint/typescript-estree": "npm:8.46.1" + "@typescript-eslint/utils": "npm:8.46.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^2.1.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/a0fa4617a998094bc217be1989b76a3e45c058117cda027a723ff6f98f15e5237abfa123284afbdea7f320b4da65e1053ed47c8a211dd012591908a9daa46f02 + checksum: 10c0/bcd87755912ad626b496a78e5f3dd8182dd59e815683d6b82a3e9fffc1b52384abfbe4d3faf2ec9b15be67b88e5082a798f35f96624517f82a5026973c251074 languageName: node linkType: hard -"@typescript-eslint/types@npm:8.46.0, @typescript-eslint/types@npm:^8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/types@npm:8.46.0" - checksum: 10c0/2f986852139bcbe940b4aafe79bbd28dcca7176e95ba4e3880984ef58c81ad077ca9d9191aad56d2b1df6d16060f5744a96ab3118ddbc9766e5035ed470445c1 +"@typescript-eslint/types@npm:8.46.1, @typescript-eslint/types@npm:^8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/types@npm:8.46.1" + checksum: 10c0/90887acaa5b33b45af20cf7f87ec4ae098c0daa88484245473e73903fa6e542f613247c22148132167891ca06af6549a60b9d2fd14a65b22871e016901ce3756 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.46.0" +"@typescript-eslint/typescript-estree@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.46.1" dependencies: - "@typescript-eslint/project-service": "npm:8.46.0" - "@typescript-eslint/tsconfig-utils": "npm:8.46.0" - "@typescript-eslint/types": "npm:8.46.0" - "@typescript-eslint/visitor-keys": "npm:8.46.0" + "@typescript-eslint/project-service": "npm:8.46.1" + "@typescript-eslint/tsconfig-utils": "npm:8.46.1" + "@typescript-eslint/types": "npm:8.46.1" + "@typescript-eslint/visitor-keys": "npm:8.46.1" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -3636,32 +3636,32 @@ __metadata: ts-api-utils: "npm:^2.1.0" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/39aed033dc23c3356e39891c9eba6dde0dc618406f0e13e9adc5967fb81790ec199b1d6eb1144e35ad13a0daaf72157f5f3fc7ac1b7c58d152ade68fe27ad221 + checksum: 10c0/610048f615d4487f3dc57b7440214a14614a9dca8783d142e7dd29e2948d9c8239773839a3bcdf509c266d5f8595ea9f3a20c53c38d7b3bf3cf2305de1491bd8 languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/utils@npm:8.46.0" +"@typescript-eslint/utils@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/utils@npm:8.46.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.7.0" - "@typescript-eslint/scope-manager": "npm:8.46.0" - "@typescript-eslint/types": "npm:8.46.0" - "@typescript-eslint/typescript-estree": "npm:8.46.0" + "@typescript-eslint/scope-manager": "npm:8.46.1" + "@typescript-eslint/types": "npm:8.46.1" + "@typescript-eslint/typescript-estree": "npm:8.46.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/77cc7dff9132d9f02e8766d128edbeb7c2f2b56f9ebdac7308e75a04924e2369857da27b23f0054476c9640609a9707b8dd8ca8b1c59a067e45f65bf5ef4cc1b + checksum: 10c0/9089be6b88a934843fd4eead61739e43dc79ba3db3dbaebcd9908eed819765b6414da983254a7d619e89d28b441bd131f53c9f163c39ca5b2369b76cd6699121 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.46.0": - version: 8.46.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.46.0" +"@typescript-eslint/visitor-keys@npm:8.46.1": + version: 8.46.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.46.1" dependencies: - "@typescript-eslint/types": "npm:8.46.0" + "@typescript-eslint/types": "npm:8.46.1" eslint-visitor-keys: "npm:^4.2.1" - checksum: 10c0/473dd4861b81238c1df10008b3b6d4684b2fa5ec4f3a8eeb544ea1278a5e2119f839447d16653ea3070164d7e742e3516fe9b0faf16e12a457fa26d5e14a7498 + checksum: 10c0/4139a8d78ad95e59fff2285beb623a530b7c2e6af89b994a92e9d8728d0c86eb8d86f64f2372aa874f9f24924253ba9887a2f77bec6bfc6028380b024c24e582 languageName: node linkType: hard @@ -5736,17 +5736,18 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^6.1.0": - version: 6.1.1 - resolution: "eslint-plugin-react-hooks@npm:6.1.1" +"eslint-plugin-react-hooks@npm:^7.0.0": + version: 7.0.0 + resolution: "eslint-plugin-react-hooks@npm:7.0.0" dependencies: "@babel/core": "npm:^7.24.4" "@babel/parser": "npm:^7.24.4" + hermes-parser: "npm:^0.25.1" zod: "npm:^3.22.4 || ^4.0.0" zod-validation-error: "npm:^3.0.3 || ^4.0.0" peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 - checksum: 10c0/579be053bc89c995a6c03996f9ee3f6bac88946b4b1c8b891b42f981e7c05a9c5de46324bbd2a33199855c0a602820c0e3eeb7f840730301b77a9ba3dc7a0ae2 + checksum: 10c0/911c9efdd9b102ce2eabac247dff8c217ecb8d6972aaf3b7eecfb1cfc293d4d902766355993ff7a37a33c0abde3e76971f43bc1c8ff36d6c123310e5680d0423 languageName: node linkType: hard @@ -6563,6 +6564,22 @@ __metadata: languageName: node linkType: hard +"hermes-estree@npm:0.25.1": + version: 0.25.1 + resolution: "hermes-estree@npm:0.25.1" + checksum: 10c0/48be3b2fa37a0cbc77a112a89096fa212f25d06de92781b163d67853d210a8a5c3784fac23d7d48335058f7ed283115c87b4332c2a2abaaccc76d0ead1a282ac + languageName: node + linkType: hard + +"hermes-parser@npm:^0.25.1": + version: 0.25.1 + resolution: "hermes-parser@npm:0.25.1" + dependencies: + hermes-estree: "npm:0.25.1" + checksum: 10c0/3abaa4c6f1bcc25273f267297a89a4904963ea29af19b8e4f6eabe04f1c2c7e9abd7bfc4730ddb1d58f2ea04b6fee74053d8bddb5656ec6ebf6c79cc8d14202c + languageName: node + linkType: hard + "html-encoding-sniffer@npm:^4.0.0": version: 4.0.0 resolution: "html-encoding-sniffer@npm:4.0.0" @@ -8485,7 +8502,7 @@ __metadata: "@types/jest": "npm:^30.0.0" "@types/jest-axe": "npm:^3.5.9" "@types/lodash": "npm:^4.17.20" - "@types/node": "npm:^24.6.2" + "@types/node": "npm:^24.7.2" "@types/react": "npm:^19.2.2" "@types/react-dom": "npm:^19.2.2" babel-jest: "npm:^30.2.0" @@ -8498,7 +8515,7 @@ __metadata: eslint-plugin-import: "npm:^2.32.0" eslint-plugin-jsx-a11y: "npm:^6.10.2" eslint-plugin-react: "npm:^7.37.5" - eslint-plugin-react-hooks: "npm:^6.1.0" + eslint-plugin-react-hooks: "npm:^7.0.0" globals: "npm:^16.4.0" jest: "npm:^30.2.0" jest-axe: "npm:^10.0.0" @@ -8515,7 +8532,7 @@ __metadata: storybook: "npm:^9.1.10" tslib: "npm:^2.8.1" typescript: "npm:^5.9.3" - typescript-eslint: "npm:^8.45.0" + typescript-eslint: "npm:^8.46.1" vite: "npm:^7.1.9" vite-tsconfig-paths: "npm:^5.1.4" peerDependencies: @@ -10809,18 +10826,18 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.45.0": - version: 8.46.0 - resolution: "typescript-eslint@npm:8.46.0" +"typescript-eslint@npm:^8.46.1": + version: 8.46.1 + resolution: "typescript-eslint@npm:8.46.1" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.46.0" - "@typescript-eslint/parser": "npm:8.46.0" - "@typescript-eslint/typescript-estree": "npm:8.46.0" - "@typescript-eslint/utils": "npm:8.46.0" + "@typescript-eslint/eslint-plugin": "npm:8.46.1" + "@typescript-eslint/parser": "npm:8.46.1" + "@typescript-eslint/typescript-estree": "npm:8.46.1" + "@typescript-eslint/utils": "npm:8.46.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/fcfd2bbf2932734fced5515b3697e0f8e69ba2aca40625d12f4e0225396407e816aa9085ff4886e8f79903110b02676deeaef2525d60700a4f5d47841a27282a + checksum: 10c0/002934d83eec1afcf94e9785399740efe39f1fe6538e469a01ed36c004303af8736e3aea9100c8733798fcb0d1e0301177bd70aa29e6d05d8cefbd8e18887ea6 languageName: node linkType: hard @@ -10875,10 +10892,10 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~7.13.0": - version: 7.13.0 - resolution: "undici-types@npm:7.13.0" - checksum: 10c0/44bbb0935425291351bfd8039571f017295b5d6dc5727045d0a4fea8c6ffe73a6703b48ce010f9cb539b9041a75b463f8cfe1e7309cab7486452505fb0d66151 +"undici-types@npm:~7.14.0": + version: 7.14.0 + resolution: "undici-types@npm:7.14.0" + checksum: 10c0/e7f3214b45d788f03c51ceb33817be99c65dae203863aa9386b3ccc47201a245a7955fc721fb581da9c888b6ebad59fa3f53405214afec04c455a479908f0f14 languageName: node linkType: hard