diff --git a/package-lock.json b/package-lock.json index 2cfb59106..95240e35f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "fast-check": "3.14.0", "husky": "8.0.3", "is-ci": "3.0.1", - "knip": "2.43.0", + "knip": "3.0.2", "licensee": "10.0.0", "markdownlint-cli": "0.37.0", "nve": "17.0.0", @@ -2155,6 +2155,18 @@ "url": "https://github.com/sindresorhus/is?sponsor=1" } }, + "node_modules/@sindresorhus/merge-streams": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-1.0.0.tgz", + "integrity": "sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@sinonjs/commons": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", @@ -7625,37 +7637,83 @@ } }, "node_modules/knip": { - "version": "2.43.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-2.43.0.tgz", - "integrity": "sha512-xXtBpC+XiHZzqBoXtvqH0sLV3iSMu9yPIUoP9GRZVUHAegQyDjC4jOTRfFgc5gJKrfqW4NKc71t7l85NqYieUg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/knip/-/knip-3.0.2.tgz", + "integrity": "sha512-FreH1yh4BVIRcBM/t/VJaOckVkBDv9UQHJGdnxaGTmp66jM0r78QFVJkoiHmbydiBVB5qCgEjg5JR4Q7sYTfhw==", "dev": true, "dependencies": { - "@ericcornelissen/bash-parser": "^0.5.2", - "@npmcli/map-workspaces": "^3.0.4", + "@ericcornelissen/bash-parser": "0.5.2", + "@npmcli/map-workspaces": "3.0.4", "@pkgjs/parseargs": "0.11.0", "@pnpm/logger": "5.0.0", - "@pnpm/workspace.pkgs-graph": "2.0.11", - "@snyk/github-codeowners": "^1.1.0", + "@pnpm/workspace.pkgs-graph": "^2.0.10", + "@snyk/github-codeowners": "1.1.0", "chalk": "^5.2.0", - "easy-table": "^1.2.0", + "easy-table": "1.2.0", "fast-glob": "3.3.2", - "globby": "^13.1.3", + "globby": "^14.0.0", "jiti": "1.21.0", - "js-yaml": "^4.1.0", - "micromatch": "^4.0.5", - "minimist": "^1.2.8", - "pretty-ms": "^8.0.0", - "strip-json-comments": "^5.0.0", - "summary": "^2.1.0", - "typescript": "^5.0.2", + "js-yaml": "4.1.0", + "micromatch": "4.0.5", + "minimist": "1.2.8", + "pretty-ms": "8.0.0", + "strip-json-comments": "5.0.1", + "summary": "2.1.0", "zod": "3.22.4", - "zod-validation-error": "1.5.0" + "zod-validation-error": "2.1.0" }, "bin": { - "knip": "dist/cli.js" + "knip": "bin/knip.js" + }, + "engines": { + "node": ">=18.6.0" + }, + "peerDependencies": { + "typescript": ">=5.0.4" + } + }, + "node_modules/knip/node_modules/globby": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz", + "integrity": "sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==", + "dev": true, + "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" }, "engines": { - "node": ">=16.17.0 <17 || >=18.6.0" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/knip/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/knip/node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/knip/node_modules/strip-json-comments": { @@ -12964,6 +13022,18 @@ "node": ">=4" } }, + "node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/unique-filename": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", @@ -13706,12 +13776,12 @@ } }, "node_modules/zod-validation-error": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-1.5.0.tgz", - "integrity": "sha512-/7eFkAI4qV0tcxMBB/3+d2c1P6jzzZYdYSlBuAklzMuCrJu5bzJfHS0yVAS87dRHVlhftd6RFJDIvv03JgkSbw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-2.1.0.tgz", + "integrity": "sha512-VJh93e2wb4c3tWtGgTa0OF/dTt/zoPCPzXq4V11ZjxmEAFaPi/Zss1xIZdEB5RD8GD00U0/iVXgqkF77RV7pdQ==", "dev": true, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "peerDependencies": { "zod": "^3.18.0" diff --git a/package.json b/package.json index 8a16d75da..9034d8608 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "fast-check": "3.14.0", "husky": "8.0.3", "is-ci": "3.0.1", - "knip": "2.43.0", + "knip": "3.0.2", "licensee": "10.0.0", "markdownlint-cli": "0.37.0", "nve": "17.0.0",