From 7bb98f085150666ab62f1ee5445ab471f00ac9a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:38:53 +0000 Subject: [PATCH] chore(deps): update dependency knip to v3 (#189) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [knip](https://knip.dev) ([source](https://togithub.com/webpro/knip)) | [`^2.41.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/knip/2.41.0/3.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/knip/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/knip/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/knip/2.41.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/knip/2.41.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
webpro/knip (knip) ### [`v3.0.1`](https://togithub.com/webpro/knip/releases/tag/3.0.1) [Compare Source](https://togithub.com/webpro/knip/compare/3.0.0...3.0.1) - Add README.md to knip package ([`ef54583`](https://togithub.com/webpro/knip/commit/ef54583)) ### [`v3.0.0`](https://togithub.com/webpro/knip/releases/tag/3.0.0) [Compare Source](https://togithub.com/webpro/knip/compare/2.43.0...3.0.0) - Update dependencies ([`f709e24`](https://togithub.com/webpro/knip/commit/f709e24)) - Clean up some bits for v3 ([`9f1a42e`](https://togithub.com/webpro/knip/commit/9f1a42e)) - Add `line` and `col` in default reporter to issues that include `pos` (closes [#​335](https://togithub.com/webpro/knip/issues/335)) ([`3547fc2`](https://togithub.com/webpro/knip/commit/3547fc2)) - Run tests etc. across workspaces from root script ([`08aa7d7`](https://togithub.com/webpro/knip/commit/08aa7d7)) - Add minimal reproduction templates to docs ([`e2b5f0c`](https://togithub.com/webpro/knip/commit/e2b5f0c)) - Fix up some links + plugin list ([`ede47e9`](https://togithub.com/webpro/knip/commit/ede47e9)) ### [`v2.43.0`](https://togithub.com/webpro/knip/releases/tag/2.43.0) [Compare Source](https://togithub.com/webpro/knip/compare/2.42.0...2.43.0) - Fix up name resolver in babel plugin helper (resolves [#​363](https://togithub.com/webpro/knip/issues/363)) ([`a3a5fbb`](https://togithub.com/webpro/knip/commit/a3a5fbb)) - Add config file paths to babel plugin ([`d7a07a0`](https://togithub.com/webpro/knip/commit/d7a07a0)) - Use `flowNode` pos if available for export declarations (resolves [#​353](https://togithub.com/webpro/knip/issues/353)) ([`9e89be6`](https://togithub.com/webpro/knip/commit/9e89be6)) ### [`v2.42.0`](https://togithub.com/webpro/knip/releases/tag/2.42.0) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.6...2.42.0) - Add tests with typescript@latest ([`c95e060`](https://togithub.com/webpro/knip/commit/c95e060)) - Add compat w/ typescript v5.3.2 ([`395c278`](https://togithub.com/webpro/knip/commit/395c278)) ### [`v2.41.6`](https://togithub.com/webpro/knip/releases/tag/2.41.6) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.5...2.41.6) - Update dependencies ([`a69fa9e`](https://togithub.com/webpro/knip/commit/a69fa9e)) - Fix error message ([`76c5b26`](https://togithub.com/webpro/knip/commit/76c5b26)) - Add tsconfig.json to nx fixture ([#​358](https://togithub.com/webpro/knip/issues/358)) ([`622848a`](https://togithub.com/webpro/knip/commit/622848a)) - Use babel plugin to find dependencies from `babelOptions` in eslint plugin (resolves [#​357](https://togithub.com/webpro/knip/issues/357)) ([`be9a14c`](https://togithub.com/webpro/knip/commit/be9a14c)) ### [`v2.41.5`](https://togithub.com/webpro/knip/releases/tag/2.41.5) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.4...2.41.5) - Bail out for node built-ins in module resolver + don't try to sanize absolute paths ([`b54f44f`](https://togithub.com/webpro/knip/commit/b54f44f)) ### [`v2.41.4`](https://togithub.com/webpro/knip/releases/tag/2.41.4) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.3...2.41.4) - Fix ts files with ignored extension (fixes [#​354](https://togithub.com/webpro/knip/issues/354)) ([`59a2373`](https://togithub.com/webpro/knip/commit/59a2373)) - Unique test titles ([`b3e97c0`](https://togithub.com/webpro/knip/commit/b3e97c0)) - Add --import argument to node resolver (resolves [#​351](https://togithub.com/webpro/knip/issues/351)) ([`c0a9c5b`](https://togithub.com/webpro/knip/commit/c0a9c5b)) - Use ESM loader for `.mts` extension ([`65f699b`](https://togithub.com/webpro/knip/commit/65f699b)) - Add some extensions to config file patterns in vitest plugin ([`e1ae62a`](https://togithub.com/webpro/knip/commit/e1ae62a)) ### [`v2.41.3`](https://togithub.com/webpro/knip/releases/tag/2.41.3) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.2...2.41.3) - Fix up plugin resolving in graphql-codegen plugin a bit (resolves [#​349](https://togithub.com/webpro/knip/issues/349)) ([`ee83151`](https://togithub.com/webpro/knip/commit/ee83151)) - Add config file patterns for codegen plugin (resolves [#​348](https://togithub.com/webpro/knip/issues/348)) ([`72b3add`](https://togithub.com/webpro/knip/commit/72b3add)) - Respect `coverage.disabled` in vitest plugin (resolves [#​347](https://togithub.com/webpro/knip/issues/347)) ([`b1cd3da`](https://togithub.com/webpro/knip/commit/b1cd3da)) - Add `corepack` to list of ignored binaries ([`d79728b`](https://togithub.com/webpro/knip/commit/d79728b)) - Remove problematic links ([`4be9ec9`](https://togithub.com/webpro/knip/commit/4be9ec9)) ### [`v2.41.2`](https://togithub.com/webpro/knip/releases/tag/2.41.2) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.1...2.41.2) - Distinguish jiti CJS and ESM loader, and clean up (fixes [#​328](https://togithub.com/webpro/knip/issues/328)) ([`7a537a6`](https://togithub.com/webpro/knip/commit/7a537a6)) - Simplify `isTypeModule` a bit ([`942fbc1`](https://togithub.com/webpro/knip/commit/942fbc1)) - Update vite.config extension in vite plugin ([`48ce2f0`](https://togithub.com/webpro/knip/commit/48ce2f0)) ### [`v2.41.1`](https://togithub.com/webpro/knip/releases/tag/2.41.1) [Compare Source](https://togithub.com/webpro/knip/compare/2.41.0...2.41.1) - Refactor vitest entry resolver ([`c34a3df`](https://togithub.com/webpro/knip/commit/c34a3df)) - Load .js module using native import call (fixes [#​290](https://togithub.com/webpro/knip/issues/290)) ([`aeaf70a`](https://togithub.com/webpro/knip/commit/aeaf70a)) - Remove path from extend plugin:specifier in eslint plugin + simplify specs (fixes [#​343](https://togithub.com/webpro/knip/issues/343)) ([`3a9e510`](https://togithub.com/webpro/knip/commit/3a9e510))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/refined-saved-replies). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 54 ++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 45 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 99239dcc..ad0be092 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "happy-dom": "^12.10.3", "husky": "^8.0.3", "jsonc-eslint-parser": "^2.4.0", - "knip": "^2.41.0", + "knip": "^3.0.0", "lint-staged": "^15.1.0", "markdownlint": "^0.32.0", "markdownlint-cli": "^0.37.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a390fe82..5d180879 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -86,8 +86,8 @@ devDependencies: specifier: ^2.4.0 version: 2.4.0 knip: - specifier: ^2.41.0 - version: 2.41.0 + specifier: ^3.0.0 + version: 3.3.4(typescript@5.2.2) lint-staged: specifier: ^15.1.0 version: 15.1.0 @@ -1356,6 +1356,11 @@ packages: engines: {node: '>=14.16'} dev: true + /@sindresorhus/merge-streams@1.0.0: + resolution: {integrity: sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==} + engines: {node: '>=18'} + dev: true + /@snyk/github-codeowners@1.1.0: resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} engines: {node: '>=8.10'} @@ -3805,6 +3810,18 @@ packages: slash: 4.0.0 dev: true + /globby@14.0.0: + resolution: {integrity: sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==} + engines: {node: '>=18'} + dependencies: + '@sindresorhus/merge-streams': 1.0.0 + fast-glob: 3.3.2 + ignore: 5.2.4 + path-type: 5.0.0 + slash: 5.1.0 + unicorn-magic: 0.1.0 + dev: true + /got@12.6.1: resolution: {integrity: sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==} engines: {node: '>=14.16'} @@ -4490,10 +4507,12 @@ packages: engines: {node: '>=0.10.0'} dev: true - /knip@2.41.0: - resolution: {integrity: sha512-gjEfdRxkL9jRhV/RFc0cDIjTO7dPFU3PxS4KzELJ1tX1zdRVfhATORPcpX0B2rRSowPUFXN9pQ8ce4ux5+C/kw==} - engines: {node: '>=16.17.0 <17 || >=18.6.0'} + /knip@3.3.4(typescript@5.2.2): + resolution: {integrity: sha512-bkc3kggRxbpZZ4Lf8kUv2Asd5vCQPKGHefajpTywBI+v1J8OKidijTCLagKEJgXwjl2QZvy5yCIViOKQ4tYrkA==} + engines: {node: '>=18.6.0'} hasBin: true + peerDependencies: + typescript: '>=5.0.4' dependencies: '@ericcornelissen/bash-parser': 0.5.2 '@npmcli/map-workspaces': 3.0.4 @@ -4504,7 +4523,7 @@ packages: chalk: 5.3.0 easy-table: 1.2.0 fast-glob: 3.3.2 - globby: 13.2.2 + globby: 14.0.0 jiti: 1.21.0 js-yaml: 4.1.0 micromatch: 4.0.5 @@ -4514,7 +4533,7 @@ packages: summary: 2.1.0 typescript: 5.2.2 zod: 3.22.4 - zod-validation-error: 1.5.0(zod@3.22.4) + zod-validation-error: 2.1.0(zod@3.22.4) transitivePeerDependencies: - domexception dev: true @@ -5536,6 +5555,11 @@ packages: engines: {node: '>=8'} dev: true + /path-type@5.0.0: + resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} + engines: {node: '>=12'} + dev: true + /pathe@1.1.1: resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} dev: true @@ -6178,6 +6202,11 @@ packages: engines: {node: '>=12'} dev: true + /slash@5.1.0: + resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} + engines: {node: '>=14.16'} + dev: true + /slice-ansi@5.0.0: resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} engines: {node: '>=12'} @@ -6708,6 +6737,11 @@ packages: string.fromcodepoint: 0.2.1 dev: true + /unicorn-magic@0.1.0: + resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} + engines: {node: '>=18'} + dev: true + /unique-string@2.0.0: resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} engines: {node: '>=8'} @@ -7239,9 +7273,9 @@ packages: jszip: 3.10.1 dev: true - /zod-validation-error@1.5.0(zod@3.22.4): - resolution: {integrity: sha512-/7eFkAI4qV0tcxMBB/3+d2c1P6jzzZYdYSlBuAklzMuCrJu5bzJfHS0yVAS87dRHVlhftd6RFJDIvv03JgkSbw==} - engines: {node: '>=16.0.0'} + /zod-validation-error@2.1.0(zod@3.22.4): + resolution: {integrity: sha512-VJh93e2wb4c3tWtGgTa0OF/dTt/zoPCPzXq4V11ZjxmEAFaPi/Zss1xIZdEB5RD8GD00U0/iVXgqkF77RV7pdQ==} + engines: {node: '>=18.0.0'} peerDependencies: zod: ^3.18.0 dependencies: