From e6644df1194340fbac59ead4b81b0a7ea97c5701 Mon Sep 17 00:00:00 2001 From: Jimmy Guzman <30631540+jimmy-guzman@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:09:06 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20stop=20eslint-plugin-test?= =?UTF-8?q?ing-library=20peer=20warnings=20(#92)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- pnpm-lock.yaml | 155 ++++++++++++++----------------------------------- 2 files changed, 47 insertions(+), 112 deletions(-) diff --git a/package.json b/package.json index 9f1e40d..08532b5 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "0.4.14", - "eslint-plugin-testing-library": "7.0.0-beta.5", + "eslint-plugin-testing-library": "7.0.0-beta.6", "eslint-plugin-unicorn": "^56.0.1", "globals": "^15.12.0", "local-pkg": "0.5.0", @@ -84,7 +84,7 @@ "@tanstack/react-query": "5.60.6", "@testing-library/dom": "10.4.0", "@testing-library/react": "16.0.1", - "@types/node": "22.9.0", + "@types/node": "22.9.1", "@types/react": "18.3.12", "@vitest/coverage-v8": "2.1.5", "astro": "4.16.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4f31bf1..aeffb60 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,8 +66,8 @@ importers: specifier: 0.4.14 version: 0.4.14(eslint@9.15.0(jiti@2.4.0)) eslint-plugin-testing-library: - specifier: 7.0.0-beta.5 - version: 7.0.0-beta.5(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + specifier: 7.0.0-beta.6 + version: 7.0.0-beta.6(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) eslint-plugin-unicorn: specifier: ^56.0.1 version: 56.0.1(eslint@9.15.0(jiti@2.4.0)) @@ -115,23 +115,23 @@ importers: specifier: 16.0.1 version: 16.0.1(@testing-library/dom@10.4.0)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/node': - specifier: 22.9.0 - version: 22.9.0 + specifier: 22.9.1 + version: 22.9.1 '@types/react': specifier: 18.3.12 version: 18.3.12 '@vitest/coverage-v8': specifier: 2.1.5 - version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.1)) astro: specifier: 4.16.13 - version: 4.16.13(@types/node@22.9.0)(rollup@4.27.2)(typescript@5.6.3) + version: 4.16.13(@types/node@22.9.1)(rollup@4.27.2)(typescript@5.6.3) clean-pkg-json: specifier: 1.2.0 version: 1.2.0 commitlint: specifier: 19.6.0 - version: 19.6.0(@types/node@22.9.0)(typescript@5.6.3) + version: 19.6.0(@types/node@22.9.1)(typescript@5.6.3) eslint: specifier: 9.15.0 version: 9.15.0(jiti@2.4.0) @@ -173,7 +173,7 @@ importers: version: 5.6.3 vitest: specifier: 2.1.5 - version: 2.1.5(@types/node@22.9.0) + version: 2.1.5(@types/node@22.9.1) packages: @@ -1497,8 +1497,8 @@ packages: '@types/nlcst@2.0.3': resolution: {integrity: sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==} - '@types/node@22.9.0': - resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} + '@types/node@22.9.1': + resolution: {integrity: sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1539,10 +1539,6 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@7.18.0': - resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@8.13.0': resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1561,10 +1557,6 @@ packages: typescript: optional: true - '@typescript-eslint/types@7.18.0': - resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.13.0': resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1573,15 +1565,6 @@ packages: resolution: {integrity: sha512-n3Gt8Y/KyJNe0S3yDCD2RVKrHBC4gTUcLTebVBXacPy091E6tNspFLKRXlk3hwT4G55nfr1n2AdFqi/XMxzmPQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@7.18.0': - resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.13.0': resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1600,12 +1583,6 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.18.0': - resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - '@typescript-eslint/utils@8.15.0': resolution: {integrity: sha512-k82RI9yGhr0QM3Dnq+egEpz9qB6Un+WLYhmoNcvl8ltMEededhh7otBVVIDDsEEttauwdY/hQoSsOv13lxrFzQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1616,10 +1593,6 @@ packages: typescript: optional: true - '@typescript-eslint/visitor-keys@7.18.0': - resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@8.13.0': resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2529,8 +2502,8 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - eslint-plugin-testing-library@7.0.0-beta.5: - resolution: {integrity: sha512-tA/bjde6Mmk3M9vLYqZj0SjAWpUIP8HSywL9Jyi2el1ump0Dd9MMWA0krdSUoPjS8hB/Z/gJmcd1BNm3sKO9ww==} + eslint-plugin-testing-library@7.0.0-beta.6: + resolution: {integrity: sha512-TK39+CTbMdkSH0wmnltdjur8tUYz+lnID8o0VZFG45fSeFknLnbn76we3uzDbUltH68bdmoPXk/7w1x3XFQ7+w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0, npm: '>=6'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -5331,11 +5304,11 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@commitlint/cli@19.6.0(@types/node@22.9.0)(typescript@5.6.3)': + '@commitlint/cli@19.6.0(@types/node@22.9.1)(typescript@5.6.3)': dependencies: '@commitlint/format': 19.5.0 '@commitlint/lint': 19.6.0 - '@commitlint/load': 19.5.0(@types/node@22.9.0)(typescript@5.6.3) + '@commitlint/load': 19.5.0(@types/node@22.9.1)(typescript@5.6.3) '@commitlint/read': 19.5.0 '@commitlint/types': 19.5.0 tinyexec: 0.3.1 @@ -5382,7 +5355,7 @@ snapshots: '@commitlint/rules': 19.6.0 '@commitlint/types': 19.5.0 - '@commitlint/load@19.5.0(@types/node@22.9.0)(typescript@5.6.3)': + '@commitlint/load@19.5.0(@types/node@22.9.1)(typescript@5.6.3)': dependencies: '@commitlint/config-validator': 19.5.0 '@commitlint/execute-rule': 19.5.0 @@ -5390,7 +5363,7 @@ snapshots: '@commitlint/types': 19.5.0 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.6.3) - cosmiconfig-typescript-loader: 5.1.0(@types/node@22.9.0)(cosmiconfig@9.0.0(typescript@5.6.3))(typescript@5.6.3) + cosmiconfig-typescript-loader: 5.1.0(@types/node@22.9.1)(cosmiconfig@9.0.0(typescript@5.6.3))(typescript@5.6.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -6339,7 +6312,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 '@types/cookie@0.6.0': {} @@ -6370,7 +6343,7 @@ snapshots: dependencies: '@types/unist': 3.0.3 - '@types/node@22.9.0': + '@types/node@22.9.1': dependencies: undici-types: 6.19.8 @@ -6420,11 +6393,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.18.0': - dependencies: - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/scope-manager@8.13.0': dependencies: '@typescript-eslint/types': 8.13.0 @@ -6447,27 +6415,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@8.13.0': {} '@typescript-eslint/types@8.15.0': {} - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.3)': - dependencies: - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.7 - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.13.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 8.13.0 @@ -6498,17 +6449,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': - dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@9.15.0(jiti@2.4.0)) - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) - eslint: 9.15.0(jiti@2.4.0) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.15.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.15.0(jiti@2.4.0)) @@ -6521,11 +6461,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@7.18.0': - dependencies: - '@typescript-eslint/types': 7.18.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.13.0': dependencies: '@typescript-eslint/types': 8.13.0 @@ -6538,7 +6473,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.9.0))': + '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.9.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -6552,7 +6487,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.5(@types/node@22.9.0) + vitest: 2.1.5(@types/node@22.9.1) transitivePeerDependencies: - supports-color @@ -6563,13 +6498,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.5(vite@5.4.10(@types/node@22.9.0))': + '@vitest/mocker@2.1.5(vite@5.4.10(@types/node@22.9.1))': dependencies: '@vitest/spy': 2.1.5 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.10(@types/node@22.9.0) + vite: 5.4.10(@types/node@22.9.1) '@vitest/pretty-format@2.1.5': dependencies: @@ -6769,7 +6704,7 @@ snapshots: - supports-color - typescript - astro@4.16.13(@types/node@22.9.0)(rollup@4.27.2)(typescript@5.6.3): + astro@4.16.13(@types/node@22.9.1)(rollup@4.27.2)(typescript@5.6.3): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.1 @@ -6825,8 +6760,8 @@ snapshots: tsconfck: 3.1.4(typescript@5.6.3) unist-util-visit: 5.0.0 vfile: 6.0.3 - vite: 5.4.11(@types/node@22.9.0) - vitefu: 1.0.3(vite@5.4.11(@types/node@22.9.0)) + vite: 5.4.11(@types/node@22.9.1) + vitefu: 1.0.3(vite@5.4.11(@types/node@22.9.1)) which-pm: 3.0.0 xxhash-wasm: 1.0.2 yargs-parser: 21.1.1 @@ -7047,9 +6982,9 @@ snapshots: commander@12.1.0: {} - commitlint@19.6.0(@types/node@22.9.0)(typescript@5.6.3): + commitlint@19.6.0(@types/node@22.9.1)(typescript@5.6.3): dependencies: - '@commitlint/cli': 19.6.0(@types/node@22.9.0)(typescript@5.6.3) + '@commitlint/cli': 19.6.0(@types/node@22.9.1)(typescript@5.6.3) '@commitlint/types': 19.5.0 transitivePeerDependencies: - '@types/node' @@ -7122,9 +7057,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.1.0(@types/node@22.9.0)(cosmiconfig@9.0.0(typescript@5.6.3))(typescript@5.6.3): + cosmiconfig-typescript-loader@5.1.0(@types/node@22.9.1)(cosmiconfig@9.0.0(typescript@5.6.3))(typescript@5.6.3): dependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 cosmiconfig: 9.0.0(typescript@5.6.3) jiti: 1.21.6 typescript: 5.6.3 @@ -7675,10 +7610,10 @@ snapshots: string.prototype.matchall: 4.0.11 string.prototype.repeat: 1.0.0 - eslint-plugin-testing-library@7.0.0-beta.5(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3): + eslint-plugin-testing-library@7.0.0-beta.6(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3): dependencies: - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/utils': 7.18.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.15.0 + '@typescript-eslint/utils': 8.15.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) eslint: 9.15.0(jiti@2.4.0) transitivePeerDependencies: - supports-color @@ -10354,13 +10289,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@2.1.5(@types/node@22.9.0): + vite-node@2.1.5(@types/node@22.9.1): dependencies: cac: 6.7.14 debug: 4.3.7 es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.10(@types/node@22.9.0) + vite: 5.4.10(@types/node@22.9.1) transitivePeerDependencies: - '@types/node' - less @@ -10372,32 +10307,32 @@ snapshots: - supports-color - terser - vite@5.4.10(@types/node@22.9.0): + vite@5.4.10(@types/node@22.9.1): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.24.4 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 fsevents: 2.3.3 - vite@5.4.11(@types/node@22.9.0): + vite@5.4.11(@types/node@22.9.1): dependencies: esbuild: 0.21.5 postcss: 8.4.49 rollup: 4.27.2 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 fsevents: 2.3.3 - vitefu@1.0.3(vite@5.4.11(@types/node@22.9.0)): + vitefu@1.0.3(vite@5.4.11(@types/node@22.9.1)): optionalDependencies: - vite: 5.4.11(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.9.1) - vitest@2.1.5(@types/node@22.9.0): + vitest@2.1.5(@types/node@22.9.1): dependencies: '@vitest/expect': 2.1.5 - '@vitest/mocker': 2.1.5(vite@5.4.10(@types/node@22.9.0)) + '@vitest/mocker': 2.1.5(vite@5.4.10(@types/node@22.9.1)) '@vitest/pretty-format': 2.1.5 '@vitest/runner': 2.1.5 '@vitest/snapshot': 2.1.5 @@ -10413,11 +10348,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.10(@types/node@22.9.0) - vite-node: 2.1.5(@types/node@22.9.0) + vite: 5.4.10(@types/node@22.9.1) + vite-node: 2.1.5(@types/node@22.9.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 transitivePeerDependencies: - less - lightningcss