diff --git a/config/knip.jsonc b/config/knip.jsonc index c956649d1..58f6b84e4 100644 --- a/config/knip.jsonc +++ b/config/knip.jsonc @@ -4,7 +4,7 @@ "$schema": "../node_modules/knip/schema.json", "entry": ["index.js", "testing.js"], "ignore": [], - "ignoreBinaries": ["actionlint", "shellcheck"], + "ignoreBinaries": [], "ignoreDependencies": ["@gitlab-org/jsfuzz"], "eslint": ["config/eslint.yml"], "rollup": ["config/rollup.js"], diff --git a/package-lock.json b/package-lock.json index 96bd09731..d47c4796f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "fast-check": "3.15.0", "husky": "8.0.3", "is-ci": "3.0.1", - "knip": "3.0.2", + "knip": "3.8.4", "licensee": "10.0.0", "lockfile-lint": "4.12.1", "markdownlint-cli": "0.38.0", @@ -1790,12 +1790,12 @@ } }, "node_modules/@pnpm/core-loggers": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/@pnpm/core-loggers/-/core-loggers-9.0.4.tgz", - "integrity": "sha512-P5IiCwLbYy/vlCDTxEMReB67NVs1Y4ip6iIEM3Y1fbxm0JbPMWTUMKGf2fy7eqGDF3/Vuxk5H7o/A4II6SWzMA==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@pnpm/core-loggers/-/core-loggers-9.0.5.tgz", + "integrity": "sha512-o0gwxOsFjV5usbNbKNLV8ubF4MakdnNsmPvcL9q+npIs4OR+VmJK4PdhEqwtq2ac2ZiJosrhqSNNwIM5E+ynKg==", "dev": true, "dependencies": { - "@pnpm/types": "9.4.0" + "@pnpm/types": "9.4.1" }, "engines": { "node": ">=16.14" @@ -1955,22 +1955,22 @@ "dev": true }, "node_modules/@pnpm/npm-resolver": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/@pnpm/npm-resolver/-/npm-resolver-18.0.0.tgz", - "integrity": "sha512-FGHmnRjSf7tQHagk6bMrUtHvZbz3ROUoGRDrpMyqJo///+S7SZt/hSDS77PhZ7T6PRXipkFyUtRkqtHmGKFCAg==", + "version": "18.0.1", + "resolved": "https://registry.npmjs.org/@pnpm/npm-resolver/-/npm-resolver-18.0.1.tgz", + "integrity": "sha512-r4oNWHOwgnVu33Ijm20F60bYV8zMoACGun9SVxoKDVaIWt+5d5cKoVr9BVzKmxOyFNs1l32hGhEIibWiSCRDYQ==", "dev": true, "dependencies": { - "@pnpm/core-loggers": "9.0.4", + "@pnpm/core-loggers": "9.0.5", "@pnpm/error": "5.0.2", "@pnpm/fetching-types": "5.0.0", "@pnpm/graceful-fs": "3.2.0", "@pnpm/resolve-workspace-range": "5.0.1", - "@pnpm/resolver-base": "11.0.0", - "@pnpm/types": "9.4.0", + "@pnpm/resolver-base": "11.0.1", + "@pnpm/types": "9.4.1", "@zkochan/retry": "^0.2.0", "encode-registry": "^3.0.1", "load-json-file": "^6.2.0", - "lru-cache": "^10.0.1", + "lru-cache": "^10.0.2", "normalize-path": "^3.0.0", "p-limit": "^3.1.0", "p-memoize": "4.0.1", @@ -2071,12 +2071,12 @@ } }, "node_modules/@pnpm/resolver-base": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/@pnpm/resolver-base/-/resolver-base-11.0.0.tgz", - "integrity": "sha512-oxfjO8Ie6aBQPXSqOWGJP9s0xj9Z4cbRI7fK63WKhjwmNH4CTrSfikRL2o4FoXo2APAbJEUp2lCxx+86dq2tUg==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/@pnpm/resolver-base/-/resolver-base-11.0.1.tgz", + "integrity": "sha512-0EJ8dZqsaa/MCwB49NGNGy2WIIv3KU8xGkskDfSPpi5I5EyiIEVSi7NzUJp8rchrCbotFbOc+IHswHLeF2TSsw==", "dev": true, "dependencies": { - "@pnpm/types": "9.4.0" + "@pnpm/types": "9.4.1" }, "engines": { "node": ">=16.14" @@ -2086,9 +2086,9 @@ } }, "node_modules/@pnpm/types": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@pnpm/types/-/types-9.4.0.tgz", - "integrity": "sha512-IRDuIuNobLRQe0UyY2gbrrTzYS46tTNvOEfL6fOf0Qa8NyxUzeXz946v7fQuQE3LSBf8ENBC5SXhRmDl+mBEqA==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@pnpm/types/-/types-9.4.1.tgz", + "integrity": "sha512-X7k9wdk5XlW1uo9Nq38nSzqRvOAxrPcrzgx8xm2T3DtRsLYsiBbzcGZyqrGpsW37lYf/KLZwoTVMeQkACPE64Q==", "dev": true, "engines": { "node": ">=16.14" @@ -2098,13 +2098,13 @@ } }, "node_modules/@pnpm/workspace.pkgs-graph": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@pnpm/workspace.pkgs-graph/-/workspace.pkgs-graph-2.0.11.tgz", - "integrity": "sha512-VRX7E7pX92C0akCMYGzsTqJoOwQS7/8R40pAPK7smgaEpKeEgVThqnIXt+wPdseD5CzS7OzMaIWlT3WXr3O5rQ==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@pnpm/workspace.pkgs-graph/-/workspace.pkgs-graph-2.0.12.tgz", + "integrity": "sha512-Snezd9HrVb+GztDhHC1ZdkL6+xf4lnmSlMpfE6K88ih2STlsZRIOaZKsjBTjJwIMeo6c+KQlSsy9qfwD3ODj4A==", "dev": true, "dependencies": { "@pnpm/npm-package-arg": "^1.0.0", - "@pnpm/npm-resolver": "18.0.0", + "@pnpm/npm-resolver": "18.0.1", "@pnpm/resolve-workspace-range": "5.0.1", "ramda": "npm:@pnpm/ramda@0.28.1" }, @@ -2659,6 +2659,16 @@ "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", "dev": true }, + "node_modules/@types/node": { + "version": "20.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.5.tgz", + "integrity": "sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==", + "dev": true, + "peer": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, "node_modules/@types/normalize-package-data": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.3.tgz", @@ -7984,18 +7994,29 @@ } }, "node_modules/knip": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/knip/-/knip-3.0.2.tgz", - "integrity": "sha512-FreH1yh4BVIRcBM/t/VJaOckVkBDv9UQHJGdnxaGTmp66jM0r78QFVJkoiHmbydiBVB5qCgEjg5JR4Q7sYTfhw==", + "version": "3.8.4", + "resolved": "https://registry.npmjs.org/knip/-/knip-3.8.4.tgz", + "integrity": "sha512-pmgUD7LSe3tRf84qogBnIe8uXcfTR+bjbVwW+TrKeHLayOhpw5Xa2vSqXOQ68fMQ8lBrpp8cW+c+hsYMc2YE+w==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/webpro" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/webpro" + } + ], "dependencies": { "@ericcornelissen/bash-parser": "0.5.2", "@npmcli/map-workspaces": "3.0.4", + "@npmcli/package-json": "5.0.0", "@pkgjs/parseargs": "0.11.0", "@pnpm/logger": "5.0.0", - "@pnpm/workspace.pkgs-graph": "^2.0.10", + "@pnpm/workspace.pkgs-graph": "^2.0.12", "@snyk/github-codeowners": "1.1.0", - "chalk": "^5.2.0", + "chalk": "^5.3.0", "easy-table": "1.2.0", "fast-glob": "3.3.2", "globby": "^14.0.0", @@ -8016,9 +8037,134 @@ "node": ">=18.6.0" }, "peerDependencies": { + "@types/node": ">=18", "typescript": ">=5.0.4" } }, + "node_modules/knip/node_modules/@npmcli/git": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.3.tgz", + "integrity": "sha512-UZp9NwK+AynTrKvHn5k3KviW/hA5eENmFsu3iAPe7sWRt0lFUdsY/wXIYjpDFe7cdSNwOIzbObfwgt6eL5/2zw==", + "dev": true, + "dependencies": { + "@npmcli/promise-spawn": "^7.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^9.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/knip/node_modules/@npmcli/package-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.0.0.tgz", + "integrity": "sha512-OI2zdYBLhQ7kpNPaJxiflofYIpkNLi+lnGdzqUOfRmCF3r2l1nadcjtCYMJKv/Utm/ZtlffaUuTiAktPHbc17g==", + "dev": true, + "dependencies": { + "@npmcli/git": "^5.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^7.0.0", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/knip/node_modules/@npmcli/promise-spawn": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.0.tgz", + "integrity": "sha512-wBqcGsMELZna0jDblGd7UXgOby45TQaMWmbFwWX+SEotk4HV6zG2t6rT9siyLhPk4P6YYqgfL1UO8nMWDBVJXQ==", + "dev": true, + "dependencies": { + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/knip/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/knip/node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/knip/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/knip/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dev": true, + "dependencies": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/knip/node_modules/npm-package-arg": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz", + "integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==", + "dev": true, + "dependencies": { + "hosted-git-info": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/knip/node_modules/npm-pick-manifest": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.0.tgz", + "integrity": "sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==", + "dev": true, + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^11.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, "node_modules/knip/node_modules/strip-json-comments": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.1.tgz", @@ -8031,6 +8177,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/knip/node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dev": true, + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, "node_modules/latest-version": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-7.0.0.tgz", @@ -13393,6 +13554,13 @@ "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", "dev": true }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true, + "peer": true + }, "node_modules/unescape-js": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/unescape-js/-/unescape-js-1.1.4.tgz", diff --git a/package.json b/package.json index 5b82597a9..e248f783d 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "fast-check": "3.15.0", "husky": "8.0.3", "is-ci": "3.0.1", - "knip": "3.0.2", + "knip": "3.8.4", "licensee": "10.0.0", "lockfile-lint": "4.12.1", "markdownlint-cli": "0.38.0",